From ea3e9f895c76e2ea8e1df1bb512613d891c85454 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Wed, 03 Nov 2021 18:37:48 +0800
Subject: [PATCH] 审核穿透
---
src/main/java/org/springblade/modules/zc/mapper/ZcMapper.xml | 9 +++++++--
1 files changed, 7 insertions(+), 2 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 b53a4b7..0adb96c 100644
--- a/src/main/java/org/springblade/modules/zc/mapper/ZcMapper.xml
+++ b/src/main/java/org/springblade/modules/zc/mapper/ZcMapper.xml
@@ -13,7 +13,9 @@
<result column="zctime" property="zctime"/>
<result column="type" property="type"/>
<result column="deptid" property="deptid"/>
- <result column="parentId" property="parentId"/>
+ <result column="parent_id" property="parentId"/>
+ <result column="jurisdiction" property="jurisdiction"/>
+ <result column="cardid" property="cardid"/>
</resultMap>
@@ -32,13 +34,16 @@
<if test="zc.type != null and zc.type != '' ">
and type like CONCAT('%',#{zc.type},'%')
</if>
+ <if test="zc.cardid != null and zc.cardid != '' ">
+ and cardid like CONCAT('%',#{zc.cardid},'%')
+ </if>
and type != 1
</select>
<!--注册新增-->
<insert id="inster">
- insert into act_zc(username,password,sname,sex,phone,zctime,deptid) values(#{username},#{password},#{sname},#{sex},#{phone},#{zctime},#{deptid})
+ insert into act_zc(username,password,sname,sex,phone,zctime,deptid,parent_id,jurisdiction,cardid) values(#{username},#{password},#{sname},#{sex},#{phone},#{zctime},#{deptid},#{parentId},#{jurisdiction},#{cardid})
</insert>
<select id="selectType" resultType="String">
--
Gitblit v1.9.3