From 7a81ff93c6f6d7c2948e01b29107138e80af6907 Mon Sep 17 00:00:00 2001 From: chenlw <874313221@qq.com> Date: Thu, 3 Nov 2016 15:23:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=A1=AE=E8=AE=A4=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=85=A8=E6=9B=B4=E6=96=B0=E5=90=8E=EF=BC=8C=E6=94=B9?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=A0=87=E5=BF=97=E5=AD=97=E6=AE=B5=E4=B8=BA?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/platform/service/impl/CheckoutServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/platform/service/impl/CheckoutServiceImpl.java b/src/com/platform/service/impl/CheckoutServiceImpl.java index 192c5e47..b8e7d116 100644 --- a/src/com/platform/service/impl/CheckoutServiceImpl.java +++ b/src/com/platform/service/impl/CheckoutServiceImpl.java @@ -20,6 +20,7 @@ import com.platform.entities.DataInfoEntity; import com.platform.entities.PreDataInfo; import com.platform.service.ICheckoutService; import com.platform.utils.BeanCopy; +import com.platform.utils.Configs; import com.platform.utils.DateForm; @Service(value = "checkoutService") @@ -111,7 +112,7 @@ public class CheckoutServiceImpl implements ICheckoutService { } private int getMonBeforeHalfYear(int num){ - num -= 6; + num -= Configs.dataBefore; if (num <= 0) { num = num + 12; }