|
@ -625,8 +625,8 @@ public class IcEventController { |
|
|
public Result updateReply(@RequestBody IcEventReplyFormDTO formDTO) { |
|
|
public Result updateReply(@RequestBody IcEventReplyFormDTO formDTO) { |
|
|
icEventReplyService.updateByReplyId(formDTO); |
|
|
icEventReplyService.updateByReplyId(formDTO); |
|
|
if (null != formDTO.getIcEventId()) { |
|
|
if (null != formDTO.getIcEventId()) { |
|
|
IcEventDTO entity = icEventService.get(formDTO.getId()); |
|
|
IcEventDTO entity = icEventService.get(formDTO.getIcEventId()); |
|
|
if (formDTO.getManageStatus() > entity.getReplyStatus()) { |
|
|
if (null == entity.getReplyStatus() || formDTO.getManageStatus() > entity.getReplyStatus()) { |
|
|
entity.setReplyStatus(formDTO.getManageStatus()); |
|
|
entity.setReplyStatus(formDTO.getManageStatus()); |
|
|
icEventService.update(entity); |
|
|
icEventService.update(entity); |
|
|
} |
|
|
} |
|
|