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