This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Merge pull request '#852 修改加入月份,如果不足1月,则使用1月' (
#853
) from zouap_static into V20211115
Reviewed-on:
https://git.openi.org.cn/OpenI/aiforge/pulls/853
Reviewed-by: lewis <747342561@qq.com>
pull/864/head
lewis
3 years ago
parent
585212aece
27b7b7a8bc
commit
62523c02a4
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
models/user_business_analysis.go
+ 3
- 0
models/user_business_analysis.go
View File
@@ -674,5 +674,8 @@ func subMonth(t1, t2 time.Time) (month int) {
}
monthInterval %= 12
month = yearInterval*12 + monthInterval
if month == 0 {
month = 1
}
return month
}
Write
Preview
Loading…
Cancel
Save