|
@@ -454,7 +454,7 @@
|
|
LEFT JOIN
|
|
LEFT JOIN
|
|
t_b_ding tbd ON tbda.ding_id = tbd.id
|
|
t_b_ding tbd ON tbda.ding_id = tbd.id
|
|
<where>
|
|
<where>
|
|
- AND (tbda.approve IS NULL OR tbda.approve = 'NO_PASS')
|
|
|
|
|
|
+ AND (tbda.approve IS NULL OR tbda.approve = 'PASS')
|
|
<if test="userId != null">
|
|
<if test="userId != null">
|
|
AND tbd.user_id = #{userId}
|
|
AND tbd.user_id = #{userId}
|
|
</if>
|
|
</if>
|