Эх сурвалжийг харах

【越加红】纷享销客 客户资料下载时由默认13改为同步CRM税率

wub 3 жил өмнө
parent
commit
cae17bc9ed

+ 2 - 1
src/main/java/com/uas/eis/task/CustomerTask.java

@@ -77,6 +77,7 @@ public class CustomerTask {
                                 String cu_currency = getDisplayField(dataList, i, "field_e2HeP__c", "货币");
                                 String cu_currency = getDisplayField(dataList, i, "field_e2HeP__c", "货币");
                                 String cu_recordType = getDisplayField(dataList, i, "record_type", "业务类型");
                                 String cu_recordType = getDisplayField(dataList, i, "record_type", "业务类型");
                                 String cu_industry = getDisplayField(dataList, i, "field_00Ijp__c", "所属行业");
                                 String cu_industry = getDisplayField(dataList, i, "field_00Ijp__c", "所属行业");
+                                String cu_taxrate = getDisplayField(dataList, i, "field_nhi2w__c", "税率");
                                 String cu_code = baseDao.sGetMaxNumber("PreCustomer", 2);
                                 String cu_code = baseDao.sGetMaxNumber("PreCustomer", 2);
                                 //field_giBJk__c:收货人 UDSText5__c:送货地址 UDSText1__c:法定代表人 UDSText2__c:注册资金
                                 //field_giBJk__c:收货人 UDSText5__c:送货地址 UDSText1__c:法定代表人 UDSText2__c:注册资金
                                 String sql="insert into PreCustomer(cu_id,cu_code,cu_name,cu_shortname,cu_add2,cu_sellercode,cu_sellername,cu_servicecode,cu_servicename,cu_kind," +
                                 String sql="insert into PreCustomer(cu_id,cu_code,cu_name,cu_shortname,cu_add2,cu_sellercode,cu_sellername,cu_servicecode,cu_servicename,cu_kind," +
@@ -88,7 +89,7 @@ public class CustomerTask {
                                         "'"+getNotNull(dataList,i,"field_giBJk__c")+"','"+getNotNull(dataList,i,"UDSText5__c")+"'," +
                                         "'"+getNotNull(dataList,i,"field_giBJk__c")+"','"+getNotNull(dataList,i,"UDSText5__c")+"'," +
                                         "'"+getNotNull(dataList,i,"UDSText1__c")+"','"+getNotNull(dataList,i,"UDSText2__c")+"','" +
                                         "'"+getNotNull(dataList,i,"UDSText1__c")+"','"+getNotNull(dataList,i,"UDSText2__c")+"','" +
                                         getNotNull(dataList,i,"field_1l3xo__c")+"','"+wbsk_user+"','"+paID+"','"+paCode+"','"+wbsk_user+"','"+cu_level+"','"+cu_industry+"'," +
                                         getNotNull(dataList,i,"field_1l3xo__c")+"','"+wbsk_user+"','"+paID+"','"+paCode+"','"+wbsk_user+"','"+cu_level+"','"+cu_industry+"'," +
-                                        "'"+getNotNull(dataList,i,"UDSText4__c")+"','"+cu_turnSAP+"','"+cu_currency+"',13,'"+getNotNull(dataList,i,"deal_status")+"'," +
+                                        "'"+getNotNull(dataList,i,"UDSText4__c")+"','"+cu_turnSAP+"','"+cu_currency+"',"+cu_taxrate+",'"+getNotNull(dataList,i,"deal_status")+"'," +
                                         "'"+getNotNull(dataList,i,"field_Ezg0w__c")+"','"+getNotNull(dataList,i,"field_59oLF__c")+"','"+getNotNull(dataList,i,"biz_reg_name")+"','"+cu_recordType+"',"+
                                         "'"+getNotNull(dataList,i,"field_Ezg0w__c")+"','"+getNotNull(dataList,i,"field_59oLF__c")+"','"+getNotNull(dataList,i,"biz_reg_name")+"','"+cu_recordType+"',"+
                                         "'"+dataList.get(i).get("tel")+"','"+dataList.get(i).get("email")+"'," +
                                         "'"+dataList.get(i).get("tel")+"','"+dataList.get(i).get("email")+"'," +
                                         "'CRM',"+DateUtil.parseDateToOracleString(Constant.YMD_HMS,sdf.parse(sdf.format(create_time)))+"," +
                                         "'CRM',"+DateUtil.parseDateToOracleString(Constant.YMD_HMS,sdf.parse(sdf.format(create_time)))+"," +