FengChaoYu преди 7 месеца
родител
ревизия
37b191c913
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      mall-server-api/src/main/java/com/gree/mall/manager/logic/admin/AdminWebsitLogic.java

+ 2 - 1
mall-server-api/src/main/java/com/gree/mall/manager/logic/admin/AdminWebsitLogic.java

@@ -626,7 +626,8 @@ public class AdminWebsitLogic {
 
                     try {
                         if (Objects.isNull(row.get(detailStartIndex + 1)) || org.apache.commons.lang3.StringUtils.isBlank(row.get(detailStartIndex + 1).toString())) {
-                            throw new RemoteServiceException("第" + rowIndex + "行, 通联商户名称" + detailIndex + "不能为空");
+//                            throw new RemoteServiceException("第" + rowIndex + "行, 通联商户名称" + detailIndex + "不能为空");
+                            isOn = false;
                         }
 
 //                      if (Objects.isNull(row.get(detailStartIndex + 2)) || org.apache.commons.lang3.StringUtils.isBlank(row.get(detailStartIndex + 2).toString())) {