Commit 1bf6e45900e7d938b833d8d641da0457f880ab5e
1 parent
65bd005426
Exists in
master
add bar code process
Showing 2 changed files with 20 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PregnantBuildController.java
View file @
1bf6e45
| ... | ... | @@ -47,6 +47,17 @@ |
| 47 | 47 | |
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | + * 查询孕妇建档记录 | |
| 51 | + * @return | |
| 52 | + */ | |
| 53 | + @RequestMapping(value = "/getCheckTicketList", method = RequestMethod.GET) | |
| 54 | + @ResponseBody | |
| 55 | + @TokenRequired | |
| 56 | + public BaseListResponse getCheckTicketList(@RequestParam(required = true) String patientId) { | |
| 57 | + return bookbuildingFacade.getTicketList(patientId); | |
| 58 | + } | |
| 59 | + | |
| 60 | + /** | |
| 50 | 61 | * 添加孕妇建档或者更新孕妇建档 |
| 51 | 62 | * @param yunBookbuildingAddRequest |
| 52 | 63 | * @return |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java
View file @
1bf6e45
| ... | ... | @@ -109,6 +109,15 @@ |
| 109 | 109 | @Autowired |
| 110 | 110 | private PatientCheckTicketService patientCheckTicketService; |
| 111 | 111 | |
| 112 | + /** | |
| 113 | + * 根据患者的建档ID,查询还未使用的免费产检查券 | |
| 114 | + * @param patientId | |
| 115 | + * @return | |
| 116 | + */ | |
| 117 | + public BaseListResponse getTicketList(String patientId) { | |
| 118 | + List<PatientCheckTicket> list = patientCheckTicketService.queryTicket(patientId,null,null,1); | |
| 119 | + return new BaseListResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg("成功").setData(list).setPageInfo(new PageInfo()); | |
| 120 | + } | |
| 112 | 121 | |
| 113 | 122 | /** |
| 114 | 123 | * 添加孕妇建档 |