|
@@ -2163,6 +2163,7 @@ func (this *StatisticCompanyMergerController) CompanyContractPercentageListExpor
|
|
|
mapExpireRenewalContractTotal[v.SellerId]++
|
|
|
mapExpireRenewalContractMoney[v.SellerId] += v.Money
|
|
|
}
|
|
|
+
|
|
|
for _, item := range listRaiSeller {
|
|
|
row := sheet.AddRow()
|
|
|
cellAData := row.AddCell()
|
|
@@ -2170,12 +2171,12 @@ func (this *StatisticCompanyMergerController) CompanyContractPercentageListExpor
|
|
|
cellBData := row.AddCell()
|
|
|
cellBData.Value = fmt.Sprint(mapNoRenewalContractTotal[item.AdminId])
|
|
|
cellCData := row.AddCell()
|
|
|
- cellCData.Value = fmt.Sprint(mapNoRenewalContractMoney[item.AdminId])
|
|
|
+ cellCData.Value = utils.SubFloatToString(mapNoRenewalContractMoney[item.AdminId], 2)
|
|
|
|
|
|
cellEData := row.AddCell()
|
|
|
cellEData.Value = fmt.Sprint(mapExpireRenewalContractTotal[item.AdminId])
|
|
|
cellFData := row.AddCell()
|
|
|
- cellFData.Value = fmt.Sprint(mapExpireRenewalContractMoney[item.AdminId])
|
|
|
+ cellFData.Value = utils.SubFloatToString(mapExpireRenewalContractMoney[item.AdminId], 2)
|
|
|
|
|
|
cellGData := row.AddCell()
|
|
|
|
|
@@ -2200,7 +2201,6 @@ func (this *StatisticCompanyMergerController) CompanyContractPercentageListExpor
|
|
|
os.Remove(downLoadnFilePath)
|
|
|
}()
|
|
|
br.Ret = 200
|
|
|
- br.IsAddLog = true
|
|
|
br.Success = true
|
|
|
br.Msg = "导出成功"
|
|
|
}
|