MyBatisPlus数据库查询语句,大于等于、小于等于等等函数
【代码】MyBatisPlus数据库查询语句,大于等于、小于等于等等函数。
·
原符号 < <= > >= <>
对应函数 lt() le() gt() ge() ne()
Mybatis-plus写法: queryWrapper.ge("create_time", localDateTime);
Mybatis写法: where create_time >= #{localDateTime}
更多推荐
已为社区贡献1条内容
所有评论(0)