|
@ -270,9 +270,11 @@ |
|
|
ugr.task_gold AS taskGold |
|
|
ugr.task_gold AS taskGold |
|
|
FROM user_gold_record ugr |
|
|
FROM user_gold_record ugr |
|
|
<where> |
|
|
<where> |
|
|
ugr.type = 1 |
|
|
|
|
|
AND ugr.is_refund = 0 |
|
|
|
|
|
|
|
|
ugr.is_refund = 0 |
|
|
AND ugr.flag = 1 |
|
|
AND ugr.flag = 1 |
|
|
|
|
|
<if test="ugr.type !=null and ugr.type != '' "> |
|
|
|
|
|
AND ugr.type = #{type} |
|
|
|
|
|
</if> |
|
|
<if test="jwcode != null and jwcode != ''"> |
|
|
<if test="jwcode != null and jwcode != ''"> |
|
|
AND ugr.jwcode = #{jwcode} |
|
|
AND ugr.jwcode = #{jwcode} |
|
|
</if> |
|
|
</if> |
|
|