|
@@ -28,6 +28,7 @@ import com.platform.office.poi.excel.entity.ImportParams;
|
|
|
import com.platform.rest.log.annotation.SysLog;
|
|
|
import com.platform.service.check.CheckJobService;
|
|
|
import com.platform.service.repair.RepairApplicationFormService;
|
|
|
+import com.platform.service.repair.strategy.RepairStrategyFactory;
|
|
|
import com.platform.service.sb.SbInfoService;
|
|
|
import com.platform.service.sb.SbStatusLogService;
|
|
|
import com.platform.service.upms.SysFileService;
|
|
@@ -141,7 +142,8 @@ public class IgnoreController {
|
|
|
@SysLog("新增保修单")
|
|
|
@PostMapping("/repair/add")
|
|
|
public R saveIgnore(@Validated({AddGroup.class}) @RequestBody RepairApplicationFormDTO repairApplicationFormDTO) {
|
|
|
- return new R<>(repairApplicationFormService.saveModelByDTO(repairApplicationFormDTO));
|
|
|
+ return new R<>(RepairStrategyFactory.getStrategy().callRepair(repairApplicationFormDTO));
|
|
|
+ //return new R<>(repairApplicationFormService.saveModelByDTO(repairApplicationFormDTO));
|
|
|
}
|
|
|
|
|
|
/**
|