fix(query): 修改事件用户查询的类型条件逻辑

- 将类型等于3的条件改为类型在(2,3)范围内的条件
- 保持原有的级别过滤条件不变
- 修正了SQL查询中的参数绑定逻辑
This commit is contained in:
xy
2026-06-29 18:34:55 +08:00
parent e1d731c774
commit 99fb7aab66

View File

@@ -257,7 +257,7 @@
</foreach>
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type != null and csEventUserQueryPage.type !=''">
<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 test="csEventUserQueryPage!=null and csEventUserQueryPage.type != 3 ">
AND b.type =#{ csEventUserQueryPage.type}
@@ -352,7 +352,7 @@
</foreach>
<if test="csEventUserQueryPage!=null and csEventUserQueryPage.type != null and csEventUserQueryPage.type !=''">
<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 test="csEventUserQueryPage!=null and csEventUserQueryPage.type != 3 ">
AND b.type =#{ csEventUserQueryPage.type}