mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-25 21:45:08 +08:00
update 运营商仅可查看本运营商下所有站点订单信息
This commit is contained in:
@@ -176,7 +176,12 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
}
|
||||
dto.setStationDeptIds(authorizedMap.getStationDeptIds());
|
||||
dto.setMerchantDeptIds(authorizedMap.getMerchantDeptIds());
|
||||
|
||||
String deptId = authorizedMap.getDeptId();
|
||||
// 根据部门id查询merchantId
|
||||
PileMerchantInfo pileMerchantInfo = pileMerchantInfoService.queryInfoByDeptId(deptId);
|
||||
if (pileMerchantInfo != null) {
|
||||
dto.setMerchantId(String.valueOf(pileMerchantInfo.getId()));
|
||||
}
|
||||
List<OrderListVO> orderListVOS = orderBasicInfoMapper.selectOrderBasicInfoList(dto);
|
||||
if (CollectionUtils.isNotEmpty(orderListVOS)) {
|
||||
for (OrderListVO orderListVO : orderListVOS) {
|
||||
|
||||
@@ -245,4 +245,9 @@ public class PileMerchantInfoServiceImpl implements IPileMerchantInfoService {
|
||||
public List<String> queryByMerchantDeptIds(List<String> merchantDeptIds) {
|
||||
return pileMerchantInfoMapper.queryByMerchantDeptIds(merchantDeptIds);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PileMerchantInfo queryInfoByDeptId(String deptId) {
|
||||
return pileMerchantInfoMapper.queryInfoByDeptId(deptId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user