Browse Source

Merge branch 'dev_project_branch' into dev

dev_shibei_match
sunyuchao 5 years ago
parent
commit
f6bffa9a7c
  1. 26
      epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/govproject/ProjectDao.xml

26
epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/govproject/ProjectDao.xml

@ -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">

Loading…
Cancel
Save