‘linchangsheng’ 10 月之前
父节点
当前提交
b60a2e5bf6
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      mall-server-api/src/main/java/com/gree/mall/manager/logic/policy/AgreementLogic.java

+ 2 - 0
mall-server-api/src/main/java/com/gree/mall/manager/logic/policy/AgreementLogic.java

@@ -605,6 +605,8 @@ public class AgreementLogic {
                         policyOrder.setStartTime(startTime);
                         policyOrder.setEndTime(policy.getEndTime());
 
+                        policyOrder.updateById();
+
                         //生成师傅待生效保险
                         WorkerPolicy workerPolicy = new WorkerPolicy();
                         workerPolicy.setWebsitId(policyOrder.getWorkerNumber());