摘要: 方式一:利用map的entrySet()方法 <insert id="XXX" parameterType="java.util.Map"> INSERT INTO table(a, b) VALUES <foreach collection="param.entrySet()" open="(" 阅读全文
posted @ 2020-07-02 14:33 山兮木 阅读(6116) 评论(0) 推荐(0) 编辑
摘要: 一 Map对象中的keySet()和entrySet() 1. keySet() public static void main(String[] args) { Map<String, String> map = new HashMap<String, String>(); map.put("01 阅读全文
posted @ 2020-07-02 14:30 山兮木 阅读(805) 评论(0) 推荐(0) 编辑
/* 看板娘 */