From 6c235963d6fc46b38ea59d9b19c6519b892e080b Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 16 May 2022 09:42:06 +0800 Subject: [PATCH] 20220516 逻辑删除,更新字段IS_Delete字段为已删除,默认为空,删除后其余信息从查询中过滤了 --- zq-erp/src/main/resources/mybatis/mapper/common/OperstionLogDao.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/common/OperstionLogDao.xml b/zq-erp/src/main/resources/mybatis/mapper/common/OperstionLogDao.xml index 3fe7b82..d1018b6 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/common/OperstionLogDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/common/OperstionLogDao.xml @@ -24,7 +24,7 @@ LEFT JOIN sys_vip_info c ON a.vip_id = c.id LEFT JOIN sys_shop_info d ON a.shop_id = d.id <where> - a.company_id=#{param.companyId} + a.company_id=#{param.companyId} and (c.IS_DELETE is null or c.IS_DELETE = '') <if test="param.shopId != null and param.shopId != 0 "> and a.shop_id=#{param.shopId} </if> -- Gitblit v1.9.1