Commit 9a89c3d9 by guojx

是否所有门店权限

parent 021a22a8
...@@ -1600,6 +1600,20 @@ public class WxStaffController extends WebBaseController { ...@@ -1600,6 +1600,20 @@ public class WxStaffController extends WebBaseController {
} }
/** /**
* 是否所有门店权限
* @param clerkId
* @param wxEnterpriseId
* @param storeStatusFilter
* @return true :是 false:否
*/
@RequestMapping(value = "/isAllStoreAuth", method = RequestMethod.GET)
public RestResponse<Boolean> isAllStoreAuth(String clerkId, String wxEnterpriseId, Integer storeStatusFilter) {
List<String> list = staffApiService.getHaobanStoreIdsRolesByClerkIdAndStoreStatus(clerkId, wxEnterpriseId,
StoreStatusFilterUtils.getStoreStatusList(storeStatusFilter), null);
return RestResponse.successResult(CollectionUtils.isEmpty(list) ? true : false);
}
/**
* 导购gic门店和好办企业门店交集 * 导购gic门店和好办企业门店交集
* *
* @param clerkId * @param clerkId
......
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