From d708326083b06d9d33b22e23da864c0ab707b3e7 Mon Sep 17 00:00:00 2001 From: xuhaihui <2098865055@qq.com> Date: Mon, 4 Aug 2025 16:31:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zcdev/fs/plugin/operate/InvoiceDateValidatorSubOp.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/zcdev/zcgj-zcdev-zcdev-fs/src/main/java/zcgj/zcdev/zcdev/fs/plugin/operate/InvoiceDateValidatorSubOp.java b/code/zcdev/zcgj-zcdev-zcdev-fs/src/main/java/zcgj/zcdev/zcdev/fs/plugin/operate/InvoiceDateValidatorSubOp.java index e4c1f2a..3d73bb9 100644 --- a/code/zcdev/zcgj-zcdev-zcdev-fs/src/main/java/zcgj/zcdev/zcdev/fs/plugin/operate/InvoiceDateValidatorSubOp.java +++ b/code/zcdev/zcgj-zcdev-zcdev-fs/src/main/java/zcgj/zcdev/zcdev/fs/plugin/operate/InvoiceDateValidatorSubOp.java @@ -59,8 +59,8 @@ public class InvoiceDateValidatorSubOp extends AbstractOperationServicePlugIn { for (int i = 0; i < invoiceEntryCollection.size(); i++) { DynamicObject invoiceEntry = invoiceEntryCollection.get(i); int i1 = i + 1; -// Date currentDate = new Date();//当前日期 - Date currentDate = invoiceEntry.getDate("zcgj_invoicedate");//当前日期 + Date currentDate = new Date();//当前日期 +// Date currentDate = invoiceEntry.getDate("zcgj_invoicedate");//当前日期 Date invoiceDate = invoiceEntry.getDate("invoicedate");//开票日期 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); try {