Commit 999dbcc7 by yao.xiao

增加-应发佣金

parent 55e84a69
...@@ -853,7 +853,7 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService { ...@@ -853,7 +853,7 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService {
private void createCSV(List<FortunePayToOrderInfo> fortunePayToOrderInfos, HttpServletResponse response) { private void createCSV(List<FortunePayToOrderInfo> fortunePayToOrderInfos, HttpServletResponse response) {
String charset = "UTF-8"; // 读取字符编码 String charset = "UTF-8"; // 读取字符编码
String[] columnName = new String[]{"序号","预计发佣年月","经纪人","佣金","保单号","保费","佣金率","发佣状态","佣金类型","手机号","职级","分公司","营业部","体系","购买方案"}; String[] columnName = new String[]{"序号","预计发佣年月","经纪人","佣金","应发佣金","保单号","保费","佣金率","发佣状态","佣金类型","手机号","职级","分公司","营业部","体系","购买方案"};
String tableName = "YD_Export_Fortune_Pay"; String tableName = "YD_Export_Fortune_Pay";
String CSV_COLUMN_SEPARATOR = ",";//CSV文件列分隔符 String CSV_COLUMN_SEPARATOR = ",";//CSV文件列分隔符
String CSV_ROW_SEPARATOR = "\r\n";//CSV文件行分隔符 String CSV_ROW_SEPARATOR = "\r\n";//CSV文件行分隔符
...@@ -872,6 +872,7 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService { ...@@ -872,6 +872,7 @@ public class AgmsFortuneServiceImpl implements AgmsFortuneService {
buf.append(info.getPayoutYearmonth()).append(CSV_COLUMN_SEPARATOR); buf.append(info.getPayoutYearmonth()).append(CSV_COLUMN_SEPARATOR);
buf.append(info.getPractitionerName()).append(CSV_COLUMN_SEPARATOR); buf.append(info.getPractitionerName()).append(CSV_COLUMN_SEPARATOR);
buf.append(info.getCommissionAmount()).append(CSV_COLUMN_SEPARATOR); buf.append(info.getCommissionAmount()).append(CSV_COLUMN_SEPARATOR);
buf.append(info.getReferralAmount()).append(CSV_COLUMN_SEPARATOR);
buf.append(info.getPolicyNo()).append(" ").append(CSV_COLUMN_SEPARATOR); buf.append(info.getPolicyNo()).append(" ").append(CSV_COLUMN_SEPARATOR);
buf.append(info.getOrderPrice()).append(CSV_COLUMN_SEPARATOR); buf.append(info.getOrderPrice()).append(CSV_COLUMN_SEPARATOR);
buf.append(info.getCommissionRate()).append(CSV_COLUMN_SEPARATOR); buf.append(info.getCommissionRate()).append(CSV_COLUMN_SEPARATOR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment