Commit f35191fe50645ceff65281208568d79a6fe7529b
1 parent
d674b5c3d8
Exists in
master
and in
6 other branches
全部孕妇管理增加按照排序
Showing 1 changed file with 4 additions and 0 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/AntenatalExaminationService.java
View file @
f35191f
| ... | ... | @@ -16,6 +16,7 @@ |
| 16 | 16 | import com.lyms.platform.query.PatientsQuery; |
| 17 | 17 | import com.lyms.platform.query.VisitQuery; |
| 18 | 18 | import org.apache.commons.collections.CollectionUtils; |
| 19 | +import org.apache.commons.lang.StringUtils; | |
| 19 | 20 | import org.springframework.beans.factory.annotation.Autowired; |
| 20 | 21 | import org.springframework.data.domain.Sort; |
| 21 | 22 | import org.springframework.stereotype.Service; |
| ... | ... | @@ -143,6 +144,9 @@ |
| 143 | 144 | */ |
| 144 | 145 | public void handleCheckPoint(String pid) |
| 145 | 146 | { |
| 147 | + if(StringUtils.isEmpty(pid)){ | |
| 148 | + return; | |
| 149 | + } | |
| 146 | 150 | PatientsQuery patientsQuery = new PatientsQuery(); |
| 147 | 151 | patientsQuery.setYn(YnEnums.YES.getId()); |
| 148 | 152 | patientsQuery.setPid(pid); |