프로젝트

일반

사용자정보

개정판 5de0c110

ID5de0c110d33a5664aece08a480879bf2f6d639f5
상위 c8e9b3e4
하위 f8769f8a

이지연이(가) 약 6년 전에 추가함

issue #767 CheckList Description 저장이 안되는 현상 수정

차이점 보기:

KCOM/Controls/CheckList.xaml.cs
678 678
                    {
679 679
                        state = "Closed";
680 680
                        Check_value.STATUS_DESC_CLOSE = (item as Customer).STATUS_DESC;
681
                    }
681
                     }
682 682
                    else
683 683
                    {
684 684
                        state = "Open";
......
696 696
                        Check_value.VENDOR = (item as Customer).VENDOR;
697 697
                        Check_value.REPLY = (item as Customer).REPLY;
698 698

  
699
                        if (state == "Open")
699
                        if ((item as Customer).STATUS == "False")
700 700
                            description = Check_value.STATUS_DESC_OPEN;
701 701
                        else
702 702
                            description = Check_value.STATUS_DESC_CLOSE;
......
764 764
                                Check_History.REMARK = Check_value.REMARK;
765 765
                                Check_History.REPLY = Check_value.REPLY;
766 766
                                Check_History.UPDATE_TIME = DateTime.Now;
767

  
767
                                if(state == "Open")
768
                                {
769
                                    Check_History.STATUS_DESC = Check_value.STATUS_DESC_OPEN;
770
                                }
771
                                else
772
                                {
773
                                    Check_History.STATUS_DESC = Check_value.STATUS_DESC_CLOSE;
774
                                }
775
                                
768 776
                                Logger.sendReqLog("SaveCheckListHistory: ", App.ViewInfo.ProjectNO + "," + ViewerDataModel.Instance.SystemMain.dzMainMenu.CurrentDoc.Revision + "," + Check_History, 1);
769 777
                                Logger.sendResLog("SaveCheckListHistory", Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.BaseClient.SaveCheckListHistory(App.ViewInfo.ProjectNO, ViewerDataModel.Instance.SystemMain.dzMainMenu.CurrentDoc.Revision, Check_History).ToString(), 1);
770 778
                                
KCOMDataModel/DataModel/CIModel.Designer.cs
384 384
    public partial class CHECK_LIST : EntityObject
385 385
    {
386 386
        #region 팩터리 메서드
387
    
387

  
388 388
        /// <summary>
389 389
        /// 새 CHECK_LIST 개체를 만듭니다.
390 390
        /// </summary>
......
397 397
        /// <param name="sTATUS">STATUS 속성의 초기 값입니다.</param>
398 398
        /// <param name="pROJECT_NO">PROJECT_NO 속성의 초기 값입니다.</param>
399 399
        /// <param name="iMAGE_ANCHOR">IMAGE_ANCHOR 속성의 초기 값입니다.</param>
400
        public static CHECK_LIST CreateCHECK_LIST(global::System.String id, global::System.String dOCUMENT_ID, global::System.String uSER_ID, global::System.String rEVISION, global::System.Int32 pAGENUMBER, global::System.String iMAGE_URL, global::System.String sTATUS, global::System.String pROJECT_NO, global::System.String iMAGE_ANCHOR)
400
        /// <param name="sTATUS_DESC">sTATUS_DESC 속성의 초기 값입니다.</param>
401
        public static CHECK_LIST CreateCHECK_LIST(global::System.String id, global::System.String dOCUMENT_ID, global::System.String uSER_ID, global::System.String rEVISION,
402
            global::System.Int32 pAGENUMBER, global::System.String iMAGE_URL, global::System.String sTATUS, global::System.String pROJECT_NO, global::System.String iMAGE_ANCHOR
403
            , global::System.String sTATUS_DESC)
401 404
        {
402 405
            CHECK_LIST cHECK_LIST = new CHECK_LIST();
403 406
            cHECK_LIST.ID = id;
......
409 412
            cHECK_LIST.STATUS = sTATUS;
410 413
            cHECK_LIST.PROJECT_NO = pROJECT_NO;
411 414
            cHECK_LIST.IMAGE_ANCHOR = iMAGE_ANCHOR;
415
            cHECK_LIST.STATUS = sTATUS_DESC;
412 416
            return cHECK_LIST;
413 417
        }
414 418

  
......
985 989
    public partial class CHECK_LIST_HISTORY : EntityObject
986 990
    {
987 991
        #region 팩터리 메서드
988
    
992

  
989 993
        /// <summary>
990 994
        /// 새 CHECK_LIST_HISTORY 개체를 만듭니다.
991 995
        /// </summary>
......
995 999
        /// <param name="sTATUS">STATUS 속성의 초기 값입니다.</param>
996 1000
        /// <param name="cREATE_TIME">CREATE_TIME 속성의 초기 값입니다.</param>
997 1001
        /// <param name="uPDATE_TIME">UPDATE_TIME 속성의 초기 값입니다.</param>
998
        public static CHECK_LIST_HISTORY CreateCHECK_LIST_HISTORY(global::System.String id, global::System.String cHECKLIST_ID, global::System.String rEVISION, global::System.String sTATUS, global::System.DateTime cREATE_TIME, global::System.DateTime uPDATE_TIME)
1002
        /// <param name="sTATUS_DESC">UPDATE_TIME 속성의 초기 값입니다.</param>
1003
        public static CHECK_LIST_HISTORY CreateCHECK_LIST_HISTORY(global::System.String id, global::System.String cHECKLIST_ID, global::System.String rEVISION, global::System.String sTATUS, 
1004
            global::System.DateTime cREATE_TIME, global::System.DateTime uPDATE_TIME, global::System.String sTATUS_DESC)
999 1005
        {
1000 1006
            CHECK_LIST_HISTORY cHECK_LIST_HISTORY = new CHECK_LIST_HISTORY();
1001 1007
            cHECK_LIST_HISTORY.ID = id;
1002 1008
            cHECK_LIST_HISTORY.CHECKLIST_ID = cHECKLIST_ID;
1003 1009
            cHECK_LIST_HISTORY.REVISION = rEVISION;
1004 1010
            cHECK_LIST_HISTORY.STATUS = sTATUS;
1011
            cHECK_LIST_HISTORY.STATUS_DESC = sTATUS_DESC;
1005 1012
            cHECK_LIST_HISTORY.CREATE_TIME = cREATE_TIME;
1006 1013
            cHECK_LIST_HISTORY.UPDATE_TIME = uPDATE_TIME;
1007 1014
            return cHECK_LIST_HISTORY;
KCOM_API/ServiceDeepView.svc.cs
1163 1163
                    item.IMAGE_URL = Check_value.IMAGE_URL;
1164 1164
                    item.IMAGE_ANCHOR = Check_value.IMAGE_ANCHOR;
1165 1165
                    item.UPDATE_TIME = Check_value.UPDATE_TIME;
1166
                    if(Check_value.STATUS == "False")
1167
                    {
1168
                        item.STATUS_DESC_OPEN = Check_value.STATUS_DESC_OPEN;
1169
                    }
1170
                    else
1171
                    {
1172
                        item.STATUS_DESC_CLOSE = Check_value.STATUS_DESC_CLOSE;
1173
                    }                     
1166 1174
                    Entity.SaveChanges();
1167 1175
                }
1168 1176
            }

내보내기 Unified diff