|
@@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.gree.mall.manager.bean.StorageVO;
|
|
|
import com.gree.mall.manager.bean.admin.AdminUserCom;
|
|
|
import com.gree.mall.manager.commonmapper.CommonPageV2Mapper;
|
|
|
-import com.gree.mall.manager.enums.admin.AdminWebsitTypeEnum;
|
|
|
import com.gree.mall.manager.exception.RemoteServiceException;
|
|
|
import com.gree.mall.manager.logic.common.CommonLogic;
|
|
|
import com.gree.mall.manager.plus.entity.Storage;
|
|
@@ -171,15 +170,10 @@ public class StorageLogic {
|
|
|
|
|
|
|
|
|
//1.组装查询条件
|
|
|
- ZfireParamBean zfireParam = FieldUtils.supplyParam(zfireParamBean, StorageVO.class);
|
|
|
-
|
|
|
- List<String> adminWebsitIds = null;
|
|
|
- if (Objects.nonNull(adminUser.getAdminWebsit()) && adminUser.getAdminWebsit().getType().equals(AdminWebsitTypeEnum.C.getKey())) {
|
|
|
- adminWebsitIds = adminUser.getAdminWebsitIds();
|
|
|
- }
|
|
|
+ ZfireParamBean zfireParam = FieldUtils.supplyParam(zfireParamBean, StorageVO.class, adminUser);
|
|
|
|
|
|
IPage<StorageVO> storageVOIPage = commonPageV2Mapper.pageV2Storage(new Page(zfireParamBean.getPageNum(), zfireParamBean.getPageSize()),
|
|
|
- zfireParam, companyWechatIds, adminWebsitIds);
|
|
|
+ zfireParam, companyWechatIds);
|
|
|
|
|
|
return storageVOIPage;
|
|
|
}
|