rev:子卷出站只能出到上轴位

This commit is contained in:
2023-05-29 10:00:16 +08:00
parent 697df0c844
commit 5e01e14e0f

View File

@@ -117,6 +117,14 @@
ivt.*
FROM
st_ivt_deliverypointivt ivt
INNER JOIN (
SELECT
*
FROM
( SELECT RIGHT ( point_code, 1 ) AS goal_code, point_code FROM st_ivt_deliverypointivt ) a
WHERE
MOD ( goal_code, 2 ) = 1
) b ON b.point_code = ivt.point_code
WHERE
point_status = '02'
AND ivt.is_used = '1'