|
|
@ -18,11 +18,13 @@ |
|
|
|
WHEN trim( issue.GROUP_NAME ) != '' |
|
|
|
AND issue.GROUP_NAME IS NOT NULL |
|
|
|
THEN issue.GROUP_NAME ELSE '党群议事' |
|
|
|
END ) AS groupName |
|
|
|
END ) AS groupName, |
|
|
|
ei.ITEM_STATE as itemState |
|
|
|
FROM |
|
|
|
epdc_issue issue |
|
|
|
LEFT JOIN epdc_events e ON issue.EVENT_ID = e.ID |
|
|
|
AND e.DEL_FLAG = '0' |
|
|
|
left join epdc_item ei on( issue.id=ei.ISSUE_ID and ei.del_flag='0') |
|
|
|
WHERE |
|
|
|
issue.DEL_FLAG = '0' |
|
|
|
and issue.ISSUE_STATE = #{state} |
|
|
@ -52,6 +54,9 @@ |
|
|
|
and trim(issue.GROUP_NAME) !='' |
|
|
|
and issue.GROUP_NAME is not null |
|
|
|
</if> |
|
|
|
<if test="itemState !=null and itemState!=''"> |
|
|
|
and ei.ITEM_STATE=#{itemState} |
|
|
|
</if> |
|
|
|
ORDER BY |
|
|
|
issue.CREATED_TIME DESC |
|
|
|
</select> |
|
|
|