From a2189537a004ca715b89dacdbccb1cf7187bfe13 Mon Sep 17 00:00:00 2001
From: 姜友瑶 <935090232@qq.com>
Date: Mon, 30 May 2022 20:32:43 +0800
Subject: [PATCH] fix:修复会员假删
---
zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml
index bec32e5..7ab788a 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml
@@ -440,9 +440,6 @@
<if test="shopId != null and shopId !='' ">
SHOP_ID = #{shopId},
</if>
- <if test="isDelete != null and isDelete !='' ">
- IS_DELETE = #{isDelete},
- </if>
<if test="passWord != null and passWord !='' ">
PASSWORD = #{passWord},
</if>
@@ -863,9 +860,6 @@
<if test="record.shopId != null and record.shopId !='' ">
and a.SHOP_ID = #{record.shopId}
</if>
- <if test="record.isDelete != null and record.isDelete !='' ">
- and a.IS_DELETE = #{record.isDelete}
- </if>
<if test="record.passWord != null and record.passWord !='' ">
and a.PASSWORD = #{record.passWord}
</if>
@@ -932,7 +926,7 @@
<sql id="where1">
- where 1=1
+ where a.IS_DELETE = 'N'
<if test="record!=null">
<if test="record.id != null and record.id !='' ">
and a.ID = #{record.id}
@@ -994,9 +988,6 @@
</if>
<if test="record.shopId != null and record.shopId !='' ">
and a.SHOP_ID = #{record.shopId}
- </if>
- <if test="record.isDelete != null and record.isDelete !='' ">
- and a.IS_DELETE = #{record.isDelete}
</if>
<if test="record.passWord != null and record.passWord !='' ">
and a.PASSWORD = #{record.passWord}
--
Gitblit v1.9.1