|
|
@ -27,8 +27,10 @@ |
|
|
|
left join market m on m.id=`user`.market |
|
|
|
<where> |
|
|
|
ugr.flag = 1 and |
|
|
|
`user`.flag = 1 and |
|
|
|
ugr.audit_status IN (1,3) |
|
|
|
<if test="UserFlag!=null and UserFlag.length > 0"> |
|
|
|
AND `user`.flag = #{UserFlag} |
|
|
|
</if> |
|
|
|
<if test="jwcode != null"> |
|
|
|
and ugr.jwcode = #{jwcode} |
|
|
|
</if> |
|
|
@ -67,8 +69,10 @@ |
|
|
|
from user_gold_record ugr |
|
|
|
<where> |
|
|
|
ugr.flag = 1 and |
|
|
|
`user`.flag = 1 and |
|
|
|
ugr.audit_status IN (1,3) |
|
|
|
<if test="UserFlag!=null and UserFlag.length > 0"> |
|
|
|
AND `user`.flag = #{UserFlag} |
|
|
|
</if> |
|
|
|
<if test="jwcode != null"> |
|
|
|
and `ugr`.jwcode = #{jwcode} |
|
|
|
</if> |
|
|
@ -115,6 +119,9 @@ |
|
|
|
from user u |
|
|
|
left join market m on u.market = m.id |
|
|
|
<where> |
|
|
|
<if test="UserFlag!=null and UserFlag.length > 0"> |
|
|
|
AND `user`.flag = #{UserFlag} |
|
|
|
</if> |
|
|
|
<if test="jwcode != null"> |
|
|
|
and jwcode = #{jwcode} |
|
|
|
</if> |
|
|
@ -150,7 +157,9 @@ |
|
|
|
from `user` |
|
|
|
|
|
|
|
<where> |
|
|
|
flag = 1 |
|
|
|
<if test="UserFlag!=null and UserFlag.length > 0"> |
|
|
|
AND `user`.flag = #{UserFlag} |
|
|
|
</if> |
|
|
|
<if test="jwcode != null "> |
|
|
|
and jwcode = #{jwcode} |
|
|
|
</if> |
|
|
|