From 4f406b8bf4ac69f9fa3b3e81cbe1568342df8df4 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Fri, 27 Dec 2024 18:36:53 +0800 Subject: [PATCH] fix: change personAddActivityValue struct when ManualScore --- app/hdl/institutional_management/egg_energy/hdl_egg_point.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/hdl/institutional_management/egg_energy/hdl_egg_point.go b/app/hdl/institutional_management/egg_energy/hdl_egg_point.go index cad2359..36f673e 100644 --- a/app/hdl/institutional_management/egg_energy/hdl_egg_point.go +++ b/app/hdl/institutional_management/egg_energy/hdl_egg_point.go @@ -323,7 +323,7 @@ func ManualScore(c *gin.Context) { CollegeLearningNums: scoreDoc.CollegeLearningNums, ViolateNums: scoreDoc.ViolateNums, BrowseInterfaceNums: scoreDoc.BrowseInterfaceNums, - PersonAddActivityValue: scoreDoc.PersonAddActivityValue, + PersonAddActivityValue: utils.Float64ToStr(scoreDoc.PersonAddActivityValue), Score: req.Score, Date: fmt.Sprintf("%s-%s", year, week), CreateAt: now.Format("2006-01-02 15:04:05"),