保存进度
This commit is contained in:
@@ -68,11 +68,16 @@ public class CpicximToXMNHS
|
||||
String url = CpicximToXMNHS.url;
|
||||
String userName = CpicximToXMNHS.userName;
|
||||
String password = CpicximToXMNHS.password;
|
||||
String sql = """
|
||||
select info.psnName, info.certNo, info.serviceId, info.status, info.xyxNo
|
||||
from HmbXyxInfo info,
|
||||
HmbXyxInfo_Update u
|
||||
where info.xyxNo = u.xyxNo """;
|
||||
// String sql = """
|
||||
// select info.psnName, info.certNo, info.serviceId, info.status, info.xyxNo
|
||||
// from HmbXyxInfo info,
|
||||
// HmbXyxInfo_Update u
|
||||
// where info.xyxNo = u.xyxNo """;
|
||||
|
||||
String sql = "select info.psnName, info.certNo, info.serviceId, info.status, info.xyxNo \n" +
|
||||
" from HmbXyxInfo info, \n" +
|
||||
" HmbXyxInfo_Update u \n" +
|
||||
" where info.xyxNo = u.xyxNo";
|
||||
|
||||
connection = DriverManager.getConnection( url, userName, password );
|
||||
statement = connection.createStatement();
|
||||
@@ -160,8 +165,7 @@ public class CpicximToXMNHS
|
||||
String url = CpicximToXMNHS.url;
|
||||
String userName = CpicximToXMNHS.userName;
|
||||
String password = CpicximToXMNHS.password;
|
||||
String sql = """
|
||||
delete from HmbXyxInfo_Update where xyxNo = ?""";
|
||||
String sql = "delete from HmbXyxInfo_Update where xyxNo = ?";
|
||||
|
||||
connection = DriverManager.getConnection( url, userName, password );
|
||||
statement = connection.prepareStatement( sql.trim() );
|
||||
|
Reference in New Issue
Block a user