同步字段的时候更新所有值
continuous-integration/drone/push Build is passing Details

pull/1/head
YXY 1 year ago
parent 1d622b6ed3
commit 74e86cc64a

@ -124,14 +124,14 @@ public class MultidimensionalTableMaintenanceRowOperate extends LarkAbstract {
rowRelation.setCreateTime(new Date());
rowRelation.setCreateBy("System");
rowRelation.setTableRowId(recordId);
rowRelation.setTableRelationId(getTableRelationId(tableValueMap));
String type = getTextFromObject(tableValueMap, "类型",Boolean.FALSE);
type = TableDetailRelationTypeEnum.getByCode(type);
rowRelation.setType(type != null ? type : TableDetailRelationTypeEnum.COL.getCode());
String subType = getTextFromObject(tableValueMap, "二级类型",Boolean.TRUE);
subType = TableDetailRelationTypeEnum.getByCode(subType);
rowRelation.setSubType(subType != null ? subType : TableDetailRelationTypeEnum.COL.getCode());
}
String type = getTextFromObject(tableValueMap, "类型",Boolean.FALSE);
type = TableDetailRelationTypeEnum.getByCode(type);
rowRelation.setType(type != null ? type : TableDetailRelationTypeEnum.COL.getCode());
String subType = getTextFromObject(tableValueMap, "二级类型",Boolean.TRUE);
subType = TableDetailRelationTypeEnum.getByCode(subType);
rowRelation.setSubType(subType != null ? subType : TableDetailRelationTypeEnum.COL.getCode());
rowRelation.setTableRelationId(getTableRelationId(tableValueMap));
rowRelation.setFromId(getTextFromObject(tableValueMap,"主表列",Boolean.FALSE));
rowRelation.setToId(getTextFromObject(tableValueMap,"副表列",Boolean.FALSE));
rowRelation.setRemark(getTextFromObject(tableValueMap,"备注",Boolean.TRUE));

Loading…
Cancel
Save