public async Task<ActionResult> BizCheck09(BizCheck09ViewModel bizCheck09ViewModel)
        {
            ViewBag.LeftMenu = Global.Report;
            int questionSn = bizCheck09ViewModel.QuestionSn;

            if (bizCheck09ViewModel.QuestionSn > 0)
            {
                var quesMaster = await _quesMasterService.GetQuesResult1Async(questionSn);

                if (bizCheck09ViewModel.SubmitType == "N")
                {
                    quesMaster.SaveStatus = 12;
                }

                // A1B108 : 품질관리
                foreach (var item in bizCheck09ViewModel.QualityControl)
                {
                    var checkItem = quesMaster.QuesResult1.SingleOrDefault(m => m.QuestionSn == questionSn && m.CheckListSn == item.CheckListSn);
                    if (checkItem == null)
                    {
                        var result1 = new QuesResult1();
                        result1.QuestionSn = questionSn;
                        result1.CheckListSn = item.CheckListSn;
                        result1.AnsVal = item.AnsVal;
                        result1.RegDt = DateTime.Now;
                        result1.RegId = Session[Global.LoginID].ToString();
                        quesMaster.QuesResult1.Add(result1);
                    }
                    else
                    {
                        checkItem.AnsVal = item.AnsVal;
                        checkItem.UpdDt = DateTime.Now;
                        checkItem.UpdId = Session[Global.LoginID].ToString();
                    }
                }

                await _quesMasterService.SaveDbContextAsync();
            }
            else
            {
                //에러처리 필요
                return View(bizCheck09ViewModel);
            }

            if (bizCheck09ViewModel.SubmitType == "T")
            {
                return RedirectToAction("BizCheck09", "Report", new { @questionSn = questionSn });
            }
            else
            {
                return RedirectToAction("BizCheck10", "Report", new { @questionSn = questionSn });
            }
        }
        public async Task<ActionResult> BizCheck09(string questionSn, string status)
        {
            ViewBag.LeftMenu = Global.Report;

            if (string.IsNullOrEmpty(questionSn))
            {
                // 오류 처리해야함.
                return View();
            }

            var bizCheck09 = new BizCheck09ViewModel();

            // A1B108 : 품질관리
            var quesResult1s = await _quesResult1Service.GetQuesResult1sAsync(int.Parse(questionSn), "A1B108");

            if (quesResult1s.Count() != 6)
            {
                var quesCheckList = await _quesCheckListService.GetQuesCheckListAsync("A1B108");
                var quesCheckListView = Mapper.Map<List<QuesCheckListViewModel>>(quesCheckList);

                foreach (var item in quesCheckListView)
                {
                    item.QuestionSn = int.Parse(questionSn);
                    item.AnsVal = false;
                }

                bizCheck09.QualityControl = quesCheckListView;
            }
            else
            {
                var quesCheckListView = Mapper.Map<List<QuesCheckListViewModel>>(quesResult1s);
                bizCheck09.QualityControl = quesCheckListView;
            }

            bizCheck09.Status = status;
            bizCheck09.QuestionSn = int.Parse(questionSn);
            return View(bizCheck09);
        }