Commit 8bab1b756489ea5648abcafc974cc1c3984e5447
1 parent
349d20231a
Exists in
master
and in
6 other branches
修改
Showing 1 changed file with 8 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientCheckTicketFacade.java
View file @
8bab1b7
| ... | ... | @@ -7,6 +7,8 @@ |
| 7 | 7 | import com.lyms.platform.common.enums.TicketTypeEnums; |
| 8 | 8 | import com.lyms.platform.pojo.OrganizationGroupsItems; |
| 9 | 9 | import org.apache.commons.collections.CollectionUtils; |
| 10 | +import org.slf4j.Logger; | |
| 11 | +import org.slf4j.LoggerFactory; | |
| 10 | 12 | import org.springframework.beans.factory.annotation.Autowired; |
| 11 | 13 | import org.springframework.beans.factory.annotation.Qualifier; |
| 12 | 14 | import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; |
| ... | ... | @@ -48,7 +50,7 @@ |
| 48 | 50 | @Component |
| 49 | 51 | public class PatientCheckTicketFacade |
| 50 | 52 | { |
| 51 | - | |
| 53 | + private static final Logger logger = LoggerFactory.getLogger(PatientCheckTicketFacade.class); | |
| 52 | 54 | @Autowired |
| 53 | 55 | private PatientCheckTicketService checkTicketServicel; |
| 54 | 56 | |
| ... | ... | @@ -132,6 +134,9 @@ |
| 132 | 134 | patientsQuery1.setPid(patients.getPid()); |
| 133 | 135 | } |
| 134 | 136 | List<Patients> patientses = patientsService.queryPatient(patientsQuery1); |
| 137 | + | |
| 138 | + logger.info("supplyCheckTicketByPatientId :" + parentId +" , list size :" + CollectionUtils.size(patientses)); | |
| 139 | + | |
| 135 | 140 | if (CollectionUtils.isNotEmpty(patientses)) |
| 136 | 141 | { |
| 137 | 142 | PatientCheckTicketQuery checkTicketQuery = new PatientCheckTicketQuery(); |
| ... | ... | @@ -229,6 +234,8 @@ |
| 229 | 234 | checkTicketServicel.addTicket(ticket); |
| 230 | 235 | } |
| 231 | 236 | } |
| 237 | + }else{ | |
| 238 | + System.out.print("areaCode is null."); | |
| 232 | 239 | } |
| 233 | 240 | } |
| 234 | 241 | } |