Pārlūkot izejas kodu

更新判断表格唯一数据方法

hejq 7 gadi atpakaļ
vecāks
revīzija
6df1046667

+ 0 - 3
src/main/java/com/uas/platform/b2c/trade/order/service/impl/PurchaseProductServiceImpl.java

@@ -309,9 +309,6 @@ public class PurchaseProductServiceImpl implements PurchaseProductService {
         }
         for (ReleaseProductByBatch each : batchList) {
             // 返回符合标准的唯一的物料信息
-            if (StringUtils.isEmpty(each.getErrmsg()) && !each.equals(aBatch)) {
-                return aBatch;
-            }
             if (aBatch.compareSameProductTagInfo(each)) {
                 aBatch.addErrmsg(ErrorInfoConstant.REPEAT_IN_EXCEL.getInfo());
                 aBatch.setReleaseStatus(ReleaseStatus.had_exists.getPhrase());