|
|
@ -167,7 +167,7 @@ |
|
|
WHERE |
|
|
WHERE |
|
|
t1.DEL_FLAG = '0' |
|
|
t1.DEL_FLAG = '0' |
|
|
<if test="userId != null and userId.trim() != ''"> |
|
|
<if test="userId != null and userId.trim() != ''"> |
|
|
and t1.userId = #{userId} |
|
|
and t1.USER_ID = #{userId} |
|
|
</if> |
|
|
</if> |
|
|
<if test="userId == null or userId.trim() == ''"> |
|
|
<if test="userId == null or userId.trim() == ''"> |
|
|
AND t1.STATE <![CDATA[ <> ]]> 20 |
|
|
AND t1.STATE <![CDATA[ <> ]]> 20 |
|
|
|