Commit b8449447 by guojuxing

新建联合商户重复创建过滤

parent 9e23f785
......@@ -163,7 +163,7 @@ public class UnionEnterpriseAuthController {
if (isAdd != null && isAdd) {
UnionEnterpriseAuthDTO old = getUnionEnterpriseAuth(UserDetailUtils.getUserDetail().getEnterpriseId(), unionEnterprise.getEnterpriseId());
if (old != null) {
RestResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "商户已经联合");
return RestResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "商户已经联合");
}
}
......
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