瀏覽代碼

Merge branch 'develop' of gitadmin/tuoheng_freeway into release

pull/380/head
suqin 10 月之前
父節點
當前提交
59fbbd35e7
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/resubmit/ResubmitInspectionService.java
  2. +2
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/task/InspectionCycleTask.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/inspection/resubmit/ResubmitInspectionService.java 查看文件

@@ -198,7 +198,7 @@ public class ResubmitInspectionService {
return JsonResult.error(ResubmitInspectionCodeEnum.DEPT_IS_NOT_EXIST.getCode(), ResubmitInspectionCodeEnum.DEPT_IS_NOT_EXIST.getMsg());
}
Inspection inspection = InspectionConverMapper.INSTANCE.fromEditInspectionRequestToInspection(request);
String code = DateUtils.generateCode("XJRW");
String code = DateUtils.generateCode("DCRW");
inspection.setCode(code);
inspection.setId("");
inspection.setTenantId(tenantId);

+ 2
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/task/InspectionCycleTask.java 查看文件

@@ -143,7 +143,8 @@ public class InspectionCycleTask {
inspection.setInspectionTime(inspectionCycle.getCycleNextTime());
inspection.setType(InspectionTaskTypeEnum.CYCLE_INSPECTION.getCode());
inspection.setInspectionType(InspectionTypeEnum.AIRPORT.getCode());
inspection.setCreateUser("");
inspection.setCreateUser(inspectionCycle.getCreateUser());

inspection.setCreateTime(DateUtils.now());
inspection.setStatus(InspectionStatusEnum.WAIT_FLIGHT.getCode());
Date cycleNextTime = InspectionCycleNextTimeUtil.getCycleNextTime(inspectionCycle.getType(),

Loading…
取消
儲存