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());
 }
Example #2
0
        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()));
        }
Example #3
0
        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()));
        }
Example #4
0
 public static int Insert(Zippy.Data.IDalProvider db, Z01FinancialFlow entity)
 {
     int rtn = db.Insert(entity);
     return rtn;
 }
Example #5
0
 /// <summary>
 /// 表示 [银行] 对应的实体
 /// </summary>
 public static Z01Bank GetBankIDEntity(Zippy.Data.IDalProvider db, Z01FinancialFlow entity)
 {
     return db.FindUnique<Z01Bank>("BankID=@BankID", db.CreateParameter("BankID", entity.BankID));
 }
Example #6
0
 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());
 }
Example #8
0
 public static int Update(Zippy.Data.IDalProvider db, Z01FinancialFlow entity)
 {
     return(db.Update(entity));
 }
Example #9
0
        public static int Insert(Zippy.Data.IDalProvider db, Z01FinancialFlow entity)
        {
            int rtn = db.Insert(entity);

            return(rtn);
        }
Example #10
0
        public static Z01FinancialFlow Create(Zippy.Data.IDalProvider db, Int64 _FlowID)
        {
            Z01FinancialFlow rtn = db.FindUnique <Z01FinancialFlow>(_FlowID);

            return(rtn);
        }
Example #11
0
 /// <summary>
 /// 表示 [银行] 对应的实体
 /// </summary>
 public static Z01Bank GetBankIDEntity(Zippy.Data.IDalProvider db, Z01FinancialFlow entity)
 {
     return(db.FindUnique <Z01Bank>("BankID=@BankID", db.CreateParameter("BankID", entity.BankID)));
 }