|
@ -129,6 +129,9 @@ |
|
|
<if test="null != wantServiceEndTime and wantServiceEndTime != '' "> |
|
|
<if test="null != wantServiceEndTime and wantServiceEndTime != '' "> |
|
|
AND DATE_FORMAT(r.WANT_SERVICE_TIME,'%Y-%m-%d') <![CDATA[ <= ]]> #{wantServiceEndTime} |
|
|
AND DATE_FORMAT(r.WANT_SERVICE_TIME,'%Y-%m-%d') <![CDATA[ <= ]]> #{wantServiceEndTime} |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="null != demandRecId and demandRecId != '' "> |
|
|
|
|
|
and r.id = #{demandRecId} |
|
|
|
|
|
</if> |
|
|
order by r.WANT_SERVICE_TIME desc,r.CREATED_TIME asc |
|
|
order by r.WANT_SERVICE_TIME desc,r.CREATED_TIME asc |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|