Commit bf73e456 by Mahjong

保单出单来源

parent 058780b5
......@@ -569,7 +569,7 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
String charset = "UTF-8"; // 读取字符编码
String[] columnName = new String[]{"序号", "来佣编号", "预计来佣年月", "实际来佣年月", "检核年月", "银盾出单机构", "保险公司", "保险分公司",
"保单号", "保费", "来佣类型", "来佣项目", "来佣率", "来佣金额", "来佣状态 ", "经纪人", "S3纵队", "S2体系", "S1分部", "经纪人类型",
"下单时间", "购买方案", "产品险种", "保险种类", "缴费年限", "保障期间","保单跟踪状态"
"下单时间", "购买方案", "产品险种", "保险种类", "缴费年限", "保障期间","保单跟踪状态","保单出单来源"
};
String tableName = "YD_Export_ComeCommission";
String CSV_COLUMN_SEPARATOR = ",";//CSV文件列分隔符
......@@ -621,6 +621,9 @@ public class LifeCommissionServiceImpl implements LifeCommissionService {
buf.append(info.getPayTerm()).append(CSV_COLUMN_SEPARATOR);
buf.append(info.getCoverageTerm() == null ? "/" : info.getCoverageTerm()).append(CSV_COLUMN_SEPARATOR);
buf.append(info.getPolicyTrackingStatus() == null ? "/" : handlePolicyTrackingStatus(info.getPolicyTrackingStatus())).append(CSV_COLUMN_SEPARATOR);
MdDropOptions dropOption = systemConfigService.getDropOption("policy_input_source", info.getPolicyInputSource());
buf.append(dropOption == null ? "/" : dropOption.getDropOptionName()).append(CSV_COLUMN_SEPARATOR);
buf.append(CSV_ROW_SEPARATOR);
}
......
......@@ -48,7 +48,7 @@ public class ComeCommissionVO {
private Long s2Id;
private Long s3Id;
private Long policyTrackingStatus;//保单跟踪状态
private String policyInputSource;//保单出单来源
public Long getOrderId() {
return orderId;
}
......@@ -412,4 +412,12 @@ public class ComeCommissionVO {
public void setPolicyTrackingStatus(Long policyTrackingStatus) {
this.policyTrackingStatus = policyTrackingStatus;
}
public String getPolicyInputSource() {
return policyInputSource;
}
public void setPolicyInputSource(String policyInputSource) {
this.policyInputSource = policyInputSource;
}
}
......@@ -47,6 +47,7 @@
o.ydBranchId,
o.broker_customer_id,
o.policy_tracking_status policyTrackingStatus,
o.policy_input_source policyInputSource,
o.cover_term_type coverageTerm,
CONCAT(o.payment_term, (case o.payment_term_unit when 'Y' then '年' when 'M' then '月' else '年' END)) payTerm
from ag_po_order_commission oc
......@@ -150,6 +151,7 @@
null as ydBranchId,
null as broker_customer_id,
null as policyTrackingStatus,
null as policyInputSource,
null as coverageTerm,
null as payTerm
from ag_po_order_commission oc
......
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