json 字符串处理

/**
* 上报信息
*/
@Schema(description="上报信息")
@TableField(typeHandler = JacksonTypeHandler.class)
private Object infos;

Map infos = (Map) financialEntity.getInfos();
if(infos.get("总产值") != null )
{
	String val = (String) infos.get("总产值");
	total = total.add(new BigDecimal(val));
}
posted @ 2024-05-28 14:59  寒冷的雨呢  阅读(1)  评论(0编辑  收藏  举报