jsk 解决初始账号健康设置出错的问题

This commit is contained in:
jiask 2025-08-23 13:59:33 +08:00
parent 9aa63087a7
commit 1081c45c8d
1 changed files with 3 additions and 3 deletions

View File

@ -112,10 +112,10 @@ public class HealthPersonInfoServiceImpl implements IHealthPersonInfoService {
HealthPersonInfo chronicVo=new HealthPersonInfo();
chronicVo.setChronicIds(content.getChronicIds());
List<HealthPersonInfo> chronicVos=null;
if(StringUtils.isNull(content.getChronicIds())){
chronicVos=healthPersonInfoMapper.selectHealthChronicList(chronicVo);
}else{
if(StringUtils.isEmpty(content.getChronicIds())){
healthPersonInfoMapper.deleteHealthInfoChronic(content);
}else{
chronicVos=healthPersonInfoMapper.selectHealthChronicList(chronicVo);
}
if(chronicVos!=null&&chronicVos.size()>0){
/**