增加查看哪些产品没有
This commit is contained in:
@@ -121,4 +121,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
ORDER BY o.CUSTOMER_CODE, o.PRODUCT_CODE
|
||||
</select>
|
||||
|
||||
<!-- Order numbers for one upstream product under the same filters. -->
|
||||
<select id="selectTabOrderIdsByProduct" resultType="java.util.HashMap">
|
||||
SELECT o.ORDER_ID AS ORDER_ID,
|
||||
o.ORG_ORDER_ID AS ORG_ORDER_ID,
|
||||
o.TRANSFER_ORDER_ID AS TRANSFER_ORDER_ID,
|
||||
o.CUSTOMER_CODE AS CUSTOMER_CODE,
|
||||
o.PRODUCT_CODE AS PRODUCT_CODE,
|
||||
o.PRODUCT_NAME AS PRODUCT_NAME,
|
||||
o.PICKUP_DATE AS PICKUP_DATE
|
||||
FROM ${orderTable} o
|
||||
WHERE
|
||||
<include refid="tabOrderMonitorWhere"/>
|
||||
AND o.PRODUCT_CODE = #{query.productCode}
|
||||
ORDER BY o.PICKUP_DATE DESC, o.ORDER_ID DESC
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user