소스 검색

bugfix:修改经营种类修改

lyx 1 주 전
부모
커밋
0c039b713a
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      alien-store/src/main/java/shop/alien/store/service/impl/PlatformBusinessSectionServiceImpl.java

+ 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) {
             throw new IllegalArgumentException("记录不存在");
         }
-        if (!"business_section".equals(existing.getTypeName())) {
-            throw new IllegalArgumentException("该记录不是经营种类类型");
-        }
         if (existing.getDeleteFlag() == 1) {
             throw new IllegalArgumentException("该记录已删除");
         }