From 198dcf6db729708cabce548e49de416c7d1be124 Mon Sep 17 00:00:00 2001 From: zhangzhiguo <17621308561@163.com> Date: Sun, 15 Dec 2024 20:44:22 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=B8=8A=E6=B5=AE20%=E6=8E=A7=E5=88=B6=202.?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E5=BF=85=E5=A1=AB=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fs/plugin/form/PrepaybillContractPlugin.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/code/zcdev/zcgj-zcdev-zcdev-fs/src/main/java/zcgj/zcdev/zcdev/fs/plugin/form/PrepaybillContractPlugin.java b/code/zcdev/zcgj-zcdev-zcdev-fs/src/main/java/zcgj/zcdev/zcdev/fs/plugin/form/PrepaybillContractPlugin.java index 96d5a9a..2ce2163 100644 --- a/code/zcdev/zcgj-zcdev-zcdev-fs/src/main/java/zcgj/zcdev/zcdev/fs/plugin/form/PrepaybillContractPlugin.java +++ b/code/zcdev/zcgj-zcdev-zcdev-fs/src/main/java/zcgj/zcdev/zcdev/fs/plugin/form/PrepaybillContractPlugin.java @@ -55,11 +55,13 @@ public class PrepaybillContractPlugin extends AbstractBillPlugIn implements Plug for (DynamicObject entryObj : goodsEntities) { //获取合同签订日期 Date signdate = entryObj.getDate("signdate"); - LocalDate localDate = dateToLocalDate(signdate); - int signdateYear = localDate.getYear(); - int currentYear = LocalDate.now().getYear(); - if(signdateYear