Bläddra i källkod

试车参数设置新增字段

wangxuan 9 månader sedan
förälder
incheckning
27c1527c87

+ 2 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxCommissionCheckParameterSetDetalServiceImpl.java

@@ -82,6 +82,8 @@ public class ZhcxCommissionCheckParameterSetDetalServiceImpl extends ServiceImpl
         String actualDate = computeEstimatedenddate(dayNum, selectdate);
         // 更新操作
         parameterSetDetalDo.setEstimatedenddate(DateUtil.parse(actualDate));
+        // 记录更新结束日期的时间点
+        parameterSetDetalDo.setEndtimemodifydate(new Date());
         this.updateById(parameterSetDetalDo);
         return R.ok(actualDate);
     }

+ 8 - 0
business-entity/src/main/java/com/rongwei/bsentity/domain/ZhcxCommissionCheckParameterSetDetalDo.java

@@ -133,4 +133,12 @@ public class ZhcxCommissionCheckParameterSetDetalDo extends BaseDo implements Se
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     @TableField(exist = false)
     private Date recentlyTime;
+
+    /**
+     * 修改预估日期结束时间
+     */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    @JsonProperty("ENDTIMEMODIFYDATE")
+    @TableField("ENDTIMEMODIFYDATE")
+    private Date endtimemodifydate;
 }