作者 唐旭辉

更新

@@ -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"] = "-"