|
|
@ -109,11 +109,6 @@ public class VaccinationInfoServiceImpl extends BaseVimCurdServiceImpl<Vaccinati |
|
|
} |
|
|
} |
|
|
// Map<String, Object> authParams = vaccinationUserRoleService.getVaccinationAuthParams(user.getId());
|
|
|
// Map<String, Object> authParams = vaccinationUserRoleService.getVaccinationAuthParams(user.getId());
|
|
|
// params.putAll(authParams);
|
|
|
// params.putAll(authParams);
|
|
|
String companyId = params.get("companyId") == null ? null : params.get("companyId").toString(); |
|
|
|
|
|
if (StringUtils.isNotBlank(companyId)) { |
|
|
|
|
|
params.put("companyIds", Arrays.asList(companyId.split(","))); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 街道和超管有权查看所有数据
|
|
|
// 街道和超管有权查看所有数据
|
|
|
if (NumConstant.ZERO == user.getSuperAdmin() && !user.getTypeKey().equals(OrganizationTypeConstant.ORG_TYPE_STREET_PARTY)) { |
|
|
if (NumConstant.ZERO == user.getSuperAdmin() && !user.getTypeKey().equals(OrganizationTypeConstant.ORG_TYPE_STREET_PARTY)) { |
|
|
@ -126,6 +121,10 @@ public class VaccinationInfoServiceImpl extends BaseVimCurdServiceImpl<Vaccinati |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public List<VaccinationInfoDTO> getVaccinationInfoList(Map<String, Object> params) { |
|
|
public List<VaccinationInfoDTO> getVaccinationInfoList(Map<String, Object> params) { |
|
|
|
|
|
String companyId = params.get("companyId") == null ? null : params.get("companyId").toString(); |
|
|
|
|
|
if (StringUtils.isNotBlank(companyId)) { |
|
|
|
|
|
params.put("companyIds", Arrays.asList(companyId.split(","))); |
|
|
|
|
|
} |
|
|
List<VaccineDto> companyList = vaccineCompanyService.compantyList(); |
|
|
List<VaccineDto> companyList = vaccineCompanyService.compantyList(); |
|
|
Map<Long, String> companyMap = companyList.stream().collect(Collectors.toMap(VaccineDto::getValue, VaccineDto::getLabel, (key1, key2) -> key2)); |
|
|
Map<Long, String> companyMap = companyList.stream().collect(Collectors.toMap(VaccineDto::getValue, VaccineDto::getLabel, (key1, key2) -> key2)); |
|
|
List<VaccineDto> siteList = vaccinationSiteService.getSiteList(); |
|
|
List<VaccineDto> siteList = vaccinationSiteService.getSiteList(); |
|
|
|