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