Commit b2db7434d66c66d4780b8954b8a27c2e410ae367

Authored by jiangjiazhi
1 parent 63031ecd93

增加设置parentid

Showing 3 changed files with 12 additions and 4 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java View file @ b2db743
... ... @@ -236,7 +236,7 @@
236 236  
237 237 public BaseResponse findPatient(PatientQueryRequest patientQueryRequest) {
238 238 PatientsQuery patientsQuery = new PatientsQuery();
239   -
  239 + patientsQuery.setPid(patientQueryRequest.getPid());
240 240 patientsQuery.setId(patientQueryRequest.getId());
241 241 patientsQuery.setPhone(patientQueryRequest.getPhone());
242 242 patientsQuery.setCardNo(patientQueryRequest.getCardNo());
platform-operate-api/src/main/java/com/lyms/platform/operate/web/request/PatientQueryRequest.java View file @ b2db743
... ... @@ -7,7 +7,7 @@
7 7 private String id;
8 8 private String phone;
9 9 private String cardNo;
10   -
  10 + private String pid;
11 11 public String getCardNo() {
12 12 return cardNo;
13 13 }
... ... @@ -30,6 +30,14 @@
30 30  
31 31 public void setPhone(String phone) {
32 32 this.phone = phone;
  33 + }
  34 +
  35 + public String getPid() {
  36 + return pid;
  37 + }
  38 +
  39 + public void setPid(String pid) {
  40 + this.pid = pid;
33 41 }
34 42 }
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/ApplyOrderOutResult.java View file @ b2db743
... ... @@ -229,7 +229,7 @@
229 229 }
230 230  
231 231 public String getrLevel() {
232   - if(null==rLevel){
  232 + if(StringUtils.isEmpty(rLevel)){
233 233 return SPIT;
234 234 }
235 235 return rLevel;
... ... @@ -240,7 +240,7 @@
240 240 }
241 241  
242 242 public String getrRisk() {
243   - if(null==rRisk){
  243 + if(StringUtils.isEmpty(rRisk)){
244 244 return SPIT;
245 245 }
246 246 return rRisk;