|
@@ -210,35 +210,3 @@ func ActivitySpecialUserRmind(user *models.WxUserItem, activityId, TripStatus in
|
|
|
}
|
|
|
return
|
|
|
}
|
|
|
-
|
|
|
-func init1231() {
|
|
|
- var condition string
|
|
|
- var pars []interface{}
|
|
|
-
|
|
|
- condition += ` AND t.id < 10000 `
|
|
|
-
|
|
|
- list, err := models.GetCygxActivitySpecialTripListinit(condition, pars)
|
|
|
- if err != nil {
|
|
|
- fmt.Println(err)
|
|
|
- return
|
|
|
- }
|
|
|
-
|
|
|
- for _, v := range list {
|
|
|
- //流水记录表
|
|
|
- itemBill := new(models.CygxActivitySpecialTripBill)
|
|
|
- itemBill.UserId = v.UserId
|
|
|
- itemBill.ActivityId = v.ActivityId
|
|
|
- itemBill.CreateTime = v.CreateTime
|
|
|
- itemBill.Mobile = v.Mobile
|
|
|
- itemBill.Email = v.Email
|
|
|
- itemBill.CompanyId = v.CompanyId
|
|
|
- itemBill.CompanyName = v.CompanyName
|
|
|
- itemBill.RealName = v.RealName
|
|
|
- itemBill.Source = 1
|
|
|
- itemBill.DoType = 1
|
|
|
- itemBill.BillDetailed = -1 // 流水减一
|
|
|
- itemBill.RegisterPlatform = 1
|
|
|
- itemBill.ChartPermissionId = v.ChartPermissionId
|
|
|
- go models.AddCygxActivitySpecialTripBill(itemBill)
|
|
|
- }
|
|
|
-}
|