Browse Source

居民端有了新回复,工作端红点置为展示

master
yinzuomei 3 years ago
parent
commit
7022c4f73f
  1. 1
      epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenPartyUserRankDataDao.xml
  2. 5
      epmet-module/gov-project/gov-project-client/src/main/java/com/epmet/dto/IcEventDTO.java
  3. 5
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/entity/IcEventEntity.java
  4. 3
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/IcEventServiceImpl.java

1
epmet-module/data-report/data-report-server/src/main/resources/mapper/screen/ScreenPartyUserRankDataDao.xml

@ -203,6 +203,7 @@
<when test="orgType == 'department'">
INNER JOIN screen_customer_dept org ON org.CUSTOMER_ID = u.CUSTOMER_ID AND org.DEPT_ID = u.ORG_ID AND org.DEL_FLAG = '0'
</when>
</choose>
</if>
WHERE

5
epmet-module/gov-project/gov-project-client/src/main/java/com/epmet/dto/IcEventDTO.java

@ -1,8 +1,9 @@
package com.epmet.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
@ -182,7 +183,7 @@ approved:人工审核通过)
private String createdBy;
/**
* 展示红点visible隐藏invisible人大回复工作人员回复/立项更新为visible; 插入数据默认不展示
* 创建时间
*/
private Date createdTime;

5
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/entity/IcEventEntity.java

@ -121,6 +121,11 @@ public class IcEventEntity extends BaseEpmetEntity {
*/
private Integer redDot;
/**
* 工作端的红点:展示1不展示0居民报事回复更新为1
*/
private Integer govRedDot;
/**
* 最近一次操作时间回复立项转需求办结更新此列
*/

3
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/IcEventServiceImpl.java

@ -1426,7 +1426,10 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit
//1.查询事件数据 判断是否允许回复
IcEventEntity entity=checkReply(formDTO.getIcEventId());
entity.setLatestOperatedTime(new Date());
//居民端的红点置为不显示
entity.setRedDot(NumConstant.ZERO);
//居民有了新回复,工作端的红点置为展示
entity.setGovRedDot(NumConstant.ONE);
baseDao.updateById(entity);
//2.新增回复数据

Loading…
Cancel
Save