#region Copyright © 2015 CLIPSOFT Co.,Ltd. All Rights Reserved. // // All rights are reserved. Reproduction or transmission in whole or in part, // in any form or by any means, electronic, mechanical or otherwise, is // prohibited without the prior written consent of the copyright owner. // // Filename:SelectConsentSvcDac.cs // #endregion using System; using CLIP.eForm.Consent.Dfh.Entity; using CLIP.eForm.Server.Data; using IBatisNet.DataMapper; using System.Collections; using System.Collections.Generic; namespace CLIP.eForm.Consent.Dfh.Dac { public class UserDac : DacBase { public MobileLoginResult doLogin(ISqlMapper mapper, Hashtable param) { return mapper.QueryForObject("doLogin", param); } public UserLoginDeptList userLoginDeptList(ISqlMapper mapper, Hashtable param) { return mapper.QueryForObject("getDeptListForConsent", param); } public UserVO GetUserInfo(ISqlMapper mapper, Hashtable param) { return mapper.QueryForObject("GET_USER_INFO", param); } //public IList GetUserFormSet(ISqlMapper mapper, Hashtable param) //{ // return mapper.QueryForList("getUserFormSet", param); //} public int SetUserFormSet(ISqlMapper mapper, Hashtable param) { //mapper.QueryForObject("setUserFormSet", param); //return (int)mapper.Insert("setUserFormSet", param); return mapper.Update("setUserFormSet", param); } public int DelUserFormSet(ISqlMapper mapper, Hashtable param) { return mapper.Update("delUserFormSet", param); //return mapper.QueryForObject("delUserFormSet", param); } public IList GetUserSignImage(ISqlMapper mapper, Hashtable param) { return mapper.QueryForList("getUserSignImage", param); } public IList GetVersionInfo(ISqlMapper mapper, Hashtable param) { return mapper.QueryForList("VERSION_INFO", param); } } }