diff --git a/business/partner/purchase/jd/store.go b/business/partner/purchase/jd/store.go index 1d52598a5..6395df866 100644 --- a/business/partner/purchase/jd/store.go +++ b/business/partner/purchase/jd/store.go @@ -3,7 +3,6 @@ package jd import ( "fmt" "git.rosy.net.cn/jx-callback/business/jxstore/event" - "git.rosy.net.cn/jx-callback/business/jxutils/netprinter" "strings" "time" @@ -335,9 +334,6 @@ func (c *PurchaseHandler) OnStoreMsg(vendorOrgCode string, msg *jdapi.CallbackOr vendorStoreID := msg.BillID if storeStatus, err = c.GetStoreStatus(jxcontext.AdminCtx, vendorOrgCode, 0, vendorStoreID); err == nil { err = partner.CurStoreManager.OnStoreStatusChanged(vendorStoreID, model.VendorIDJD, storeStatus) - - storeDetail, _ := dao.GetStoreDetailByVendorStoreID(dao.GetDB(), vendorStoreID, model.VendorIDJD, "") - netprinter.PrintStoreStatus(jxcontext.AdminCtx, storeDetail, model.VendorIDJD, -9) } else { // 可能在门店删除的情况下会出查不到门店的错误 if errExt, ok := err.(*utils.ErrorWithCode); ok && errExt.IntCode() == 4 {