Commit c82dc76cf37ed9c51a783552409e6a3933c4298c

Authored by gengxiaokai
1 parent a396da5e1c

乐陵分娩

Showing 1 changed file with 3 additions and 3 deletions

platform-operate-api/src/main/java/com/lyms/hospitalapi/llfy/LlfyFmService.java View file @ c82dc76
... ... @@ -119,7 +119,7 @@
119 119 " 姓名 as NAME,\n" +
120 120 " 身份证号 as IDCARD,\n" +
121 121 " CREATED as CREATED,\t\n" +
122   - " 婴儿产出时 as BABY_DELIVERY_TIME,\n" +
  122 + " 婴儿产出时 as BABY_DELIVERY_TIME,\n" +
123 123 " 婴儿性别 as BABY_SEX,\n" +
124 124 " 孕周 as DUE_WEEK,\n" +
125 125 // " DUE_DAY as DUE_DAY,\n" +
... ... @@ -143,7 +143,7 @@
143 143 " 第三期 as PROD_PROCESS_THREE,\n" +
144 144 " 总计 as TOTAL_PROCESS,\n" +
145 145 " 胎盘数量 as PLACENTA_NUM,\n" +
146   - " DELIVER_HOSPITAL as DELIVER_HOSPITAL,\n" +
  146 + //" DELIVER_HOSPITAL as DELIVER_HOSPITAL,\n" +
147 147 " 产妇居住地址 as ADDR,\n"+
148 148 " 接生者 as DELIVER_DOCTOR";
149 149  
... ... @@ -155,7 +155,7 @@
155 155 try {
156 156  
157 157 String sql ="select "+cloumns+" from xlhhis..v_fmjl where " +
158   - " CREATED > to_date('"+start+"', 'yyyy-mm-dd hh24:mi:ss') and CREATED <= to_date('"+end+"', 'yyyy-mm-dd hh24:mi:ss')" ;
  158 + " CREATED > CONVERT(varchar(100), '"+start+"', 120) and CREATED <= CONVERT(varchar(100), '"+start+"', 120)" ;
159 159 if (phone != null)
160 160 {
161 161 sql+=" and 手机号码 = '"+phone+"'";