#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.Entity; using CLIP.eForm.Server.Data; using IBatisNet.DataMapper; using System.Collections; using System.Collections.Generic; namespace CLIP.eForm.Consent.Dac { public class UserDac : DacBase { public IList GetSettingData(ISqlMapper mapper, Hashtable param) { return mapper.QueryForList("GET_SETTING_LIST", param); } /// /// 사용자 정보를 반환 /// 의사의 경우(like 03%) 전화번호 대신 엔존번호를 가져온다 /// /// The mapper. /// The parameter. /// 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 GetUserFormCode(ISqlMapper mapper, Hashtable param) { return mapper.QueryForObject("getFavorateDocCount", param); } public int SetUserFormSet(ISqlMapper mapper, Hashtable param) { //return mapper.QueryForObject("setUserFormSet", param); return (int) mapper.Insert("setUserFormSet", param); } public int DelUserFormSet(ISqlMapper mapper, Hashtable param) { //mapper.QueryForObject("delUserFormSet", param); return mapper.Delete("delUserFormSet", param); } public IList GetUserSignImage(ISqlMapper mapper, Hashtable param) { return mapper.QueryForList("getUserSignImage", param); } public MobileLoginResult doLogin(ISqlMapper mapper, Hashtable param) { return mapper.QueryForObject("doLogin", param); } public IList getUserdeptList(ISqlMapper mapper, Hashtable param) { return mapper.QueryForList("getUserdeptList", param); } public MobileUserInfo getMobileUserInfo(ISqlMapper mapper, Hashtable param) { return mapper.QueryForObject("getMobileUserInfo", param); } public String SetSupportUserData(ISqlMapper mapper, Hashtable param) { return (String) mapper.Insert("setSupportUserData", param); } public string getUserPrefMonitor(ISqlMapper mapper, Hashtable param) { return (String) mapper.Insert("getUserPrefMonitor", param); } public string SetUserPrefMonitor(ISqlMapper mapper, Hashtable param) { return (String) mapper.Insert("SetUserProfMonitor", param); } public string getSessionTime(ISqlMapper mapper, Hashtable param) { return mapper.QueryForObject("getSessionTime", param); } public void userLoginOutLog(ISqlMapper mapper, Hashtable param) { mapper.Insert("userLoginOutLog", param); } //public IList GetImageServerProps(ISqlMapper mapper, Hashtable param) //{ // return mapper.QueryForList("getImageServerProps", param); //} } }