프로젝트

일반

사용자정보

개정판 456acf69

ID456acf698ea645aec1f8bf2967b2b4e9c24afbe2
상위 86faa3db
하위 47377669

함의성이(가) 약 6년 전에 추가함

issue #622: create dbupdate method

차이점 보기:

DTI_PID/DTI_PID/AppDocData.py
2842 2842
            pidNo = self.activeDrawing.name
2843 2843
            sql = "delete from LINE_DATA_LIST where PNID_NO = '{}'".format(pidNo)
2844 2844
            cursor.execute(sql)
2845
            #sql = "delete from EQUIPMENT_DATA_LIST where PNID_NO = '{}'".format(pidNo)
2846
            #cursor.execute(sql)
2847
            #sql = "delete from VALVE_DATA_LIST where PNID_NO = '{}'".format(pidNo)
2848
            #cursor.execute(sql)
2845
            sql = "delete from EQUIPMENT_DATA_LIST where PNID_NO = '{}'".format(pidNo)
2846
            cursor.execute(sql)
2847
            sql = "delete from VALVE_DATA_LIST where PNID_NO = '{}'".format(pidNo)
2848
            cursor.execute(sql)
2849 2849
            sql = "delete from INSTRUMENT_DATA_LIST where PNID_NO = '{}'".format(pidNo)
2850 2850
            cursor.execute(sql)
2851 2851
            sql = "delete from NOTE_DATA_LIST where PNID_NO = '{}'".format(pidNo)
2852 2852
            cursor.execute(sql)
2853
            sql = "delete from TitleBlockValues where Drawings_UID = '{}'".format(pidNo)
2854
            cursor.execute(sql)
2853 2855

  
2854 2856
            conn.commit()
2855 2857

  

내보내기 Unified diff

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