ConsentDac.cs 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #region Copyright © 2015 CLIPSOFT Co.,Ltd. All Rights Reserved.
  2. //
  3. // All rights are reserved. Reproduction or transmission in whole or in part,
  4. // in any form or by any means, electronic, mechanical or otherwise, is
  5. // prohibited without the prior written consent of the copyright owner.
  6. //
  7. // Filename:SelectConsentSvcDac.cs
  8. //
  9. #endregion
  10. using CLIP.eForm.Consent.Dfh.Entity;
  11. using CLIP.eForm.Server.Data;
  12. using IBatisNet.DataMapper;
  13. using System;
  14. using System.Collections;
  15. using System.Collections.Generic;
  16. using System.Linq;
  17. using System.Text;
  18. namespace CLIP.eForm.Consent.Dfh.Dac
  19. {
  20. public class ConsentDac : DacBase
  21. {
  22. public IList<ConsentSetVO> GetConsentSetList(ISqlMapper mapper, Hashtable param)
  23. {
  24. return mapper.QueryForList<ConsentSetVO>("getUserFormSet", param);
  25. }
  26. public IList<ConsentBySearchVO> GetConsentBySearch(ISqlMapper mapper, Hashtable param)
  27. {
  28. return mapper.QueryForList<ConsentBySearchVO>("GET_CONSENT_BY_SEARCH_LIST", param);
  29. }
  30. public IList<ConsentVO> GetConsentList(ISqlMapper mapper, Hashtable param)
  31. {
  32. return mapper.QueryForList<ConsentVO>("GET_CONSENT_LIST", param);
  33. }
  34. public object GetFormGuidByFormCd(ISqlMapper mapper, Hashtable param)
  35. {
  36. return mapper.QueryForObject("GET_FORM_GUID_BY_FORM_CD", param);
  37. }
  38. public IList<ConsentImageVO> GetConsentImage(ISqlMapper mapper, Hashtable param)
  39. {
  40. return mapper.QueryForList<ConsentImageVO>("GET_CONSENT_IMAGE", param);
  41. }
  42. public IList<UnFinishedListVO> GetUnfinishedListPerDoctor(ISqlMapper mapper, Hashtable param)
  43. {
  44. return mapper.QueryForList<UnFinishedListVO>("GetUnfinishedListPerDoctor", param);
  45. }
  46. public String GetConsentStateCheck(ISqlMapper mapper, Hashtable param)
  47. {
  48. return mapper.QueryForObject<String>("GetConsentStateCheck", param);
  49. }
  50. }
  51. }