|
|
|
@ -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(2);
|
|
|
|
|
ExecutorService executor = Executors.newFixedThreadPool(12);
|
|
|
|
|
ExecutorService executor2 = Executors.newFixedThreadPool(3);
|
|
|
|
|
ExecutorService executor = Executors.newFixedThreadPool(30);
|
|
|
|
|
do {
|
|
|
|
|
try{
|
|
|
|
|
cardInfos = this.updateData();
|
|
|
|
@ -98,7 +98,7 @@ public class UpdateService {
|
|
|
|
|
picture.getPickind(), cardInfo.getId(), cardInfo.getPatname(),
|
|
|
|
|
cardInfo.getIndateStr(), cardInfo.getPatsex(),cardInfo.getPatnum(),
|
|
|
|
|
cardInfo.getIcdecode11(),cardInfo.getIcdename11(), cardInfo.getMjwesticde(),cardInfo.getMjwestname(),
|
|
|
|
|
cardInfo.getOutdeptname(),cardInfo.getPatciticard(),cardInfo.getOutwardname(),cardInfo.getIndeptname(),cardInfo.getIndeptcode());
|
|
|
|
|
cardInfo.getOutdeptname(),cardInfo.getPatciticard(),cardInfo.getOutwardname(),cardInfo.getIndeptname(),cardInfo.getIndeptcode(),cardInfo.getGestno());
|
|
|
|
|
uploadInfos.add(uploadInfo);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|