导出平台门店
This commit is contained in:
@@ -2378,7 +2378,11 @@ func GetVendorStoreInfo(ctx *jxcontext.Context, vendorIDList []int, isAsync, isC
|
||||
}
|
||||
db := dao.GetDB()
|
||||
storeDetail2, err := dao.GetStoreDetailByVendorStoreID(db, storeDetail.VendorStoreID, vendorID)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
if storeDetail.Status != model.StoreStatusOpened {
|
||||
if storeDetail2 != nil {
|
||||
var storeExcel = VendorStoreExcel{
|
||||
StoreID: storeDetail.ID,
|
||||
VendorStoreName: storeDetail.Name,
|
||||
@@ -2393,6 +2397,7 @@ func GetVendorStoreInfo(ctx *jxcontext.Context, vendorIDList []int, isAsync, isC
|
||||
}
|
||||
retVal = []VendorStoreExcel{storeExcel}
|
||||
}
|
||||
}
|
||||
return retVal, err
|
||||
}
|
||||
taskParallel := tasksch.NewParallelTask("获取各平台未营业门店", tasksch.NewParallelConfig().SetIsContinueWhenError(isContinueWhenError), ctx, taskFunc, storeIDs)
|
||||
|
||||
Reference in New Issue
Block a user