Mybatis动态SQL如何编写长尾词?
- 内容介绍
- 文章标签
- 相关推荐
本文共计688个文字,预计阅读时间需要3分钟。
t.text +=1;if (条件) { // 将会做的有条件的事情包含在where语句中 // 例如: // select * from tb_employee where state='active' and id=...
t.text1.if
通过if把会做的事情有条件的包含在where里面,例子:
select * from tb_employee where state='active'
本文共计688个文字,预计阅读时间需要3分钟。
t.text +=1;if (条件) { // 将会做的有条件的事情包含在where语句中 // 例如: // select * from tb_employee where state='active' and id=...
t.text1.if
通过if把会做的事情有条件的包含在where里面,例子:
select * from tb_employee where state='active'

