优化常用单位、用户自定义列保存优化、业务流量库优化
This commit is contained in:
+2
-5
@@ -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 <!-- 如果两个条件都不满足,则不更新任何记录 -->
|
||||
|
||||
Reference in New Issue
Block a user