Commit 8fa96ef5 by fudahua

门店分组绑定校验

parent ce0892c1
......@@ -179,8 +179,8 @@ public class WxEnterpriseRelatedApiServiceImpl implements WxEnterpriseRelatedApi
public ServiceResponse wxEnterpriseBind(WxEnterpriseRelationDetailDTO detailDTO) {
ServiceResponse<Object> resp = new ServiceResponse<>();
//校验是否分组被其它企业绑定
if (checkHasBindStoreGroup(detailDTO)) {
logger.info("部分分组被其它企业绑定了:{}", JSONObject.toJSONString(detailDTO));
if (!checkHasBindStoreGroup(detailDTO)) {
logger.info("部分分组被其它企业绑定了:{}", JSONObject.toJSONString(detailDTO));
resp.setCode(2);
resp.setMessage("部分分组被其它企业绑定了!");
return resp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment