Пример #1
0
        /// <summary>
        /// 审核
        /// </summary>
        /// <param name="SnNum"></param>
        /// <param name="Status"></param>
        /// <returns></returns>
        public int Audite(string SnNum, int Status)
        {
            FinanceBillEntity entity = new FinanceBillEntity();

            entity.Status = Status;
            entity.IncludeStatus(true);
            entity.Where <FinanceBillEntity>(a => a.SnNum == SnNum)
            .And(a => a.CompanyID == this.CompanyID);
            int line = this.FinanceBill.Update(entity);

            return(line);
        }