guarantee-lsq 3 سال پیش
والد
کامیت
20cc9ba1e0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      platform-service/src/main/java/com/platform/service/workplace/impl/IndexServiceImpl.java

+ 1 - 1
platform-service/src/main/java/com/platform/service/workplace/impl/IndexServiceImpl.java

@@ -53,7 +53,7 @@ public class IndexServiceImpl implements IndexService {
         String userId = SecurityUtils.getUserInfo().getUserId();
         LocalDateTime now = LocalDateTime.now();
         int year = now.getYear();
-        int month = now.getDayOfMonth();
+        int month = now.getMonthValue();
         R r = R.success();
         switch (roleCode){
             case CommonConstants.WORKPLACE_REPAIR_NORMAL: