From 983bdb5b89932b38d08a11ad1eed6ea89d1597e1 Mon Sep 17 00:00:00 2001 From: kongzy <kongzy> Date: 星期一, 29 一月 2024 10:07:31 +0800 Subject: [PATCH] 更新 --- assess-system/src/main/resources/mapper/SysLawMapper.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/assess-system/src/main/resources/mapper/system/SysLawMapper.xml b/assess-system/src/main/resources/mapper/SysLawMapper.xml similarity index 93% rename from assess-system/src/main/resources/mapper/system/SysLawMapper.xml rename to assess-system/src/main/resources/mapper/SysLawMapper.xml index 679233f..875265d 100644 --- a/assess-system/src/main/resources/mapper/system/SysLawMapper.xml +++ b/assess-system/src/main/resources/mapper/SysLawMapper.xml @@ -9,10 +9,11 @@ <select id="lawList" resultType="com.gkhy.assess.system.domain.SysLaw"> select l.id,l.title,l.sub_title,l.law_type,l.pub_agency,l.pub_date,l.create_time from sys_law l <where> + and l.del_flag=0 <if test="title != null and title != ''"> AND l.title like concat('%', #{title}, '%') </if> - <if test="status != null and status != ''"> + <if test="status != null"> AND l.status = #{status} </if> </where> -- Gitblit v1.9.2