|
|
@@ -49,10 +49,9 @@ public class ProductTask {
|
|
|
goods.setIs_spec(false);
|
|
|
goods.setStandard_price(rs.getDouble("pr_standardprice") == -1.0 ? 0.0 : rs.getDouble("pr_standardprice"));
|
|
|
goods.setProduct_line("1");
|
|
|
- goods.setName(rs.getString("pr_detail")+"~"+rs.getGeneralString("pr_spec"));
|
|
|
+ goods.setName(rs.getString("pr_brand")+"~"+rs.getGeneralString("pr_spec"));
|
|
|
goods.setCategory("6");
|
|
|
goods.setSku(sku);
|
|
|
- goods.setItem_code__c(rs.getGeneralString("pr_code"));
|
|
|
try {
|
|
|
CrmAddResult crmAddResult = productManager.addGoods(goods);
|
|
|
int errorCode = crmAddResult.getErrorCode();
|
|
|
@@ -109,7 +108,7 @@ public class ProductTask {
|
|
|
product.setField_ea4Nh__c(rs.getGeneralDouble("pr_purcprice"));
|
|
|
product.setField_i0v47__c(rs.getGeneralString("pr_YPstock"));
|
|
|
product.setField_iW998__c(rs.getGeneralString("pr_PLstock"));
|
|
|
- product.setField_dioys__c(rs.getGeneralString("pr_serial"));
|
|
|
+ product.setField_dioys__c(rs.getGeneralString("pr_wlfl_user"));
|
|
|
product.setProduct_code(rs.getGeneralString("pr_code"));
|
|
|
product.setUDSText1__c(rs.getGeneralString("pr_brand"));
|
|
|
product.setField_cwppk__c(rs.getGeneralString("pr_fz_user"));
|