|
@ -476,7 +476,7 @@ |
|
|
WHERE |
|
|
WHERE |
|
|
r.DEL_FLAG = '0' |
|
|
r.DEL_FLAG = '0' |
|
|
AND r.GRID_ID = #{gridId} |
|
|
AND r.GRID_ID = #{gridId} |
|
|
AND R.DEMAND_USER_ID !=#{demandUserId} |
|
|
AND R.DEMAND_USER_ID =#{demandUserId} |
|
|
<if test="null !=type and type =='unprocessed' "> |
|
|
<if test="null !=type and type =='unprocessed' "> |
|
|
AND r.`STATUS` = 'pending' |
|
|
AND r.`STATUS` = 'pending' |
|
|
</if> |
|
|
</if> |
|
|