示例#1
0
        public void Update(aers_tbl_events_yh model)
        {
            DateTime dt = DateTime.Now;

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

            ExecuteUpdate(stmtId, model);
        }
示例#2
0
        public void Insert(aers_tbl_events_yh model)
        {
            model.EveYhId = new aers_sys_seedSqlMapDao().GetMaxID("eventsyh");
            DateTime dt = DateTime.Now;

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

            ExecuteInsert(stmtId, model);
        }