
mybatis
danchejikafo
君不见,黄河之水天上来,奔流到海不复回。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
insert新建对象后,返回主键值
举例子: @Insert("insert into p_exchange_prop_log (userid,from_propid,to_propid,type,`describe`,`status`," + "exchange_time,real_user_name,real_moblie_phone,real_shipping_address,match_id)" + "values(#原创 2016-03-23 16:48:39 · 4339 阅读 · 0 评论 -
mybatis注解方式写 in语句
/** * @param detailIds'1,2,3' */ @Update("update web_1rmb_snatch_detail set status = 2 where id in (${detailIds})") public void setStatus(@Param("detailIds")String detailIds) throws Excepti原创 2016-10-27 20:12:52 · 7057 阅读 · 0 评论