fix:修复

dev_fifo_z
chenhc 6 months ago
parent b658e52810
commit 0e2df6ef30

@ -207,13 +207,13 @@
<select id="getListByFreightCodeView" resultType="com.glxp.api.res.basic.SysWorkplaceQueueViewResponse"> <select id="getListByFreightCodeView" resultType="com.glxp.api.res.basic.SysWorkplaceQueueViewResponse">
select swq.id,swq.code,swq.name,swq.layerCode ,lg.`red` , lg.`orange` , lg.`blue` , lg.`green`,bp.cpmctymc,swq.maxDrugCount select swq.id,swq.code,swq.name,swq.layerCode ,lg.`red` , lg.`orange` , lg.`blue` , lg.`green`,bp.cpmctymc,swq.maxDrugCount
,swq.remindCount,ifnull(a.reCount,0) as reCount ,swq.remindCount,ifnull(a.reCodeCount,0) as reCount
from sys_workplace_queue swq from sys_workplace_queue swq
LEFT JOIn io_collect_led_group lg ON lg.mac = swq.mac LEFT JOIn io_collect_led_group lg ON lg.mac = swq.mac
LEFT JOIn basic_udirel bu ON bu.id = swq.relId LEFT JOIn basic_udirel bu ON bu.id = swq.relId
LEFT JOIn basic_products bp on bu.uuid = bp.uuid and diType= 1 LEFT JOIn basic_products bp on bu.uuid = bp.uuid and diType= 1
LEFT JOIn ( LEFT JOIn (
select sum(reCount) as reCount,workPlaceQueueCode from io_split_fifo_inv isfi select sum(reCodeCount) as reCodeCount,workPlaceQueueCode from io_split_fifo_inv isfi
group by workPlaceQueueCode group by workPlaceQueueCode
) as a on a.workPlaceQueueCode = swq.code ) as a on a.workPlaceQueueCode = swq.code
<where> <where>

Loading…
Cancel
Save