Commit cc1820f19acb4009121ee0980ea995d8a1225a0e
1 parent
529d05a3ef
Exists in
master
and in
6 other branches
修改
Showing 2 changed files with 3 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
cc1820f
| ... | ... | @@ -284,7 +284,7 @@ |
| 284 | 284 | // 建档成功后,给孕妇造五个条形码 |
| 285 | 285 | String ticketPid = autoIncermentService.nextPatientTicketId(areaCode.getAreaCode()); |
| 286 | 286 | |
| 287 | - int start = TicketTypeEnums.TICKTE_ALL.getType().equals(groupsItems.getTicketType()) ?0:PatientCheckTicketFacade.complyCurrentDay(p.getLastMenses()); | |
| 287 | + int start = TicketTypeEnums.TICKTE_ALL.getType().equals(groupsItems.getTicketType()) ?1:PatientCheckTicketFacade.complyCurrentDay(p.getLastMenses()); | |
| 288 | 288 | for (Integer i =start; i <= 5; i++) { |
| 289 | 289 | PatientCheckTicket ticket = new PatientCheckTicket(); |
| 290 | 290 | ticket.setStatus(1); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientCheckTicketFacade.java
View file @
cc1820f
| ... | ... | @@ -221,7 +221,7 @@ |
| 221 | 221 | { |
| 222 | 222 | OrganizationGroupsItems groupsItems = groupsFacade.findById(groupId); |
| 223 | 223 | // 建档成功后,给孕妇造五个条形码 |
| 224 | - int start = TicketTypeEnums.TICKTE_ALL.getType().equals(groupsItems.getTicketType()) ? 0 : PatientCheckTicketFacade.complyCurrentDay(p.getLastMenses()); | |
| 224 | + int start = TicketTypeEnums.TICKTE_ALL.getType().equals(groupsItems.getTicketType()) ? 1 : PatientCheckTicketFacade.complyCurrentDay(p.getLastMenses()); | |
| 225 | 225 | for (Integer i = start; i <= 5; i++) |
| 226 | 226 | { |
| 227 | 227 | PatientCheckTicket ticket = new PatientCheckTicket(); |
| ... | ... | @@ -251,7 +251,7 @@ |
| 251 | 251 | { |
| 252 | 252 | if (null == lastMess) |
| 253 | 253 | { |
| 254 | - return 0; | |
| 254 | + return 1; | |
| 255 | 255 | } |
| 256 | 256 | int day = DateUtil.getDays(lastMess, new Date()); |
| 257 | 257 | if (day <= 12 * 7 + 6) |