新接口

This commit is contained in:
苏尹岚
2020-08-06 18:20:15 +08:00
parent 3e4ef8ecb6
commit b998498ae3
4 changed files with 41 additions and 0 deletions

View File

@@ -1787,3 +1787,11 @@ func buildJxOrderInfo(order *model.GoodsOrder, orderSkus []*model.OrderSku) (jxO
jxOrder.OrderType = model.OrderTypeMatter
return jxOrder
}
func GetSupplySupportStoreSkus(ctx *jxcontext.Context, fromDate, toDate string, fromStoreID, storeID int) (storeSkuBinds []*model.StoreSkuBind, err error) {
var (
db = dao.GetDB()
)
storeSkuBinds, err = dao.GetSupplySupportStoreSkus(db, utils.Str2Time(fromDate), utils.Str2Time(toDate), fromStoreID, storeID)
return storeSkuBinds, err
}