修改
This commit is contained in:
parent
7643c4ed27
commit
a07fa1843f
@ -27,7 +27,7 @@ func WriteToExcel(dirPath string, orderInfos [][]interface{}) (string, error) {
|
||||
for i := 0; i < len(orderInfos); i++ {
|
||||
xlsx.SetCellStyle(index, fmt.Sprintf("A%v", rowIndex), fmt.Sprintf("O%v", rowIndex), style)
|
||||
xlsx.SetSheetRow(index, fmt.Sprintf("A%v", rowIndex), &orderInfos[i])
|
||||
rowIndex++
|
||||
rowIndex = rowIndex + 1
|
||||
}
|
||||
|
||||
//path := dirPath + "/" + artShowInfo.ArtistName + "-" + artShowInfo.ShowSeq + "-price" + ".xlsx"
|
||||
|
Loading…
Reference in New Issue
Block a user