aa
This commit is contained in:
@@ -4163,3 +4163,16 @@ func RefreshStoreBind(ctx *jxcontext.Context) (err error) {
|
||||
task.GetID()
|
||||
return err
|
||||
}
|
||||
|
||||
func UpdateVendorStoreBussinessStatus(ctx *jxcontext.Context, storeID, vendorID, status int) (err error) {
|
||||
var (
|
||||
db = dao.GetDB()
|
||||
)
|
||||
storeDetail, err := dao.GetStoreDetail(db, storeID, vendorID, "")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
handler := partner.GetPurchasePlatformFromVendorID(vendorID)
|
||||
err = handler.UpdateStoreLineStatus(ctx, storeDetail.VendorOrgCode, storeID, storeDetail.VendorStoreID, status)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user