Commit a80884b6 authored by suhuiguang's avatar suhuiguang

reafact(jg): 压力管道管道长度

1.压力管道管道长度调整为字符串/分隔开
parent 972d8d1a
......@@ -61,7 +61,7 @@ public class MetaHandler implements MetaObjectHandler {
private void processAutoFill(MetaObject metaObject, PipeLengthField pipeLengthField) {
Object sourceValue = metaObject.getValue(pipeLengthField.sourceField());
if (sourceValue != null && metaObject.hasGetter(pipeLengthField.sourceField()) && metaObject.hasGetter(pipeLengthField.targetField())) {
if (sourceValue != null) {
Object convertedValue = convertValue(sourceValue, pipeLengthField);
this.setFieldValByName(pipeLengthField.targetField(), convertedValue, metaObject);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment