프로젝트

일반

사용자정보

개정판 e174edf3

IDe174edf303fc86b9feb6d04a863c4209e995c90c
상위 1b2004ee
하위 ae8d6a25, 209d9028

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

add linno run filter

Change-Id: I052a80a9959cb3e8dfb33047d9aff86d2f9ff660

차이점 보기:

DTI_PID/DTI_PID/Shapes/EngineeringLineNoTextItem.py
735 735
            node.append(areaNode)
736 736

  
737 737
            for run in self.runs:
738
                node.append(run.toXml())
738
                if run and run.items:
739
                    node.append(run.toXml())
739 740
            
740 741
            attributeValueNode = Element('ASSOCIATIONS')
741 742
            for key, value in self._associations.items():
......
939 940
        @author     humkyung
940 941
        @date       2018.08.14
941 942
    '''
942

  
943 943
    def toSql_return_separately(self):
944 944
        import uuid
945 945
        from EngineeringAbstractItem import QEngineeringAbstractItem
......
1007 1007

  
1008 1008
        _index = 0
1009 1009
        for run in self.runs:
1010
            resLater.extend(run.to_sql(_index, self))
1011
            _index += 1
1010
            if run and run.items:
1011
                resLater.extend(run.to_sql(_index, self))
1012
                _index += 1
1012 1013

  
1013 1014
        return res, resLater
1014 1015

  
DTI_PID/DTI_PID/Shapes/QEngineeringTrimLineNoTextItem.py
49 49
            node.append(uidNode)
50 50

  
51 51
            for run in self.runs:
52
                node.append(run.toXml())
52
                if run and run.items:
53
                    node.append(run.toXml())
53 54
        except Exception as ex:
54 55
            return None
55 56

  
......
72 73

  
73 74
        _index = 1
74 75
        for run in self.runs:
75
            resLater.extend(run.to_sql(_index, self))
76
            _index += 1
76
            if run and run.items:
77
                resLater.extend(run.to_sql(_index, self))
78
                _index += 1
77 79

  
78 80
        return res, resLater
79 81

  

내보내기 Unified diff

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