Преглед на файлове

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…
Отказ
Запис