/// <summary>
        /// 增删改SYS_ROLEUSERS
        /// op_SYS_ROLEUSERS
        /// 参数类名:SYS_ROLEUSERSModel
        /// </summary>
        /// <returns>返回数</returns>
        public static int op_SYS_USERS_ROLE(
            CykjSoft.Bean.UserBean userBean
            , XASYU.MODEL.SYS_USERS_ROLEModel SYS_ROLEUSERS
            )
        {
            int    iRESULT = 0;
            int    iERRCD  = 0;
            string sERRMSG = String.Empty;

            try
            {
                XASYU.DBBusiness.DataBaseManager.op_SYS_USERS_ROLE(
                    userBean.YHDLM //用户登陆名
                    , ref iRESULT
                    , ref iERRCD
                    , ref sERRMSG
                    , DataOperationTypeHelper.GetOperationString(SYS_ROLEUSERS.OpType)
                    , SYS_ROLEUSERS.RoleID      //RoleID
                    , SYS_ROLEUSERS.UserID      //UserID
                    );
            }
            catch (Exception ex)
            {
                iRESULT = -1;
                ex.ToString();
            }
            return(iRESULT);
        }
Пример #2
0
 /// <summary>
 /// 查询SYS_ROLEUSERS
 /// query_SYS_TITLEUSERS
 /// 参数类名:SYS_TITLEUSERSModel
 /// </summary>
 /// <returns>DataSet</returns>
 public static DataSet query_SYS_USERS_ROLE(
     CykjSoft.Bean.UserBean userBean
     , XASYU.MODEL.SYS_USERS_ROLEModel SYS_USERS_ROLE
     , ref int V_ITOTALCOUNT //记录数
     , int V_SSTARTINDEX     //开始索引
     , int V_SPERPAGESIZE    //页大小
     )
 {
     return(XASYU.DBBusiness.DataBaseQuery.query_SYS_USERS_ROLE(
                userBean.YHDLM             //用户登陆名
                , ref V_ITOTALCOUNT        //记录数
                , V_SSTARTINDEX            //开始索引
                , V_SPERPAGESIZE           //页大小
                , SYS_USERS_ROLE.RoleID    //RoleID
                , SYS_USERS_ROLE.RoleName
                , SYS_USERS_ROLE.UserID    //UserID
                , SYS_USERS_ROLE.UserName
                , SYS_USERS_ROLE.StartDate //开始时间
                , SYS_USERS_ROLE.EndDate   //结束时间
                ));
 }