mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-03 01:20:15 +08:00
update 订单汇总信息权限校验
This commit is contained in:
@@ -372,6 +372,9 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
public OrderTotalDataVO getOrderTotalDataV2(QueryOrderDTO dto) {
|
||||
// 确定查询的站点
|
||||
List<String> stationIdList = Lists.newArrayList();
|
||||
if (CollectionUtils.isNotEmpty(dto.getStationIdList())) {
|
||||
stationIdList.addAll(dto.getStationIdList());
|
||||
}
|
||||
if (StringUtils.isNotBlank(dto.getStationId())) {
|
||||
stationIdList.add(dto.getStationId());
|
||||
}
|
||||
|
||||
@@ -476,5 +476,15 @@ public class PileStationInfoServiceImpl implements IPileStationInfoService {
|
||||
return pileStationInfoMapper.updateAmapFlag(stationId, amapFlag);
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过站点部门id查询站点id
|
||||
* @param deptId
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public List<String> getIdsByDeptId(String deptId) {
|
||||
return pileStationInfoMapper.getIdsByDeptId(deptId);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user