新增设备领用‘手动添加’窗口列表中的产品不会显示供应商名称

dev
黄泽腾 2 years ago
parent 384a0f54cc
commit 0a1f3ab488

@ -148,13 +148,14 @@
</select>
<select id="getMAInvProducts" resultType="com.glxp.api.res.inv.InvProductResponse">
select ip.id, bp.nameCode, bp.cpmctymc, bp.ggxh, ip.batchNo, ip.productionDate, ip.expireDate
select ip.id, bp.nameCode, bp.cpmctymc, bp.ggxh, ip.batchNo, ip.productionDate, ip.expireDate,basic_corp.name supName
from inv_product ip
left join inv_product_detail ipd
on ip.relIdFk = ipd.relId and
ifnull(ip.batchNo, 'empty') = ifnull(ipd.batchNo, 'empty')
left join basic_udirel bu on bu.id = ip.relIdFk
left join basic_products bp on bu.uuid = bp.uuid
left join basic_corp on ip.supId = basic_corp.erpId
<where>
(ip.inCount - ip.outCount) > 0
<if test="nameCode != null and nameCode != ''">

Loading…
Cancel
Save