From 30df94c05573a426d030510d4dd58ae1d93bfb7a Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Mon, 06 Dec 2021 14:03:37 +0800
Subject: [PATCH] 1.资格审查排序
---
src/main/java/org/springblade/modules/revoke/mapper/RevokeMapper.xml | 38 +++++++++++++++++++++++++++++++++-----
1 files changed, 33 insertions(+), 5 deletions(-)
diff --git a/src/main/java/org/springblade/modules/revoke/mapper/RevokeMapper.xml b/src/main/java/org/springblade/modules/revoke/mapper/RevokeMapper.xml
index 40439c4..f07948b 100644
--- a/src/main/java/org/springblade/modules/revoke/mapper/RevokeMapper.xml
+++ b/src/main/java/org/springblade/modules/revoke/mapper/RevokeMapper.xml
@@ -8,12 +8,8 @@
<result column="creditCode" property="creditcode"/>
<result column="enterpriseName" property="enterprisename"/>
<result column="representative" property="representative"/>
- <result column="
-regstsat" property="
-regstsat"/>
<result column="establishTime" property="establishtime"/>
<result column="registeredCapital" property="registeredcapital"/>
- <result column="capital" property="capital"/>
<result column="organizationCode" property="organizationcode"/>
<result column="registrationNumber" property="registrationnumber"/>
<result column="identificationNumber" property="identificationnumber"/>
@@ -25,11 +21,43 @@
<result column="industry" property="industry"/>
<result column="type" property="type"/>
<result column="reason" property="reason"/>
+ <result column="ctime" property="ctime"/>
+ <result column="deptid" property="deptid"/>
+ <result column="representativecell" property="representativecell"/>
+ <result column="contacts" property="contacts"/>
+ <result column="contactscell" property="contactscell"/>
+ <result column="approve" property="approve"/>
+ <result column="jurisdiction" property="jurisdiction"/>
+ <result column="papprove" property="papprove"/>
+ <result column="xapprove" property="xapprove"/>
+ <result column="sapprove" property="sapprove"/>
+ <result column="popinion" property="popinion"/>
+ <result column="xopinion" property="xopinion"/>
+ <result column="sopinion" property="sopinion"/>
+ <result column="cardid" property="cardid"/>
</resultMap>
<select id="selectRevokePage" resultMap="revokeResultMap">
- select * from sys_revoke where is_deleted = 0
+ select * from sys_revoke si left join
+ sys_jurisdiction sj
+ on
+ sj.id = si.jurisdiction where 1=1
+ <if test="revoke.ptype!=null and revoke.ptype!=''">
+ and ptype=#{revoke.ptype}
+ </if>
+ <if test="revoke.jurisdiction!=null and revoke.jurisdiction != '' and revoke.jurisdiction!='1372091709474910209'">
+ and (sj.id = #{revoke.jurisdiction} or sj.parent_id = #{revoke.jurisdiction})
+ </if>
+ <if test="revoke.papprove!=null and revoke.papprove!=''">
+ and papprove=#{revoke.papprove}
+ </if>
+ <if test="revoke.xapprove!=null and revoke.xapprove!=''">
+ and xapprove=#{revoke.xapprove}
+ </if>
+ <if test="revoke.sapprove!=null and revoke.sapprove!=''">
+ and sapprove=#{revoke.sapprove}
+ </if>
</select>
</mapper>
--
Gitblit v1.9.3