Commit 020eebeb by 陶光胜

修改

parent 1f1242cb
......@@ -60,4 +60,14 @@ public class StoreController {
}
}
@RequestMapping("get-store-count")
public RestResponse getStoreCount(String authSearchJson, String searchJson){
Integer enterpriseId = UserDetailUtils.getUserDetail().getEnterpriseId();
StoreSearchDTO storeSearchDTO = new StoreSearchDTO();
storeSearchDTO.setEnterpriseId(enterpriseId);
storeSearchDTO.setSearch(searchJson);
storeSearchDTO.setAuthSearchJson(authSearchJson);
ServiceResponse<Long> response = storeApiService.queryStoreCountFromES(storeSearchDTO);
return RestResponse.success(response.getResult());
}
}
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