|
@@ -320,6 +320,8 @@ public class NCServiceImpl implements NCService {
|
|
resultSet = statement.executeQuery(sql);
|
|
resultSet = statement.executeQuery(sql);
|
|
|
|
|
|
while (resultSet.next()) {
|
|
while (resultSet.next()) {
|
|
|
|
+ log.info("结果集数据数量:{},",resultSet.getFetchSize());
|
|
|
|
+
|
|
// if (ObjectUtil.isNotNull(resultSet.getString("xmcode"))){
|
|
// if (ObjectUtil.isNotNull(resultSet.getString("xmcode"))){
|
|
Map hashMap = new HashMap();
|
|
Map hashMap = new HashMap();
|
|
|
|
|
|
@@ -364,7 +366,7 @@ public class NCServiceImpl implements NCService {
|
|
// 获取当前年
|
|
// 获取当前年
|
|
int year = lastMonth.getYear();
|
|
int year = lastMonth.getYear();
|
|
String month = String.format("%02d",lastMonth.getMonthValue()) ;
|
|
String month = String.format("%02d",lastMonth.getMonthValue()) ;
|
|
- deleteMonthDate("FORM-5654B7C22E7546E9BBE7B4EF46DE08BAXZXU","textField_m0dkzhwo", String.valueOf(year),month);
|
|
|
|
|
|
+ deleteMonthDate("FORM-0A7979E168AF494F9AA190F043DCBBC7CW9Z","textField_m0dkzhwo", String.valueOf(year),month);
|
|
|
|
|
|
System.out.println(month);
|
|
System.out.println(month);
|
|
Connection connection = null;
|
|
Connection connection = null;
|
|
@@ -1949,7 +1951,8 @@ public class NCServiceImpl implements NCService {
|
|
resultSet = statement.executeQuery(sql);
|
|
resultSet = statement.executeQuery(sql);
|
|
|
|
|
|
while (resultSet.next()) {
|
|
while (resultSet.next()) {
|
|
- if (ObjectUtil.isNotNull(resultSet.getString("xmcode"))){
|
|
|
|
|
|
+ log.info("结果集数据数量:{},",resultSet.getFetchSize());
|
|
|
|
+// if (ObjectUtil.isNotNull(resultSet.getString("xmcode"))){
|
|
Map hashMap = new HashMap();
|
|
Map hashMap = new HashMap();
|
|
|
|
|
|
String yearAndNonth = year +"-"+month;
|
|
String yearAndNonth = year +"-"+month;
|
|
@@ -1972,7 +1975,7 @@ public class NCServiceImpl implements NCService {
|
|
.formDataJson(JSON.toJSONString(hashMap))
|
|
.formDataJson(JSON.toJSONString(hashMap))
|
|
.build(), YDConf.FORM_OPERATION.create);
|
|
.build(), YDConf.FORM_OPERATION.create);
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+// }
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
log.info("数据库连接异常"+e.toString());
|
|
log.info("数据库连接异常"+e.toString());
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
@@ -1993,7 +1996,7 @@ public class NCServiceImpl implements NCService {
|
|
|
|
|
|
String year = data.get("year").toString();
|
|
String year = data.get("year").toString();
|
|
String month = data.get("month").toString();
|
|
String month = data.get("month").toString();
|
|
- deleteMonthDate("FORM-5654B7C22E7546E9BBE7B4EF46DE08BAXZXU","textField_m0dkzhwo", year,month);
|
|
|
|
|
|
+ deleteMonthDate("FORM-0A7979E168AF494F9AA190F043DCBBC7CW9Z","textField_m0dkzhwo", year,month);
|
|
|
|
|
|
System.out.println(month);
|
|
System.out.println(month);
|
|
Connection connection = null;
|
|
Connection connection = null;
|