利用hutool快速创建map MapUtil.builder(new HashMap<String,Object>()).put( "datePattern", "%Y-%m-%d") .put("startDate",startDate).put("endDate", endDate).build() JAVA 2024-01-05 39 点赞 0 评论 59 浏览