集成分表框架sharding-jdbc,内容表拆分

This commit is contained in:
xiongxiaoyang
2020-06-03 08:44:21 +08:00
parent 47b871909f
commit c66905fbea
14 changed files with 144 additions and 10 deletions

View File

@ -266,7 +266,7 @@ int insert(org.mybatis.dynamic.sql.insert.render.InsertStatementProvider&lt
<pre>@Generated(value="org.mybatis.generator.api.MyBatisGenerator")
@SelectProvider(type=org.mybatis.dynamic.sql.util.SqlProviderAdapter.class,
method="select")
@Results(id="NewsResult",value={@Result(column="id",property="id",jdbcType=BIGINT,id=true),@Result(column="cat_id",property="catId",jdbcType=INTEGER),@Result(column="cat_name",property="catName",jdbcType=VARCHAR),@Result(column="source_name",property="sourceName",jdbcType=VARCHAR),@Result(column="title",property="title",jdbcType=VARCHAR),@Result(column="create_time",property="createTime",jdbcType=TIMESTAMP),@Result(column="create_user_id",property="createUserId",jdbcType=BIGINT),@Result(column="update_time",property="updateTime",jdbcType=TIMESTAMP),@Result(column="update_user_id",property="updateUserId",jdbcType=BIGINT),@Result(column="content",property="content",jdbcType=LONGVARCHAR)})
@Results(id="NewsResult",value={@Result(column="id",property="id",jdbcType=BIGINT,id=true),@Result(column="cat_id",property="catId",jdbcType=INTEGER),@Result(column="cat_name",property="catName",jdbcType=VARCHAR),@Result(column="source_name",property="sourceName",jdbcType=VARCHAR),@Result(column="title",property="title",jdbcType=VARCHAR),@Result(column="create_time",property="createTime",jdbcType=TIMESTAMP),@Result(column="create_user_id",property="createUserId",jdbcType=BIGINT),@Result(column="update_time",property="updateTime",jdbcType=TIMESTAMP),@Result(column="update_user_id",property="updateUserId",jdbcType=BIGINT),@Result(column="content",property="content",jdbcType=VARCHAR)})
java.util.List&lt;<a href="../../../../../com/java2nb/novel/news/entity/News.html" title="com.java2nb.novel.news.entity中的类">News</a>&gt;&nbsp;selectMany(org.mybatis.dynamic.sql.select.render.SelectStatementProvider&nbsp;selectStatement)</pre>
</li>
</ul>