优化测试
This commit is contained in:
parent
62602b7270
commit
cc4a8a628e
|
|
@ -60,16 +60,18 @@ public class SapMetaPrintTest {
|
|||
}
|
||||
}
|
||||
printTable(data);
|
||||
fields.forEach(field->{
|
||||
fields.forEach(this::print);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void print(JCoParameterField field) {
|
||||
print("★★ {}({}) 参数", field.getName(), field.getDescription());
|
||||
if (field.isTable()) {
|
||||
print(field.getTable().getRecordFieldIterator());
|
||||
} else if (field.isStructure()) {
|
||||
print(field.getStructure().getRecordFieldIterator());
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void print(JCoRecordFieldIterator iterator) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue