|
|
@@ -119,7 +119,9 @@ public class YITCustomerTask {
|
|
|
String cu_recordType = getDisplayField(dataList, i, "record_type", "业务类型");
|
|
|
//String cu_industry = getDisplayField(dataList, i, "field_00Ijp__c", "所属行业");
|
|
|
String cu_taxrate = getDisplayField(dataList, i, "field_nhi2w__c", "税率");
|
|
|
- String cu_code = baseDao.sGetMaxNumber(Master+"PreCustomer", 2);
|
|
|
+ //String cu_code = baseDao.sGetMaxNumber(Master+"PreCustomer", 2);
|
|
|
+ //换成取易探账套的单据前缀码
|
|
|
+ String cu_code = baseDao.callProcedure(Master+ "Sp_GetMaxNumber", new Object[]{"Customer", 10});
|
|
|
//field_giBJk__c:收货人 UDSText5__c:送货地址 UDSText1__c:法定代表人 UDSText2__c:注册资金
|
|
|
String sql="insert into "+Master+"PreCustomer(cu_id,cu_code,cu_name,cu_shortname,cu_add2,cu_sellercode,cu_sellername,cu_servicecode,cu_servicename,cu_kind," +
|
|
|
"cu_contact,cu_add1,cu_lawman,cu_regamount,cu_rate,cu_wbsk_user,cu_paymentid,cu_paymentscode,cu_payments,cu_level,cu_industry,cu_mainbusiness,cu_turnSAP,cu_currency,cu_taxrate," +
|