Commit 14f13d82 by 陶光胜

门店导出修改

parent 67da3bb6
......@@ -162,6 +162,9 @@ public class StoreController extends DownloadUtils {
StoreSearchDTO storeSearchDTO = new StoreSearchDTO();
storeSearchDTO.setEnterpriseId(UserDetailUtils.getUserDetail().getEnterpriseId());
storeSearchDTO.setStatus(StoreStatusEnum.ONLINE.getCode());
if(UserDetailUtils.getUserDetail().getUserResourceInfo() != null){
storeSearchDTO.setStoreResource(UserDetailUtils.getUserDetail().getUserResourceInfo().getStoreResource());
}
ServiceResponse<Long> response = this.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