...
|
...
|
@@ -821,6 +821,9 @@ func (service OrderInfoService) ListOrderBonusForExcel(listOrderQuery query.List |
|
|
"partner_bonus_not": fmt.Sprintf("%10.2f", result[i].PartnerBonusNot),
|
|
|
"partner_bonus_expense": fmt.Sprintf("%10.2f", result[i].PartnerBonusExpense),
|
|
|
}
|
|
|
if len(result[i].DeliveryCode) == 0 {
|
|
|
m["delivery_code"] = "-"
|
|
|
}
|
|
|
if result[i].HasBonusPercent == 0 {
|
|
|
m["partner_bonus"] = "-"
|
|
|
m["partner_bonus_has"] = "-"
|
...
|
...
|
|