From 454a28cb4095b542cfdcaa2ca3a2f2d4b1f36d13 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Sat, 28 May 2022 18:53:15 +0800
Subject: [PATCH] 1、资讯模糊匹配修改
---
src/main/java/org/springblade/modules/zc/mapper/ZcMapper.xml | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/zc/mapper/ZcMapper.xml b/src/main/java/org/springblade/modules/zc/mapper/ZcMapper.xml
index 37161e0..7486814 100644
--- a/src/main/java/org/springblade/modules/zc/mapper/ZcMapper.xml
+++ b/src/main/java/org/springblade/modules/zc/mapper/ZcMapper.xml
@@ -44,6 +44,9 @@
<if test="zc.examination_type != null and zc.examination_type != '' ">
and examination_type = #{zc.examination_type}
</if>
+ <if test="zc.jurisdiction != null and zc.jurisdiction != '' ">
+ and (jurisdiction = #{zc.jurisdiction} or workjurisdiction = #{zc.jurisdiction})
+ </if>
and type != 1 ORDER BY zctime DESC
</select>
@@ -61,6 +64,14 @@
where username = #{param1}
</select>
+ <update id="updateExamine">
+ update act_zc set type=1 where id in (${ids});
+ update blade_user set stype=1,firstlogin = "1" where account in
+ <foreach collection="names" index="index" item="item" open="(" separator="," close=")">
+ "${item}"
+ </foreach>
+ </update>
+
<select id="selecyZcCount" resultType="java.lang.Integer">
select count(*)
from act_zc
--
Gitblit v1.9.3