Commit 50fadd1a0577d996335c38a07794236415196d9d
1 parent
feac35153a
Exists in
master
and in
6 other branches
民生工程修改
Showing 1 changed file with 9 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/LivelihoodProjectsFacade.java
View file @
50fadd1
| ... | ... | @@ -328,6 +328,10 @@ |
| 328 | 328 | List <Patients> patientsList = patientsService.queryPatient(patientsQuery); |
| 329 | 329 | for (Patients model : patientsList) { |
| 330 | 330 | try { |
| 331 | + if (model.getDueStatus() == null || model.getDueStatus() == 1) | |
| 332 | + { | |
| 333 | + continue; | |
| 334 | + } | |
| 331 | 335 | Map<String, Object> map = new HashMap<>(); |
| 332 | 336 | //id |
| 333 | 337 | map.put("id",StringUtils.isNotEmpty(model.getId())?model.getId():"/"); |
| ... | ... | @@ -782,6 +786,11 @@ |
| 782 | 786 | List<Map> data = new ArrayList<>(); |
| 783 | 787 | for (Patients patients : patientsList) { |
| 784 | 788 | try { |
| 789 | + if (patients.getDueStatus() == null || patients.getDueStatus() == 1) | |
| 790 | + { | |
| 791 | + continue; | |
| 792 | + } | |
| 793 | + | |
| 785 | 794 | Map<String, Object> map = new HashMap<>(); |
| 786 | 795 | //id |
| 787 | 796 | map.put("id",StringUtils.isNotEmpty(patients.getId())?patients.getId():"/"); |