|
|
@ -7,7 +7,7 @@ |
|
|
|
FROM |
|
|
|
EAS_NOBLE.V_UC_OUTINBILL |
|
|
|
WHERE DJZT = '提交' |
|
|
|
AND TO_DATE(cjsj, 'YYYY-MM-DD') >= TRUNC(SYSDATE) - INTERVAL '91' DAY(3) |
|
|
|
AND TO_DATE(cjsj, 'YYYY-MM-DD') >= TRUNC(SYSDATE) - INTERVAL '15' DAY(3) |
|
|
|
</select> |
|
|
|
<select id="selectSrmPageWithInventory" resultType="org.nl.wms.database.eas.dao.EasOutInBillDetail"> |
|
|
|
SELECT |
|
|
@ -19,7 +19,7 @@ |
|
|
|
DJZT = '未入库' |
|
|
|
AND CJSJ >= DATE_SUB( |
|
|
|
CURDATE(), |
|
|
|
INTERVAL 91 DAY) |
|
|
|
INTERVAL 15 DAY) |
|
|
|
</select> |
|
|
|
<select id="selectEasIds" resultType="org.nl.wms.database.eas.dao.EasOutInBillDetail"> |
|
|
|
SELECT |
|
|
@ -27,13 +27,13 @@ |
|
|
|
FROM |
|
|
|
EAS_NOBLE.V_UC_OUTINBILL |
|
|
|
WHERE DJZT = '提交' |
|
|
|
AND TO_DATE(cjsj, 'YYYY-MM-DD') >= TRUNC(SYSDATE) - INTERVAL '91' DAY(3) |
|
|
|
AND TO_DATE(cjsj, 'YYYY-MM-DD') >= TRUNC(SYSDATE) - INTERVAL '15' DAY(3) |
|
|
|
</select> |
|
|
|
<select id="selectSrmIds" resultType="org.nl.wms.database.eas.dao.EasOutInBillDetail"> |
|
|
|
SELECT |
|
|
|
FLID,DJID |
|
|
|
FROM V_WMS_INBILL_THIRD |
|
|
|
WHERE DJZT='未入库' AND CJSJ >= DATE_SUB(CURDATE(), INTERVAL 91 DAY) |
|
|
|
WHERE DJZT='未入库' AND CJSJ >= DATE_SUB(CURDATE(), INTERVAL 15 DAY) |
|
|
|
</select> |
|
|
|
<select id="selectByConditions" resultType="org.nl.wms.database.eas.dao.InventoryInfo"> |
|
|
|
SELECT |
|
|
|