|
@@ -1,6 +1,7 @@
|
|
|
package com.gree.mall.manager.utils;
|
|
|
|
|
|
|
|
|
+import cn.hutool.core.date.DateUtil;
|
|
|
import com.gree.mall.manager.bean.admin.AdminWebsitBean;
|
|
|
import com.gree.mall.manager.commonmapper.WebsitMapper;
|
|
|
import com.gree.mall.manager.constant.DailyConstant;
|
|
@@ -127,6 +128,9 @@ public class CommonUtils {
|
|
|
if(StringUtils.isBlank(orderYear)){
|
|
|
return "";
|
|
|
}
|
|
|
+ if (String.valueOf(DateUtil.year(DateUtil.date())).equals(orderYear)) {
|
|
|
+ orderYear = "";
|
|
|
+ }
|
|
|
return orderYear;
|
|
|
}
|
|
|
|