Commit e2cbfad5 by 杨林龙

去掉电量显示多余的%

1 parent 7eec2b40
......@@ -1459,7 +1459,7 @@ public class VehicleService {
}.getType());
log.info("从大数据侧获取的电量为===" + JsonUtils.toJsonStr(powerDataList));
if (CollectionUtils.isNotEmpty(powerDataList)) {
df.setBatteryLevel(powerDataList.get(0).getSoc() + "%");
df.setBatteryLevel(powerDataList.get(0).getSoc() + "");
}
}
df.setStatus(1);
......
......@@ -47,7 +47,6 @@
AND tdf.status = 2
AND tdf.del_flag = 0
AND tv.del_flag = 0
AND tu.del_flag = 0
ORDER BY tdf.created_date DESC
</select>
</mapper>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!