|
|
@ -40,19 +40,19 @@ |
|
|
|
<!-- 查询项目信息 --> |
|
|
|
<select id="selectProjectInfoClosed" resultType="com.epmet.dataaggre.dto.govissue.result.IssueListResultDTO"> |
|
|
|
SELECT |
|
|
|
p.ID AS projectId, |
|
|
|
p.ORIGIN_ID AS issueId, |
|
|
|
p.`STATUS`, |
|
|
|
pp.PUBLIC_REPLY AS closedReason, |
|
|
|
UNIX_TIMESTAMP( p.UPDATED_TIME ) AS operationTime |
|
|
|
p.ID AS projectId, |
|
|
|
p.ORIGIN_ID AS issueId, |
|
|
|
p.`STATUS`, |
|
|
|
pp.PUBLIC_REPLY AS closedReason, |
|
|
|
UNIX_TIMESTAMP( p.UPDATED_TIME ) AS operationTime |
|
|
|
FROM project p |
|
|
|
LEFT JOIN project_process pp ON pp.PROJECT_ID = p.ID AND pp.OPERATION = 'close' |
|
|
|
WHERE p.DEL_FLAG = '0' |
|
|
|
AND pp.DEL_FLAG = '0' |
|
|
|
AND |
|
|
|
<foreach collection="issueIds" item="issueId" separator=" OR "> |
|
|
|
p.ORIGIN_ID = #{issueId} |
|
|
|
</foreach> |
|
|
|
AND pp.DEL_FLAG = '0' |
|
|
|
AND( |
|
|
|
<foreach collection="issueIds" item="issueId" separator=" OR "> |
|
|
|
p.ORIGIN_ID = #{issueId} |
|
|
|
</foreach>) |
|
|
|
</select> |
|
|
|
|
|
|
|
<!-- 查询项目信息【处理中】 --> |
|
|
@ -79,10 +79,10 @@ |
|
|
|
AND ps.DEL_FLAG = '0' |
|
|
|
AND p.`STATUS` = 'pending' |
|
|
|
AND ps.IS_HANDLE = 'unhandled' |
|
|
|
AND |
|
|
|
AND( |
|
|
|
<foreach collection="issueIds" item="issueId" separator=" OR "> |
|
|
|
p.ORIGIN_ID = #{issueId} |
|
|
|
</foreach> |
|
|
|
p.ORIGIN_ID = #{issueId} |
|
|
|
</foreach>) |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="selectShiftProjectList" resultType="com.epmet.dataaggre.dto.govproject.ProjectDTO"> |
|
|
@ -108,7 +108,7 @@ |
|
|
|
p.origin_id = #{issueId} |
|
|
|
</foreach> |
|
|
|
ORDER BY |
|
|
|
p.created_time ASC |
|
|
|
p.created_time DESC |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="selectDepartmentNameList" resultType="java.lang.String"> |
|
|
|