xingzai 1 anno fa
parent
commit
05acb1d0b1
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      services/activity_points.go

+ 3 - 1
services/activity_points.go

@@ -857,7 +857,9 @@ func YanXuanCompanyCompanyTryOutReduce(log models.YanXuanActivityPointsRedis) (e
 		err = errors.New("GetCompanyPoints, Err: " + e.Error())
 		return
 	}
-
+	if companyPointsNum == 0 {
+		return
+	}
 	//获取需要添加的流水信息
 	var items []*models.CygxActivityPointsBill
 	item := new(models.CygxActivityPointsBill)