From 2cbb85435b38dc8cdea49ab47962849037aeacb6 Mon Sep 17 00:00:00 2001 From: huxin Date: Fri, 23 May 2025 21:27:11 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E8=AD=A6=E4=BF=A1=E6=81=AF=E5=A4=84?= =?UTF-8?q?=E7=BD=AE=E5=8A=9F=E8=83=BD=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DklWarningInformationHandleMapper.xml | 120 ++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 Dkl-Vue-master/dkl-large/src/main/resources/mapper/large/DklWarningInformationHandleMapper.xml diff --git a/Dkl-Vue-master/dkl-large/src/main/resources/mapper/large/DklWarningInformationHandleMapper.xml b/Dkl-Vue-master/dkl-large/src/main/resources/mapper/large/DklWarningInformationHandleMapper.xml new file mode 100644 index 0000000..1aa8bde --- /dev/null +++ b/Dkl-Vue-master/dkl-large/src/main/resources/mapper/large/DklWarningInformationHandleMapper.xml @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + select dwih.id, dwih.warning_signs, dwih.delegate_personnel, dwih.delegation_time, dwih.delegation_dept, + dwih.disposal_measures, dwih.disposal_results, dwih.disposal_status, dwih.create_by, dwih.create_time,dwih.warning_id, + dwih.update_by, dwih.update_time, dwih.del_flag,d.dept_name AS deptName,u.nick_name AS nickName from dkl_warning_information_handle AS dwih + left join sys_dept d on dwih.delegation_dept = d.dept_id + left join sys_user u on dwih.delegate_personnel = u.user_id + + + + + + + + insert into dkl_warning_information_handle + + warning_signs, + delegate_personnel, + delegation_time, + delegation_dept, + disposal_measures, + disposal_results, + disposal_status, + create_by, + create_time, + update_by, + update_time, + del_flag, + warning_id, + + + #{warningSigns}, + #{delegatePersonnel}, + #{delegationTime}, + #{delegationDept}, + #{disposalMeasures}, + #{disposalResults}, + #{disposalStatus}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{delFlag}, + #{warningId}, + + + SELECT CURRVAL('dkl_warning_information_handle_id_seq') + + + + + update dkl_warning_information_handle + + warning_signs = #{warningSigns}, + delegate_personnel = #{delegatePersonnel}, + delegation_time = #{delegationTime}, + delegation_dept = #{delegationDept}, + disposal_measures = #{disposalMeasures}, + disposal_results = #{disposalResults}, + disposal_status = #{disposalStatus}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + del_flag = #{delFlag}, + warning_id = #{warningId}, + + where id = #{id} + + + + update dkl_warning_information_handle set del_flag = 2 where id = #{id} + + + + update dkl_warning_information_handle set del_flag = 2 where id in + + #{id} + + +