| | |
| | | LEFT JOIN sys_proj_services b on a.service_id=b.ID |
| | | LEFT JOIN sys_vip_info c on b.VIP_ID=c.ID |
| | | LEFT JOIN sys_users e on e.su_id=a.operation_id |
| | | where 1=1 and (c.IS_DELETE is null or c.IS_DELETE = '') |
| | | where 1=1 |
| | | <if test="record!=null"> |
| | | |
| | | <if test="record.beginTime != null "> |
| | |
| | | LEFT JOIN sys_proj_services b on a.service_id=b.ID |
| | | LEFT JOIN sys_vip_info c on b.VIP_ID=c.ID |
| | | LEFT JOIN sys_users e on e.su_id=a.operation_id |
| | | where 1=1 and (c.IS_DELETE is null or c.IS_DELETE = '') |
| | | where 1=1 |
| | | <if test="record!=null"> |
| | | |
| | | <if test="record.beginTime != null "> |
| | |
| | | and a.operation_id = #{record.operationId} |
| | | </if> |
| | | <if test="record.shopId != null and record.shopId !='' "> |
| | | AND b.VIP_ID IN (SELECT t.ID FROM sys_vip_info t WHERE t.shop_id = #{record.shopId} and (t.IS_DELETE is null or t.IS_DELETE = '')) |
| | | AND b.VIP_ID IN (SELECT t.ID FROM sys_vip_info t WHERE t.shop_id = #{record.shopId} ) |
| | | </if> |
| | | <if test="record.shopId != null and record.shopId !='' "> |
| | | AND b.shop_id = #{record.shopId} |
| | |
| | | LEFT JOIN sys_proj_services b on a.service_id=b.ID |
| | | LEFT JOIN sys_vip_info c on b.VIP_ID=c.ID |
| | | LEFT JOIN sys_users e on e.su_id=a.operation_id |
| | | where 1=1 and (c.IS_DELETE is null or c.IS_DELETE = '') |
| | | where 1=1 |
| | | <if test="record!=null"> |
| | | |
| | | <if test="record.beginTime != null "> |
| | |
| | | LEFT JOIN sys_proj_services b on a.service_id=b.ID |
| | | LEFT JOIN sys_vip_info c on b.VIP_ID=c.ID |
| | | LEFT JOIN sys_users e on e.su_id=a.operation_id |
| | | where 1=1 and (c.IS_DELETE is null or c.IS_DELETE = '') |
| | | where 1=1 |
| | | <if test="record!=null"> |
| | | |
| | | <if test="record.beginTime != null "> |
| | |
| | | and a.operation_id = #{record.operationId} |
| | | </if> |
| | | <if test="record.shopId != null and record.shopId !='' "> |
| | | AND b.VIP_ID IN (SELECT t.ID FROM sys_vip_info t WHERE t.shop_id = #{record.shopId} and (t.IS_DELETE is null or t.IS_DELETE = '')) |
| | | AND b.VIP_ID IN (SELECT t.ID FROM sys_vip_info t WHERE t.shop_id = #{record.shopId} ) |
| | | </if> |
| | | <if test="record.searchShop != null and record.searchShop !=''"> |
| | | AND b.shop_id = #{record.searchShop} |
| | |
| | | LEFT JOIN sys_proj_services b on a.service_id=b.ID |
| | | LEFT JOIN sys_vip_info c on b.VIP_ID=c.ID |
| | | LEFT JOIN sys_users e on e.su_id=a.operation_id |
| | | where 1=1 and (c.IS_DELETE is null or c.IS_DELETE = '') |
| | | where 1=1 |
| | | <if test="record!=null"> |
| | | |
| | | <if test="record.beginTime != null "> |