优化常用单位、用户自定义列保存优化、业务流量库优化

This commit is contained in:
gaoyutao
2025-11-05 14:48:02 +08:00
parent e9970b94a9
commit d0ac03ffbf
5 changed files with 81 additions and 12 deletions
@@ -73,11 +73,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<when test="id != null">
and id = #{id}
</when>
<when test="userId != null">
and user_id = #{userId}
</when>
<when test="pageRoute != null">
and page_route = #{pageRoute}
<when test="userId != null and pageRoute != null">
and user_id = #{userId} and page_route = #{pageRoute}
</when>
<otherwise>
and 1=0 <!-- 如果两个条件都不满足,则不更新任何记录 -->