1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #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<MobileLoginResult>("doLogin", param);
- }
- public UserLoginDeptList userLoginDeptList(ISqlMapper mapper, Hashtable param) {
- return mapper.QueryForObject<UserLoginDeptList>("getDeptListForConsent", param);
- }
- public UserVO GetUserInfo(ISqlMapper mapper, Hashtable param) {
- return mapper.QueryForObject<UserVO>("GET_USER_INFO", param);
- }
- //public IList<UserFormSetVO> GetUserFormSet(ISqlMapper mapper, Hashtable param)
- //{
- // return mapper.QueryForList<UserFormSetVO>("getUserFormSet", param);
- //}
- public int SetUserFormSet(ISqlMapper mapper, Hashtable param) {
- //mapper.QueryForObject<Int32>("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<Int32>("delUserFormSet", param);
- }
- public IList<UserSignImageVO> GetUserSignImage(ISqlMapper mapper, Hashtable param) {
- return mapper.QueryForList<UserSignImageVO>("getUserSignImage", param);
- }
- public IList<VersionInfoVO> GetVersionInfo(ISqlMapper mapper, Hashtable param) {
- return mapper.QueryForList<VersionInfoVO>("VERSION_INFO", param);
- }
- }
- }
|