Commit 42519621 by zhiwj

查询店长

parent d5dbbca2
......@@ -259,6 +259,17 @@ public class ClerkController extends DownloadUtils {
}
}
@RequestMapping("/get-clerk-header")
public RestResponse listClerk(Integer storeId) {
Integer enterpriseId = UserDetailUtils.getUserDetail().getEnterpriseId();
ServiceResponse<ClerkDTO> serviceResponse = clerkApiService.getHeadClerk(enterpriseId, storeId);
if (serviceResponse.isSuccess()) {
return RestResponse.success(serviceResponse.getResult());
} else {
return RestResponse.failure(serviceResponse.getCode(), serviceResponse.getMessage());
}
}
@RequestMapping("/count-clerk")
public RestResponse countClerk(@RequestBody ClerkSearchDTO clerkSearchDTO) {
Integer enterpriseId = UserDetailUtils.getUserDetail().getEnterpriseId();
......
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