修复大屏体检异常统计bug
This commit is contained in:
+3
@@ -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);
|
||||||
// 获取假数据
|
// 获取假数据
|
||||||
|
|||||||
Reference in New Issue
Block a user