// List<String> findBuildByProject(String prjName);

//单参数时使用<if></if>标签判断采用“_parameter”
<select id="findBuildByProject" parameterType="string" resultType="string">
select b.build_name
FROM
tb_project p inner join tb_build b on p.id = b.prj_id
<where>
<if test="_parameter != null and _parameter !=''">
and p.prj_name = #{_parameter}
</if>
</where>
order by b.id desc
</select>

最新文章

  1. IE、FF、Safari、OP不同浏览器兼容报告
  2. Java hour5
  3. JAVA学习方法
  4. CoHTMLDocument
  5. Protocol Buffer基本介绍
  6. ArcGIS Engine中的8种数据访问
  7. IOS中设置cell的背景view和选中时的背景view 、设置cell最右边的指示器(比如箭头\文本标签)
  8. cannot find module &#39;cordova-common&#39;
  9. iOS开发——Swift篇&amp;Swift关键字详细介绍
  10. SQL 2008存储图片和读取图片
  11. scheme一页纸教程
  12. Redis 开发规范
  13. Android 架构 -- Room
  14. 阿里云ubuntu 16.04搭建odoo11服务器
  15. win10 关闭屏幕自动亮度
  16. Jave Web阿里云短信服务发送验证码
  17. Luogu P4322 [JSOI2016]最佳团体
  18. docker存储volume
  19. 通过R语言统计考研英语(二)单词出现频率
  20. 004 爬虫(最初的爬虫方式,以及urllib2)

热门文章

  1. 并发工具CountDownLatch源码分析
  2. python去除字符串中间空格的方法
  3. UVAlive 3485 Bridge(抛物线弧长积分)
  4. opengl 单缓冲与双缓冲
  5. qt05 音乐播放器
  6. [python 学习] 类
  7. Python获取exe文件版本
  8. 前端之form表单与css(1)
  9. AWD
  10. HTTP通信安全和Web攻击技术