master
陈江保 3 months ago
parent 71746b8eea
commit 46cbc9f261
  1. 32
      src/main/java/digital/laboratory/platform/entrustment/service/impl/EntrustmentServiceImpl.java

@ -3459,17 +3459,27 @@ public class EntrustmentServiceImpl extends ServiceImpl<EntrustmentMapper, Entru
.withYear(year).withMonth(monthValue).withDayOfMonth(dayValue) .withYear(year).withMonth(monthValue).withDayOfMonth(dayValue)
.format(formatter) .format(formatter)
)); ));
return this.update(Wrappers.<Entrustment>lambdaUpdate() entrust.setSubmitTime(entrust.getSubmitTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue));
.eq(Entrustment::getId, entrust.getId()) entrust.setCheckClaimTime(entrust.getCheckClaimTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue));
.set(Entrustment::getSubmitTime, entrust.getSubmitTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue)) entrust.setCheckTime(entrust.getCheckTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue));
.set(Entrustment::getCheckClaimTime, entrust.getCheckClaimTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue)) entrust.setApproveClaimTime(entrust.getApproveClaimTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue));
.set(Entrustment::getCheckTime, entrust.getCheckTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue)) entrust.setApproveTime(entrust.getApproveTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue));
.set(Entrustment::getApproveClaimTime, entrust.getApproveClaimTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue)) entrust.setDeliverConfirmTime(entrust.getDeliverConfirmTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue));
.set(Entrustment::getApproveTime, entrust.getApproveTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue)) entrust.setAcceptTime(entrust.getAcceptTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue));
.set(Entrustment::getDeliverConfirmTime, entrust.getDeliverConfirmTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue)) entrust.setCreateTime(entrust.getCreateTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue));
.set(Entrustment::getAcceptTime, entrust.getAcceptTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue)) entrust.setProcessInfo(processInfoList);
.set(Entrustment::getCreateTime, entrust.getCreateTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue)) return super.updateById(entrust);
.set(Entrustment::getProcessInfo, processInfoList)); // return this.update(Wrappers.<Entrustment>lambdaUpdate()
// .eq(Entrustment::getId, entrust.getId())
// .set(Entrustment::getSubmitTime, entrust.getSubmitTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue))
// .set(Entrustment::getCheckClaimTime, entrust.getCheckClaimTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue))
// .set(Entrustment::getCheckTime, entrust.getCheckTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue))
// .set(Entrustment::getApproveClaimTime, entrust.getApproveClaimTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue))
// .set(Entrustment::getApproveTime, entrust.getApproveTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue))
// .set(Entrustment::getDeliverConfirmTime, entrust.getDeliverConfirmTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue))
// .set(Entrustment::getAcceptTime, entrust.getAcceptTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue))
// .set(Entrustment::getCreateTime, entrust.getCreateTime().withYear(year).withMonth(monthValue).withDayOfMonth(dayValue))
// .set(Entrustment::getProcessInfo, processInfoList));
} }

Loading…
Cancel
Save