|
|
|
@@ -124,7 +124,7 @@ public class WxBusinessController extends BaseController { |
|
|
|
WxMerchant merchantsubQ = new WxMerchant(); |
|
|
|
merchantsubQ.updateTenantInfo(tenantEntity); |
|
|
|
merchantsubQ.setSubBusinessId(b.getId()); |
|
|
|
List<WxMerchant> merchantSubList = wxMerchantService.findList(merchantQ); |
|
|
|
List<WxMerchant> merchantSubList = wxMerchantService.findList(merchantsubQ); |
|
|
|
if (null != merchantSubList && merchantSubList.size() > 0 ) { |
|
|
|
return new ResultData(Result.ERROR,"存在已关联的商户,不能删除"); |
|
|
|
} |
|
|
|
|