|
|
@ -24,6 +24,7 @@ |
|
|
|
<result property="latestProgress.progressName" column="stateName"/> |
|
|
|
<result property="latestProgress.createdTime" column="handleTime"/> |
|
|
|
<result property="latestProgress.advice" column="OUT_HANDLE_ADVICE"/> |
|
|
|
<result property="topFlag" column="TOP_FLAG"/> |
|
|
|
<collection property="images" ofType="java.lang.String"> |
|
|
|
<result property="image" column="IMG_URL"/> |
|
|
|
</collection> |
|
|
@ -57,7 +58,8 @@ |
|
|
|
WHEN 10 THEN |
|
|
|
'已结案' ELSE '' |
|
|
|
END AS stateName, |
|
|
|
et.TAG_NAME |
|
|
|
et.TAG_NAME, |
|
|
|
item.TOP_FLAG |
|
|
|
FROM |
|
|
|
epdc_item item |
|
|
|
LEFT JOIN epdc_events eve ON item.EVENT_ID = eve.ID |
|
|
@ -113,6 +115,7 @@ |
|
|
|
<if test='formDto.orderType != null and formDto.orderType != "" and formDto.orderType == "1"'> |
|
|
|
t1.LAST_HANDLE_TIME DESC |
|
|
|
</if> |
|
|
|
t1.TOP_TIME DESC, |
|
|
|
t1.CREATED_TIME DESC |
|
|
|
LIMIT #{formDto.pageIndex},#{formDto.pageSize} |
|
|
|
) temp |
|
|
@ -121,6 +124,7 @@ |
|
|
|
<if test='formDto.orderType != null and formDto.orderType != "" and formDto.orderType == "1"'> |
|
|
|
item.LAST_HANDLE_TIME DESC |
|
|
|
</if> |
|
|
|
item.TOP_TIME DESC, |
|
|
|
item.CREATED_TIME DESC, |
|
|
|
img.IMG_URL |
|
|
|
</select> |
|
|
|