|
@@ -984,8 +984,14 @@ func YanXuanCompanyApprovalReduce(log models.YanXuanActivityPointsRedis) (err er
|
|
// billDetailed = 3
|
|
// billDetailed = 3
|
|
// content = "买方研选(3W)转正"
|
|
// content = "买方研选(3W)转正"
|
|
//}
|
|
//}
|
|
|
|
+ // 获取用户所在公司剩余的点
|
|
|
|
+ companyPointsNum, e := models.GetCompanyPoints(comapnyId)
|
|
|
|
+ if e != nil && e.Error() != utils.ErrNoRow() {
|
|
|
|
+ err = errors.New("GetCompanyPoints, Err: " + e.Error())
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ billDetailed = companyPointDetail.Points + companyPointsNum
|
|
|
|
|
|
- billDetailed = companyPointDetail.Points
|
|
|
|
content = "签约研选扣点包"
|
|
content = "签约研选扣点包"
|
|
|
|
|
|
//获取需要添加的流水信息
|
|
//获取需要添加的流水信息
|