摘要:
【1】params params: 指定request中必须包含某些参数值是,才让该方法处理。 params 只是判断url 或者 form data 中的参数是否复合params的定义,并不会直接绑定数据到方法的参数中! 【2】@PathVariabl 绑定路径中的占位符参数到方法参数变量中; 只 阅读全文
posted @ 2017-11-15 19:34
爷的眼睛闪亮
阅读(314)
评论(0)
推荐(0)
摘要:
映射文件: <select id="selectKeyByUserId" resultMap="Xxx"> <![CDATA[ SELECT * FROM 表名1 where 1=1 <if test="userId!=0"> and ID=#{userId,jdbcType=NUMERIC}) < 阅读全文
posted @ 2017-11-15 19:18
爷的眼睛闪亮
阅读(13357)
评论(0)
推荐(0)
摘要:
1.迭代遍历:Set<String> set = new HashSet<String>();Iterator<String> it = set.iterator();while (it.hasNext()) { String str = it.next(); System.out.println( 阅读全文
posted @ 2017-11-15 16:59
爷的眼睛闪亮
阅读(64365)
评论(1)
推荐(3)
摘要:
https://www.blog-china.cn/template/documentHtml/1484101683485.html http://www.open-open.com/doc/list/324 阅读全文
posted @ 2017-11-15 11:28
爷的眼睛闪亮
阅读(511)
评论(0)
推荐(0)
摘要:
1.客户端client构建 package com.pz998.app.service.utils; import static org.elasticsearch.common.settings.Settings.settingsBuilder; import java.net.InetSoc 阅读全文
posted @ 2017-11-15 10:54
爷的眼睛闪亮
阅读(1007)
评论(0)
推荐(0)
浙公网安备 33010602011771号