public ActionResult ChangeBank(long fid, long bid) { EAP.Logic.DictResponse res = new Logic.DictResponse(); Z01FinancialFlow ff = new Z01FinancialFlow(); ff.FlowID = fid; ff.BankID = bid; db.Update(ff); res._state = true; return Content(res.ToJson()); }
public ActionResult ChangeBank(long fid, long bid) { EAP.Logic.DictResponse res = new Logic.DictResponse(); Z01FinancialFlow ff = new Z01FinancialFlow(); ff.FlowID = fid; ff.BankID = bid; db.Update(ff); res._state = true; return(Content(res.ToJson())); }
public ActionResult ChangeOrderDate(long fid, DateTime dt) { EAP.Logic.DictResponse res = new Logic.DictResponse(); Z01FinancialFlow ff = new Z01FinancialFlow(); ff.FlowID = fid; ff.CreateDate = dt; db.Update(ff); res._state = true; return(Content(res.ToJson())); }
public static int Insert(Zippy.Data.IDalProvider db, Z01FinancialFlow entity) { int rtn = db.Insert(entity); return rtn; }
/// <summary> /// 表示 [银行] 对应的实体 /// </summary> public static Z01Bank GetBankIDEntity(Zippy.Data.IDalProvider db, Z01FinancialFlow entity) { return db.FindUnique<Z01Bank>("BankID=@BankID", db.CreateParameter("BankID", entity.BankID)); }
public static int Update(Zippy.Data.IDalProvider db, Z01FinancialFlow entity) { return db.Update(entity); }
public ActionResult ChangeOrderDate(long fid, DateTime dt) { EAP.Logic.DictResponse res = new Logic.DictResponse(); Z01FinancialFlow ff = new Z01FinancialFlow(); ff.FlowID = fid; ff.CreateDate = dt; db.Update(ff); res._state = true; return Content(res.ToJson()); }
public static int Update(Zippy.Data.IDalProvider db, Z01FinancialFlow entity) { return(db.Update(entity)); }
public static int Insert(Zippy.Data.IDalProvider db, Z01FinancialFlow entity) { int rtn = db.Insert(entity); return(rtn); }
public static Z01FinancialFlow Create(Zippy.Data.IDalProvider db, Int64 _FlowID) { Z01FinancialFlow rtn = db.FindUnique <Z01FinancialFlow>(_FlowID); return(rtn); }
/// <summary> /// 表示 [银行] 对应的实体 /// </summary> public static Z01Bank GetBankIDEntity(Zippy.Data.IDalProvider db, Z01FinancialFlow entity) { return(db.FindUnique <Z01Bank>("BankID=@BankID", db.CreateParameter("BankID", entity.BankID))); }