正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
@@ -821,6 +821,9 @@ func (service OrderInfoService) ListOrderBonusForExcel(listOrderQuery query.List | @@ -821,6 +821,9 @@ func (service OrderInfoService) ListOrderBonusForExcel(listOrderQuery query.List | ||
821 | "partner_bonus_not": fmt.Sprintf("%10.2f", result[i].PartnerBonusNot), | 821 | "partner_bonus_not": fmt.Sprintf("%10.2f", result[i].PartnerBonusNot), |
822 | "partner_bonus_expense": fmt.Sprintf("%10.2f", result[i].PartnerBonusExpense), | 822 | "partner_bonus_expense": fmt.Sprintf("%10.2f", result[i].PartnerBonusExpense), |
823 | } | 823 | } |
824 | + if len(result[i].DeliveryCode) == 0 { | ||
825 | + m["delivery_code"] = "-" | ||
826 | + } | ||
824 | if result[i].HasBonusPercent == 0 { | 827 | if result[i].HasBonusPercent == 0 { |
825 | m["partner_bonus"] = "-" | 828 | m["partner_bonus"] = "-" |
826 | m["partner_bonus_has"] = "-" | 829 | m["partner_bonus_has"] = "-" |
-
请 注册 或 登录 后发表评论