Commit 898b8726 by guojx

是否所有门店权限

parent 9a89c3d9
...@@ -1603,13 +1603,12 @@ public class WxStaffController extends WebBaseController { ...@@ -1603,13 +1603,12 @@ public class WxStaffController extends WebBaseController {
* 是否所有门店权限 * 是否所有门店权限
* @param clerkId * @param clerkId
* @param wxEnterpriseId * @param wxEnterpriseId
* @param storeStatusFilter
* @return true :是 false:否 * @return true :是 false:否
*/ */
@RequestMapping(value = "/isAllStoreAuth", method = RequestMethod.GET) @RequestMapping(value = "/isAllStoreAuth", method = RequestMethod.GET)
public RestResponse<Boolean> isAllStoreAuth(String clerkId, String wxEnterpriseId, Integer storeStatusFilter) { public RestResponse<Boolean> isAllStoreAuth(String clerkId, String wxEnterpriseId) {
List<String> list = staffApiService.getHaobanStoreIdsRolesByClerkIdAndStoreStatus(clerkId, wxEnterpriseId, List<String> list = staffApiService.getHaobanStoreIdsRolesByClerkIdAndStoreStatus(clerkId, wxEnterpriseId,
StoreStatusFilterUtils.getStoreStatusList(storeStatusFilter), null); null, null);
return RestResponse.successResult(CollectionUtils.isEmpty(list) ? true : false); return RestResponse.successResult(CollectionUtils.isEmpty(list) ? true : false);
} }
......
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