Commit d014f1b8c5aa3e543ed92daf0e86a3c9313339ea
1 parent
3f9c7b3c62
Exists in
master
and in
6 other branches
乐陵统计失败bug修改
Showing 1 changed file with 3 additions and 2 deletions
platform-biz-service/src/main/resources/mainOrm/master/PatientMarkHospital.xml
View file @
d014f1b
| ... | ... | @@ -380,7 +380,7 @@ |
| 380 | 380 | FROM |
| 381 | 381 | patient_mark_hospital |
| 382 | 382 | <include refid="PatientMarkHospitalCondition"/> |
| 383 | - and in_hospit_result = 2 | |
| 383 | + and in_hospit_result = 1 | |
| 384 | 384 | GROUP BY |
| 385 | 385 | in_hospit_doctor; |
| 386 | 386 | </select> |
| ... | ... | @@ -425,6 +425,7 @@ |
| 425 | 425 | FROM |
| 426 | 426 | patient_mark_hospital |
| 427 | 427 | <include refid="PatientMarkHospitalCondition"/> |
| 428 | + and back_status = 2 | |
| 428 | 429 | UNION |
| 429 | 430 | SELECT |
| 430 | 431 | '住院提醒' as type, |
| ... | ... | @@ -464,7 +465,7 @@ |
| 464 | 465 | FROM |
| 465 | 466 | patient_mark_hospital |
| 466 | 467 | <include refid="PatientMarkHospitalCondition"/> |
| 467 | - | |
| 468 | + and in_hospit_status = 2 | |
| 468 | 469 | </select> |
| 469 | 470 | |
| 470 | 471 |