fix:修复定时拉取生成收费

lh_dev_fifo
chenhc 7 months ago
parent d8e3f98355
commit c780a22859

@ -1629,18 +1629,13 @@ public class ThrInvOrderServiceImpl implements ThrInvOrderService {
} }
} }
Integer count;
if (ConstantType.TYPE_PUT.equals(mainAction)) {
count = IntUtil.value(item.getInCount());
} else {
count = IntUtil.value(item.getOutCount());
}
ThrInvOrderDetail thrInvOrderDetail = new ThrInvOrderDetail(); ThrInvOrderDetail thrInvOrderDetail = new ThrInvOrderDetail();
BeanUtils.copyProperties(item, thrInvOrderDetail); BeanUtils.copyProperties(item, thrInvOrderDetail);
thrInvOrderDetail.setOrderIdFk(billNo); thrInvOrderDetail.setOrderIdFk(billNo);
thrInvOrderDetail.setRelId(relId); thrInvOrderDetail.setRelId(relId);
thrInvOrderDetail.setThrCode(thrCode); thrInvOrderDetail.setThrCode(thrCode);
thrInvOrderDetail.setReCount(String.valueOf(count)); thrInvOrderDetail.setReCount(item.getReCount());
if (udiRelevanceEntity != null) { if (udiRelevanceEntity != null) {
String uuid = udiRelevanceEntity.getUuid(); String uuid = udiRelevanceEntity.getUuid();

Loading…
Cancel
Save