Browse Source

Merge branch 'cygx_10.9.1' into debug

ziwen 1 year ago
parent
commit
90e97a7f9c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/activity_special.go

+ 2 - 2
controllers/activity_special.go

@@ -329,12 +329,12 @@ func (this *ActivitySpecialCoAntroller) SpecialTripAdd() {
 				return
 				return
 			}
 			}
 			if userType == 2 {
 			if userType == 2 {
-				tripRemaining = tripRemaining-itemBill.BillDetailed
+				tripRemaining = tripRemaining+itemBill.BillDetailed
 				itemBill.Total = strconv.Itoa(tripRemaining) + "次"
 				itemBill.Total = strconv.Itoa(tripRemaining) + "次"
 			} else {
 			} else {
 				for k, num := range mapChartName {
 				for k, num := range mapChartName {
 					if activityInfo.ChartPermissionName == k {
 					if activityInfo.ChartPermissionName == k {
-						num = num- itemBill.BillDetailed
+						num = num+ itemBill.BillDetailed
 					}
 					}
 					itemBill.Total += k + strconv.Itoa(num) + "次+"
 					itemBill.Total += k + strconv.Itoa(num) + "次+"
 				}
 				}