CDATA 감쌈
This commit is contained in:
@@ -1047,7 +1047,7 @@
|
|||||||
SELECT 1 FROM shipment_log SL
|
SELECT 1 FROM shipment_log SL
|
||||||
WHERE SL.target_objid = T.PROJECT_NO
|
WHERE SL.target_objid = T.PROJECT_NO
|
||||||
AND SL.shipping_date IS NOT NULL
|
AND SL.shipping_date IS NOT NULL
|
||||||
AND SL.shipping_date >= TO_DATE(#{shippingDateFrom}, 'YYYY-MM-DD')
|
AND SL.shipping_date <![CDATA[>=]]> TO_DATE(#{shippingDateFrom}, 'YYYY-MM-DD')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="shippingDateTo != null and shippingDateTo != ''">
|
<if test="shippingDateTo != null and shippingDateTo != ''">
|
||||||
@@ -1055,7 +1055,7 @@
|
|||||||
SELECT 1 FROM shipment_log SL
|
SELECT 1 FROM shipment_log SL
|
||||||
WHERE SL.target_objid = T.PROJECT_NO
|
WHERE SL.target_objid = T.PROJECT_NO
|
||||||
AND SL.shipping_date IS NOT NULL
|
AND SL.shipping_date IS NOT NULL
|
||||||
AND SL.shipping_date <= TO_DATE(#{shippingDateTo}, 'YYYY-MM-DD') + INTERVAL '1 day'
|
AND SL.shipping_date <![CDATA[<=]]> TO_DATE(#{shippingDateTo}, 'YYYY-MM-DD') + INTERVAL '1 day'
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="shippingMethod != null and shippingMethod != ''">
|
<if test="shippingMethod != null and shippingMethod != ''">
|
||||||
@@ -1216,7 +1216,7 @@ ORDER BY T.REGDATE DESC, T.PROJECT_NO DESC
|
|||||||
SELECT 1 FROM shipment_log SL
|
SELECT 1 FROM shipment_log SL
|
||||||
WHERE SL.target_objid = T.PROJECT_NO
|
WHERE SL.target_objid = T.PROJECT_NO
|
||||||
AND SL.shipping_date IS NOT NULL
|
AND SL.shipping_date IS NOT NULL
|
||||||
AND SL.shipping_date >= TO_DATE(#{shippingDateFrom}, 'YYYY-MM-DD')
|
AND SL.shipping_date <![CDATA[>=]]> TO_DATE(#{shippingDateFrom}, 'YYYY-MM-DD')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="shippingDateTo != null and shippingDateTo != ''">
|
<if test="shippingDateTo != null and shippingDateTo != ''">
|
||||||
@@ -1224,7 +1224,7 @@ ORDER BY T.REGDATE DESC, T.PROJECT_NO DESC
|
|||||||
SELECT 1 FROM shipment_log SL
|
SELECT 1 FROM shipment_log SL
|
||||||
WHERE SL.target_objid = T.PROJECT_NO
|
WHERE SL.target_objid = T.PROJECT_NO
|
||||||
AND SL.shipping_date IS NOT NULL
|
AND SL.shipping_date IS NOT NULL
|
||||||
AND SL.shipping_date <= TO_DATE(#{shippingDateTo}, 'YYYY-MM-DD') + INTERVAL '1 day'
|
AND SL.shipping_date <![CDATA[<=]]> TO_DATE(#{shippingDateTo}, 'YYYY-MM-DD') + INTERVAL '1 day'
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="shippingMethod != null and shippingMethod != ''">
|
<if test="shippingMethod != null and shippingMethod != ''">
|
||||||
|
|||||||
@@ -1047,7 +1047,7 @@
|
|||||||
SELECT 1 FROM shipment_log SL
|
SELECT 1 FROM shipment_log SL
|
||||||
WHERE SL.target_objid = T.PROJECT_NO
|
WHERE SL.target_objid = T.PROJECT_NO
|
||||||
AND SL.shipping_date IS NOT NULL
|
AND SL.shipping_date IS NOT NULL
|
||||||
AND SL.shipping_date >= TO_DATE(#{shippingDateFrom}, 'YYYY-MM-DD')
|
AND SL.shipping_date <![CDATA[>=]]> TO_DATE(#{shippingDateFrom}, 'YYYY-MM-DD')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="shippingDateTo != null and shippingDateTo != ''">
|
<if test="shippingDateTo != null and shippingDateTo != ''">
|
||||||
@@ -1055,7 +1055,7 @@
|
|||||||
SELECT 1 FROM shipment_log SL
|
SELECT 1 FROM shipment_log SL
|
||||||
WHERE SL.target_objid = T.PROJECT_NO
|
WHERE SL.target_objid = T.PROJECT_NO
|
||||||
AND SL.shipping_date IS NOT NULL
|
AND SL.shipping_date IS NOT NULL
|
||||||
AND SL.shipping_date <= TO_DATE(#{shippingDateTo}, 'YYYY-MM-DD') + INTERVAL '1 day'
|
AND SL.shipping_date <![CDATA[<=]]> TO_DATE(#{shippingDateTo}, 'YYYY-MM-DD') + INTERVAL '1 day'
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="shippingMethod != null and shippingMethod != ''">
|
<if test="shippingMethod != null and shippingMethod != ''">
|
||||||
@@ -1216,7 +1216,7 @@ ORDER BY T.REGDATE DESC, T.PROJECT_NO DESC
|
|||||||
SELECT 1 FROM shipment_log SL
|
SELECT 1 FROM shipment_log SL
|
||||||
WHERE SL.target_objid = T.PROJECT_NO
|
WHERE SL.target_objid = T.PROJECT_NO
|
||||||
AND SL.shipping_date IS NOT NULL
|
AND SL.shipping_date IS NOT NULL
|
||||||
AND SL.shipping_date >= TO_DATE(#{shippingDateFrom}, 'YYYY-MM-DD')
|
AND SL.shipping_date <![CDATA[>=]]> TO_DATE(#{shippingDateFrom}, 'YYYY-MM-DD')
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="shippingDateTo != null and shippingDateTo != ''">
|
<if test="shippingDateTo != null and shippingDateTo != ''">
|
||||||
@@ -1224,7 +1224,7 @@ ORDER BY T.REGDATE DESC, T.PROJECT_NO DESC
|
|||||||
SELECT 1 FROM shipment_log SL
|
SELECT 1 FROM shipment_log SL
|
||||||
WHERE SL.target_objid = T.PROJECT_NO
|
WHERE SL.target_objid = T.PROJECT_NO
|
||||||
AND SL.shipping_date IS NOT NULL
|
AND SL.shipping_date IS NOT NULL
|
||||||
AND SL.shipping_date <= TO_DATE(#{shippingDateTo}, 'YYYY-MM-DD') + INTERVAL '1 day'
|
AND SL.shipping_date <![CDATA[<=]]> TO_DATE(#{shippingDateTo}, 'YYYY-MM-DD') + INTERVAL '1 day'
|
||||||
)
|
)
|
||||||
</if>
|
</if>
|
||||||
<if test="shippingMethod != null and shippingMethod != ''">
|
<if test="shippingMethod != null and shippingMethod != ''">
|
||||||
|
|||||||
Reference in New Issue
Block a user