|
@@ -403,8 +403,9 @@ public class TableServiceCmdService {
|
|
List<GenTableColumn> children = Lists.newArrayListWithCapacity(16);
|
|
List<GenTableColumn> children = Lists.newArrayListWithCapacity(16);
|
|
for (GenTableColumn column : columns) {
|
|
for (GenTableColumn column : columns) {
|
|
if (hrColumn.getId().equals(column.getHrParentId())) {
|
|
if (hrColumn.getId().equals(column.getHrParentId())) {
|
|
|
|
+ String columnName = column.getColumnName();
|
|
// handler column
|
|
// handler column
|
|
- if (json.containsKey(column.getColumnName())) {
|
|
|
|
|
|
+ if (json.containsKey(columnName)) {
|
|
handlerSysDictData(Collections.singletonList(json), Collections.singletonList(column));
|
|
handlerSysDictData(Collections.singletonList(json), Collections.singletonList(column));
|
|
handlerDate(Collections.singletonList(json), Collections.singletonList(column));
|
|
handlerDate(Collections.singletonList(json), Collections.singletonList(column));
|
|
handlerForeignKey(Collections.singletonList(json), Collections.singletonList(column));
|
|
handlerForeignKey(Collections.singletonList(json), Collections.singletonList(column));
|
|
@@ -413,7 +414,8 @@ public class TableServiceCmdService {
|
|
handlerAnnex(Collections.singletonList(json), Collections.singletonList(column));
|
|
handlerAnnex(Collections.singletonList(json), Collections.singletonList(column));
|
|
}
|
|
}
|
|
|
|
|
|
- column.setColumnValue(json.get(column.getColumnName()));
|
|
|
|
|
|
+ column.setReadonly(SubmitConstant.STATUS.equals(columnName));
|
|
|
|
+ column.setColumnValue(json.get(columnName));
|
|
column.setSysDictData((List<SysDictData>)json.get("sysDictData"));
|
|
column.setSysDictData((List<SysDictData>)json.get("sysDictData"));
|
|
}
|
|
}
|
|
|
|
|