作者 Your Name

更新

@@ -623,7 +623,7 @@ func (srv StaffAssessServeice) ExportUserAssess2(param *query.SummaryCommand) (* @@ -623,7 +623,7 @@ func (srv StaffAssessServeice) ExportUserAssess2(param *query.SummaryCommand) (*
623 axis := fmt.Sprintf("A%d", ii+7) 623 axis := fmt.Sprintf("A%d", ii+7)
624 xlsxFile.SetCellStr(v, axis, vv) 624 xlsxFile.SetCellStr(v, axis, vv)
625 } else { 625 } else {
626 - axis := fmt.Sprintf("A%d", ii+7+2) 626 + axis := fmt.Sprintf("A%d", 7+3*(ii+1))
627 xlsxFile.SetCellStr(v, axis, vv) 627 xlsxFile.SetCellStr(v, axis, vv)
628 } 628 }
629 } 629 }
@@ -646,7 +646,7 @@ func (srv StaffAssessServeice) ExportUserAssess2(param *query.SummaryCommand) (* @@ -646,7 +646,7 @@ func (srv StaffAssessServeice) ExportUserAssess2(param *query.SummaryCommand) (*
646 for i5, v5 := range dayList { 646 for i5, v5 := range dayList {
647 k1 := eData.dataKey(v, v5, v2.Name, v3.Name, v4.Name) 647 k1 := eData.dataKey(v, v5, v2.Name, v3.Name, v4.Name)
648 if i5 > 0 { 648 if i5 > 0 {
649 - axis := fmt.Sprintf("%s%d", colName, i5+7+2) //单元格高度按三个单元格合并 649 + axis := fmt.Sprintf("%s%d", colName, 7+3*(i5+1)) //单元格高度按三个单元格合并
650 xlsxFile.SetCellStr(v, axis, eData.data[k1].String()) 650 xlsxFile.SetCellStr(v, axis, eData.data[k1].String())
651 } else { 651 } else {
652 axis := fmt.Sprintf("%s%d", colName, i5+7) 652 axis := fmt.Sprintf("%s%d", colName, i5+7)