xinli/重新编译.bat
2025-12-02 15:12:55 +08:00

35 lines
898 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
echo ========================================
echo 重新编译项目(应用档案查询修复)
echo ========================================
cd /d "%~dp0"
echo.
echo 正在清理并编译项目...
call mvn clean package -Dmaven.test.skip=true
if %ERRORLEVEL% EQU 0 (
echo.
echo ========================================
echo 编译成功!
echo ========================================
echo.
echo 编译后的jar文件位置
echo %~dp0ry-xinli-admin\target\ry-xinli-admin.jar
echo.
echo 请执行以下步骤:
echo 1. 停止当前运行的服务器
echo 2. 替换jar文件
echo 3. 重新启动服务器
echo 4. 然后再尝试导入数据
echo.
) else (
echo.
echo ========================================
echo 编译失败!请检查错误信息
echo ========================================
)
pause