浏览代码

bugfix:修改经营种类修改

lyx 1 周之前
父节点
当前提交
0c039b713a

+ 0 - 3
alien-store/src/main/java/shop/alien/store/service/impl/PlatformBusinessSectionServiceImpl.java

@@ -180,9 +180,6 @@ public class PlatformBusinessSectionServiceImpl extends ServiceImpl<StoreDiction
         if (existing == null) {
         if (existing == null) {
             throw new IllegalArgumentException("记录不存在");
             throw new IllegalArgumentException("记录不存在");
         }
         }
-        if (!"business_section".equals(existing.getTypeName())) {
-            throw new IllegalArgumentException("该记录不是经营种类类型");
-        }
         if (existing.getDeleteFlag() == 1) {
         if (existing.getDeleteFlag() == 1) {
             throw new IllegalArgumentException("该记录已删除");
             throw new IllegalArgumentException("该记录已删除");
         }
         }