Ejemplo n.º 1
0
 public int Updcount(InvoiceAllowanceRecord m)
 {
     try
     {
         return _iordertempreturnlistdao.Updcount(m);
     }
     catch (Exception ex)
     {
         throw new Exception(" ReturnMasterMgr-->Updcount-->" + ex.Message, ex);
     }
    
 }
Ejemplo n.º 2
0
 public int Updcount(InvoiceAllowanceRecord m)
 {//修改數據
     StringBuilder sql = new StringBuilder();
     try
     {
         sql.AppendFormat(@"UPDATE invoice_allowance_record SET allownace_total='{0}',allowance_amount='{1}',allowance_tax='{2}' where allowance_id='{3}'; ", m.allownace_total, m.allowance_amount, m.allowance_tax, m.allowance_id);
         return _accessMySql.execCommand(sql.ToString());
     }
     catch (Exception ex)
     {
         throw new Exception("OrderTempReturnListDao.Updcount-->" + sql.ToString() + ex.Message, ex);
     }
    
 }