rev:子卷出站只能出到上轴位
This commit is contained in:
@@ -117,6 +117,14 @@
|
|||||||
ivt.*
|
ivt.*
|
||||||
FROM
|
FROM
|
||||||
st_ivt_deliverypointivt ivt
|
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
|
WHERE
|
||||||
point_status = '02'
|
point_status = '02'
|
||||||
AND ivt.is_used = '1'
|
AND ivt.is_used = '1'
|
||||||
|
|||||||
Reference in New Issue
Block a user