/// <summary> /// 审批通过 /// </summary> /// <param name="pagecode">角色代码</param> /// <param name="rolepage">授权页面集合</param> /// <param name="usercode">操作用户代码</param> /// <param name="errmsg">出错时返回的错误提示信息</param> /// <returns>是否成功执行</returns> public bool Approve(string applycode, string platenumber, string driver, 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.Approve(applycode, playcode, platenumber, driver, remark, susercode, ref errmsg); } return result; }