build(global): 添加 .gitignore 并移除编译产物和依赖 JAR | 移除 target/ 目录和 wangpan-common/deps/ 下的依赖 JAR 文件,避免仓库体积过大导致推送失败(HTTP 413)
This commit is contained in:
parent
9a3ef4f1ca
commit
2b538c4520
24
.gitignore
vendored
Normal file
24
.gitignore
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
# 编译输出目录
|
||||
target/
|
||||
|
||||
# 依赖 JAR 包
|
||||
wangpan-common/deps/
|
||||
|
||||
# IDE 配置文件
|
||||
.idea/
|
||||
*.iml
|
||||
.vscode/
|
||||
.settings/
|
||||
.classpath
|
||||
.project
|
||||
|
||||
# 日志文件
|
||||
*.log
|
||||
/opt/wangpan/logs/
|
||||
|
||||
# 系统文件
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# 环境配置
|
||||
.env
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<!-- 网盘文件夹 Mapper XML:存放复杂SQL,简单CRUD由MyBatis-Plus BaseMapper自动提供 -->
|
||||
<mapper namespace="com.wangpan.common.dal.mapper.DriveFolderMapper">
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<!-- 网盘 Mapper XML:存放复杂SQL,简单CRUD由MyBatis-Plus BaseMapper自动提供 -->
|
||||
<mapper namespace="com.wangpan.common.dal.mapper.DriveMapper">
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<!-- 网盘电影 Mapper XML:存放复杂SQL,简单CRUD由MyBatis-Plus BaseMapper自动提供 -->
|
||||
<mapper namespace="com.wangpan.common.dal.mapper.DriveMovieMapper">
|
||||
|
||||
<!-- 查找用户所有网盘下的重复电影(按 title 分组,出现次数 > 1) -->
|
||||
<select id="findDuplicateMovies" resultType="java.util.Map">
|
||||
SELECT title, COUNT(*) AS cnt
|
||||
FROM wp_drive_movie
|
||||
WHERE user_id = #{userId} AND status = 'active'
|
||||
GROUP BY title
|
||||
HAVING COUNT(*) > 1
|
||||
ORDER BY cnt DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
Binary file not shown.
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<!-- 登录日志 Mapper XML:存放复杂SQL,简单CRUD由MyBatis-Plus BaseMapper自动提供 -->
|
||||
<mapper namespace="com.wangpan.common.dal.mapper.LoginLogMapper">
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
@ -1,39 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
|
||||
<!-- 电影 Mapper XML:存放复杂SQL,简单CRUD由MyBatis-Plus BaseMapper自动提供 -->
|
||||
<mapper namespace="com.wangpan.common.dal.mapper.MovieMapper">
|
||||
|
||||
<!-- 查找用户所有网盘下的重复电影(按 title 分组,出现次数 > 1) -->
|
||||
<select id="findDuplicateMovies" resultType="java.util.Map">
|
||||
SELECT title, COUNT(*) AS cnt
|
||||
FROM wp_drive_movie
|
||||
WHERE user_id = #{userId} AND status = 'active'
|
||||
GROUP BY title
|
||||
HAVING COUNT(*) > 1
|
||||
ORDER BY cnt DESC
|
||||
</select>
|
||||
|
||||
<!-- 查找所有配置了TMDB API Key的用户(供定时刮削使用) -->
|
||||
<select id="findUsersWithTmdbKey" resultType="java.util.Map">
|
||||
SELECT u.id, u.username
|
||||
FROM wp_user u
|
||||
WHERE u.tmdb_api_key IS NOT NULL
|
||||
AND u.tmdb_api_key != ''
|
||||
AND u.status = 1
|
||||
</select>
|
||||
|
||||
<!-- 查找指定用户需要刮削的电影(包含 scrape_type='none' 的未刮削电影) -->
|
||||
<select id="findMoviesNeedingScrape" resultType="com.wangpan.common.dal.dataobject.MovieDO">
|
||||
SELECT m.* FROM wp_drive_movie m
|
||||
LEFT JOIN wp_tmdb_cache c ON m.id = c.movie_id AND c.status = 'active'
|
||||
WHERE m.user_id = #{userId}
|
||||
AND m.title IS NOT NULL AND m.title != ''
|
||||
AND (c.id IS NULL OR c.cache_time < DATE_SUB(NOW(), INTERVAL #{expireDays} DAY))
|
||||
AND m.status = 'active'
|
||||
ORDER BY m.update_time DESC
|
||||
LIMIT 100
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user