Commit 9f5b86714796deceee8663359d332963c5f67793
1 parent
17a6faf862
Exists in
master
and in
6 other branches
专病门诊
Showing 1 changed file with 7 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/worker/TwinsPatientWorker.java
View file @
9f5b867
... | ... | @@ -265,7 +265,11 @@ |
265 | 265 | if (StringUtils.isNotEmpty(srt)) { |
266 | 266 | BasicConfig basicConfig = basicConfigService.getOneBasicConfigById(srt); |
267 | 267 | if (null != basicConfig && sb.indexOf(basicConfig.getName()) == -1) { |
268 | - sb.append(basicConfig.getName()).append(','); | |
268 | + if(basicConfig.getName().contains("双绒双羊") || | |
269 | + basicConfig.getName().contains("单绒双羊") || | |
270 | + basicConfig.getName().contains("单绒单羊")){ | |
271 | + sb.append(basicConfig.getName()).append(','); | |
272 | + } | |
269 | 273 | } |
270 | 274 | } |
271 | 275 | } |
272 | 276 | |
... | ... | @@ -275,11 +279,11 @@ |
275 | 279 | twinsPatientsResult.setrFactor(sb.toString()); |
276 | 280 | } |
277 | 281 | |
278 | - if (!"-".equals(twinsPatientsResult.getrFactor()) && StringUtils.isNotEmpty(patients.getoRiskFactor())) { | |
282 | + /* if (!"-".equals(twinsPatientsResult.getrFactor()) && StringUtils.isNotEmpty(patients.getoRiskFactor())) { | |
279 | 283 | twinsPatientsResult.setrFactor(twinsPatientsResult.getrFactor() + "," + patients.getoRiskFactor()); |
280 | 284 | } else if (StringUtils.isNotEmpty(patients.getoRiskFactor())) { |
281 | 285 | twinsPatientsResult.setrFactor(patients.getoRiskFactor()); |
282 | - } | |
286 | + }*/ | |
283 | 287 | } else if (StringUtils.isNotEmpty(patients.getoRiskFactor())) { |
284 | 288 | twinsPatientsResult.setrFactor(patients.getoRiskFactor()); |
285 | 289 | } |