Browse Source

[华信科] 龙旗对接 必填校验去掉

zxl 3 months ago
parent
commit
63241ce34f

+ 6 - 6
src/main/java/com/uas/eis/longcheer/serviceImpl/LongcheerServiceImpl.java

@@ -212,9 +212,9 @@ public class LongcheerServiceImpl implements LongcheerService {
         if (isBlank(request.getCurrency())) {
             return "币别(currency)不能为空";
         }
-        if (isBlank(request.getPurchasePrincipal())) {
+        /*if (isBlank(request.getPurchasePrincipal())) {
             return "采购员(purchasePrincipal)不能为空";
-        }
+        }*/
         if (isBlank(request.getOrderDate())) {
             return "订单日期(orderDate)不能为空";
         }
@@ -234,9 +234,9 @@ public class LongcheerServiceImpl implements LongcheerService {
             if (isBlank(line.getMaterialNumber())) {
                 return prefix + "物料编码(materialNumber)不能为空";
             }
-            if (isBlank(line.getManufacturer())) {
+            /*if (isBlank(line.getManufacturer())) {
                 return prefix + "生产厂家(manufacturer)不能为空";
-            }
+            }*/
             if (isBlank(line.getRequireDate())) {
                 return prefix + "要求交期(requireDate)不能为空";
             }
@@ -255,7 +255,7 @@ public class LongcheerServiceImpl implements LongcheerService {
             if (isBlank(line.getPurchaseType())) {
                 return prefix + "采购类型(purchaseType)不能为空";
             }
-            if (isBlank(line.getPlaceReceipt())) {
+            /*if (isBlank(line.getPlaceReceipt())) {
                 return prefix + "收货地点(placeReceipt)不能为空";
             }
             if (isBlank(line.getDeliveryAddress())) {
@@ -266,7 +266,7 @@ public class LongcheerServiceImpl implements LongcheerService {
             }
             if (isBlank(line.getReceivePhone())) {
                 return prefix + "收货联系电话(receivePhone)不能为空";
-            }
+            }*/
         }
         return null;
     }