修改添加项目接口

This commit is contained in:
cyk
2023-07-11 14:05:33 +08:00
parent 4ead89764a
commit 9236b004ff

View File

@@ -289,7 +289,7 @@ public class projectDao {
try {
Connection conn = JdbcUtils.getConnection();
QueryRunner runner = new QueryRunner();
String sql ="update project set fileAddress = ? where projectName = ? and isValid = 1";
String sql ="update project set fileAddress = ? where projectName = ? ";
num = runner.update(conn, sql,fileAddress,projectName);
conn.close();
} catch (SQLException e) {