This commit is contained in:
Lemon
2024-02-23 13:55:45 +08:00
5 changed files with 32 additions and 2 deletions

View File

@@ -547,7 +547,20 @@ public class PileBillingTemplateServiceImpl implements PileBillingTemplateServic
// 为空表示没有权限,返回空数组
return Lists.newArrayList();
}
return pileBillingTemplateMapper.queryStationBillingTemplateListWithAuth(stationId, authorizedMap.getStationDeptIds());
return pileBillingTemplateMapper.queryStationBillingTemplateListWithAuth(stationId, authorizedMap.getStationDeptIds(), null);
}
@Override
public List<BillingTemplateVO> queryStationPreferentialBillingTemplateList(String stationId) {
if (StringUtils.isBlank(stationId)) {
return Lists.newArrayList();
}
AuthorizedDeptVO authorizedMap = UserUtils.getAuthorizedMap();
if (authorizedMap == null) {
// 为空表示没有权限,返回空数组
return Lists.newArrayList();
}
return pileBillingTemplateMapper.queryStationBillingTemplateListWithAuth(stationId, authorizedMap.getStationDeptIds(), Constants.ONE);
}
/**