Commit 01ca2d39 by ThomasAdv

修复ex_json为{}入库问题

1 parent 9111845d
......@@ -310,7 +310,7 @@ public class DataReportRabbitMQConsumer {
valBuilder.append(convertAnalysisValue(normalField.getFieldValue())).append(",");
}
String exJsonStr = exJson.toJSONString();
if (exJson.size() > 0) {
if (exJson.size() > 0 && !"{}".equals(exJsonStr)) {
fieldBuilder.append("ex_json").append(",");
valBuilder.append("'").append(exJsonStr).append("'").append(",");
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!