fg电池监控平台的达梦数据库版本
whycxzp
2024-11-13 9609dca8f43bda2ecc6bcfaf6bfcfd9b2ad1b638
调整语法不兼容
1个文件已修改
4 ■■■■ 已修改文件
src/main/resources/mapper/PageParamUserMapper.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>