Browse Source

补充申报方法

1 2 weeks ago
parent
commit
2b67b8e62f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      common/period.go

+ 4 - 0
common/period.go

@@ -427,3 +427,7 @@ func IsJdSb(period string) bool {
 	}
 	}
 	return false
 	return false
 }
 }
+
+func GetMonthEnd(t time.Time) time.Time {
+	return t.AddDate(0, 1, -t.Day())
+}