xiaoyong931011
2021-07-07 cfbedea43be63bdcdd056ae0ed932767dc6deef0
gc-user/src/main/java/com/xzx/gc/user/service/UserService.java
@@ -850,19 +850,19 @@
        List<Map<String, Object>> odlist = orderMapper.queryCuserOrderFinishList(userId, x);
        PageInfo<Map<String, Object>> pageInfo = new PageInfo<>(odlist);
        for (Map<String, Object> map : odlist) {
            map.put("money", DoubleUtil.roundTwo(map.get("money").toString()));
            map.put("weight", DoubleUtil.roundThree(map.get("weight").toString()));
            map.put("orderid", map.get("orderId").toString());
            map.put("createtime", map.get("createTime").toString());
//            map.put("orderid", map.get("orderId").toString());
//            map.put("address", map.get("address").toString());
//            map.put("status", map.get("status"));
//            map.put("type", map.get("type"));
//            map.put("money", DoubleUtil.roundTwo(map.get("money").toString()));
//            map.put("score", DoubleUtil.roundTwo(map.get("score").toString()));
//            map.put("weight", DoubleUtil.roundThree(map.get("weight").toString()));
//            map.put("name", map.get("name").toString());
//            map.put("orderid", map.get("orderId").toString());
//            map.put("createtime", map.get("createTime").toString());
            map.put("orderid", map.get("orderId").toString());
            map.put("address", map.get("address").toString());
            map.put("status", map.get("status"));
            map.put("type", map.get("type"));
            map.put("money", DoubleUtil.roundTwo(map.get("money").toString()));
            map.put("score", DoubleUtil.roundTwo(map.get("score").toString()));
            map.put("weight", DoubleUtil.roundThree(map.get("weight").toString()));
            map.put("name", map.get("name").toString());
            map.put("createtime", map.get("createTime").toString());
        }
        m.put("orderList", odlist);
        m.put("count", pageInfo.getTotal());