看板接口sql修改2

master
zhaoxiaolin 6 months ago
parent df6d74daca
commit 022205251c

@ -365,6 +365,7 @@
select t0.*,t.quantityFeedback from
(
select pow.workorder_code_sap workorderCodeSap,
pow.workorder_code workorderCode,
pow.product_name productName,
powb.batch_code batchCode,
powb.batch_quantity quantitySplit
@ -378,7 +379,7 @@
where CONVERT(varchar(10),feedback_time, 120) = CONVERT(varchar(10),GETDATE(), 120)
and del_flag = '0'
group by workorder_code,batch
)t on t0.workorderCodeSap = t.workorder_code and t0.batchCode = t.batch
)t on t0.workorderCode = t.workorder_code and t0.batchCode = t.batch
order by t0.batchCode
</select>
<select id="getHFProInfo" resultType="com.op.system.api.domain.dto.BoardDTO">

Loading…
Cancel
Save