Esempio n. 1
0
        /// <summary>
        /// 新增指纹采集的姓名和身份证明号码记录
        /// </summary>
        /// <param name="idcard"></param>
        /// <param name="name"></param>
        public static void Enroll(string idcard, string name, string pxrq, string studenttype, string car)
        {
            LocalFingerRecordObject obj = new LocalFingerRecordObject();

            obj.CreateTime = System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
            obj.IdCard     = idcard;
            obj.Name       = name;
            obj.UploadTime = string.Empty;
            SystemConfig config = StaticCacheManager.GetConfig <SystemConfig>();

            obj.Lsh         = "";
            obj.SchoolName  = config.SchoolName;
            obj.SchoolCode  = config.SchoolCode;
            obj.Pxrq        = pxrq;
            obj.StudentType = studenttype;
            obj.LearnCar    = car;
            SimpleOrmOperator.Create(obj);
            BackFingerInfo();
        }
Esempio n. 2
0
 /// <summary>
 /// 新增指纹采集的姓名和身份证明号码记录
 /// </summary>
 /// <param name="idcard"></param>
 /// <param name="name"></param>
 public static void Enroll(string idcard,string name,string pxrq,string studenttype,string car)
 {
     LocalFingerRecordObject obj = new LocalFingerRecordObject();
     obj.CreateTime = System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
     obj.IdCard = idcard;
     obj.Name = name;
     obj.UploadTime = string.Empty;
     SystemConfig config = StaticCacheManager.GetConfig<SystemConfig>();
     obj.Lsh = "";
     obj.SchoolName = config.SchoolName;
     obj.SchoolCode = config.SchoolCode;
     obj.Pxrq = pxrq;
     obj.StudentType = studenttype;
     obj.LearnCar = car;
     SimpleOrmOperator.Create(obj);
     BackFingerInfo();
 }