From 8853292babb2ad94de4a3207966f1e83b767cd2d Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Sun, 17 Sep 2023 16:38:34 +0800
Subject: [PATCH] 新增流程节点进程查询接口
---
src/main/java/org/springblade/modules/zc/mapper/ZcMapper.xml | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 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 3b806cb..a8c2c3d 100644
--- a/src/main/java/org/springblade/modules/zc/mapper/ZcMapper.xml
+++ b/src/main/java/org/springblade/modules/zc/mapper/ZcMapper.xml
@@ -9,7 +9,7 @@
<result column="password" property="password"/>
<result column="sname" property="sname"/>
<result column="sex" property="sex"/>
- <result column="phone" property="phone"/>
+ <result column="cardid" property="cardid"/>
<result column="zctime" property="zctime"/>
<result column="type" property="type"/>
<result column="deptid" property="deptid"/>
@@ -36,6 +36,12 @@
<if test="zc.username!=null and zc.username!=''">
and z.username like concat(concat('%', #{zc.username}),'%')
</if>
+ <if test="zc.cardid!=null and zc.cardid!=''">
+ and z.cardid like concat(concat('%', #{zc.cardid}),'%')
+ </if>
+ <if test="zc.deptid!=null and zc.deptid!=''">
+ and z.deptid = #{zc.deptid}
+ </if>
</select>
@@ -45,10 +51,17 @@
values (#{username}, #{password}, #{sname}, #{cardid}, #{zctime}, #{deptid})
</insert>
+ <!--根据用户名用户注册信息-->
<select id="selectType" resultType="String">
select type
from act_zc
where username = #{param1}
</select>
+ <!--根据用户名查询注册用户注册信息-->
+ <select id="getAuditSuccessInfo" resultType="org.springblade.modules.zc.entity.Zc">
+ select * from act_zc
+ where username = #{param1}
+ </select>
+
</mapper>
--
Gitblit v1.9.3