From c6550a4d9bd69e59e9bb6ac6ad740e509edbd215 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 11 十二月 2024 18:10:29 +0800 Subject: [PATCH] 1 --- se-modules/se-system/src/main/resources/mapper/system/SysStatusCtrlMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/se-modules/se-system/src/main/resources/mapper/system/SysStatusCtrlMapper.xml b/se-modules/se-system/src/main/resources/mapper/system/SysStatusCtrlMapper.xml index 800f514..c28df75 100644 --- a/se-modules/se-system/src/main/resources/mapper/system/SysStatusCtrlMapper.xml +++ b/se-modules/se-system/src/main/resources/mapper/system/SysStatusCtrlMapper.xml @@ -98,4 +98,12 @@ #{statusId} </foreach> </delete> + + <update id="updates"> + <foreach collection="list" item="item" index="index" separator=";"> + update sys_status_ctrl + set status = #{item.status}, remark = #{item.remark}, update_time = now() + where status_id = #{item.statusId} + </foreach> + </update> </mapper> \ No newline at end of file -- Gitblit v1.9.3