mybatis
文章平均质量分 74
wang_xiaozao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
mybatis 总结
前面写的关于 mybatis 的,进行总结的文章 include 主要针对 mybatis 中 sql 语句的复用,可以减少代码量,例如下: INSERT INTO tb_day_hold ( …… )VALUES ( …… ) <![CDATA[ ON DUPLICATE KEY UPDATE amount = amount原创 2017-10-19 11:07:16 · 333 阅读 · 0 评论 -
mybatis include choose when if
INSERT INTO tb_day_hold ( firm_account , seat_no , stock_account , exchange_type , stock_name , stock_code , amount , market_value , pos原创 2017-10-19 10:59:38 · 980 阅读 · 0 评论 -
mybatis if choose ifelse 使用
以下内容为mybatis查询数据库的时候,使用 if else 判断 使用if AND seat_no = #{seat_no} 个人没有找到 mybatis 中使用 if else 的情况,所以使用了 choose when 来替代 参考: …… ……原创 2017-10-18 15:21:45 · 28281 阅读 · 1 评论 -
mycat mybatis 调用存储过程&多语句操作
mycat结合mybatis调用存储过程 mycat调用存储过程,项目示例,已经测试通过的。 <select id="callArchiveData" parameterType="com.hundsun.cloudtrade.match.dto.req.CallArivateDataReq" resultType="com.hundsun.cloudtrade.match.dto.re原创 2017-10-23 10:58:31 · 2875 阅读 · 2 评论 -
foreach
<select id="getStatDetail" parameterType="com.huaxia.cai.center.collection.api.stub.dto.QueueStatDto" resultType="com.huaxia.cai.center.collection.api.stub.vo.QueueStatDetailVo"> select ...原创 2018-07-05 14:43:41 · 286 阅读 · 0 评论
分享