1
This commit is contained in:
@@ -224,7 +224,6 @@ func (c *BiddingController) DownSupermarketSign() {
|
|||||||
switch step {
|
switch step {
|
||||||
case 0:
|
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)
|
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:
|
case 1:
|
||||||
excelConf := &excel.Obj2ExcelSheetConfig{
|
excelConf := &excel.Obj2ExcelSheetConfig{
|
||||||
Title: "签约门店导出",
|
Title: "签约门店导出",
|
||||||
@@ -249,7 +248,6 @@ func (c *BiddingController) DownSupermarketSign() {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
excelBin = excel.Obj2Excel([]*excel.Obj2ExcelSheetConfig{excelConf})
|
excelBin = excel.Obj2Excel([]*excel.Obj2ExcelSheetConfig{excelConf})
|
||||||
globals.SugarLogger.Debugf("-----------------excelBin:%s", string(excelBin))
|
|
||||||
case 2:
|
case 2:
|
||||||
keyPart := []string{
|
keyPart := []string{
|
||||||
params.Ctx.GetUserName(),
|
params.Ctx.GetUserName(),
|
||||||
@@ -271,7 +269,7 @@ func (c *BiddingController) DownSupermarketSign() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil, err
|
return nil, err
|
||||||
}, 2)
|
}, 3)
|
||||||
|
|
||||||
tasksch.ManageTask(task).Run()
|
tasksch.ManageTask(task).Run()
|
||||||
hint = task.GetID()
|
hint = task.GetID()
|
||||||
|
|||||||
Reference in New Issue
Block a user