This commit is contained in:
suyl
2021-09-01 17:26:58 +08:00
parent e1dcce0fdf
commit 1e9f0660b0
2 changed files with 8 additions and 5 deletions

View File

@@ -191,6 +191,10 @@ func (s *StoreAcctManager) InsertBrandBill(ctx *jxcontext.Context, brandID, pric
var (
db = dao.GetDB()
)
if price == 0 {
globals.SugarLogger.Debugf("InsertBrandBill failed price is 0, brandID: %d, vendorOrderID: %s", brandID, vendorOrderID)
return
}
brandBill := &model.BrandBill{
BrandID: brandID,
Price: price,