Updata:更新样式
This commit is contained in:
parent
85daee28e7
commit
8fea74b9e9
@ -125,8 +125,8 @@ func MetricsBundlePurchaseExport(ctx *gin.Context) {
|
||||
}
|
||||
|
||||
// 应用样式到合计区域(包括标题行和数值行)
|
||||
startCell := fmt.Sprintf("A%d", endRow)
|
||||
endCell := fmt.Sprintf("C%d", endRow+1)
|
||||
startCell := fmt.Sprintf("A%d", endRow+1)
|
||||
endCell := fmt.Sprintf("C%d", endRow+2)
|
||||
if err := f.SetCellStyle(sheet, startCell, endCell, borderStyle); err != nil {
|
||||
fmt.Println("设置边框样式失败:", err)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user