From 206b2a8034f066f7f4d08755abfee3f5049d0632 Mon Sep 17 00:00:00 2001 From: 姜友瑶 <935090232@qq.com> Date: Tue, 17 May 2022 11:10:26 +0800 Subject: [PATCH] Merge branch 'developer' into alpha --- zq-erp/src/main/resources/mybatis/mapper/hive/AchieveNewDao.xml | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/AchieveNewDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/AchieveNewDao.xml index 0e05a28..2ced513 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/AchieveNewDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/AchieveNewDao.xml @@ -165,6 +165,7 @@ 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) "> @@ -266,6 +267,7 @@ 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) "> @@ -889,7 +891,7 @@ 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> @@ -921,7 +923,7 @@ 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> @@ -1156,7 +1158,7 @@ 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 a.company_id = #{record.companyId} and (c.IS_DELETE is null or c.IS_DELETE = '') <if test="record.shopId != null"> and a.shop_id = #{record.shopId} </if> @@ -1292,7 +1294,7 @@ 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 + where 1=1 and (c.IS_DELETE is null or c.IS_DELETE = '') <if test="record.companyId != null"> and a.company_id=#{record.companyId} </if> @@ -1338,7 +1340,7 @@ 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 + where 1=1 and (c.IS_DELETE is null or c.IS_DELETE = '') <if test="record.companyId != null"> and a.company_id=#{record.companyId} </if> -- Gitblit v1.9.1