Commit e303925ed4426539d8fcfbf4741a7e8c7b55779f

Authored by liquanyu
1 parent 4752486f34

code update

Showing 1 changed file with 1 additions and 1 deletions

platform-biz-patient-service/src/main/java/com/lyms/platform/biz/JdbcUtil.java View file @ e303925
... ... @@ -184,7 +184,7 @@
184 184 while (true) {
185 185 List<Map<String, Object>> list = getListDataBySql(" SELECT * FROM ( SELECT A.*, ROWNUM RN FROM " +
186 186 "(select replace(mp.P_NO,'-','') as PID,mp.*,p_birthday,p_name,floor((trunc(sysdate) - trunc(mp.P_LASTMENSTRUALPERIOD)+1) /7) as weeks from MOMMY_PATIENT mp left join Plat_Patient pp" +
187   - " on mp.p_platpatientid=pp.p_id where mp.p_hospitalid = '" + hospitalId + "') A WHERE ROWNUM < "+(num+20)+" and weeks < 42) WHERE RN >= "+num+" ");
  187 + " on mp.p_platpatientid=pp.p_id where mp.p_hospitalid = '" + hospitalId + "') A WHERE ROWNUM < "+(num+20)+" ) WHERE RN >= "+num+" ");
188 188 if (list == null || list.size() == 0)
189 189 {
190 190 break;