修复大屏体检异常统计bug

This commit is contained in:
wanghao
2025-08-20 13:33:06 +08:00
parent a035d3f47e
commit 59ade8db2b
@@ -236,6 +236,9 @@ public class LargeScreenServiceImpl extends ServiceImpl<LargeScreenMapper, Large
@Override @Override
public MedicalAbnormalStatisticsVO medicalAbnormalStatistics(MedicalAbnormalStatisticsDTO dto) { public MedicalAbnormalStatisticsVO medicalAbnormalStatistics(MedicalAbnormalStatisticsDTO dto) {
if (dto.getMedicalYear().isEmpty()) {
dto.setMedicalYear(String.valueOf(DateUtil.thisYear()));
}
MedicalAbnormalStatisticsVO statisticsVO = redisClientUtil.get(MEDICAL, MedicalAbnormalStatisticsVO statisticsVO = redisClientUtil.get(MEDICAL,
MEDICAL_ABNORMAL_STATISTICS + ":" + dto.getMedicalYear() + ":" + dto.getCenterId(), MedicalAbnormalStatisticsVO.class); MEDICAL_ABNORMAL_STATISTICS + ":" + dto.getMedicalYear() + ":" + dto.getCenterId(), MedicalAbnormalStatisticsVO.class);
// 获取假数据 // 获取假数据