Exemple #1
0
        public void Update(aers_tbl_events_gy model)
        {
            DateTime dt = DateTime.Now;

            model.OperatorDate = dt;
            model.IsFlag       = 0;
            model.AuditStatus  = 0;
            model.OperatorID   = model.FillStaff;
            String stmtId = "aers_tbl_events_gy_Update";

            ExecuteUpdate(stmtId, model);
        }
Exemple #2
0
        public void Insert(aers_tbl_events_gy model)
        {
            model.EvegyId = new aers_sys_seedSqlMapDao().GetMaxID("eventsgy");
            DateTime dt = DateTime.Now;

            model.OperatorDate = dt;
            model.IsFlag       = 0;
            model.AuditStatus  = 0;
            model.OperatorID   = model.FillStaff;
            String stmtId = "aers_tbl_events_gy_Insert";

            ExecuteInsert(stmtId, model);
        }