From 9609dca8f43bda2ecc6bcfaf6bfcfd9b2ad1b638 Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期三, 13 十一月 2024 14:08:22 +0800 Subject: [PATCH] 调整语法不兼容 --- src/main/resources/mapper/PageParamUserMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/PageParamUserMapper.xml b/src/main/resources/mapper/PageParamUserMapper.xml index 28ef44f..18ef1a7 100644 --- a/src/main/resources/mapper/PageParamUserMapper.xml +++ b/src/main/resources/mapper/PageParamUserMapper.xml @@ -6,12 +6,12 @@ <choose> <when test="operationFlag==1"> <foreach collection="pageParamUserList" item="item" separator=";"> - update db_app_sys.tb_page_param_user set 'show' = 1 where 'key' = #{item.key} and user_id = #{item.userId} and type = #{item.type} + update db_app_sys.tb_page_param_user set "show" = 1 where "key" = #{item.key} and user_id = #{item.userId} and type = #{item.type} </foreach> </when> <otherwise> <foreach collection="pageParamUserList" item="item" separator=";"> - update db_app_sys.tb_page_param_user set 'show' = 0 where 'key' = #{item.key} and user_id = #{item.userId} and type = #{item.type} + update db_app_sys.tb_page_param_user set "show" = 0 where "key" = #{item.key} and user_id = #{item.userId} and type = #{item.type} </foreach> </otherwise> </choose> -- Gitblit v1.9.1