浏览代码

报价添加参数priceListId

lyhzzz 2 年之前
父节点
当前提交
be4a2ee6cc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/sale/service/impl/RepairSaleService.java

+ 1 - 1
src/main/java/com/fdkankan/sale/service/impl/RepairSaleService.java

@@ -167,7 +167,7 @@ public class RepairSaleService {
                 throw new BusinessException(ResultCode.PRICE_TYPE_NOT);
             }
             if(priceList.getType() == 0){
-                if(priceList.getPartId() == null ||  partMap.get(priceList.getPartId()) == null){
+                if(priceList.getPartId() == null ||  partMap.get(priceList.getPartId()) == null || priceList.getPriceListId() == null){
                     throw new BusinessException(ResultCode.PART_ID_EMPTY);
                 }
                 Part part = partMap.get(priceList.getPartId());