Example #1
0
 //车辆情况1
 public bool GetUseCar(string platenumber, string plat, string startdate, string datetype, string enddate, string sort, string sortfield, ref DataTable dt, ref string errmsg)
 {
     bool result = true;
     DALProposer d = new DALProposer();
     result = d.GetUseCar(platenumber, plat, startdate, datetype, enddate, sort, sortfield, ref dt, ref errmsg);
     return result;
 }
Example #2
0
        //车辆明细1

        public bool GetUseCarDetail(string platenumber, string plat, string startdate, string datetype, string enddate, string username, string applyname, string sort, string sortfield, int page, int pagesize, ref int totalnum, ref int pagecount, ref DataTable dt, ref string errmsg)
        {
            bool result = true;
            DALProposer d = new DALProposer();
            result = d.GetUseCarDetail(platenumber, plat, startdate, datetype, enddate, username, applyname, sort, sortfield, page, pagesize, ref totalnum, ref pagecount, ref dt, ref errmsg);
            return result;
        }
Example #3
0
        /// </summary>撤销申请单
        /// <param name="pagecode">角色代码</param>
        /// <param name="rolepage">授权页面集合</param>
        /// <param name="usercode">操作用户代码</param>
        /// <param name="errmsg">出错时返回的错误提示信息</param>
        /// <returns>是否成功执行</returns>
        public bool ApplyRepeal(string applycode, string repeal, ref string errmsg)
        {
            bool result = true;
            DALProposer mydal = new DALProposer();
            result = mydal.ApplyRepeal(applycode, repeal, ref errmsg);

            return result;
        }
Example #4
0
        /// 
        /// </summary>
        /// <param name="pagecode">角色代码</param>
        /// <param name="rolepage">授权页面集合</param>
        /// <param name="usercode">操作用户代码</param>
        /// <param name="errmsg">出错时返回的错误提示信息</param>
        /// <returns>是否成功执行</returns>
        public bool GetCard(ref DataTable dt, ref string errmsg)
        {

            bool result = true;
            DALProposer mydal = new DALProposer();
            result = mydal.GetCard(ref dt, ref errmsg);
            return result;
        }
Example #5
0
        /// 立即用车
        /// </summary>
        /// <param name="pagecode">角色代码</param>
        /// <param name="rolepage">授权页面集合</param>
        /// <param name="usercode">操作用户代码</param>
        /// <param name="errmsg">出错时返回的错误提示信息</param>
        /// <returns>是否成功执行</returns>
        public bool Appli(string applycode, string begin, ref string errmsg)
        {

            bool result = true;
            DALProposer mydal = new DALProposer();
            result = mydal.Appli(applycode, begin, ref errmsg);

            return result;
        }
Example #6
0
        /// <summary>
        /// 拒绝原因
        /// </summary>
        /// <param name="pagecode">角色代码</param>
        /// <param name="rolepage">授权页面集合</param>
        /// <param name="usercode">操作用户代码</param>
        /// <param name="errmsg">出错时返回的错误提示信息</param>
        /// <returns>是否成功执行</returns>
        public bool ApplyFalse(string applycode, string reason, string susercode, ref string errmsg)
        {

            bool result = true;
            DALProposer mydal = new DALProposer();
            result = mydal.ApplyFalse(applycode, reason, susercode, ref errmsg);

            return result;
        }
Example #7
0
        /// 重新选车牌
        /// </summary>
        /// <param name="pagecode">角色代码</param>
        /// <param name="rolepage">授权页面集合</param>
        /// <param name="usercode">操作用户代码</param>
        /// <param name="errmsg">出错时返回的错误提示信息</param>
        /// <returns>是否成功执行</returns>
        public bool RegainCar(string applycode, string platenumber, string Oldplatenumber, string reremark, ref string errmsg)
        {

            bool result = true;
            DALProposer mydal = new DALProposer();
            result = mydal.RegainCar(applycode, platenumber, Oldplatenumber, reremark, ref errmsg);

            return result;
        }
