Commit 8a7e3afe673e5df1769990a6d97660acaddc16d5

Authored by haorp
1 parent 642325220d
Exists in dev

产妇建档

Showing 3 changed files with 13 additions and 2 deletions

platform-biz-service/src/main/java/com/lyms/platform/permission/model/MedicalRecordVo.java View file @ 8a7e3af
... ... @@ -93,6 +93,16 @@
93 93 // 哺乳方式
94 94 private String feedType;
95 95  
  96 + private String queryNo;
  97 +
  98 + public String getQueryNo() {
  99 + return queryNo;
  100 + }
  101 +
  102 + public void setQueryNo(String queryNo) {
  103 + this.queryNo = queryNo;
  104 + }
  105 +
96 106 public String getFeedType() {
97 107 return feedType;
98 108 }
platform-biz-service/src/main/resources/mainOrm/master/AppointmentMapper.xml View file @ 8a7e3af
... ... @@ -192,8 +192,8 @@
192 192 WHERE 1=1
193 193  
194 194 <!-- 基本信息查询条件 -->
195   - <if test="mdtrtId != null and mdtrtId != ''">
196   - AND MDTRT_ID = #{mdtrtId}
  195 + <if test="queryNo != null and queryNo != ''">
  196 + AND CARD_NO = #{queryNo} or PHONE = #{queryNo} or NAME = #{queryNo}
197 197 </if>
198 198  
199 199 <if test="pid != null and pid != ''">
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PuerperaManageController.java View file @ 8a7e3af
... ... @@ -519,6 +519,7 @@
519 519 medicalRecordVo.setNeed("true");
520 520 medicalRecordVo.setLimit(patientsQueryRequest.getLimit());
521 521 medicalRecordVo.setPage(patientsQueryRequest.getPage());
  522 + medicalRecordVo.setQueryNo(patientsQueryRequest.getQueryNo());
522 523 List<MedicalRecordVo> medicalRecordVoList = appointmentService.queryList(medicalRecordVo);
523 524  
524 525 if(CollectionUtils.isEmpty(medicalRecordVoList)){