From 6232cec6200f1f2babe91283c7a0748470f1c160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 29 Oct 2020 18:27:37 +0800 Subject: [PATCH] profit --- business/jxcallback/scheduler/defsch/defsch.go | 1 + 1 file changed, 1 insertion(+) diff --git a/business/jxcallback/scheduler/defsch/defsch.go b/business/jxcallback/scheduler/defsch/defsch.go index 788acc293..29838faf2 100644 --- a/business/jxcallback/scheduler/defsch/defsch.go +++ b/business/jxcallback/scheduler/defsch/defsch.go @@ -1542,6 +1542,7 @@ func OrderProfitWarning(order *model.GoodsOrder) { profit = utils.Str2Float64(utils.Int64ToStr(order.TotalShopMoney*int64(payPercentage)/200)) / 100 } } + globals.SugarLogger.Debugf("OrderProfitWarning profit : %v", profit) if profit < 0 { operatorPhone, operatorName := getOrderOperatorInfo(order, storeDetail) operatorRole := getOrderOperatorRoleInfo(order, storeDetail)