mirror of https://github.com/jeecgboot/jeecg-boot
Hotfix: Add missing shipping invoice number checks anywhere necessary
parent
c0d33758c1
commit
72f433d7b5
|
@ -258,7 +258,6 @@
|
||||||
JOIN shop as s
|
JOIN shop as s
|
||||||
ON po.shop_id = s.id
|
ON po.shop_id = s.id
|
||||||
WHERE po.shipping_invoice_number IS NULL
|
WHERE po.shipping_invoice_number IS NULL
|
||||||
AND po.order_time IS NOT NULL
|
|
||||||
AND po.erp_status IN
|
AND po.erp_status IN
|
||||||
<foreach
|
<foreach
|
||||||
collection="erpStatuses"
|
collection="erpStatuses"
|
||||||
|
@ -291,7 +290,6 @@
|
||||||
JOIN shop as s
|
JOIN shop as s
|
||||||
ON po.shop_id = s.id
|
ON po.shop_id = s.id
|
||||||
WHERE po.shipping_invoice_number IS NULL
|
WHERE po.shipping_invoice_number IS NULL
|
||||||
AND po.order_time IS NOT NULL
|
|
||||||
AND po.erp_status IN
|
AND po.erp_status IN
|
||||||
<foreach
|
<foreach
|
||||||
collection="erpStatuses"
|
collection="erpStatuses"
|
||||||
|
@ -487,6 +485,7 @@
|
||||||
#{warehouse}
|
#{warehouse}
|
||||||
</foreach>
|
</foreach>
|
||||||
AND po.shipping_time between #{startDate} AND #{endDate}
|
AND po.shipping_time between #{startDate} AND #{endDate}
|
||||||
|
AND po.shipping_invoice_number IS NULL
|
||||||
AND po.erp_status = 3;
|
AND po.erp_status = 3;
|
||||||
</select>
|
</select>
|
||||||
<select id="fetchUninvoicedShippedOrderIDInShopsAndOrderTime" resultType="org.jeecg.modules.business.entity.PlatformOrder">
|
<select id="fetchUninvoicedShippedOrderIDInShopsAndOrderTime" resultType="org.jeecg.modules.business.entity.PlatformOrder">
|
||||||
|
@ -516,6 +515,7 @@
|
||||||
#{warehouse}
|
#{warehouse}
|
||||||
</foreach>
|
</foreach>
|
||||||
AND po.order_time between #{startDate} AND #{endDate}
|
AND po.order_time between #{startDate} AND #{endDate}
|
||||||
|
AND po.shipping_invoice_number IS NULL
|
||||||
AND po.erp_status IN
|
AND po.erp_status IN
|
||||||
<foreach
|
<foreach
|
||||||
collection="erpStatuses"
|
collection="erpStatuses"
|
||||||
|
|
Loading…
Reference in New Issue