11/28 优化

dev_unify
wangwei 4 months ago
parent 559d6e5197
commit 9d0c16cb86

@ -757,7 +757,7 @@ public class IoAddInoutService {
// ioOrderDetailCodeEntity.setSpec(StrUtil.isEmpty(udiRelevanceResponse.getGgxh()) ? "" : udiRelevanceResponse.getBzgg());
ioOrderDetailCodeEntity.setSpec(StrUtil.isEmpty(udiRelevanceResponse.getGgxh()) ? udiRelevanceResponse.getBzgg() : udiRelevanceResponse.getGgxh());
ioOrderDetailCodeEntity.setSupId(codeTempEntity.getSupId());
ioOrderDetailCodeEntity.setProductType(codeTempEntity.getProductType());
ioOrderDetailCodeEntity.setProductType(orderEntity.getProductType());
if (codeTempEntity.getPrice() == null) {
ioOrderDetailCodeEntity.setPrice(udiRelevanceResponse.getPrice());

@ -7,7 +7,8 @@
bp.prepnUnit,
bp.prepnSpec,
bp.packUnit,
(select `name` from basic_corp where erpId = io_order_detail_code.supId) supName
bp.ggxh,
(select `name` from basic_corp where erpId = io_order_detail_code.supId) supName
from io_order_detail_code
left join basic_udirel bu on bu.id = io_order_detail_code.bindRlFk
left join basic_products bp on bp.uuid = bu.uuid

Loading…
Cancel
Save