Browse Source

Merge remote-tracking branch 'origin/dev_bugfix_ljj' into develop

dev
zxc 4 years ago
parent
commit
2bcacf46ce
  1. 11
      epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/project/ProjectProcessDao.xml
  2. 8
      epmet-module/gov-issue/gov-issue-server/src/main/resources/mapper/IssueVoteStatisticalDao.xml

11
epmet-module/data-statistical/data-statistical-server/src/main/resources/mapper/project/ProjectProcessDao.xml

@ -183,17 +183,6 @@
AND staff.PROJECT_ID = #{projectId} AND staff.PROJECT_ID = #{projectId}
</if> </if>
AND staff.CUSTOMER_ID = #{customerId} AND staff.CUSTOMER_ID = #{customerId}
<if test='null != projectStatus and "" != projectStatus'>
AND project.STATUS = #{projectStatus}
</if>
<if test='null != dateId and "" != dateId'>
AND (
DATE_FORMAT(relation.UPDATED_TIME , '%Y%m%d') = #{dateId}
)
</if>
ORDER BY staff.PROJECT_ID,staff.CREATED_TIME ASC ORDER BY staff.PROJECT_ID,staff.CREATED_TIME ASC
</select> </select>

8
epmet-module/gov-issue/gov-issue-server/src/main/resources/mapper/IssueVoteStatisticalDao.xml

@ -233,10 +233,10 @@
UPDATE UPDATE
issue_vote_statistical issue_vote_statistical
<set> <set>
<if test="null != supportCount">support_count = #{supportCount}</if> <if test="null != supportCount">support_count = #{supportCount},</if>
<if test="null != oppositionCount">opposition_count = #{oppositionCount}</if> <if test="null != oppositionCount">opposition_count = #{oppositionCount},</if>
<if test="null != votableCount">votable_count = #{votableCount}</if> <if test="null != votableCount">votable_count = #{votableCount},</if>
<if test="null != updatedBy">updated_by = #{updatedBy}</if> <if test="null != updatedBy">updated_by = #{updatedBy},</if>
UPDATED_TIME = NOW () UPDATED_TIME = NOW ()
</set> </set>
WHERE WHERE

Loading…
Cancel
Save