Parcourir la source

Merge branch 'master' of http://8.136.199.33:3000/hongze/hongze_cygx into cygx_10.6

xingzai il y a 1 an
Parent
commit
2a038e446d
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  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)