public static int Delete(Recharge model) { if (string.IsNullOrEmpty(model.BillNo)) { return(-1); } return(RechargeDAL.Delete(model)); }
public CardService() { m_dalCard = new CardDAL(); m_dalRecharge = new RechargeDAL(); m_dalSaleGas = new SaleGasDAL(); m_dataRequest = null; m_dataResponse = null; }
public static int Add(Recharge model) { string ver = RechargeDAL.GetVersion(model); model.VersionInfo = ver; return(RechargeDAL.Add(model)); }
public static Recharge GetFirstModelListByUserID(Recharge model) { return(RechargeDAL.GetFirstModelListByUserID(model)); }
public static Recharge GetModelByBillNo(Recharge model) { return(RechargeDAL.GetModelByBillNo(model)); }
public static int UpdateReachTime(string billNO) { return(RechargeDAL.UpdateReachTime(billNO)); }
public static int Add(Recharge model) { return(RechargeDAL.Add(model)); }