프로젝트

일반

사용자정보

개정판 75b21c63

ID75b21c6328743a94cba9cad1b608f9bb94219de6
상위 978488b0
하위 9646e768

유성호이(가) 약 2년 전에 추가함

issue #000
테스트 로직 삭제

Change-Id: Ic5488c8f779036bbfec30c95d483054efd1bdee0

차이점 보기:

ID2.Manager/ID2.Manager.Dapper/Repository/DocumentRepository.cs
301 301
                        if (parameters.Count > 0)
302 302
                        {
303 303
                            sbSet.Append(" ,DocID=@DocID ");
304
                            parameters.Add("DocID", "sdfsdf");
304
                            parameters.Add("DocID", doc.DocID);
305 305

  
306 306
                            sbSet.Append(" ,ModifiedUser=@ModifiedUser ");
307 307
                            parameters.Add("ModifiedUser", userId);
ID2.Manager/ID2.Manager/Main.cs
655 655

  
656 656
                                try
657 657
                                {
658
                                    if (doc.ID2StartDate != null)
658
                                    if (doc.ID2StartDate == null)
659 659
                                    {
660 660
                                        var returnDoc = new DocumentController().SetDocumentDataField(new Documents()
661 661
                                        {
......
674 674
                        }
675 675
                        catch (Exception ex)
676 676
                        {
677
                            if (e.Row.DataBoundItem is Documents doc)
678
                            {
679
                                try
680
                                {
681
                                    if (doc.ID2StartDate == null)
682
                                    {
683
                                        var returnDoc = new DocumentController().SetDocumentDataField(new Documents()
684
                                        {
685
                                            DocID = doc.DocID,
686
                                            ID2StartDate = DateTime.Now
687
                                        }, informations.ActiveUser.ID);
688

  
689
                                        if (returnDoc != null)
690
                                        {
691
                                            doc.ID2StartDate = returnDoc.ID2StartDate;
692
                                        }
693
                                    }
694
                                }
695
                                catch { }
696
                            }
677 697
                            RadMessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, RadMessageIcon.Error);
678 698
                        }
679 699
                        break;

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)