|
@@ -148,8 +148,8 @@ public class ES0013Service extends ES0013BaseModel implements ExecProcessFlow {
|
|
|
pcsc.andPidEqualTo(pid);
|
|
|
pcsc.andComIdNotEqualTo("-1");//排除模拟数据
|
|
|
List<EsProCom> epcList = pcdao.selectByExample(pcsb);
|
|
|
- int step = 0;
|
|
|
for(int i=0;i<epcList.size();i++){
|
|
|
+ int step = 0;
|
|
|
String fileName = epcList.get(i).getIdCode();
|
|
|
if(fileName.isEmpty()) continue;
|
|
|
fileName = fileName + epcList.get(i).getSer().toString();
|
|
@@ -171,8 +171,9 @@ public class ES0013Service extends ES0013BaseModel implements ExecProcessFlow {
|
|
|
String pcrId = insertIntoTbKey(data.get(j-1).get(k),data.get(j).get(k),jobId,comId,pcId);
|
|
|
keyList.add(pcrId);
|
|
|
}else if(j>1){
|
|
|
+ if(k==0)++step;
|
|
|
insertIntoTbValue(new BigDecimal(data.get(j).get(k)),jobId,Integer.valueOf(step),comId,keyList.get(k),pcId);
|
|
|
- ++step;
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
}
|