@@ -34,6 +34,8 @@ public class GenerateWorkorderServiceImpl implements GenerateWorkorderService { | |||
@Override | |||
public JsonResult generateByAuto(Inspection inspection, List<InspectionFile> inspectionFileList) { | |||
return generateWorkorderByAutoService.generate(inspection, inspectionFileList); | |||
// return generateWorkorderByAutoService.generate(inspection, inspectionFileList); | |||
log.info("关闭自动生成工单功能, inspectionId={}", inspection.getId()); | |||
return JsonResult.success(); | |||
} | |||
} |