|
@@ -51,9 +51,7 @@ public class SettleOrderLogic {
|
|
|
AdminUserCom adminUser = commonLogic.getAdminUser();
|
|
|
FieldUtils.supplyParam(zfireParamBean, SettleOrderVO.class, adminUser);
|
|
|
|
|
|
- // 网点权限
|
|
|
- String websitId = adminUser.getType() == 0 ? adminUser.getAdminWebsitIds().get(0) : null;
|
|
|
- return commonMapper.settleOrderList(new Page(zfireParamBean.getPageNum(), zfireParamBean.getPageSize()), zfireParamBean, websitId);
|
|
|
+ return commonMapper.settleOrderList(new Page(zfireParamBean.getPageNum(), zfireParamBean.getPageSize()), zfireParamBean, adminUser.getAdminWebsitIds());
|
|
|
|
|
|
}
|
|
|
|
|
@@ -370,9 +368,8 @@ public class SettleOrderLogic {
|
|
|
AdminUserCom adminUser = commonLogic.getAdminUser();
|
|
|
FieldUtils.supplyParam(zfireParamBean, WebsitPurchaseVO.class, adminUser);
|
|
|
|
|
|
- // 网点权限
|
|
|
- String websitId = adminUser.getType() == 0 ? adminUser.getAdminWebsitIds().get(0) : null;
|
|
|
- return commonMapper.settlePoolList(new Page(zfireParamBean.getPageNum(), zfireParamBean.getPageSize()), zfireParamBean, websitId);
|
|
|
+
|
|
|
+ return commonMapper.settlePoolList(new Page(zfireParamBean.getPageNum(), zfireParamBean.getPageSize()), zfireParamBean, adminUser.getAdminWebsitIds());
|
|
|
|
|
|
}
|
|
|
|