示例#1
0
        /// <summary>
        /// 测试特巡报告详情
        /// </summary>
        public static void TestPatrolReportDetail(string patrolno)
        {
            PatrolReportDetailHelper ph = new PatrolReportDetailHelper();

            PatrolReportDetail target = new PatrolReportDetail();

            target.PatrolNO      = patrolno;
            target.SubNO         = 0;
            target.LocationCode  = "SP0002";
            target.SpotCode      = "SP0002001";
            target.Status        = "1";
            target.QuestionLevel = "1";
            target.Remarks       = "铭牌点检信息";
            target.PicUrl        = "http://www.baidu.com";
            target.IsSelected    = "1";
            target.IsImportant   = "0";

            ph.Insert(target);
            //List<PatrolReportDetail> list = ph.SelectAll();
            //foreach (PatrolReportDetail item in list)
            //{
            //    Console.WriteLine(item.PatrolNO);
            //}
        }