修改添加项目接口
This commit is contained in:
@@ -289,7 +289,7 @@ public class projectDao {
|
|||||||
try {
|
try {
|
||||||
Connection conn = JdbcUtils.getConnection();
|
Connection conn = JdbcUtils.getConnection();
|
||||||
QueryRunner runner = new QueryRunner();
|
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);
|
num = runner.update(conn, sql,fileAddress,projectName);
|
||||||
conn.close();
|
conn.close();
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
|
Reference in New Issue
Block a user