mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
查询sql优化
This commit is contained in:
parent
7024c37f9b
commit
5465eae791
2
pom.xml
2
pom.xml
@ -11,7 +11,7 @@
|
|||||||
<groupId>xyz.zinglizingli</groupId>
|
<groupId>xyz.zinglizingli</groupId>
|
||||||
<artifactId>fiction_hourse</artifactId>
|
<artifactId>fiction_hourse</artifactId>
|
||||||
<version>1.1</version>
|
<version>1.1</version>
|
||||||
<name>search</name>
|
<name>fiction_hourse</name>
|
||||||
<description>小说精品楼</description>
|
<description>小说精品楼</description>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -9,18 +9,16 @@ import org.springframework.scheduling.TaskScheduler;
|
|||||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||||
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
|
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
|
||||||
|
|
||||||
import java.io.UnsupportedEncodingException;
|
|
||||||
|
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
@EnableCaching
|
@EnableCaching
|
||||||
@EnableScheduling
|
@EnableScheduling
|
||||||
@MapperScan({"xyz.zinglizingli.*.mapper"})
|
@MapperScan({"xyz.zinglizingli.*.mapper"})
|
||||||
public class SearchApplication {
|
public class BookApplication {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|
||||||
|
|
||||||
SpringApplication.run(SearchApplication.class, args);
|
SpringApplication.run(BookApplication.class, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
@ -386,5 +386,6 @@
|
|||||||
</trim>
|
</trim>
|
||||||
</foreach>
|
</foreach>
|
||||||
</where>
|
</where>
|
||||||
|
limit 3
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
Loading…
x
Reference in New Issue
Block a user