uat清单-51-上报库清单表头排序

This commit is contained in:
wangzhijiang
2023-02-17 17:00:42 +08:00
parent 0266227e3f
commit 98e9905be7
2 changed files with 21 additions and 4 deletions
@@ -197,3 +197,7 @@ MODIFY COLUMN `msg_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_c
MODIFY COLUMN `msg_content_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '消息详情(英文)' AFTER `msg_content`,
ADD COLUMN `msg_content_cn` text NULL COMMENT '消息内容(中文)' AFTER `msg_content_info`,
ADD COLUMN `msg_content_info_cn` text NULL COMMENT '消息内容(中文)' AFTER `msg_content_cn`;
-- 上报库-参数项查看页表头 责任领域更新为展示列表sql 2023-02-17 未同步生产环境
UPDATE `laws_weilai`.`onl_cgform_field` SET `is_show_list` = 1 WHERE `id` = 'c31d68e204960c073b1fb8126a443492';
@@ -594,10 +594,23 @@ public class ParamsReportDetailEOServiceImpl extends ServiceImpl<ParamsReportDet
map.put("orderNum",4);
}else if(StringUtils.equals("description",dbFieldName)){
map.put("orderNum",5);
}else {
map.put("orderNum",orderNumStart);
orderNumStart ++;
}else if(StringUtils.equals("duty_territory",dbFieldName)){
map.put("orderNum",orderNumStart + 1);
}else if(StringUtils.equals("sdt",dbFieldName)){
map.put("orderNum",orderNumStart + 2);
}else if(StringUtils.equals("dre",dbFieldName)){
map.put("orderNum",orderNumStart + 3);
}else if(StringUtils.equals("version",dbFieldName)){
map.put("orderNum",orderNumStart + 4);
}else if(StringUtils.equals("sync_time",dbFieldName)){
map.put("orderNum",orderNumStart + 5);
}else if(StringUtils.equals("remarks",dbFieldName)){
map.put("orderNum",orderNumStart + 6);
}
// else {
// map.put("orderNum",orderNumStart);
// orderNumStart ++;
// }
if(StringUtils.equals(dbFieldName,"nio_number")
||StringUtils.equals(dbFieldName,"sdt")
@@ -618,7 +631,7 @@ public class ParamsReportDetailEOServiceImpl extends ServiceImpl<ParamsReportDet
map.put("db_field_txt","Operator");
}
map.put("click4", true);
map.put("orderNum", orderNumStart);
map.put("orderNum", orderNumStart + 7);
list.add(map);
list = list.stream().sorted(