CLIP.e-Form.cendb.consent.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!--<sqlMap namespace="CLIP.e-Form.Consent.Dfh" xmlns="http://ibatis.apache.org/mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >-->
  3. <sqlMap namespace="CLIP.e-Form.Consent.Knuh" xmlns="http://ibatis.apache.org/mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
  4. <statements>
  5. <insert id="setUserFormSet" parameterClass="System.Collections.Hashtable">
  6. <![CDATA[
  7. INSERT INTO emr.mrfmsetindx(
  8. instcd,
  9. itemindxseq,
  10. supitemindxseq,
  11. indxflag,
  12. indxnm,
  13. indxcnts,
  14. deptcd,
  15. userid,
  16. linkflag,
  17. linkcd,
  18. comnseq,
  19. fstrgstrid,
  20. fstrgstdt,
  21. lastupdtrid,
  22. lastupdtdt,
  23. jobkind,
  24. slipno
  25. )
  26. VALUES(
  27. #instCd#,
  28. EMR.SQ_MRFMSETINDX_01.NEXTVAL,
  29. 472,
  30. 'O',
  31. '',
  32. '',
  33. '',
  34. #userId#,
  35. 'Y',
  36. #formCd#,
  37. '',
  38. #userId#,
  39. systimestamp,
  40. #userId#,
  41. systimestamp,
  42. '',
  43. '')
  44. ]]>
  45. <selectKey type="post" resultClass="System.Int32" property="itemindxseq">
  46. <![CDATA[SELECT EMR.SQ_MRFMSETINDX_01.CURRVAL AS itemindxseq FROM DUAL]]>
  47. </selectKey>
  48. </insert>
  49. <delete id="delUserFormSet" parameterClass="System.Collections.Hashtable">
  50. <![CDATA[
  51. UPDATE EMR.MRFMSETINDX
  52. SET INSTCD = '999'
  53. WHERE USERID = #userId#
  54. AND INSTCD = #instCd#
  55. AND LINKCD = #formCd#
  56. ]]>
  57. </delete>
  58. <!-- statement id="delUserFormSet" parameterClass="System.Collections.Hashtable">
  59. <![CDATA[
  60. update emr.mrfmsetindx
  61. set instcd = '999'
  62. where userid = #userid#
  63. and instcd = #instcd#
  64. and linkcd = #formcd#
  65. ]]>
  66. </statement -->
  67. </statements>
  68. </sqlMap>