|
|
@ -685,6 +685,8 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit |
|
|
|
} |
|
|
|
entity.setOperationType(NumConstant.ZERO_STR); |
|
|
|
entity.setLatestOperatedTime(new Date()); |
|
|
|
//工作端回复了,居民端那要展示红点。
|
|
|
|
entity.setRedDot(NumConstant.ONE); |
|
|
|
baseDao.updateById(entity); |
|
|
|
|
|
|
|
//3.新增回复数据
|
|
|
@ -769,7 +771,8 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit |
|
|
|
**/ |
|
|
|
@Override |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public void icEventToProject(IcEventToProjectFormDTO formDTO) { |
|
|
|
public void icEven//工作端回复了,居民端那要展示红点。
|
|
|
|
entity.setRedDot(NumConstant.ONE);tToProject(IcEventToProjectFormDTO formDTO) { |
|
|
|
//1.查询事件数据
|
|
|
|
IcEventEntity entity = baseDao.selectById(formDTO.getIcEventId()); |
|
|
|
if (null == entity || "1".equals(entity.getOperationType()) || "2".equals(entity.getOperationType())) { |
|
|
@ -782,6 +785,8 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit |
|
|
|
entity.setOperationType(NumConstant.ONE_STR); |
|
|
|
entity.setOperationId(project.getProjectId()); |
|
|
|
entity.setLatestOperatedTime(new Date()); |
|
|
|
//工作端回复了,居民端那要展示红点。
|
|
|
|
entity.setRedDot(NumConstant.ONE); |
|
|
|
baseDao.updateById(entity); |
|
|
|
|
|
|
|
//4.判断新增或修改分类数据
|
|
|
@ -867,6 +872,8 @@ public class IcEventServiceImpl extends BaseServiceImpl<IcEventDao, IcEventEntit |
|
|
|
entity.setOperationType(NumConstant.TWO_STR); |
|
|
|
entity.setOperationId(recIdResult.getData().getDemandRecId()); |
|
|
|
entity.setLatestOperatedTime(new Date()); |
|
|
|
//工作端回复了,居民端那要展示红点。
|
|
|
|
entity.setRedDot(NumConstant.ONE); |
|
|
|
baseDao.updateById(entity); |
|
|
|
|
|
|
|
//4.判断新增或修改分类数据
|
|
|
|