Browse Source

修复联系群众的流程时间取自来信时间的问题

master
wxc 12 months ago
parent
commit
4e00950cef
  1. 2
      mailbox-lan/src/main/java/com/biutag/lan/flow/node/ThreeContactWriterFlow.java
  2. 1
      mailbox-lan/src/main/java/com/biutag/lan/service/WorkService.java

2
mailbox-lan/src/main/java/com/biutag/lan/flow/node/ThreeContactWriterFlow.java

@ -71,7 +71,7 @@ public class ThreeContactWriterFlow extends Flow {
.setContactFlag(data.getBoolean("contactFlag")) .setContactFlag(data.getBoolean("contactFlag"))
.setFlowKey(nextNode.getFlowNode().getKey()) .setFlowKey(nextNode.getFlowNode().getKey())
.setFlowName(nextNode.getFlowNode().getBeforeName()) .setFlowName(nextNode.getFlowNode().getBeforeName())
.setFlowLimitedLastHandlerTime(mail.getMailTime()); .setFlowLimitedLastHandlerTime(mail.getFirstDistributeTime());
// 如果是简易流程 // 如果是简易流程
if (mail.getSimpleFlowFlag()) { if (mail.getSimpleFlowFlag()) {
mail.setFlowKey(FlowNodeEnum.VERIFY.getKey()) mail.setFlowKey(FlowNodeEnum.VERIFY.getKey())

1
mailbox-lan/src/main/java/com/biutag/lan/service/WorkService.java

@ -523,7 +523,6 @@ public class WorkService extends ServiceImpl<WorkMapper, Work> {
} }
workVo.setMailLabels(labelNamesStr.substring(0, labelNamesStr.length() - 1)); workVo.setMailLabels(labelNamesStr.substring(0, labelNamesStr.length() - 1));
} }
if (Objects.nonNull(workVo.getLimitedTime())) { if (Objects.nonNull(workVo.getLimitedTime())) {
workVo.setFlowLimitedRemainingTime(holidayService.getFlowRemainingTimeByNow(workVo.getLimitedTime(), workVo.getFlowLimitedLastHandlerTime(), workVo.getExtensionFlag(), workVo.getExtensionDays())); workVo.setFlowLimitedRemainingTime(holidayService.getFlowRemainingTimeByNow(workVo.getLimitedTime(), workVo.getFlowLimitedLastHandlerTime(), workVo.getExtensionFlag(), workVo.getExtensionDays()));
} else { } else {

Loading…
Cancel
Save