| | |
| | | LEFT JOIN shopping_goods_category i ON e.cate_id = i.id |
| | | left join sys_proj_services l on a.service_order_id=l.id |
| | | <where> |
| | | and (c.IS_DELETE is null or c.IS_DELETE = '') |
| | | |
| | | <if test="record!=null"> |
| | | <if |
| | | test="(record.shopId!=null and record.shopId!='') or (record.shopId!='' and record.shopId==0) "> |
| | |
| | | LEFT JOIN shopping_goods_category j ON i.parent_id = j.id |
| | | left join sys_proj_services l on a.service_order_id=l.id |
| | | <where> |
| | | and (c.IS_DELETE is null or c.IS_DELETE = '') |
| | | |
| | | <if test="record!=null"> |
| | | <if |
| | | test="(record.shopId!=null and record.shopId!='') or (record.shopId!='' and record.shopId==0) "> |
| | |
| | | left join sys_users b on a.BEATUY_ID=b.su_id |
| | | inner join sys_shop_info c on c.id=a.SHOP_ID |
| | | <where> |
| | | and (a.IS_DELETE is null or a.IS_DELETE = '') |
| | | |
| | | <if test="record.vipName != null and record.vipName !=''"> |
| | | and (a.vip_name like CONCAT(CONCAT('%', #{record.vipName}), '%') or a.vip_no=#{record.vipName} or a.phone = #{record.vipName}) |
| | | </if> |
| | |
| | | left join sys_users b on a.BEATUY_ID=b.su_id |
| | | inner join sys_shop_info c on c.id=a.SHOP_ID |
| | | <where> |
| | | and (a.IS_DELETE is null or a.IS_DELETE = '') |
| | | |
| | | <if test="record.vipName != null and record.vipName !=''"> |
| | | and (a.vip_name like CONCAT(CONCAT('%', #{record.vipName}), '%') or a.vip_no=#{record.vipName} or a.phone = #{record.vipName}) |
| | | </if> |
| | |
| | | left join sys_order_item j on a.order_item_id=j.ID |
| | | left join achieve_rule u on u.id=e.achieve_rule_id |
| | | <where> |
| | | and a.company_id = #{record.companyId} and (c.IS_DELETE is null or c.IS_DELETE = '') |
| | | and a.company_id = #{record.companyId} |
| | | <if test="record.shopId != null"> |
| | | and a.shop_id = #{record.shopId} |
| | | </if> |
| | |
| | | from sys_users a |
| | | left join achieve_new b on a.su_id=b.beault_id |
| | | left join sys_vip_info c on b.vip_id=c.ID |
| | | where 1=1 and (c.IS_DELETE is null or c.IS_DELETE = '') |
| | | where 1=1 |
| | | <if test="record.companyId != null"> |
| | | and a.company_id=#{record.companyId} |
| | | </if> |
| | |
| | | from sys_users a |
| | | left join achieve_new b on a.su_id=b.beault_id |
| | | left join sys_vip_info c on b.vip_id=c.ID |
| | | where 1=1 and (c.IS_DELETE is null or c.IS_DELETE = '') |
| | | where 1=1 |
| | | <if test="record.companyId != null"> |
| | | and a.company_id=#{record.companyId} |
| | | </if> |