Commit fa0be0af by 陶光胜

门店导出修改

parent 91d837fd
......@@ -157,6 +157,15 @@ public class StoreController extends DownloadUtils {
}
}
@RequestMapping("online-store-count")
public RestResponse onlineStoreCount(){
StoreSearchDTO storeSearchDTO = new StoreSearchDTO();
storeSearchDTO.setEnterpriseId(UserDetailUtils.getUserDetail().getEnterpriseId());
storeSearchDTO.setStatus(StoreStatusEnum.ONLINE.getCode());
ServiceResponse<Long> response = this.storeApiService.queryStoreCountFromES(storeSearchDTO);
return RestResponse.success(response.getResult());
}
@RequestMapping("store-list-source")
public RestResponse storeListSource() {
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