|
@@ -116,6 +116,7 @@ public class StoreApplyModel {
|
|
String storeName = siteCategoryInfoDTO.getStoreName().trim();
|
|
String storeName = siteCategoryInfoDTO.getStoreName().trim();
|
|
if (WebSiteConstant.MEMBER_OVERSEA.equals(siteCategoryInfoDTO.getWebSite())) {
|
|
if (WebSiteConstant.MEMBER_OVERSEA.equals(siteCategoryInfoDTO.getWebSite())) {
|
|
StoreApplyExample example = new StoreApplyExample();
|
|
StoreApplyExample example = new StoreApplyExample();
|
|
|
|
+ example.setState(StoreConst.STATE_4_STORE_OPEN);
|
|
example.setStoreName(storeName);
|
|
example.setStoreName(storeName);
|
|
int count = storeApplyReadMapper.countByExample(example);
|
|
int count = storeApplyReadMapper.countByExample(example);
|
|
AssertUtil.isTrue(count > 0, "店铺名称已存在");
|
|
AssertUtil.isTrue(count > 0, "店铺名称已存在");
|