修改添加项目接口

This commit is contained in:
User_cyk committed 2023-07-11 14:05:33 +08:00
1 parent 4ead89764a
commit 9236b004ff
1 file changed
+1 -1
+1 -1
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) {