| | |
| | | } |
| | | traverse( columnXMLData,Elements,element,element.TrimBoth() <> "" ){ |
| | | data := manager.ExportXMLData( relnew, XML := element); |
| | | if( element.LikeUserLocale( "Product ID" )){ |
| | | data.Priority( 1 ); |
| | | }else if( element.LikeUserLocale( "产线" )){ |
| | | data.Priority( 1 ); |
| | | }else if( element.LikeUserLocale( "Attribute" )){ |
| | | data.Priority( 2 ); |
| | | }else if( element.LikeUserLocale( "产地" )){ |
| | | data.Priority( 3 ); |
| | | }else if( element.LikeUserLocale( "车型" )){ |
| | | data.Priority( 4 ); |
| | | }else if( element.LikeUserLocale( "发动机零件号" )){ |
| | | data.Priority( 5 ); |
| | | }else if( element.LikeUserLocale( "发动机四位码" )){ |
| | | data.Priority( 6 ); |
| | | }else{ |
| | | info( element ); |
| | | // <column><name>2020/04/01</name> |
| | | data.Priority( [Number]element.SubString( 14,10 ).ReplaceAll( "/","") ); |
| | | } |
| | | data.Priority( data.CalculatePriority( )); |
| | | } |
| | | *] |
| | | } |