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());
 }
예제 #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()));
        }
예제 #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()));
        }
예제 #4
0
 public static int Insert(Zippy.Data.IDalProvider db, Z01FinancialFlow entity)
 {
     int rtn = db.Insert(entity);
     return rtn;
 }
예제 #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));
 }
예제 #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());
 }
예제 #8
0
 public static int Update(Zippy.Data.IDalProvider db, Z01FinancialFlow entity)
 {
     return(db.Update(entity));
 }
예제 #9
0
        public static int Insert(Zippy.Data.IDalProvider db, Z01FinancialFlow entity)
        {
            int rtn = db.Insert(entity);

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

            return(rtn);
        }
예제 #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)));
 }