SaveConsentDac.cs 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. //==================================================================================================
  2. //
  3. // Clip-Soft eForm Project
  4. //
  5. //==================================================================================================
  6. // Written by 강성웅
  7. //
  8. // 2014-08-20
  9. //==================================================================================================
  10. // Copyright (c) 2013 Clip-Soft. All rights reserved.
  11. //
  12. // This software is the confidential and proprietary information of Clip-Soft.
  13. // You shall not disclose such Confidential Information and shall use it only in accordance with the terms of the license agreement you entered
  14. // into with Clip-Soft.
  15. //==================================================================================================
  16. using System;
  17. using CLIP.eForm.Server.Data;
  18. using CLIP.eForm.Server.VO;
  19. using IBatisNet.DataMapper;
  20. using System.Collections.Generic;
  21. using System.Collections;
  22. namespace CLIP.eForm.Consent.Dfh.Dac
  23. {
  24. public class SaveConsentDac : DacBase
  25. {
  26. #region #### INSERT ####
  27. public void InsertConsentMst(ISqlMapper mapper, Hashtable param)
  28. {
  29. mapper.QueryForObject<Int32>("INSERT_CONSENT_MST", param);
  30. }
  31. public void InsertConsentData(ISqlMapper mapper, Hashtable param)
  32. {
  33. mapper.QueryForObject<Int32>("INSERT_CONSENT_DATA", param);
  34. }
  35. public void InsertConsentImage(ISqlMapper mapper, Hashtable param)
  36. {
  37. mapper.QueryForObject<Int32>("INSERT_CONSENT_IMAGE", param);
  38. }
  39. public void InsertConsentImageSign(ISqlMapper mapper, Hashtable param)
  40. {
  41. mapper.QueryForObject<Int32>("INSERT_CONSENT_IMAGE_SIGN", param);
  42. }
  43. #endregion
  44. #region #### UPDATE ####
  45. public void UpdateConsentMst(ISqlMapper mapper, Hashtable param)
  46. {
  47. mapper.QueryForObject<Int32>("UPDATE_CONSENT_MST", param);
  48. }
  49. public void UpdateConsentMstForReissue(ISqlMapper mapper, Hashtable param)
  50. {
  51. mapper.QueryForObject<Int32>("UPDATE_CONSENT_MST_FOR_REISSUE", param);
  52. }
  53. public void UpdateConsentMstForDelete(ISqlMapper mapper, Hashtable param)
  54. {
  55. mapper.QueryForObject<Int32>("UPDATE_CONSENT_MST_FOR_DELETE", param);
  56. }
  57. public void UpdateConsentMstStatus(ISqlMapper mapper, Hashtable param)
  58. {
  59. mapper.QueryForObject<Int32>("UPDATE_CONSENT_MST_STATUS", param);
  60. }
  61. public void SetConsentDataChoice(ISqlMapper mapper, Hashtable param)
  62. {
  63. mapper.QueryForObject<Int32>("INSERT_CONSENT_DATA_CHOICE", param);
  64. }
  65. #endregion
  66. #region #### SET ####
  67. public void SetMediHistory(ISqlMapper mapper, Hashtable param)
  68. {
  69. mapper.QueryForObject<Int32>("SET_MEDI_HISTORY", param);
  70. }
  71. #endregion
  72. }
  73. }