md
This commit is contained in:
parent
e2baa7ee32
commit
5aef70e088
@ -114,6 +114,7 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
||||
class MultiDoThread implements Runnable {
|
||||
private List<EmisWaybill> dataList = null;
|
||||
private CountDownLatch latch = null;
|
||||
private String name;
|
||||
|
||||
public MultiDoThread(
|
||||
List<EmisWaybill> dataList,
|
||||
@ -122,6 +123,7 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
||||
){
|
||||
this.dataList = dataList;
|
||||
this.latch = latch;
|
||||
this.name=name;
|
||||
}
|
||||
|
||||
private void doData(){
|
||||
@ -136,12 +138,12 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
||||
}
|
||||
|
||||
long end4 = System.currentTimeMillis();
|
||||
log.info(name+" escape time xxxx666:" + (end4 - start) + "ms");
|
||||
log.info(this.name+" escape time xxxx666:" + (end4 - start) + "ms");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
log.debug(name+":Do profit thread start!");
|
||||
log.debug(this.name+":Do profit thread start!");
|
||||
try {
|
||||
doData();
|
||||
}catch(Exception ex){
|
||||
@ -149,7 +151,7 @@ public class EmisCommissionProfitServiceImpl extends EmisBaseService implements
|
||||
}
|
||||
|
||||
latch.countDown();
|
||||
log.debug(name+":Do profit thread thread end!");
|
||||
log.debug(this.name+":Do profit thread thread end!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user