摘要:
方式一:利用map的entrySet()方法 <insert id="XXX" parameterType="java.util.Map"> INSERT INTO table(a, b) VALUES <foreach collection="param.entrySet()" open="(" 阅读全文
摘要:
一 Map对象中的keySet()和entrySet() 1. keySet() public static void main(String[] args) { Map<String, String> map = new HashMap<String, String>(); map.put("01 阅读全文