|
|
|
@ -658,9 +658,15 @@ public class ZaxyyClient extends CommonHttpClient {
|
|
|
|
|
itemDTO.setNameCode(StrUtil.sub(code, 2, 16));
|
|
|
|
|
itemDTO.setCode(StrUtil.sub(code, 16, code.length()));
|
|
|
|
|
}
|
|
|
|
|
itemDTO.setCount(codeDetaiEntity.getCount());
|
|
|
|
|
itemDTOS.add(itemDTO);
|
|
|
|
|
|
|
|
|
|
if (IntUtil.value(codeDetaiEntity.getCount()) > 1) {
|
|
|
|
|
for (int i = 0; i < codeDetaiEntity.getCount(); i++) {
|
|
|
|
|
itemDTO.setCount(1);
|
|
|
|
|
itemDTOS.add(itemDTO);
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
itemDTO.setCount(codeDetaiEntity.getCount());
|
|
|
|
|
itemDTOS.add(itemDTO);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|