Commit ad76d2ab21524999582a3fd7b01d1e86728e9e9d
1 parent
114297738b
Exists in
master
and in
7 other branches
update code
Showing 2 changed files with 57 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/hospitalapi/qhdfy/FmPatInfo.java
View file @
ad76d2a
... | ... | @@ -358,5 +358,50 @@ |
358 | 358 | public void setZYZD(String ZYZD) { |
359 | 359 | this.ZYZD = ZYZD; |
360 | 360 | } |
361 | + | |
362 | + @Override | |
363 | + public String toString() { | |
364 | + return "FmPatInfo{" + | |
365 | + "SYXH='" + SYXH + '\'' + | |
366 | + ", YYDM='" + YYDM + '\'' + | |
367 | + ", BAHM='" + BAHM + '\'' + | |
368 | + ", ZYHM='" + ZYHM + '\'' + | |
369 | + ", BRXM='" + BRXM + '\'' + | |
370 | + ", BRXB='" + BRXB + '\'' + | |
371 | + ", CSNY='" + CSNY + '\'' + | |
372 | + ", DWDZ='" + DWDZ + '\'' + | |
373 | + ", DWDH='" + DWDH + '\'' + | |
374 | + ", DWYB='" + DWYB + '\'' + | |
375 | + ", HKDZ='" + HKDZ + '\'' + | |
376 | + ", HKDH='" + HKDH + '\'' + | |
377 | + ", LXRM='" + LXRM + '\'' + | |
378 | + ", LXDZ='" + LXDZ + '\'' + | |
379 | + ", LXDH='" + LXDH + '\'' + | |
380 | + ", RYKS='" + RYKS + '\'' + | |
381 | + ", RYBQ='" + RYBQ + '\'' + | |
382 | + ", RYCH='" + RYCH + '\'' + | |
383 | + ", RYRQ='" + RYRQ + '\'' + | |
384 | + ", CYKS='" + CYKS + '\'' + | |
385 | + ", CYBQ='" + CYBQ + '\'' + | |
386 | + ", CYCH='" + CYCH + '\'' + | |
387 | + ", CYRQ='" + CYRQ + '\'' + | |
388 | + ", ZYTS='" + ZYTS + '\'' + | |
389 | + ", ZYYS='" + ZYYS + '\'' + | |
390 | + ", ZZYS='" + ZZYS + '\'' + | |
391 | + ", ZRYS='" + ZRYS + '\'' + | |
392 | + ", KZR='" + KZR + '\'' + | |
393 | + ", HIS_SYXH='" + HIS_SYXH + '\'' + | |
394 | + ", QJCS='" + QJCS + '\'' + | |
395 | + ", CGCS='" + CGCS + '\'' + | |
396 | + ", LYFSDM='" + LYFSDM + '\'' + | |
397 | + ", LYFSMC='" + LYFSMC + '\'' + | |
398 | + ", JSYLJG='" + JSYLJG + '\'' + | |
399 | + ", MZZDBM='" + MZZDBM + '\'' + | |
400 | + ", MZZD='" + MZZD + '\'' + | |
401 | + ", ZYZDBM='" + ZYZDBM + '\'' + | |
402 | + ", RYZD='" + RYZD + '\'' + | |
403 | + ", ZYZD='" + ZYZD + '\'' + | |
404 | + '}'; | |
405 | + } | |
361 | 406 | } |
platform-operate-api/src/main/java/com/lyms/hospitalapi/qhdfy/QhdfyFmService.java
View file @
ad76d2a
... | ... | @@ -66,8 +66,19 @@ |
66 | 66 | List<FmItem> list = queryRunner.query(conn, "select * from JHMK_FMJL where " + |
67 | 67 | " CONVERT(varchar(50),SSRQ, 20) > CONVERT(varchar(50),'"+start+"', 20) and CONVERT(varchar(50),SSRQ, 20) <= CONVERT(varchar(50),'"+end+"', 20)" + |
68 | 68 | " and SYXH not in (select SYXH from JHMK_FMJL where JSZ is not null and SC is not null and TZ is not null and YFZ is not null and SH is not null and (SFFZRSTDT = ' 是 ' or SFSTDT = ' 是 '))", new BeanListHandler<FmItem>(FmItem.class)); |
69 | - System.out.println(list); | |
69 | + | |
70 | 70 | ExceptionUtils.catchException("size="+list.size()); |
71 | + | |
72 | + if (CollectionUtils.isNotEmpty(list)) { | |
73 | + for (FmItem item : list) | |
74 | + { | |
75 | + FmPatInfo patInfo = getFmPatInfoById(item.getSyxh()); | |
76 | + System.out.println("patinfo="+patInfo); | |
77 | + System.out.println("item="+item); | |
78 | + } | |
79 | + } | |
80 | + | |
81 | + | |
71 | 82 | // if (CollectionUtils.isNotEmpty(list)) { |
72 | 83 | // for(FmItem item : list) |
73 | 84 | // { |