Example #8
0
        /// 
        /// </summary>
        /// <param name="pagecode">角色代码</param>
        /// <param name="rolepage">授权页面集合</param>
        /// <param name="usercode">操作用户代码</param>
        /// <param name="errmsg">出错时返回的错误提示信息</param>
        /// <returns>是否成功执行</returns>
        public bool DelayedCar(string applycode, string delayedtime, ref string errmsg)
        {

            bool result = true;
            DALProposer mydal = new DALProposer();
            result = mydal.DelayedCar(applycode, delayedtime, ref errmsg);

            return result;
        }
Example #9
0
        /// 查询还车数据
        /// </summary>
        /// <param name="pagecode">角色代码</param>
        /// <param name="rolepage">授权页面集合</param>
        /// <param name="usercode">操作用户代码</param>
        /// <param name="errmsg">出错时返回的错误提示信息</param>
        /// <returns>是否成功执行</returns>
        public bool GetEndApply(string applycode, string usercode, ref DataTable dt, ref string errmsg)
        {

            bool result = true;
            DALProposer mydal = new DALProposer();
            result = mydal.GetEndApply(applycode, usercode, ref dt, ref errmsg);

            return result;
        }
Example #10
0
        /// 立即还车
        /// </summary>
        /// <param name="pagecode">角色代码</param>
        /// <param name="rolepage">授权页面集合</param>
        /// <param name="usercode">操作用户代码</param>
        /// <param name="errmsg">出错时返回的错误提示信息</param>
        /// <returns>是否成功执行</returns>
        public bool SendReturn(string applycode, string endplay, string returnremark, string usercode, ref string errmsg)
        {

            bool result = true;
            DALProposer mydal = new DALProposer();
            result = mydal.SendReturn(applycode, endplay, returnremark, usercode, ref errmsg);

            return result;
        }
Example #11
0
        /// </summary>
        /// <param name="pagecode">角色代码</param>
        /// <param name="rolepage">授权页面集合</param>
        /// <param name="usercode">操作用户代码</param>
        /// <param name="errmsg">出错时返回的错误提示信息</param>
        /// <returns>是否成功执行</returns>
        public bool GetAllCar(int pagesize, int page, ref int totalnum, ref int pagecount, ref DataTable dt, ref DataTable dt1, ref DataTable dt2, ref DataTable dt3, ref string errmsg)
        {

            bool result = true;
            DALProposer mydal = new DALProposer();
            result = mydal.GetAllCar(pagesize, page, ref totalnum, ref pagecount, ref dt, ref dt1, ref dt2, ref dt3, ref errmsg);

            return result;
        }
Example #12
0
 /// <summary>
 /// 筛选车牌
 /// </summary>
 /// <param name="pagecode">角色代码</param>
 /// <param name="rolepage">授权页面集合</param>
 /// <param name="usercode">操作用户代码</param>
 /// <param name="errmsg">出错时返回的错误提示信息</param>
 /// <returns>是否成功执行</returns>
 public bool Application(string applycode, string platenumber, string remark, string susercode, ref string errmsg)
 {
     string playcode = "";
     bool result = true;
     BLLSequence myseq = new BLLSequence();
     result = myseq.Application(ref playcode, ref errmsg);
     if (result)
     {
         DALProposer mydal = new DALProposer();
         result = mydal.Application(applycode, playcode, platenumber, remark, susercode, ref errmsg);
     }
     return result;
 }
Example #13
0
 /// <summary>
 /// 提交派车用申请
 /// </summary>
 /// <param name="pagecode">角色代码</param>
 /// <param name="rolepage">授权页面集合</param>
 /// <param name="usercode">操作用户代码</param>
 /// <param name="errmsg">出错时返回的错误提示信息</param>
 /// <returns>是否成功执行</returns>
 public bool SendCar(string applyname, string accent, string department, string proposernomber, string endsite, string purpose, string servicetime, string usercode, ref string errmsg)
 {
     string applycode = "";
     bool result = true;
     BLLSequence myseq = new BLLSequence();
     result = myseq.ApplyD(ref applycode, ref errmsg);
     if (result)
     {
         DALProposer mydal = new DALProposer();
         result = mydal.SendCar(applycode, applyname, department, accent, proposernomber, endsite, purpose, servicetime, usercode, ref errmsg);
     }
     return result;
 }