feat: 优化代码生成及文案模板渲染
This commit is contained in:
@@ -91,6 +91,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<include refid="selectAppBlogArticleVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="selectAppBlogArticleByTitle" parameterType="String" resultMap="AppBlogArticleResult">
|
||||
<include refid="selectAppBlogArticleVo"/>
|
||||
where title = #{title}
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
<insert id="insertAppBlogArticle" parameterType="AppBlogArticle" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into app_blog_article
|
||||
@@ -168,4 +174,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user