- ExportOrders
This commit is contained in:
@@ -77,6 +77,10 @@ func Excel2Slice(reader io.Reader) (contents map[string][][]string) {
|
||||
return contents
|
||||
}
|
||||
|
||||
func genAxis(row, col int) string {
|
||||
return fmt.Sprintf("%c%d", col+65, row+1)
|
||||
func genAxis(row, col int) (pos string) {
|
||||
pos, err := excelize.CoordinatesToCellName(col+1, row+1)
|
||||
if err != nil {
|
||||
globals.SugarLogger.Debugf("err:%v", err)
|
||||
}
|
||||
return pos
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user