|
@@ -7,7 +7,9 @@ import com.fdkankan.sale.common.ResultData;
|
|
|
import com.fdkankan.sale.entity.Repair;
|
|
|
import com.fdkankan.sale.exception.BusinessException;
|
|
|
import com.fdkankan.sale.service.IPartService;
|
|
|
+import com.fdkankan.sale.service.IRepairCommentService;
|
|
|
import com.fdkankan.sale.service.IRepairService;
|
|
|
+import com.fdkankan.sale.service.impl.RepairCustomerService;
|
|
|
import com.fdkankan.sale.service.impl.RepairPersonnelService;
|
|
|
import com.fdkankan.sale.service.impl.RepairSaleService;
|
|
|
import com.fdkankan.sale.vo.request.*;
|
|
@@ -31,6 +33,8 @@ public class RepairSaleController extends BaseController{
|
|
|
RepairSaleService repairSaleService;
|
|
|
@Autowired
|
|
|
IRepairService repairService;
|
|
|
+ @Autowired
|
|
|
+ RepairCustomerService repairCustomerService;
|
|
|
|
|
|
/**
|
|
|
* 售后工程师
|
|
@@ -92,6 +96,16 @@ public class RepairSaleController extends BaseController{
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * 确认报价
|
|
|
+ */
|
|
|
+ @PostMapping("/confirmRepair")
|
|
|
+ public ResultData confirmRepair(@RequestBody RepairParam param){
|
|
|
+ param.setUserId(getUserId());
|
|
|
+ param.setConfirm(1);
|
|
|
+ repairCustomerService.confirmRepair(param);
|
|
|
+ return ResultData.ok();
|
|
|
+ }
|
|
|
+ /**
|
|
|
* 付款登记 0银行汇款
|
|
|
*/
|
|
|
@PostMapping("/payRegister")
|