Files
jx-callback/business/partner/purchase/elm/store.go
gazebo 93a7202423 - RefreshAllStoresID
- RefreshAllSkusID
- use new tasksch when possible(not use run directly).
2018-10-23 16:34:42 +08:00

40 lines
1.0 KiB
Go

package elm
import (
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/dao"
)
func (p *PurchaseHandler) GetFieldIDName() string {
return model.FieldElmID
}
func (p *PurchaseHandler) GetFieldSyncStatusName() string {
return model.FieldElmSyncStatus
}
func (p *PurchaseHandler) ReadStore(vendorStoreID string) (*model.Store, error) {
return nil, nil
}
func (p *PurchaseHandler) UpdateStore(db *dao.DaoDB, storeID int, userName string) error {
return nil
}
func (p *PurchaseHandler) RefreshAllStoresID(ctx *jxcontext.Context, isAsync bool) (hint string, err error) {
return hint, err
}
// func (p *PurchaseHandler) EnableAutoAcceptOrder(vendorStoreID string, isEnabled bool) error {
// return nil
// }
// func (p *PurchaseHandler) OpenStore(vendorStoreID string, userName string) error {
// return nil
// }
// func (p *PurchaseHandler) CloseStore(vendorStoreID, closeNotice, userName string) error {
// return nil
// }