数据库存储备注

This commit is contained in:
2020-06-16 20:41:46 +08:00
parent d5c3775f2f
commit b636b24c67
4 changed files with 13 additions and 12 deletions

View File

@ -1510,7 +1510,7 @@ class Orders extends Base{
// step 2 商户支付优惠款给平台10000×0.4=4000
// 10.15添加 优惠款 全额进入 代快付值
$sm->addSysSummary($calBaseNum,0,1);
$sm->addSysSummary($calBaseNum,0,1,'助购吧购物,订单号ID['.$orderId.'],优惠款全额进入代快付值');
$vm = new UserVouchers();
@ -1527,7 +1527,7 @@ class Orders extends Base{
if((int)$order["helpUserLevel"]!==0){
$vm->insertHelpSaleNotice($order["helpUserId"], $orderId, $calBaseNum*((float)dataConf('helpSaleCouponsCalBase')/100),
'预获助购转换所扣', 0);
$sm->addSysSummary($calBaseNum*((float)dataConf('helpSaleCouponsCalBase')/100),0,2);
$sm->addSysSummary($calBaseNum*((float)dataConf('helpSaleCouponsCalBase')/100),0,2,'订单ID['.$orderId.']:平台送给购户的上N层用户ID['.$order["helpUserId"].']');
$vm->insertVouchersNotice($order['helpUserId'], $orderId, $calBaseNum*((float)dataConf('helpSaleCouponsCalBase')/100), 0,
'预获产品券转换所扣',0);
$vm->insertAlreadyVouchersNotice($order['helpUserId'], $orderId, $calBaseNum*((float)dataConf('helpSaleCouponsCalBase')/100), 0,