From f0e2074cb81056813fe8b34aa6b7d8a2419e1bdf Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 11 Nov 2021 20:49:06 +0800
Subject: [PATCH] 新增制证审核
---
src/main/java/org/springblade/modules/revoke/mapper/RevokeMapper.xml | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 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 b93f60a..c7e8024 100644
--- a/src/main/java/org/springblade/modules/revoke/mapper/RevokeMapper.xml
+++ b/src/main/java/org/springblade/modules/revoke/mapper/RevokeMapper.xml
@@ -8,7 +8,7 @@
<result column="creditCode" property="creditcode"/>
<result column="enterpriseName" property="enterprisename"/>
<result column="representative" property="representative"/>
- <result column="establishTime" property="establishtime"/>
+ <result column="establishtime" property="establishtime"/>
<result column="registeredCapital" property="registeredcapital"/>
<result column="organizationCode" property="organizationcode"/>
<result column="registrationNumber" property="registrationnumber"/>
@@ -32,11 +32,21 @@
<result column="storage" property="storage"/>
<result column="approve" property="approve"/>
<result column="jurisdiction" property="jurisdiction"/>
+ <result column="overtime" property="overtime"/>
</resultMap>
<select id="selectRevokePage" resultMap="revokeResultMap">
- select * from sys_revoke
+ select * from sys_revoke where 1=1
+ <if test="revoke.ptype!=null and revoke.ptype!=''">
+ and ptype=#{revoke.ptype}
+ </if>
+ <if test="revoke.usetype=='1'.toString()">
+ and jurisdiction in(${jurisdiction})
+ </if>
+ <if test="revoke.usetype=='2'.toString()">
+ and jurisdiction=#{revoke.jurisdiction}
+ </if>
</select>
<select id="selectIn" resultType="java.util.HashMap">
select * from sys_revoke where cardid=#{cardid} and ptype=#{type}
--
Gitblit v1.9.3