From 1bf4daf421fe279080443be3e5497e3ed266703d Mon Sep 17 00:00:00 2001
From: skjia <106962133@qq.com>
Date: Tue, 19 Mar 2024 21:26:12 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E7=AE=A1=E7=90=86=E5=8F=8A?=
=?UTF-8?q?=E7=8F=AD=E7=BB=84=E7=AE=A1=E7=90=86---------jsk?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../resources/mapper/HumanManageMapper.xml | 152 ++++++++++++++++++
.../resources/mapper/TeamManageMapper.xml | 56 +++++++
2 files changed, 208 insertions(+)
create mode 100644 securitycontrol-model/securitycontrol-background/src/main/resources/mapper/HumanManageMapper.xml
create mode 100644 securitycontrol-model/securitycontrol-background/src/main/resources/mapper/TeamManageMapper.xml
diff --git a/securitycontrol-model/securitycontrol-background/src/main/resources/mapper/HumanManageMapper.xml b/securitycontrol-model/securitycontrol-background/src/main/resources/mapper/HumanManageMapper.xml
new file mode 100644
index 0000000..d14e5d0
--- /dev/null
+++ b/securitycontrol-model/securitycontrol-background/src/main/resources/mapper/HumanManageMapper.xml
@@ -0,0 +1,152 @@
+
+
+
+
+
+ INSERT INTO t_team_people
+
+ team_id,
+ user_name,
+ id_number,
+ phone,
+ user_type,
+
+
+ #{teamId},
+ #{userName},
+ #{idNumber},
+ #{phone},
+ #{userType},
+
+
+
+ UPDATE t_team_people
+
+ team_id = #{teamId},
+ user_name = #{userName},
+ id_number = #{idNumber},
+ phone = #{phone},
+ user_type = #{userType},
+ del_falge = #{delFalge},
+
+ WHERE user_id= #{userId}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/securitycontrol-model/securitycontrol-background/src/main/resources/mapper/TeamManageMapper.xml b/securitycontrol-model/securitycontrol-background/src/main/resources/mapper/TeamManageMapper.xml
new file mode 100644
index 0000000..3b6035e
--- /dev/null
+++ b/securitycontrol-model/securitycontrol-background/src/main/resources/mapper/TeamManageMapper.xml
@@ -0,0 +1,56 @@
+
+
+
+
+
+ INSERT INTO tb_work_team
+
+ team_name,
+ team_leader,
+ bid_code,
+ team_leader_phone,
+ id_number,
+ team_num,
+
+
+ #{teamName},
+ #{teamLeader},
+ #{bidCode},
+ #{teamLeaderPhone},
+ #{idNumber},
+ #{teamNum},
+
+
+
+ UPDATE tb_work_team
+
+ team_name = #{teamName},
+ team_leader = #{teamLeader},
+ bid_code = #{bidCode},
+ team_leader_phone = #{teamLeaderPhone},
+ id_number = #{idNumber},
+ team_num = #{teamNum},
+
+ WHERE team_id= #{teamId}
+
+
+
+
\ No newline at end of file