Metrics
0
Watch 1K Star 2.9K Fork 1.6K

GVPlcg0124 / bootdoJavaApache-2.0

Merged
!47 合并develop

lcg0124:developlcg0124:master

lcg0124 Created on: 2019-01-25 18:42

No description.

0 comments, 1 participants 1204498_lcg0124

Show action logs Hide action logs
lcg0124 merged Pull Request 2019-01-25 18:43

Sign in and comment

2019-01-25

(1)
lcg0124 committed 2019-01-25 10:42
1 changed files ,commit stats: +2 -2
bootdo/src/main/resources/mybatis/blog/ContentMapper.xml
@@ -4,11 +4,11 @@
<mapper namespace="com.bootdo.blog.dao.ContentDao">
<select id="get" resultType="com.bootdo.blog.domain.ContentDO">
select `cid`,`title`,`slug`,`created`,`modified`,`type`,`tags`,`categories`,`hits`,`comments_num`,`allow_comment`,`allow_ping`,`allow_feed`,`status`,`author`,`gtm_create`,`gtm_modified` from blog_content where cid = #{value}
select `cid`,`title`,`slug`,`created`,`modified`,`content`,`type`,`tags`,`categories`,`hits`,`comments_num`,`allow_comment`,`allow_ping`,`allow_feed`,`status`,`author`,`gtm_create`,`gtm_modified` from blog_content where cid = #{value}
</select>
<select id="list" resultType="com.bootdo.blog.domain.ContentDO">
select `cid`,`title`,`slug`,`created`,`modified`,`content`,`type`,`tags`,`categories`,`hits`,`comments_num`,`allow_comment`,`allow_ping`,`allow_feed`,`status`,`author`,`gtm_create`,`gtm_modified` from blog_content
select `cid`,`title`,`slug`,`created`,`modified`,`type`,`tags`,`categories`,`hits`,`comments_num`,`allow_comment`,`allow_ping`,`allow_feed`,`status`,`author`,`gtm_create`,`gtm_modified` from blog_content
<where>
<if test="cid != null and cid != ''"> and cid = #{cid} </if>
<if test="title != null and title != ''"> and title = #{title} </if>
Java
1
https://gitee.com/lcg0124/bootdo.git
git@gitee.com:lcg0124/bootdo.git
lcg0124
bootdo
bootdo

Help Search