This commit is contained in:
2025-12-12 11:02:38 +08:00
parent 0d9008cf75
commit e2b81dbe21
2 changed files with 3 additions and 2 deletions

View File

@@ -207,9 +207,9 @@
<insert id="insertResource" parameterType="org.xyzh.common.dto.resource.TbResource"> <insert id="insertResource" parameterType="org.xyzh.common.dto.resource.TbResource">
INSERT INTO tb_resource ( INSERT INTO tb_resource (
id, resource_id, title, content, summary, cover_image, tag_id, author, source, is_audited, publish_time, id, resource_id, title, content, summary, cover_image, tag_id, author, source, is_audited, publish_time,
status,source_url, creator,create_time status, source_url, creator, create_time
) VALUES ( ) VALUES (
#{id}, #{resourceID}, #{title}, #{content}, #{summary}, #{coverImage}, #{tagID}, #{author}, #{source}, #{isAudited}, #{publishTime} #{id}, #{resourceID}, #{title}, #{content}, #{summary}, #{coverImage}, #{tagID}, #{author}, #{source}, #{isAudited}, #{publishTime},
#{status}, #{sourceUrl}, #{creator}, #{createTime} #{status}, #{sourceUrl}, #{creator}, #{createTime}
) )
</insert> </insert>

View File

@@ -45,6 +45,7 @@
</el-table> </el-table>
<el-pagination <el-pagination
class="pagination-container"
v-model:current-page="pageParam.pageNumber" v-model:current-page="pageParam.pageNumber"
v-model:page-size="pageParam.pageSize" v-model:page-size="pageParam.pageSize"
:total="total" :total="total"