This commit is contained in:
邹宗楠
2024-09-19 17:04:28 +08:00
parent 66215bee86
commit c78aa46035

View File

@@ -224,6 +224,7 @@ func (c *BiddingController) DownSupermarketSign() {
switch step {
case 0:
stores, _, _ = bidding.QuerySupermarketSign(params.StoreID, params.StoreName, params.CityName, params.StoreType, params.SignPeople, params.StartTime, params.EndTime, params.ExpirationStart, params.ExpirationEnd, 1, model.UnlimitedPageSize)
globals.SugarLogger.Debugf("-----------------stores:%d", len(stores))
case 1:
excelConf := &excel.Obj2ExcelSheetConfig{
Title: "签约门店导出",
@@ -248,6 +249,7 @@ func (c *BiddingController) DownSupermarketSign() {
},
}
excelBin = excel.Obj2Excel([]*excel.Obj2ExcelSheetConfig{excelConf})
globals.SugarLogger.Debugf("-----------------excelBin:%s", string(excelBin))
case 2:
keyPart := []string{
params.Ctx.GetUserName(),