Commit 3f8ef0908049f48b8688a65dfa770e6ad115df54

Authored by jiangjiazhi
1 parent 003835154b

commit

Showing 2 changed files with 5 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/QuanPatientWorker.java View file @ 3f8ef09
... ... @@ -169,7 +169,8 @@
169 169 } catch (Exception e) {
170 170 ExceptionUtils.catchException(e, "patients.getRiskLevelId error.");
171 171 }
172   - quanPatientsResult.setrLevel(level);
  172 + HighScoreResult highScoreResult=new HighScoreResult();
  173 + quanPatientsResult.setrLevel(highScoreResult.filter(level));
173 174 }
174 175 data.add(quanPatientsResult);
175 176 logger.debug(stopWatch.toString());
platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/WorkHR.java View file @ 3f8ef09
... ... @@ -10,6 +10,7 @@
10 10 import com.lyms.platform.common.utils.ExceptionUtils;
11 11 import com.lyms.platform.common.utils.JsonUtil;
12 12 import com.lyms.platform.operate.web.facade.PatientFacade;
  13 +import com.lyms.platform.operate.web.result.HighScoreResult;
13 14 import com.lyms.platform.operate.web.result.RiskPatientsResult;
14 15 import com.lyms.platform.permission.model.Users;
15 16 import com.lyms.platform.permission.service.UsersService;
... ... @@ -176,7 +177,8 @@
176 177 } catch (Exception e) {
177 178 ExceptionUtils.catchException(e, "patients.getRiskLevelId error.");
178 179 }
179   - riskPatientsResult.setrLevel(level);
  180 + HighScoreResult highScoreResult=new HighScoreResult();
  181 + riskPatientsResult.setrLevel(highScoreResult.filter(level));
180 182 }
181 183  
182 184 riskPatientsResult.sethScore(patients.getRiskScore());