Task7:Jira CNT-35779
一:重现问题。
二:debug解决问题
#1:debug
#2:搜索SearchViewExportAction.java
#3:
三:解决问题:
#1: 把label名字相同的field 的label名字改不同,
规则是:1:相同module: {module} + label 2:不同module:section name + fieldLabel
#2:修改后的结果
四:遇到的问题
#1:下载需求表
可以到 SmartCVS下载document,需求表在里面
#2:找该field(column)对应的module
打开itemMapping.xml ,根据queryId(listItemMaterials)找到对应的table,
select * from cnt_entity_definition where product_table_name = 'CNT_SPEC_MATERIAL';--根据表名查属于哪个module
#3:gen genPGSqlLabelSql.cmd 的时候,sql内容为空,导致label修改不成功
原因是我把output的路径改为"\output"了,gen完serachView接着就gen security,输出的内容会把需要的view.txt和system.txt覆盖了,导致gen label失败,因为label是需要view.txt的内容转换成sql的