Browse Source

发布、编辑、取消、关闭活动记录group_message

dev_shibei_match
yinzuomei 4 years ago
parent
commit
eaceda8ed1
  1. 8
      epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/act/service/impl/GroupActInfoServiceImpl.java

8
epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/act/service/impl/GroupActInfoServiceImpl.java

@ -210,7 +210,13 @@ public class GroupActInfoServiceImpl extends BaseServiceImpl<GroupActInfoDao, Gr
groupMessageService.save(insert);
return;
}
groupMessageDTO.setOperateTime(groupActInfoEntity.getUpdatedTime());
if(GroupActConstant.CANCELED.equals(groupActInfoEntity.getStatus())){
groupMessageDTO.setOperateTime(groupActInfoEntity.getCanceledTime());
}else if(GroupActConstant.CLOSED.equals(groupActInfoEntity.getStatus())){
groupMessageDTO.setOperateTime(groupActInfoEntity.getClosedTime());
}else{
groupMessageDTO.setOperateTime(groupActInfoEntity.getUpdatedTime());
}
groupMessageDTO.setStatus(groupActInfoEntity.getStatus());
groupMessageService.update(groupMessageDTO);
}

Loading…
Cancel
Save