Exemple #1
0
        public bool ApplyTask(string billId, string detailId)
        {
            dao.UpdateDetailState(billId, detailId);
            DataRow detailRow = dao.GetBillDetailCompleteInfo(billId, detailId);

            if (detailRow["ConfirmState"].ToString() != "1")
            {
                return(false);
            }
            dao.UpdateDetailState(billId, detailId);

            return(true);
        }