|
|
|
@ -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());
|
|
|
|
|
}
|
|
|
|
|
rowRelation.setTableRelationId(getTableRelationId(tableValueMap));
|
|
|
|
|
rowRelation.setFromId(getTextFromObject(tableValueMap,"主表列",Boolean.FALSE));
|
|
|
|
|
rowRelation.setToId(getTextFromObject(tableValueMap,"副表列",Boolean.FALSE));
|
|
|
|
|
rowRelation.setRemark(getTextFromObject(tableValueMap,"备注",Boolean.TRUE));
|
|
|
|
|