Mybatis 多条件查询
来源:互联网 发布:socket编程基础知识 编辑:程序博客网 时间:2024/06/04 18:45
<selectid="GetRecordCountByCondition1"parameterType="java.util.Map"resultType="int">
select count(*) from record where
<iftest="startime != null and startime != ''">
record_time>=#{startime} and
</if>
<iftest="stoptime != null and stoptime != ''">
record_time<![CDATA[ <= ]]>#{stoptime} and
</if>
<iftest="mintemp != null and mintemp != ''">
record_temp>=#{mintemp} and
</if>
<iftest="maxtemp != null and maxtemp != ''">
record_time<![CDATA[ <= ]]>#{maxtemp} and
</if>
record_p_pk=${id}
</select>
0 0
- MyBatis多条件查询
- Mybatis 多条件查询
- mybatis的多条件查询
- Mybatis 多条件动态查询
- mybatis collection 多条件查询
- mybatis多条件语句查询
- mybatis的多条件查询
- mybatis多条件的模糊查询解决方案
- mybatis中mysql多条件查询
- MyBatis--Map实现多条件查询
- MyBatis--索引号实现多条件查询
- mybatis中根据多条件list查询
- MyBatis级联多条件分页查询
- mybatis笔记-多条件动态查询
- mybatis 智能标签+多条件查询
- Mybatis 注解形式多条件查询
- Mybatis中动态sql(多条件查询)
- Mybatis多个条件的查询
- storm中acker占用线程设置
- 互联网架构“高并发”
- Warning: Cannot modify header information
- SQL 面试题
- LVS之二:负载均衡调度算法
- Mybatis 多条件查询
- 归并算法的Java实现
- jsp技术(四)—— EL表达式
- 本人第一篇博客
- linux设备树笔记__dts基本概念及语法
- 谈谈Android 6.0运行时权限理解
- Android Permission 机制
- LNMPA多域名SSL的配置
- js 字符串 转换成 数字 的方法