eFormServer.iBATIS.log_2016-12-09 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. [Logging Date Time: 2016-12-09 11:33:55,695] =====================================================================================
  2. SQL Command - Statement Id: [getDeptList] PreparedStatement : [SELECT ' ' as deptcd, '진료과' as deptnm, 0 as clincdeptdispseq, 0 as sort from dual UNION ALL SELECT deptcd, depthngnm as deptnm, clincdeptdispseq, 1 as sort FROM com.zsdddept WHERE instcd = :param0 AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')>=valifromdd AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')<=valitodd AND rcptuseyn = 'Y' ORDER BY clincdeptdispseq ASC]
  3. [Logging Date Time: 2016-12-09 11:33:55,695] =====================================================================================
  4. SQL Command - Statement Id: [getDeptList] PreparedStatement : [SELECT ' ' as deptcd, '진료과' as deptnm, 0 as clincdeptdispseq, 0 as sort from dual UNION ALL SELECT deptcd, depthngnm as deptnm, clincdeptdispseq, 1 as sort FROM com.zsdddept WHERE instcd = :param0 AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')>=valifromdd AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')<=valitodd AND rcptuseyn = 'Y' ORDER BY clincdeptdispseq ASC]
  5. [Logging Date Time: 2016-12-09 11:33:55,790] =====================================================================================
  6. SQL Command - Statement Id: [getDeptList] Parameters: [param0=[instcd,111]]
  7. [Logging Date Time: 2016-12-09 11:33:55,790] =====================================================================================
  8. SQL Command - Statement Id: [getDeptList] Parameters: [param0=[instcd,111]]
  9. [Logging Date Time: 2016-12-09 11:33:55,790] =====================================================================================
  10. SQL Command - Statement Id: [getDeptList] Types: [param0=[AnsiString, System.String]]
  11. [Logging Date Time: 2016-12-09 11:33:55,790] =====================================================================================
  12. SQL Command - Statement Id: [getDeptList] Types: [param0=[AnsiString, System.String]]
  13. [Logging Date Time: 2016-12-09 11:33:56,082] =====================================================================================
  14. SQL Command - Statement Id: [getDocList] PreparedStatement : [SELECT ' ' as doctorid, '진료의' as doctornm, 1 as sort from dual UNION ALL SELECT b.userid AS doctorid, b.usernm AS doctornm, 2 as sort FROM com.zsumusrd a INNER JOIN com.zsumusrb b ON a.userid = b.userid WHERE a.psnworkyn = 'N' AND a.dutplceinstcd = :param0 AND a.jobkindcd LIKE '03%' AND a.dutplcecd = :param1 AND :param2 BETWEEN a.fromdd AND a.todd AND :param2 BETWEEN b.userfromdd AND b.usertodd ORDER BY sort, doctorid]
  15. [Logging Date Time: 2016-12-09 11:33:56,082] =====================================================================================
  16. SQL Command - Statement Id: [getDocList] PreparedStatement : [SELECT ' ' as doctorid, '진료의' as doctornm, 1 as sort from dual UNION ALL SELECT b.userid AS doctorid, b.usernm AS doctornm, 2 as sort FROM com.zsumusrd a INNER JOIN com.zsumusrb b ON a.userid = b.userid WHERE a.psnworkyn = 'N' AND a.dutplceinstcd = :param0 AND a.jobkindcd LIKE '03%' AND a.dutplcecd = :param1 AND :param2 BETWEEN a.fromdd AND a.todd AND :param2 BETWEEN b.userfromdd AND b.usertodd ORDER BY sort, doctorid]
  17. [Logging Date Time: 2016-12-09 11:33:56,082] =====================================================================================
  18. SQL Command - Statement Id: [getDocList] Parameters: [param0=[instcd,111], param1=[orddeptcd, ], param2=[srchdd,20161209]]
  19. [Logging Date Time: 2016-12-09 11:33:56,082] =====================================================================================
  20. SQL Command - Statement Id: [getDocList] Parameters: [param0=[instcd,111], param1=[orddeptcd, ], param2=[srchdd,20161209]]
  21. [Logging Date Time: 2016-12-09 11:33:56,083] =====================================================================================
  22. SQL Command - Statement Id: [getDocList] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]]
  23. [Logging Date Time: 2016-12-09 11:33:56,083] =====================================================================================
  24. SQL Command - Statement Id: [getDocList] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]]
  25. [Logging Date Time: 2016-12-09 11:34:01,898] =====================================================================================
  26. SQL Command - Statement Id: [GET_USER_INFO] PreparedStatement : [select a.userid, a.usernm, b.dutplcecd, dept.depthngnm, dept.deptengabbr, b.jobkindcd, (select cdnm from com.zbcmcode code where code.cdgrupid = 'R0061' and code.cdid = b.jobkindcd and code.valitodd = '99991231') from com.zsumusrb a, com.zsumusrd b, com.zsdddept dept where a.dutinstcd = '111' and a.dutinstcd = b.dutplceinstcd and a.userid = b.userid and a.usertodd = b.todd and dept.instcd = a.dutinstcd and dept.deptcd = b.dutplcecd and dept.valitodd = '99991231' and a.usertodd = '99991231' and b.userid = :param0]
  27. [Logging Date Time: 2016-12-09 11:34:01,898] =====================================================================================
  28. SQL Command - Statement Id: [GET_USER_INFO] PreparedStatement : [select a.userid, a.usernm, b.dutplcecd, dept.depthngnm, dept.deptengabbr, b.jobkindcd, (select cdnm from com.zbcmcode code where code.cdgrupid = 'R0061' and code.cdid = b.jobkindcd and code.valitodd = '99991231') from com.zsumusrb a, com.zsumusrd b, com.zsdddept dept where a.dutinstcd = '111' and a.dutinstcd = b.dutplceinstcd and a.userid = b.userid and a.usertodd = b.todd and dept.instcd = a.dutinstcd and dept.deptcd = b.dutplcecd and dept.valitodd = '99991231' and a.usertodd = '99991231' and b.userid = :param0]
  29. [Logging Date Time: 2016-12-09 11:34:01,898] =====================================================================================
  30. SQL Command - Statement Id: [GET_USER_INFO] Parameters: [param0=[userid,107810]]
  31. [Logging Date Time: 2016-12-09 11:34:01,898] =====================================================================================
  32. SQL Command - Statement Id: [GET_USER_INFO] Parameters: [param0=[userid,107810]]
  33. [Logging Date Time: 2016-12-09 11:34:01,898] =====================================================================================
  34. SQL Command - Statement Id: [GET_USER_INFO] Types: [param0=[AnsiString, System.String]]
  35. [Logging Date Time: 2016-12-09 11:34:01,898] =====================================================================================
  36. SQL Command - Statement Id: [GET_USER_INFO] Types: [param0=[AnsiString, System.String]]
  37. [Logging Date Time: 2016-12-09 11:34:02,178] =====================================================================================
  38. SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT '1' AS ORDERBY, indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, inpt.cretno, inpt.medispclid as orddrid FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' AND inpt.ORDDEPTCD = :param3 union all SELECT '1' AS ORDERBY, orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, otpt.cretno, otpt.orddrid as orddrid FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2 AND OTPT.ORDDEPTCD = :param3 AND otpt.HISTSTAT IN ('R', 'T') AND otpt.MSKIND = 'M' UNION ALL SELECT '99' AS ORDERBY, indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, inpt.cretno, inpt.medispclid as orddrid FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' AND inpt.ORDDEPTCD != :param3 union all SELECT '99' AS ORDERBY, orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, otpt.cretno, otpt.orddrid as orddrid FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2 AND OTPT.ORDDEPTCD != :param3 AND otpt.HISTSTAT IN ('R', 'T') AND otpt.MSKIND = 'M' order by ORDERBY]
  39. [Logging Date Time: 2016-12-09 11:34:02,178] =====================================================================================
  40. SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT '1' AS ORDERBY, indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, inpt.cretno, inpt.medispclid as orddrid FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' AND inpt.ORDDEPTCD = :param3 union all SELECT '1' AS ORDERBY, orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, otpt.cretno, otpt.orddrid as orddrid FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2 AND OTPT.ORDDEPTCD = :param3 AND otpt.HISTSTAT IN ('R', 'T') AND otpt.MSKIND = 'M' UNION ALL SELECT '99' AS ORDERBY, indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, inpt.cretno, inpt.medispclid as orddrid FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' AND inpt.ORDDEPTCD != :param3 union all SELECT '99' AS ORDERBY, orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, otpt.cretno, otpt.orddrid as orddrid FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2 AND OTPT.ORDDEPTCD != :param3 AND otpt.HISTSTAT IN ('R', 'T') AND otpt.MSKIND = 'M' order by ORDERBY]
  41. [Logging Date Time: 2016-12-09 11:34:02,179] =====================================================================================
  42. SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,], param2=[searchClnDate,false], param3=[orddeptcd,false]]
  43. [Logging Date Time: 2016-12-09 11:34:02,179] =====================================================================================
  44. SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,], param2=[searchClnDate,false], param3=[orddeptcd,false]]
  45. [Logging Date Time: 2016-12-09 11:34:02,179] =====================================================================================
  46. SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]]
  47. [Logging Date Time: 2016-12-09 11:34:02,179] =====================================================================================
  48. SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]]
  49. [Logging Date Time: 2016-12-09 11:34:02,271] =====================================================================================
  50. SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT '1' AS ORDERBY, indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, inpt.cretno, inpt.medispclid as orddrid FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' AND inpt.ORDDEPTCD = :param3 union all SELECT '1' AS ORDERBY, orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, otpt.cretno, otpt.orddrid as orddrid FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2 AND OTPT.ORDDEPTCD = :param3 AND otpt.HISTSTAT IN ('R', 'T') AND otpt.MSKIND = 'M' UNION ALL SELECT '99' AS ORDERBY, indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, inpt.cretno, inpt.medispclid as orddrid FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' AND inpt.ORDDEPTCD != :param3 union all SELECT '99' AS ORDERBY, orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, otpt.cretno, otpt.orddrid as orddrid FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2 AND OTPT.ORDDEPTCD != :param3 AND otpt.HISTSTAT IN ('R', 'T') AND otpt.MSKIND = 'M' order by ORDERBY]
  51. [Logging Date Time: 2016-12-09 11:34:02,271] =====================================================================================
  52. SQL Command - Statement Id: [GET_TRMT_DATE_LIST] PreparedStatement : [SELECT '1' AS ORDERBY, indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, inpt.cretno, inpt.medispclid as orddrid FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' AND inpt.ORDDEPTCD = :param3 union all SELECT '1' AS ORDERBY, orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, otpt.cretno, otpt.orddrid as orddrid FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2 AND OTPT.ORDDEPTCD = :param3 AND otpt.HISTSTAT IN ('R', 'T') AND otpt.MSKIND = 'M' UNION ALL SELECT '99' AS ORDERBY, indd as ClnDate, substr(indd, 1, 4) || '-' || substr(indd, 5, 2) || '-' || substr(indd, 7, 2) as ClnFormatDate, inpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, inpt.cretno, inpt.medispclid as orddrid FROM pam.pmihinpt inpt left outer join com.zsdddept dept on (dept.instcd = inpt.instcd and dept.deptcd = inpt.orddeptcd and dept.valitodd = '99991231') WHERE inpt.instcd = :param0 AND inpt.pid = :param1 AND inpt.indd = :param2 AND inpt.histstat = 'Y' AND inpt.mskind = 'M' AND inpt.ORDDEPTCD != :param3 union all SELECT '99' AS ORDERBY, orddd as ClnDate, substr(orddd, 1, 4) || '-' || substr(orddd, 5, 2) || '-' || substr(orddd, 7, 2) as ClnFormatDate, otpt.ordtype as VisitType, case when ordtype = 'O' then '외래' when ordtype = 'I' then '입원' when ordtype = 'E' then '응급' end as VisitTypeName, dept.deptengabbr as ClnDeptCode, dept.depthngnm as ClnDeptName, dept.deptcd as DeptCd, otpt.cretno, otpt.orddrid as orddrid FROM pam.pmohotpt otpt left outer join com.zsdddept dept on (dept.instcd = otpt.instcd and dept.deptcd = otpt.orddeptcd and dept.valitodd = '99991231') WHERE otpt.instcd = :param0 AND otpt.pid = :param1 AND otpt.orddd = :param2 AND OTPT.ORDDEPTCD != :param3 AND otpt.HISTSTAT IN ('R', 'T') AND otpt.MSKIND = 'M' order by ORDERBY]
  53. [Logging Date Time: 2016-12-09 11:34:02,272] =====================================================================================
  54. SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,], param2=[searchClnDate,false], param3=[orddeptcd,false]]
  55. [Logging Date Time: 2016-12-09 11:34:02,272] =====================================================================================
  56. SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Parameters: [param0=[instcd,111], param1=[pid,], param2=[searchClnDate,false], param3=[orddeptcd,false]]
  57. [Logging Date Time: 2016-12-09 11:34:02,272] =====================================================================================
  58. SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]]
  59. [Logging Date Time: 2016-12-09 11:34:02,272] =====================================================================================
  60. SQL Command - Statement Id: [GET_TRMT_DATE_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String], param3=[AnsiString, System.String]]
  61. [Logging Date Time: 2016-12-09 11:34:02,534] =====================================================================================
  62. SQL Command - Statement Id: [getDeptList] PreparedStatement : [SELECT ' ' as deptcd, '진료과' as deptnm, 0 as clincdeptdispseq, 0 as sort from dual UNION ALL SELECT deptcd, depthngnm as deptnm, clincdeptdispseq, 1 as sort FROM com.zsdddept WHERE instcd = :param0 AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')>=valifromdd AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')<=valitodd AND rcptuseyn = 'Y' ORDER BY clincdeptdispseq ASC]
  63. [Logging Date Time: 2016-12-09 11:34:02,534] =====================================================================================
  64. SQL Command - Statement Id: [getDeptList] PreparedStatement : [SELECT ' ' as deptcd, '진료과' as deptnm, 0 as clincdeptdispseq, 0 as sort from dual UNION ALL SELECT deptcd, depthngnm as deptnm, clincdeptdispseq, 1 as sort FROM com.zsdddept WHERE instcd = :param0 AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')>=valifromdd AND TO_CHAR(CURRENT_DATE,'YYYYMMDD')<=valitodd AND rcptuseyn = 'Y' ORDER BY clincdeptdispseq ASC]
  65. [Logging Date Time: 2016-12-09 11:34:02,534] =====================================================================================
  66. SQL Command - Statement Id: [getDeptList] Parameters: [param0=[instcd,111]]
  67. [Logging Date Time: 2016-12-09 11:34:02,534] =====================================================================================
  68. SQL Command - Statement Id: [getDeptList] Parameters: [param0=[instcd,111]]
  69. [Logging Date Time: 2016-12-09 11:34:02,534] =====================================================================================
  70. SQL Command - Statement Id: [getDeptList] Types: [param0=[AnsiString, System.String]]
  71. [Logging Date Time: 2016-12-09 11:34:02,534] =====================================================================================
  72. SQL Command - Statement Id: [getDeptList] Types: [param0=[AnsiString, System.String]]
  73. [Logging Date Time: 2016-12-09 11:34:02,666] =====================================================================================
  74. SQL Command - Statement Id: [getDocList] PreparedStatement : [SELECT ' ' as doctorid, '진료의' as doctornm, 1 as sort from dual UNION ALL SELECT b.userid AS doctorid, b.usernm AS doctornm, 2 as sort FROM com.zsumusrd a INNER JOIN com.zsumusrb b ON a.userid = b.userid WHERE a.psnworkyn = 'N' AND a.dutplceinstcd = :param0 AND a.jobkindcd LIKE '03%' AND a.dutplcecd = :param1 AND :param2 BETWEEN a.fromdd AND a.todd AND :param2 BETWEEN b.userfromdd AND b.usertodd ORDER BY sort, doctorid]
  75. [Logging Date Time: 2016-12-09 11:34:02,666] =====================================================================================
  76. SQL Command - Statement Id: [getDocList] PreparedStatement : [SELECT ' ' as doctorid, '진료의' as doctornm, 1 as sort from dual UNION ALL SELECT b.userid AS doctorid, b.usernm AS doctornm, 2 as sort FROM com.zsumusrd a INNER JOIN com.zsumusrb b ON a.userid = b.userid WHERE a.psnworkyn = 'N' AND a.dutplceinstcd = :param0 AND a.jobkindcd LIKE '03%' AND a.dutplcecd = :param1 AND :param2 BETWEEN a.fromdd AND a.todd AND :param2 BETWEEN b.userfromdd AND b.usertodd ORDER BY sort, doctorid]
  77. [Logging Date Time: 2016-12-09 11:34:02,666] =====================================================================================
  78. SQL Command - Statement Id: [getDocList] Parameters: [param0=[instcd,111], param1=[orddeptcd, ], param2=[srchdd,20161209]]
  79. [Logging Date Time: 2016-12-09 11:34:02,666] =====================================================================================
  80. SQL Command - Statement Id: [getDocList] Parameters: [param0=[instcd,111], param1=[orddeptcd, ], param2=[srchdd,20161209]]
  81. [Logging Date Time: 2016-12-09 11:34:02,666] =====================================================================================
  82. SQL Command - Statement Id: [getDocList] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]]
  83. [Logging Date Time: 2016-12-09 11:34:02,666] =====================================================================================
  84. SQL Command - Statement Id: [getDocList] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String], param2=[AnsiString, System.String]]
  85. [Logging Date Time: 2016-12-09 11:34:04,326] =====================================================================================
  86. SQL Command - Statement Id: [GET_CATEGORY_FOR_DROPDOWN] PreparedStatement : [SELECT CATEGORY_TYPE, CATEGORY_ID, CATEGORY_NAME FROM EFORM_CATEGORY WHERE USE_YN = 'Y' AND P_CATEGORY_RID = '1']
  87. [Logging Date Time: 2016-12-09 11:34:04,326] =====================================================================================
  88. SQL Command - Statement Id: [GET_CATEGORY_FOR_DROPDOWN] PreparedStatement : [SELECT CATEGORY_TYPE, CATEGORY_ID, CATEGORY_NAME FROM EFORM_CATEGORY WHERE USE_YN = 'Y' AND P_CATEGORY_RID = '1']
  89. [Logging Date Time: 2016-12-09 11:34:04,585] =====================================================================================
  90. SQL Command - Statement Id: [GET_CATEGORY_FOR_DROPDOWN] PreparedStatement : [SELECT CATEGORY_TYPE, CATEGORY_ID, CATEGORY_NAME FROM EFORM_CATEGORY WHERE USE_YN = 'Y' AND P_CATEGORY_RID = (SELECT CATEGORY_RID FROM EFORM_CATEGORY WHERE CATEGORY_ID = :param0 )]
  91. [Logging Date Time: 2016-12-09 11:34:04,585] =====================================================================================
  92. SQL Command - Statement Id: [GET_CATEGORY_FOR_DROPDOWN] PreparedStatement : [SELECT CATEGORY_TYPE, CATEGORY_ID, CATEGORY_NAME FROM EFORM_CATEGORY WHERE USE_YN = 'Y' AND P_CATEGORY_RID = (SELECT CATEGORY_RID FROM EFORM_CATEGORY WHERE CATEGORY_ID = :param0 )]
  93. [Logging Date Time: 2016-12-09 11:34:04,586] =====================================================================================
  94. SQL Command - Statement Id: [GET_CATEGORY_FOR_DROPDOWN] Parameters: [param0=[category_id,1CB1B494-1EF0-48BD-84D6-4965A54E6AEA]]
  95. [Logging Date Time: 2016-12-09 11:34:04,586] =====================================================================================
  96. SQL Command - Statement Id: [GET_CATEGORY_FOR_DROPDOWN] Parameters: [param0=[category_id,1CB1B494-1EF0-48BD-84D6-4965A54E6AEA]]
  97. [Logging Date Time: 2016-12-09 11:34:04,586] =====================================================================================
  98. SQL Command - Statement Id: [GET_CATEGORY_FOR_DROPDOWN] Types: [param0=[AnsiString, System.String]]
  99. [Logging Date Time: 2016-12-09 11:34:04,586] =====================================================================================
  100. SQL Command - Statement Id: [GET_CATEGORY_FOR_DROPDOWN] Types: [param0=[AnsiString, System.String]]
  101. [Logging Date Time: 2016-12-09 11:34:06,351] =====================================================================================
  102. SQL Command - Statement Id: [GET_CONSENT_BY_SEARCH_LIST] PreparedStatement : [SELECT F.FORM_CD, F.FORM_GUID, F.FORM_NAME, F.FULL_CATEGORY_NAME, F.FORM_RID, F.PRNTCNT, F.PRINT_ONLY, F.OCRTAGPRNTYN FROM (SELECT F.FORM_CD, F.FORM_GUID, F.FORM_NAME, N.FULL_CATEGORY_NAME AS FULL_CATEGORY_NAME, F.FORM_RID, F.PRNTCNT, F.PRINT_ONLY, F.OCRTAGPRNTYN FROM V_EFORM_FORMDOC F, ( SELECT CATEGORY_RID, LEVEL FROM EFORM_CATEGORY START WITH CATEGORY_RID = (SELECT CATEGORY_RID FROM EFORM_CATEGORY WHERE CATEGORY_ID = :param0 ) CONNECT BY P_CATEGORY_RID = PRIOR CATEGORY_RID ) C, ( SELECT CATEGORY_RID,CATEGORY_NAME, LTRIM (SYS_CONNECT_BY_PATH (CATEGORY_NAME, '>'), '>') AS FULL_CATEGORY_NAME, LEVEL FROM EFORM_CATEGORY START WITH CATEGORY_RID = '1' CONNECT BY P_CATEGORY_RID = PRIOR CATEGORY_RID ) N WHERE F.CATEGORY_RID = C.CATEGORY_RID AND C.CATEGORY_RID = N.CATEGORY_RID AND (REPLACE(UPPER(F.FORM_NAME),' ','') LIKE REPLACE(UPPER( :param1 ),' ','') OR UPPER(F.FORM_CD) LIKE UPPER( :param1 )) ) F ORDER BY F.FORM_NAME]
  103. [Logging Date Time: 2016-12-09 11:34:06,351] =====================================================================================
  104. SQL Command - Statement Id: [GET_CONSENT_BY_SEARCH_LIST] PreparedStatement : [SELECT F.FORM_CD, F.FORM_GUID, F.FORM_NAME, F.FULL_CATEGORY_NAME, F.FORM_RID, F.PRNTCNT, F.PRINT_ONLY, F.OCRTAGPRNTYN FROM (SELECT F.FORM_CD, F.FORM_GUID, F.FORM_NAME, N.FULL_CATEGORY_NAME AS FULL_CATEGORY_NAME, F.FORM_RID, F.PRNTCNT, F.PRINT_ONLY, F.OCRTAGPRNTYN FROM V_EFORM_FORMDOC F, ( SELECT CATEGORY_RID, LEVEL FROM EFORM_CATEGORY START WITH CATEGORY_RID = (SELECT CATEGORY_RID FROM EFORM_CATEGORY WHERE CATEGORY_ID = :param0 ) CONNECT BY P_CATEGORY_RID = PRIOR CATEGORY_RID ) C, ( SELECT CATEGORY_RID,CATEGORY_NAME, LTRIM (SYS_CONNECT_BY_PATH (CATEGORY_NAME, '>'), '>') AS FULL_CATEGORY_NAME, LEVEL FROM EFORM_CATEGORY START WITH CATEGORY_RID = '1' CONNECT BY P_CATEGORY_RID = PRIOR CATEGORY_RID ) N WHERE F.CATEGORY_RID = C.CATEGORY_RID AND C.CATEGORY_RID = N.CATEGORY_RID AND (REPLACE(UPPER(F.FORM_NAME),' ','') LIKE REPLACE(UPPER( :param1 ),' ','') OR UPPER(F.FORM_CD) LIKE UPPER( :param1 )) ) F ORDER BY F.FORM_NAME]
  105. [Logging Date Time: 2016-12-09 11:34:06,351] =====================================================================================
  106. SQL Command - Statement Id: [GET_CONSENT_BY_SEARCH_LIST] Parameters: [param0=[category_id,1CB1B494-1EF0-48BD-84D6-4965A54E6AEA], param1=[key_word,%%%%]]
  107. [Logging Date Time: 2016-12-09 11:34:06,351] =====================================================================================
  108. SQL Command - Statement Id: [GET_CONSENT_BY_SEARCH_LIST] Parameters: [param0=[category_id,1CB1B494-1EF0-48BD-84D6-4965A54E6AEA], param1=[key_word,%%%%]]
  109. [Logging Date Time: 2016-12-09 11:34:06,352] =====================================================================================
  110. SQL Command - Statement Id: [GET_CONSENT_BY_SEARCH_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String]]
  111. [Logging Date Time: 2016-12-09 11:34:06,352] =====================================================================================
  112. SQL Command - Statement Id: [GET_CONSENT_BY_SEARCH_LIST] Types: [param0=[AnsiString, System.String], param1=[AnsiString, System.String]]
  113. [Logging Date Time: 2016-12-09 11:34:41,723] =====================================================================================
  114. SQL Command - Statement Id: [GetConsentStateCheck] PreparedStatement : [select mst.consent_state from cmr.consent_mst mst where mst.consent_mst_rid = :param0 and mst.use_yn = 'Y']
  115. [Logging Date Time: 2016-12-09 11:34:41,723] =====================================================================================
  116. SQL Command - Statement Id: [GetConsentStateCheck] PreparedStatement : [select mst.consent_state from cmr.consent_mst mst where mst.consent_mst_rid = :param0 and mst.use_yn = 'Y']
  117. [Logging Date Time: 2016-12-09 11:34:41,723] =====================================================================================
  118. SQL Command - Statement Id: [GetConsentStateCheck] Parameters: [param0=[consentmstrid,-1]]
  119. [Logging Date Time: 2016-12-09 11:34:41,723] =====================================================================================
  120. SQL Command - Statement Id: [GetConsentStateCheck] Parameters: [param0=[consentmstrid,-1]]
  121. [Logging Date Time: 2016-12-09 11:34:41,723] =====================================================================================
  122. SQL Command - Statement Id: [GetConsentStateCheck] Types: [param0=[Int32, System.Int32]]
  123. [Logging Date Time: 2016-12-09 11:34:41,723] =====================================================================================
  124. SQL Command - Statement Id: [GetConsentStateCheck] Types: [param0=[Int32, System.Int32]]