|  |  |  | 
|---|
|  |  |  | public AjaxResult findStoreList(@RequestBody @Validated StoreListDto storeListDto) { | 
|---|
|  |  |  | SysStoreInfo sysStoreInfo = new SysStoreInfo(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (!DataAuthUtil.hasAllShopAuth()) { | 
|---|
|  |  |  | SysUsers users = WebUtil.getSessionAttribute(MatrixConstance.LOGIN_KEY); | 
|---|
|  |  |  | sysStoreInfo.setShopId(users.getShopId()); | 
|---|
|  |  |  | sysStoreInfo.setCompanyId(users.getCompanyId()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | SysUsers users = WebUtil.getSessionAttribute(MatrixConstance.LOGIN_KEY); | 
|---|
|  |  |  | sysStoreInfo.setShopId(users.getShopId()); | 
|---|
|  |  |  | sysStoreInfo.setCompanyId(users.getCompanyId()); | 
|---|
|  |  |  | sysStoreInfo.setQueryKey(storeListDto.getQueryKey()); | 
|---|
|  |  |  | PaginationVO pageVo = new PaginationVO(); | 
|---|
|  |  |  | pageVo.setOffset((storeListDto.getPageNum() - 1) * storeListDto.getPageSize()); | 
|---|