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