标签:get span http ring util equals NPU for getc
List<Input> list = new ArrayList<Input>();
for (int j = 0; j < 500; ) {
String materialBatch = String.valueOf(row.getCell(12+j));
String drugsNum = String.valueOf(row.getCell(13+j));
String materialName1 = String.valueOf(row.getCell(14+j));
// 如果后面没有参数了,直接跳转出来,不在进行循环
if (StringUtils.isBlank(materialBatch)
|| StringUtils.isBlank(materialName1)
|| "null".equalsIgnoreCase(materialBatch)
|| "null".equalsIgnoreCase(materialName1)) {
break;
}
j = j + 3;
if(!mesNodeNo.equals(‘0‘)){
Input input = new Input();
input.setMaterialName(materialName1);
input.setDrugsNum(drugsNum);
input.setMaterialBatch(materialBatch);
list.add(input);
}
}
投料信息可以有很多个,不断人工在后面添加即可
标签:get span http ring util equals NPU for getc
原文地址:https://www.cnblogs.com/zwh0910/p/13825809.html