|
|
@@ -188,7 +188,7 @@ func (u UserDb) UserExistByParams(params map[string]interface{}) (bool, error) { |
|
|
|
} |
|
|
|
|
|
|
|
func (u UserDb) UserCountByDate(startAt, endAt string) (int64, error) { |
|
|
|
count, err := u.Db.Where("create_at >= ?", startAt).And("create_at =< ?", endAt).Count(&model.User{}) |
|
|
|
count, err := u.Db.Where("create_at >= ?", startAt).And("create_at <= ?", endAt).Count(&model.User{}) |
|
|
|
if err != nil { |
|
|
|
return 0, zhios_order_relate_logx.Error(err) |
|
|
|
} |
|
|
|