fix(query): 修改事件用户查询的类型条件逻辑
- 将类型等于3的条件改为类型在(2,3)范围内的条件 - 保持原有的级别过滤条件不变 - 修正了SQL查询中的参数绑定逻辑
This commit is contained in:
@@ -257,7 +257,7 @@
|
|||||||
</foreach>
|
</foreach>
|
||||||
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type != null and csEventUserQueryPage.type !=''">
|
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type != null and csEventUserQueryPage.type !=''">
|
||||||
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type == 3 ">
|
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type == 3 ">
|
||||||
AND b.type =#{ csEventUserQueryPage.type} and b.level in (1,2,3,6,7)
|
AND b.type in (2,3) and b.level in (1,2,3,6,7)
|
||||||
</if>
|
</if>
|
||||||
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type != 3 ">
|
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type != 3 ">
|
||||||
AND b.type =#{ csEventUserQueryPage.type}
|
AND b.type =#{ csEventUserQueryPage.type}
|
||||||
@@ -352,7 +352,7 @@
|
|||||||
</foreach>
|
</foreach>
|
||||||
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type != null and csEventUserQueryPage.type !=''">
|
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type != null and csEventUserQueryPage.type !=''">
|
||||||
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type == 3 ">
|
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type == 3 ">
|
||||||
AND b.type =#{ csEventUserQueryPage.type} and b.level in (1,2,3,6,7)
|
AND b.type in (2,3) and b.level in (1,2,3,6,7)
|
||||||
</if>
|
</if>
|
||||||
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type != 3 ">
|
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type != 3 ">
|
||||||
AND b.type =#{ csEventUserQueryPage.type}
|
AND b.type =#{ csEventUserQueryPage.type}
|
||||||
|
|||||||
Reference in New Issue
Block a user