修改添加项目接口
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user