|
|
|
@ -34,8 +34,8 @@ public class UpdateService {
|
|
|
|
|
public void upload() {
|
|
|
|
|
String uniUrl = "http://192.168.8.74";
|
|
|
|
|
List<CardInfo> cardInfos = null;
|
|
|
|
|
ExecutorService executor2 = Executors.newFixedThreadPool(50);
|
|
|
|
|
ExecutorService executor = Executors.newFixedThreadPool(30);
|
|
|
|
|
ExecutorService executor2 = Executors.newFixedThreadPool(20);
|
|
|
|
|
ExecutorService executor = Executors.newFixedThreadPool(60);
|
|
|
|
|
do {
|
|
|
|
|
try{
|
|
|
|
|
cardInfos = this.updateData();
|
|
|
|
@ -118,7 +118,7 @@ public class UpdateService {
|
|
|
|
|
dataQuery.updateBatchState(cardInfo,4);
|
|
|
|
|
log.error(commonResult.getMsg());
|
|
|
|
|
}
|
|
|
|
|
dataQuery.updateBatchState(cardInfo,4);
|
|
|
|
|
// dataQuery.updateBatchState(cardInfo,4);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
dataQuery.updateBatchState(cardInfo,4);
|
|
|
|
|
log.error(e.getMessage(),e);
|
|
|
|
|