This commit is contained in:
邹宗楠
2024-09-19 17:12:18 +08:00
parent c78aa46035
commit fa01c593c7

View File

@@ -224,7 +224,6 @@ 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: "签约门店导出",
@@ -249,7 +248,6 @@ func (c *BiddingController) DownSupermarketSign() {
},
}
excelBin = excel.Obj2Excel([]*excel.Obj2ExcelSheetConfig{excelConf})
globals.SugarLogger.Debugf("-----------------excelBin:%s", string(excelBin))
case 2:
keyPart := []string{
params.Ctx.GetUserName(),
@@ -271,7 +269,7 @@ func (c *BiddingController) DownSupermarketSign() {
}
}
return nil, err
}, 2)
}, 3)
tasksch.ManageTask(task).Run()
hint = task.GetID()