|
@@ -55,7 +55,7 @@
|
|
|
AND sqr.result = #{param.result}
|
|
AND sqr.result = #{param.result}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="param.agent != null and param.agent != ''">
|
|
<if test="param.agent != null and param.agent != ''">
|
|
|
- AND sqr.user_id = #{param.agent}
|
|
|
|
|
|
|
+ AND (sqr.user_id = #{param.agent} or su.name = #{param.agent})
|
|
|
</if>
|
|
</if>
|
|
|
<if test="param.operator != null and param.operator != ''">
|
|
<if test="param.operator != null and param.operator != ''">
|
|
|
AND sqr.operator = #{param.operator}
|
|
AND sqr.operator = #{param.operator}
|