提交 05a39804 作者: ZhangJingKun

问题修改

上级 c71f7415
...@@ -55,7 +55,7 @@ public interface CharacterBasicInfoMapper extends BaseMapper<CharacterBasicInfo> ...@@ -55,7 +55,7 @@ public interface CharacterBasicInfoMapper extends BaseMapper<CharacterBasicInfo>
"LEFT JOIN character_category_structure c " + "LEFT JOIN character_category_structure c " +
"ON b.type_id = c.id " + "ON b.type_id = c.id " +
"where 1=1 " + "where 1=1 " +
"and (b.status != 0 or b.status IS NULL)" + "and (b.status = 1 or b.status IS NULL)" +
"and b.check_result = 1 " + "and b.check_result = 1 " +
"and a.name = #{name} " + "and a.name = #{name} " +
"and a.id != #{id} " + "and a.id != #{id} " +
......
...@@ -20,7 +20,7 @@ public interface CharacterTagMapMapper extends BaseMapper<CharacterTagMap> { ...@@ -20,7 +20,7 @@ public interface CharacterTagMapMapper extends BaseMapper<CharacterTagMap> {
@Select("select " + @Select("select " +
"GROUP_CONCAT(a.tag_id SEPARATOR ',') as tag_id, GROUP_CONCAT(b.name SEPARATOR ',') as tag_name " + "GROUP_CONCAT(a.tag_id SEPARATOR ',') as tag_id, GROUP_CONCAT(b.name SEPARATOR ',') as tag_name " +
"from character_tag_map a " + "from character_tag_map a " +
"LEFT JOIN character_tag b " + "LEFT JOIN label_entity b " +
"on a.tag_id = b.id " + "on a.tag_id = b.id " +
"where 1=1 " + "where 1=1 " +
"and a.character_uid = #{uid}" + "and a.character_uid = #{uid}" +
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<!--日志文件输出的文件名 --> <!--日志文件输出的文件名 -->
<FileNamePattern>${LOG_HOME}/leader-%d{yyyy-MM-dd}.%i.log</FileNamePattern> <FileNamePattern>${LOG_HOME}/leader-%d{yyyy-MM-dd}.%i.log</FileNamePattern>
<!--日志文件保留天数 --> <!--日志文件保留天数 -->
<MaxHistory>10</MaxHistory> <MaxHistory>30</MaxHistory>
<maxFileSize>10MB</maxFileSize> <maxFileSize>10MB</maxFileSize>
</rollingPolicy> </rollingPolicy>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
LEFT JOIN character_category_structure c LEFT JOIN character_category_structure c
ON b.type_id = c.id ON b.type_id = c.id
where 1 = 1 where 1 = 1
and (b.status != 0 or b.status IS NULL) and (b.status = 1 or b.status IS NULL)
AND b.article_id like '%${articleId}%' AND b.article_id like '%${articleId}%'
<if test="checkResult != null and checkResult != ''"> <if test="checkResult != null and checkResult != ''">
AND b.check_result in ${checkResult} AND b.check_result in ${checkResult}
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
) d ) d
on d.character_uid = a.uid on d.character_uid = a.uid
where 1 = 1 where 1 = 1
and (b.status != 0 or b.status IS NULL) and (b.status =1 or b.status IS NULL)
order by b.id order by b.id
limit #{offset}, #{pageSize} limit #{offset}, #{pageSize}
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
) d ) d
on d.character_uid = a.uid on d.character_uid = a.uid
where 1 = 1 where 1 = 1
and (b.status != 0 or b.status IS NULL) and (b.status = 1 or b.status IS NULL)
</select> </select>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论