mybatis
那一夜,我也曾梦见百万雄兵。
每一个不曾起舞的日子,都是对生命的辜负!
展开
-
mybatis 时间区间比较
Date类型 <if test="startTime != null and startTime != ''"> <![CDATA[ and g.create_time >= to_date(#{startTime,jdbcType=DATE},'yyyy-MM-dd hh24:mi:ss')]]> </if> <if test="endTime != null and endTi.原创 2020-08-19 22:35:53 · 158 阅读 · 0 评论 -
mybatis注解批量添加
mybatis注解使用批量添加 mybatis注解进行批量新增的时候 1.mapper 接口 @InsertProvider(type = SourcePackageImportSqlProvinder.class, method = "batchinsertRecommend") Integer batchInsertRecommend(@Param("recommendList")...原创 2019-12-06 10:57:51 · 336 阅读 · 0 评论