问题原因
生产者传的日期navDate为 2020年4月30日 , 然后消费者接收为2020年4月29日
解决办法1 LocalDate
用LocalDate传输
navDate 是下面的格式
{"code": "0000","message": "查询机构公募资产信息成功","data": {"totalAssets": "3,934.73","totalProfit": "117.90","totalIncome": "0.00","list": [{"fundCode": "162213","fundValue": 3934.73,"floatProfit": 117.9,"yestIncome": 11.96,"navDate": {"year": 2020,"month": "APRIL","dayOfMonth": 30,"dayOfWeek": "THURSDAY","era": "CE","dayOfYear": 121,"leapYear": true,"monthValue": 4,"chronology": {"id": "ISO","calendarType": "iso8601"}},"fundName": "泰达宏利沪深300指数增强A","fundType": "5","fundTypeText": "指数型基金"}]}}
解决办法2 string格式传输….
{"code": "0000","message": "查询机构公募资产信息成功","data": {"totalAssets": "3,934.73","totalProfit": "117.90","totalIncome": "0.00","list": [{"fundCode": "162213","fundValue": 3934.73,"floatProfit": 117.9,"yestIncome": 11.96,"navDate": "2020-04-30","fundName": "泰达宏利沪深300指数增强A","fundType": "5","fundTypeText": "指数型基金"}]}}
