获取未营业门店
This commit is contained in:
@@ -2306,12 +2306,14 @@ func GetVendorStoreInfo(ctx *jxcontext.Context, vendorIDList []int, isAsync, isC
|
||||
if partner.IsMultiStore(vendorID) {
|
||||
multiHandler, _ := partner.GetPurchasePlatformFromVendorID(vendorID).(partner.IMultipleStoresHandler)
|
||||
storeDetail, err = multiHandler.ReadStore(ctx, storeID)
|
||||
time.Sleep(time.Second / 2)
|
||||
if err != nil {
|
||||
return retVal, err
|
||||
}
|
||||
} else {
|
||||
singleHandler, _ := partner.GetPurchasePlatformFromVendorID(vendorID).(partner.ISingleStoreHandler)
|
||||
storeDetail, err = singleHandler.ReadStore(ctx, storeID)
|
||||
time.Sleep(time.Second / 4)
|
||||
if err != nil {
|
||||
return retVal, err
|
||||
}
|
||||
@@ -2372,7 +2374,7 @@ func WriteToExcelStore(task *tasksch.SeqTask, storeListJD, storeListMT, storeLis
|
||||
}
|
||||
if len(storeListMT) > 0 {
|
||||
excelConf := &excel.Obj2ExcelSheetConfig{
|
||||
Title: "饿百平台",
|
||||
Title: "美团平台",
|
||||
Data: storeListMT,
|
||||
CaptionList: titleListStore,
|
||||
}
|
||||
@@ -2380,7 +2382,7 @@ func WriteToExcelStore(task *tasksch.SeqTask, storeListJD, storeListMT, storeLis
|
||||
}
|
||||
if len(storeListEB) > 0 {
|
||||
excelConf := &excel.Obj2ExcelSheetConfig{
|
||||
Title: "美团平台",
|
||||
Title: "饿百平台",
|
||||
Data: storeListEB,
|
||||
CaptionList: titleListStore,
|
||||
}
|
||||
|
||||
@@ -179,5 +179,6 @@ func GetGetStatisticsReportForAfsOrders(db *DaoDB, storeIDs []int, fromDate time
|
||||
}
|
||||
|
||||
func GetStatisticsReportForStoreSkusPrice(db *DaoDB, cityCodes, skuIDs []int) (err error) {
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user