From 2cf76c21aa27bef90017ecfaa14abf066d5f28bc Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Thu, 19 Aug 2021 17:50:04 +0800
Subject: [PATCH] 1.单位

---
 src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 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 fd32991..0c34b37 100644
--- a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
+++ b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -30,6 +30,11 @@
     </resultMap>
 
 
+    <insert id="insertIn" useGeneratedKeys="true" keyProperty="id">
+        insert into sys_information (creditcode) values (#{information.creditcode})
+    </insert>
+
+
     <select id="selectInformationPage" resultMap="informationResultMap">
         select * from sys_information where 1=1
         <if test="information.enterprisename!=null and information.enterprisename!=''">
@@ -124,6 +129,8 @@
         ) B ON A.dept_id = B.dept_id
         WHERE A.dept_id = #{deptid}
     </select>
+
+
     <!--保安员持证和未持证数量-->
     <select id="selectHold" resultType="java.util.HashMap">
         SELECT IFNULL(A.thisnum, 0) AS cz,

--
Gitblit v1.9.3