Commit 95dfc9d4 authored by liufan's avatar liufan

优化:设备详情,属性值为空时不赋值到返回结果中

parent 5d613664
...@@ -861,7 +861,9 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste ...@@ -861,7 +861,9 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
} catch (IllegalAccessException e) { } catch (IllegalAccessException e) {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
result.put(underscoreFieldName.toUpperCase(), value); if(!ValidationUtil.isEmpty(value)){
result.put(underscoreFieldName.toUpperCase(), value);
}
} }
return result; return result;
} }
......
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