From dff67b0610474954ae2cb1506af8aab5becd727b Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Wed, 07 Jul 2021 15:37:07 +0800
Subject: [PATCH] 1.保安单位
---
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
index 7f1ccbb..ba760af 100644
--- a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
+++ b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -8,7 +8,7 @@
<result column="creditCode" property="creditcode"/>
<result column="enterpriseName" property="enterprisename"/>
<result column="representative" property="representative"/>
- <result column="registstat" property="registstat"/>
+ <result column="regstsat" property="regstsat"/>
<result column="establishTime" property="establishtime"/>
<result column="registeredCapital" property="registeredcapital"/>
<result column="capital" property="capital"/>
@@ -21,12 +21,18 @@
<result column="region" property="region"/>
<result column="registration" property="registration"/>
<result column="industry" property="industry"/>
- <result column="identification" property="identification"/>
+ <result column="tenantId" property="tenantid"/>
</resultMap>
<select id="selectInformationPage" resultMap="informationResultMap">
- select * from sys_information where is_deleted = 0
+ select * from sys_information where 1=1
+ <if test="information.enterprisename!=null and information.enterprisename!=''">
+ and enterpriseName like concat(concat('%', #{information.enterprisename}),'%')
+ </if>
+ <if test="information.representative!=null and information.representative!=''">
+ and representative like concat(concat('%', #{information.representative}),'%')
+ </if>
</select>
</mapper>
--
Gitblit v1.9.3