Commit 0e7be12c761564a72a8fd65f31fc4dc5ea8491df
1 parent
c6f8d82a
Update
Showing
1 changed file
with
28 additions
and
5 deletions
src/main/resources/datatools/ktrs/ttinfodetailDataOutputMetaData.ktr
| @@ -90,11 +90,11 @@ | @@ -90,11 +90,11 @@ | ||
| 90 | </info> | 90 | </info> |
| 91 | <notepads> | 91 | <notepads> |
| 92 | <notepad> | 92 | <notepad> |
| 93 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | ||
| 94 | - <xloc>165</xloc> | ||
| 95 | - <yloc>402</yloc> | ||
| 96 | - <width>333</width> | ||
| 97 | - <heigth>90</heigth> | 93 | + <note>TODO:如果groupby 加入bctype,
则以发车顺序号,班次类型分组的数据可能重复,
应为班次类型可能不一样(导入之后人为修改的,如正常班次改成区间),
因为导出时必须数据不重复,这里的解决方法,只使用发车顺序号分组,
以后建议,还是原来的方式分组,然后把更新时间晚的去除

以后改成去除重复纪录</note> |
| 94 | + <xloc>37</xloc> | ||
| 95 | + <yloc>309</yloc> | ||
| 96 | + <width>406</width> | ||
| 97 | + <heigth>122</heigth> | ||
| 98 | <fontname>YaHei Consolas Hybrid</fontname> | 98 | <fontname>YaHei Consolas Hybrid</fontname> |
| 99 | <fontsize>12</fontsize> | 99 | <fontsize>12</fontsize> |
| 100 | <fontbold>N</fontbold> | 100 | <fontbold>N</fontbold> |
| @@ -718,6 +718,29 @@ | @@ -718,6 +718,29 @@ | ||
| 718 | </GUI> | 718 | </GUI> |
| 719 | </step> | 719 | </step> |
| 720 | 720 | ||
| 721 | + <step> | ||
| 722 | + <name>去除重复记录</name> | ||
| 723 | + <type>Unique</type> | ||
| 724 | + <description/> | ||
| 725 | + <distribute>Y</distribute> | ||
| 726 | + <custom_distribution/> | ||
| 727 | + <copies>1</copies> | ||
| 728 | + <partitioning> | ||
| 729 | + <method>none</method> | ||
| 730 | + <schema_name/> | ||
| 731 | + </partitioning> | ||
| 732 | + <count_rows>N</count_rows> | ||
| 733 | + <count_field/> | ||
| 734 | + <reject_duplicate_row>N</reject_duplicate_row> | ||
| 735 | + <error_description/> | ||
| 736 | + <fields> </fields> <cluster_schema/> | ||
| 737 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | ||
| 738 | + <xloc>842</xloc> | ||
| 739 | + <yloc>592</yloc> | ||
| 740 | + <draw>Y</draw> | ||
| 741 | + </GUI> | ||
| 742 | + </step> | ||
| 743 | + | ||
| 721 | <step_error_handling> | 744 | <step_error_handling> |
| 722 | </step_error_handling> | 745 | </step_error_handling> |
| 723 | <slave-step-copy-partition-distribution> | 746 | <slave-step-copy-partition-distribution> |