正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -656,7 +656,7 @@ func (srv StaffAssessServeice) ListUserAssessContentCycleDayV2(param *query.List | @@ -656,7 +656,7 @@ func (srv StaffAssessServeice) ListUserAssessContentCycleDayV2(param *query.List | ||
656 | changeableRows[v.TargetUserId]["assessId"] = v.AssessId | 656 | changeableRows[v.TargetUserId]["assessId"] = v.AssessId |
657 | changeableRows[v.TargetUserId]["cycleId"] = v.CycleId | 657 | changeableRows[v.TargetUserId]["cycleId"] = v.CycleId |
658 | changeableRows[v.TargetUserId]["beginDay"] = v.BeginDay | 658 | changeableRows[v.TargetUserId]["beginDay"] = v.BeginDay |
659 | - if v.ContentId > 0 { | 659 | + // if v.ContentId > 0 { |
660 | name := fmt.Sprintf("%s-%s", v.Category, v.ContentName) | 660 | name := fmt.Sprintf("%s-%s", v.Category, v.ContentName) |
661 | key := fmt.Sprintf("k%d", i) | 661 | key := fmt.Sprintf("k%d", i) |
662 | if _, ok := headerMap[name]; !ok { | 662 | if _, ok := headerMap[name]; !ok { |
@@ -667,7 +667,7 @@ func (srv StaffAssessServeice) ListUserAssessContentCycleDayV2(param *query.List | @@ -667,7 +667,7 @@ func (srv StaffAssessServeice) ListUserAssessContentCycleDayV2(param *query.List | ||
667 | } | 667 | } |
668 | key = headerMap[name] | 668 | key = headerMap[name] |
669 | changeableRows[v.TargetUserId][key] = v.Value | 669 | changeableRows[v.TargetUserId][key] = v.Value |
670 | - } | 670 | + // } |
671 | } | 671 | } |
672 | list := []map[string]interface{}{} | 672 | list := []map[string]interface{}{} |
673 | for _, v := range tableSort { | 673 | for _, v := range tableSort { |
-
请 注册 或 登录 后发表评论