Exemple #1
0
        public static void CreatRiZhi(WarnSet obj)
        {


         
            //IList<PJ_01gzrj> gzrj01 = MainHelper.PlatformSqlMap.GetList<PJ_01gzrj>("SelectPJ_01gzrjList", "where GdsCode='" + MainHelper.User.OrgCode + "' and rq between '" + obj.rq.ToString("yyyy-MM-dd 00:00:00") + "' and '" + obj.rq.ToString("yyyy-MM-dd 23:59:59") + "'");
    
            //IList<PJ_gzrjnr> gzrlist = MainHelper.PlatformSqlMap.GetList<PJ_gzrjnr>("SelectPJ_gzrjnrList", "where gzrjID  = '" + gzr.gzrjID + "' order by seq  ");

            //MainHelper.PlatformSqlMap.Create<PJ_gzrjnr>(gzr);

        }
Exemple #2
0
 void gridViewOperation_AfterAdd(WarnSet obj)
 {
     
     CreatRiZhi(obj);
 }
Exemple #3
0
 /// <summary>
 /// 新建对象设置Key值
 /// </summary>
 /// <param name="newobj"></param>
 void gridViewOperation_CreatingObjectEvent(WarnSet newobj)
 {
     //if (parentID == null) return;
     newobj.SetUserID = MainHelper.User.UserID;
     newobj.SetTime = DateTime.Now;
     newobj.IsUse = true;
    
 }