Commit 48de76b58171241d95b969e3287745b14a280362

Authored by liquanyu
1 parent 270bd88afb

code update

Showing 2 changed files with 9 additions and 9 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/StopPregnancyController.java View file @ 48de76b
... ... @@ -45,13 +45,13 @@
45 45  
46 46 /**
47 47 *查询终止妊娠记录
48   - * @param pid 孕妇建档Id
  48 + * @param patientId 孕妇建档Id
49 49 * @return
50 50 */
51   - @RequestMapping(method = RequestMethod.GET, value = "/queryStopPreg/{pid}")
  51 + @RequestMapping(method = RequestMethod.GET, value = "/queryStopPreg/{patientId}")
52 52 @ResponseBody
53   - public BaseResponse queryStopPreg(@PathVariable("pid")String pid) {
54   - return stopPregnancyFacade.queryStopPreg(pid);
  53 + public BaseResponse queryStopPreg(@PathVariable("patientId")String patientId) {
  54 + return stopPregnancyFacade.queryStopPreg(patientId);
55 55 }
56 56  
57 57  
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/StopPregnancyFacade.java View file @ 48de76b
... ... @@ -196,15 +196,15 @@
196 196  
197 197 /**
198 198 * 查询终止妊娠
199   - * @param pid
  199 + * @param patientId
200 200 * @return
201 201 */
202   - public BaseResponse queryStopPreg(String pid) {
  202 + public BaseResponse queryStopPreg(String patientId) {
203 203  
204 204 Map map = new HashMap();
205 205 StopPregQuery query = new StopPregQuery();
206 206 query.setYn(YnEnums.YES.getId());
207   - query.setPatientId(pid);
  207 + query.setPatientId(patientId);
208 208 StopPregResult result = null;
209 209 List<StopPregModel> stopPregs = stopPregnancyService.queryStopPreg(query);
210 210 if (CollectionUtils.isNotEmpty(stopPregs))
211 211  
... ... @@ -237,12 +237,12 @@
237 237  
238 238 //查询孕妇的基本信息
239 239 AntexListResult antexListResult = null;
240   - if(!StringUtils.isEmpty(pid))
  240 + if(!StringUtils.isEmpty(patientId))
241 241 {
242 242 Patients patients = null;
243 243  
244 244 PatientsQuery patientsQuery = new PatientsQuery();
245   - patientsQuery.setId(pid);
  245 + patientsQuery.setId(patientId);
246 246 patientsQuery.setYn(YnEnums.YES.getId());
247 247  
248 248 List<Patients> listPatiens = patientsService.queryPatient(patientsQuery);