| | |
| | | left JOIN sys_users c on c.su_id=a.STAFF_ID |
| | | left JOIN sys_users e on e.su_id=a.cashier_id |
| | | left JOIN sys_shop_info d on d.ID=a.SHOP_ID |
| | | where 1=1 |
| | | where 1=1 and (b.IS_DELETE is null or b.IS_DELETE = '') |
| | | <if test="record!=null"> |
| | | <if test="record.keyWordVo != null and record.keyWordVo!='' "> |
| | | and (b.PHONE like concat('%',#{record.keyWordVo},'%') |
| | |
| | | LEFT JOIN sys_vip_info b on b.ID=a.VIP_ID |
| | | left JOIN sys_users c on c.su_id=a.STAFF_ID |
| | | left JOIN sys_shop_info d on d.ID=a.SHOP_ID |
| | | where 1=1 |
| | | where 1=1 and (b.IS_DELETE is null or b.IS_DELETE = '') |
| | | <if test="record!=null"> |
| | | <if test="record.keyWordVo != null and record.keyWordVo!='' "> |
| | | and (b.PHONE like concat('%',#{record.keyWordVo},'%') |