|
@@ -9220,7 +9220,6 @@ func (this *CompanyTodoController) CompanyActivitySpecialPointsBill() {
|
|
|
for i, v := range list {
|
|
|
item := cygx.CygxActivitySpecialPointsBillRespItem{
|
|
|
Id: v.Id,
|
|
|
- Content: v.ActivityName,
|
|
|
CreateTime: v.CreateTime.Format(utils.FormatDateTime),
|
|
|
CompanyId: v.CompanyId,
|
|
|
CompanyName: v.CompanyName,
|
|
@@ -9232,6 +9231,15 @@ func (this *CompanyTodoController) CompanyActivitySpecialPointsBill() {
|
|
|
}
|
|
|
if v.ActivityId == 0 {
|
|
|
item.Content = v.Content
|
|
|
+ } else {
|
|
|
+ if v.DoType == 1 && v.Way == 1 {
|
|
|
+ item.Content = item.ActivityName + "--报名"
|
|
|
+ } else if v.DoType == 2 && v.Way == 1 {
|
|
|
+ item.Content = item.ActivityName + "--取消报名"
|
|
|
+ } else if v.Way == 4 {
|
|
|
+ item.Content = item.ActivityName + "--活动取消"
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
if userType == 2 {
|
|
|
if i== 0{
|
|
@@ -9243,8 +9251,9 @@ func (this *CompanyTodoController) CompanyActivitySpecialPointsBill() {
|
|
|
if num > 0 {
|
|
|
if i== 0{
|
|
|
item.Total += k + strconv.Itoa(num) + "次+"
|
|
|
+ } else {
|
|
|
+ item.Total += k + strconv.Itoa(num-v.BillDetailed) + "次+"
|
|
|
}
|
|
|
- item.Total += k + strconv.Itoa(num-v.BillDetailed) + "次+"
|
|
|
}
|
|
|
}
|
|
|
item.Total = strings.TrimRight(item.Total, "+")
|