mybatis BigDecimal Double Long 的坑爹事

写接口的时候别用 

public Map<String,Double> selectForRealRemainer(Orders orders);

用这样就行

public Map<String,NumberselectForYestoday(Map<String,String> params);

拿值的话类似这样就行了

map.get("xxx").doubleValue(); 

map.get("xxx").longValue(); 

...

 

posted on 2018-04-13 17:24  --LP--  阅读(6789)  评论(1编辑  收藏  举报

导航