|
@@ -377,8 +377,12 @@ func GetFinishCount(params map[string]string, blockStarChain string, engine *xor |
|
|
if lvTime != nil && lvTime.Date.IsZero() == false { |
|
|
if lvTime != nil && lvTime.Date.IsZero() == false { |
|
|
stime = lvTime.Date.Format("2006-01-02") |
|
|
stime = lvTime.Date.Format("2006-01-02") |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
etime := t.Format("2006-01-02") |
|
|
etime := t.Format("2006-01-02") |
|
|
if params["is_view"] == "1" { |
|
|
if params["is_view"] == "1" { |
|
|
|
|
|
if lvTime == nil || (lvTime != nil && lvTime.Date.IsZero()) { |
|
|
|
|
|
stime = t.Format("2006-01-02") |
|
|
|
|
|
} |
|
|
etime = time.Date(t.Year(), t.Month(), t.Day()+1, 0, 0, 0, 0, t.Location()).Format("2006-01-02") |
|
|
etime = time.Date(t.Year(), t.Month(), t.Day()+1, 0, 0, 0, 0, t.Location()).Format("2006-01-02") |
|
|
} |
|
|
} |
|
|
_, days, activity := one_circles.CalcUserContinuousDailyActivityDays(engine, dbName, int(zhios_condition_statistics_utils.AnyToInt64(uid)), stime, etime) |
|
|
_, days, activity := one_circles.CalcUserContinuousDailyActivityDays(engine, dbName, int(zhios_condition_statistics_utils.AnyToInt64(uid)), stime, etime) |
|
|