bug修改
This commit is contained in:
@@ -120,6 +120,7 @@ public class PointStatisticalDataServiceImpl extends ServiceImpl<RUploadPointSta
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(resultFlag.get()){
|
if(resultFlag.get()){
|
||||||
|
resultLog.append(" 上送" + list.size()+ "条数据成功;");
|
||||||
assUploadLog(localDate,resultLog,resultFlag);
|
assUploadLog(localDate,resultLog,resultFlag);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -212,7 +213,7 @@ public class PointStatisticalDataServiceImpl extends ServiceImpl<RUploadPointSta
|
|||||||
String result = mapData.get("result").toString();
|
String result = mapData.get("result").toString();
|
||||||
Map mapCount = JSON.parseObject(result, Map.class);
|
Map mapCount = JSON.parseObject(result, Map.class);
|
||||||
String count = mapCount.get("count").toString();
|
String count = mapCount.get("count").toString();
|
||||||
resultLog.append(" 上送" + start + "条至" + end + "条数据成功,返回成功条数: "+count+"; ");
|
|
||||||
} else {
|
} else {
|
||||||
resultFlag.set(false);
|
resultFlag.set(false);
|
||||||
String errors = mapData.get("errors").toString();
|
String errors = mapData.get("errors").toString();
|
||||||
|
|||||||
@@ -196,6 +196,7 @@ public class REvaluationDataServiceImpl extends ServiceImpl<RUploadEvaluationDat
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(resultFlag.get()){
|
if(resultFlag.get()){
|
||||||
|
resultLog.append(" 上送" + list.size()+ "条数据成功");
|
||||||
assUploadLog(localDate,resultLog,resultFlag);
|
assUploadLog(localDate,resultLog,resultFlag);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -652,7 +653,7 @@ public class REvaluationDataServiceImpl extends ServiceImpl<RUploadEvaluationDat
|
|||||||
String result = mapData.get("result").toString();
|
String result = mapData.get("result").toString();
|
||||||
Map mapCount = JSON.parseObject(result, Map.class);
|
Map mapCount = JSON.parseObject(result, Map.class);
|
||||||
String count = mapCount.get("count").toString();
|
String count = mapCount.get("count").toString();
|
||||||
resultLog.append(" 上送" + start + "条至" + end + "条数据成功,返回成功条数: "+count+"; ");
|
|
||||||
} else {
|
} else {
|
||||||
resultFlag.set(false);
|
resultFlag.set(false);
|
||||||
String errors = mapData.get("errors").toString();
|
String errors = mapData.get("errors").toString();
|
||||||
|
|||||||
@@ -114,6 +114,7 @@ public class RSubstationStatisticalDataServiceImpl extends ServiceImpl<RUploadSu
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(resultFlag.get()){
|
if(resultFlag.get()){
|
||||||
|
resultLog.append(" 上送" +list.size()+ "条数据成功;");
|
||||||
assUploadLog(localDate,resultLog,resultFlag);
|
assUploadLog(localDate,resultLog,resultFlag);
|
||||||
}
|
}
|
||||||
return "上送成功:成功数据" + list.size() + "条";
|
return "上送成功:成功数据" + list.size() + "条";
|
||||||
@@ -218,7 +219,7 @@ public class RSubstationStatisticalDataServiceImpl extends ServiceImpl<RUploadSu
|
|||||||
String result = mapData.get("result").toString();
|
String result = mapData.get("result").toString();
|
||||||
Map mapCount = JSON.parseObject(result, Map.class);
|
Map mapCount = JSON.parseObject(result, Map.class);
|
||||||
String count = mapCount.get("count").toString();
|
String count = mapCount.get("count").toString();
|
||||||
resultLog.append(" 上送" + start + "条至" + end + "条数据成功,返回成功条数: "+count+"; ");
|
|
||||||
} else {
|
} else {
|
||||||
resultFlag.set(false);
|
resultFlag.set(false);
|
||||||
String errors = mapData.get("errors").toString();
|
String errors = mapData.get("errors").toString();
|
||||||
|
|||||||
Reference in New Issue
Block a user