From 39bcf1df0f242149e2201cbf0752e7a11a08fa43 Mon Sep 17 00:00:00 2001 From: baoge <751575283@qq.com> Date: Fri, 10 May 2024 21:57:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Did=E4=B8=BA=E4=B8=BB?= =?UTF-8?q?=E9=94=AE=E7=9A=84bug=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nl/wms/database/eas/dao/EasOutInBill.java | 10 +++-- .../eas/dao/xml/EasOutInBillDetailMapper.xml | 8 ++-- .../service/impl/EasOutInBillServiceImpl.java | 45 +++++++++++-------- .../org/nl/wms/schedule/EasBillSchedule.java | 5 +-- 4 files changed, 38 insertions(+), 30 deletions(-) diff --git a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/EasOutInBill.java b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/EasOutInBill.java index 5328299..968cf88 100644 --- a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/EasOutInBill.java +++ b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/EasOutInBill.java @@ -25,15 +25,17 @@ public class EasOutInBill extends Model { private static final long serialVersionUID = -7739291296662381393L; - /** * eas单据id */ - @TableId(value = "id", type = IdType.NONE) - private String id; + @TableId(value = "djid", type = IdType.NONE) + private String djid; - private String djid; + /** + * id + */ + private String id; /** diff --git a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/EasOutInBillDetailMapper.xml b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/EasOutInBillDetailMapper.xml index 5ca2c00..7d8975d 100644 --- a/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/EasOutInBillDetailMapper.xml +++ b/nlsso-server/src/main/java/org/nl/wms/database/eas/dao/xml/EasOutInBillDetailMapper.xml @@ -7,7 +7,7 @@ FROM EAS_NOBLE.V_UC_OUTINBILL WHERE DJZT = '提交' - AND TO_DATE(cjsj, 'YYYY-MM-DD') >= TRUNC(SYSDATE) - INTERVAL '15' DAY(3) + AND TO_DATE(cjsj, 'YYYY-MM-DD') >= TRUNC(SYSDATE) - INTERVAL '91' DAY(3)