|
|
|
@ -254,10 +254,10 @@ |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test=" null != startDateId and startDateId != '' "> |
|
|
|
AND DATE_FORMAT(r.REPORT_TIME,'%Y%m%d') <![CDATA[ >= ]]> #{startDateId} |
|
|
|
AND DATE_FORMAT(r.REPORT_TIME,'%Y-%m-%d') <![CDATA[ >= ]]> #{startDateId} |
|
|
|
</if> |
|
|
|
<if test="null != endDateId and endDateId != '' "> |
|
|
|
AND DATE_FORMAT(r.REPORT_TIME,'%Y%m%d') <![CDATA[ <= ]]> #{endDateId} |
|
|
|
AND DATE_FORMAT(r.REPORT_TIME,'%Y-%m-%d') <![CDATA[ <= ]]> #{endDateId} |
|
|
|
</if> |
|
|
|
order by r.WANT_SERVICE_TIME desc,r.REPORT_TIME asc |
|
|
|
</select> |
|
|
|
@ -295,8 +295,8 @@ |
|
|
|
<if test="null != orgType and orgType == 'agency' "> |
|
|
|
and m.GRID_PIDS like concat(#{gridPids},'%') |
|
|
|
</if> |
|
|
|
and DATE_FORMAT(m.REPORT_TIME,'%Y%m%d') >= #{startDateId} |
|
|
|
and DATE_FORMAT(m.REPORT_TIME,'%Y%m%d') <= #{endDateId} |
|
|
|
and DATE_FORMAT(m.REPORT_TIME,'%Y-%m-%d') >= #{startDateId} |
|
|
|
and DATE_FORMAT(m.REPORT_TIME,'%Y-%m-%d') <= #{endDateId} |
|
|
|
and m.CATEGORY_CODE like concat(#{category.value},'%') |
|
|
|
and m.status !='canceled' |
|
|
|
</foreach> |
|
|
|
@ -328,8 +328,8 @@ |
|
|
|
<if test="null != orgType and orgType == 'agency' "> |
|
|
|
and m.GRID_PIDS like concat(#{gridPids},'%') |
|
|
|
</if> |
|
|
|
and DATE_FORMAT(m.REPORT_TIME,'%Y%m%d') >= #{startDateId} |
|
|
|
and DATE_FORMAT(m.REPORT_TIME,'%Y%m%d') <= #{endDateId} |
|
|
|
and DATE_FORMAT(m.REPORT_TIME,'%Y-%m-%d') >= #{startDateId} |
|
|
|
and DATE_FORMAT(m.REPORT_TIME,'%Y-%m-%d') <= #{endDateId} |
|
|
|
and m.CATEGORY_CODE like concat(#{categoryCode},'%') |
|
|
|
group by s.SERVICE_TYPE |
|
|
|
|
|
|
|
@ -352,8 +352,8 @@ |
|
|
|
<if test="null != orgType and orgType == 'agency' "> |
|
|
|
and m.GRID_PIDS like concat(#{gridPids},'%') |
|
|
|
</if> |
|
|
|
and DATE_FORMAT(m.REPORT_TIME,'%Y%m%d') >= #{startDateId} |
|
|
|
and DATE_FORMAT(m.REPORT_TIME,'%Y%m%d') <= #{endDateId} |
|
|
|
and DATE_FORMAT(m.REPORT_TIME,'%Y-%m-%d') >= #{startDateId} |
|
|
|
and DATE_FORMAT(m.REPORT_TIME,'%Y-%m-%d') <= #{endDateId} |
|
|
|
and m.CATEGORY_CODE like concat(#{categoryCode},'%') |
|
|
|
</select> |
|
|
|
|
|
|
|
|