@@ -203,7 +203,11 @@ public class RepairSaleService {
priceList.setPriceListId(null);
}
priceList.setRepairId(param.getRepairId());
- priceListService.saveOrUpdate(priceList);
+ if(priceList.getPriceListId() != null){
+ priceListService.updateById(priceList);
+ }else {
+ priceListService.save(priceList);
+ }
repairLogService.saveBySysUser(userId,param.getRepairId(),RepairStatusEnum.TO_BE_CONFIRMED.status(),"维修报价");
@@ -42,7 +42,7 @@ public class StatusUtil {
switch (statusParam){
case 0 : return Collections.singletonList(10);
- case 1 : return Arrays.asList(20,50,60);
+ case 1 : return Arrays.asList(20,50,60,70);
case 2 : return Arrays.asList(80,90,91,100,110);
default: throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);