金蝶全局替换测试环境

This commit is contained in:
itzhang 2025-05-30 11:04:04 +08:00
parent 777b0c339d
commit 321a03e904
22 changed files with 45 additions and 35 deletions

View File

@ -82,7 +82,7 @@ public class BankInfoController {
HttpEntity bankReqEntity = new HttpEntity(deptReq, headers); HttpEntity bankReqEntity = new HttpEntity(deptReq, headers);
//开始发起请求 //开始发起请求
String bankInfoUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/basedata/bd_bebank/bebankQuery"; String bankInfoUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/basedata/bd_bebank/bebankQuery";
String bankInfoResStr = ""; String bankInfoResStr = "";
@ -304,7 +304,7 @@ public class BankInfoController {
HttpEntity bankReqEntity = new HttpEntity(deptReq, headers); HttpEntity bankReqEntity = new HttpEntity(deptReq, headers);
//开始发起请求 //开始发起请求
String bankInfoUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/basedata/bd_bebank/bebankQuery"; String bankInfoUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/basedata/bd_bebank/bebankQuery";
String bankInfoResStr = ""; String bankInfoResStr = "";

View File

@ -228,7 +228,7 @@ public class DesignController {
System.out.println("请求为:" + JSON.parseObject(JSON.toJSONString(designDocReqEntity))); System.out.println("请求为:" + JSON.parseObject(JSON.toJSONString(designDocReqEntity)));
//开始向金蝶发起请求 //开始向金蝶发起请求
String designPlanUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/pssc/requirapplybillSave"; String designPlanUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/pssc/requirapplybillSave";
JSONObject erpDesignDocRes = new JSONObject(); JSONObject erpDesignDocRes = new JSONObject();
@ -537,7 +537,7 @@ public class DesignController {
System.out.println("请求为:" + JSON.parseObject(JSON.toJSONString(designDocReqEntity))); System.out.println("请求为:" + JSON.parseObject(JSON.toJSONString(designDocReqEntity)));
//开始向金蝶发起请求 //开始向金蝶发起请求
String designPlanUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/pssc/pm_requirapplybill/requirapplybillSave"; String designPlanUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/pssc/pm_requirapplybill/requirapplybillSave";
JSONObject erpDesignDocRes = new JSONObject(); JSONObject erpDesignDocRes = new JSONObject();

View File

@ -247,7 +247,7 @@ public class FrameContractController {
System.out.println(JSON.parseObject(JSON.toJSONString(contractReqEntity))); System.out.println(JSON.parseObject(JSON.toJSONString(contractReqEntity)));
//开始向金蝶发起请求 //开始向金蝶发起请求
String contractUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/conm/conm_salcontract/savecontract"; String contractUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/conm/conm_salcontract/savecontract";
JSONObject contractRes = new JSONObject(); JSONObject contractRes = new JSONObject();

View File

@ -14,6 +14,7 @@ import org.springframework.web.client.RestTemplate;
import org.ssssssss.magicboot.constant.URLConstant; import org.ssssssss.magicboot.constant.URLConstant;
import org.ssssssss.magicboot.entity.Filter; import org.ssssssss.magicboot.entity.Filter;
import org.ssssssss.magicboot.utils.CrmRequestUtil; import org.ssssssss.magicboot.utils.CrmRequestUtil;
import org.ssssssss.magicboot.utils.KingDeeUtils;
import java.util.*; import java.util.*;
@ -259,7 +260,7 @@ public class GoodsPlanController {
System.out.println(JSON.parseObject(JSON.toJSONString(goodsPlanReqEntity))); System.out.println(JSON.parseObject(JSON.toJSONString(goodsPlanReqEntity)));
//开始向金蝶发起请求 //开始向金蝶发起请求
String goodsPlanUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/sm/f9w5_sm_purchaseplan/purchaseplanSave"; String goodsPlanUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/sm/f9w5_sm_purchaseplan/purchaseplanSave";
JSONObject erpGoodsPlanRes = new JSONObject(); JSONObject erpGoodsPlanRes = new JSONObject();
@ -296,6 +297,10 @@ public class GoodsPlanController {
backReqMap.put("erp_id__c", erpGoodsPlanRes.getJSONObject("data").getJSONArray("result").getJSONObject(0).getString("id")); backReqMap.put("erp_id__c", erpGoodsPlanRes.getJSONObject("data").getJSONArray("result").getJSONObject(0).getString("id"));
backReqMap.put("sync_status__c", "option_sync_success__c"); backReqMap.put("sync_status__c", "option_sync_success__c");
backReqMap.put("response_info__c", "同步成功"); backReqMap.put("response_info__c", "同步成功");
//审核
KingDeeUtils kingDeeUtils = new KingDeeUtils();
kingDeeUtils.audit(erpGoodsPlanRes.getJSONObject("data").getJSONArray("result").getJSONObject(0).getString("id"), "f9w5_sm_purchaseplan");
} else { } else {
//同步失败 //同步失败
logMap.put("log_status", "1"); logMap.put("log_status", "1");
@ -568,7 +573,7 @@ public class GoodsPlanController {
System.out.println(JSON.parseObject(JSON.toJSONString(goodsPlanReqEntity))); System.out.println(JSON.parseObject(JSON.toJSONString(goodsPlanReqEntity)));
//开始向金蝶发起请求 //开始向金蝶发起请求
String goodsPlanUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/sm/f9w5_sm_purchaseplan/purchaseplanSave"; String goodsPlanUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/sm/f9w5_sm_purchaseplan/purchaseplanSave";
JSONObject erpGoodsPlanRes = new JSONObject(); JSONObject erpGoodsPlanRes = new JSONObject();

View File

@ -251,7 +251,7 @@ public class InvoiceController {
System.out.println(JSON.parseObject(JSON.toJSONString(invoiceReqEntity))); System.out.println(JSON.parseObject(JSON.toJSONString(invoiceReqEntity)));
String invoiceUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/ar/arbusbill/createInvoice"; String invoiceUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/ar/arbusbill/createInvoice";
JSONObject erpInvoiceRes = new JSONObject(); JSONObject erpInvoiceRes = new JSONObject();
@ -513,7 +513,7 @@ public class InvoiceController {
System.out.println(JSON.parseObject(JSON.toJSONString(invoiceReqEntity))); System.out.println(JSON.parseObject(JSON.toJSONString(invoiceReqEntity)));
String invoiceUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/ar/arbusbill/createInvoice"; String invoiceUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/ar/arbusbill/createInvoice";
JSONObject erpInvoiceRes = new JSONObject(); JSONObject erpInvoiceRes = new JSONObject();

View File

@ -150,13 +150,13 @@ public class KDTokenController {
//开始封装 //开始封装
//接口地址 //接口地址
String appTokenUrl = "http://192.168.31.233:8022/ierp/api/getAppToken.do"; String appTokenUrl = "http://192.168.31.158:8022/ierp/api/getAppToken.do";
//请求参数 //请求参数
LinkedHashMap appTokenParams = new LinkedHashMap<>(); LinkedHashMap appTokenParams = new LinkedHashMap<>();
appTokenParams.put("appId", "FXXKCRM"); appTokenParams.put("appId", "FXXKCRM");
appTokenParams.put("appSecret", "FXXKCRM20251234a!"); appTokenParams.put("appSecret", "FXXKCRM20251234a!");
appTokenParams.put("tenantid", "zyierp"); appTokenParams.put("tenantid", "zyierp");
appTokenParams.put("accountId", "2095345516136108032"); appTokenParams.put("accountId", "2226057923279195136");
//开始发起请求 //开始发起请求
String appTokenRes = ""; String appTokenRes = "";
@ -205,7 +205,7 @@ public class KDTokenController {
//不存在将执行获取accessToken的逻辑 //不存在将执行获取accessToken的逻辑
//开始封装参数 //开始封装参数
//URL //URL
String accessTokenUrl = "http://192.168.31.233:8022/ierp/api/login.do"; String accessTokenUrl = "http://192.168.31.158:8022/ierp/api/login.do";
//请求参数 //请求参数
LinkedHashMap accessTokenParams = new LinkedHashMap<>(); LinkedHashMap accessTokenParams = new LinkedHashMap<>();

View File

@ -234,7 +234,7 @@ public class PreContractController {
System.out.println(JSON.parseObject(JSON.toJSONString(contractReqEntity))); System.out.println(JSON.parseObject(JSON.toJSONString(contractReqEntity)));
//开始向金蝶发起请求 //开始向金蝶发起请求
String contractUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/conm/conm_salcontract/savecontract"; String contractUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/conm/conm_salcontract/savecontract";
JSONObject contractRes = new JSONObject(); JSONObject contractRes = new JSONObject();
@ -530,7 +530,7 @@ public class PreContractController {
System.out.println(JSON.parseObject(JSON.toJSONString(contractReqEntity))); System.out.println(JSON.parseObject(JSON.toJSONString(contractReqEntity)));
//开始向金蝶发起请求 //开始向金蝶发起请求
String contractUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/conm/salcontract/change"; String contractUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/conm/salcontract/change";
String erpPreContractBGRes = ""; String erpPreContractBGRes = "";

View File

@ -168,7 +168,7 @@ public class ProjectNewOpportunityController {
*/ */
public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) { public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) {
String syn_type = "0";//同步类型 0新增 1修改 2删除 String syn_type = "0";//同步类型 0新增 1修改 2删除
String res_url = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/basedata/bd_project/projectSave"; String res_url = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/basedata/bd_project/projectSave";
String res_param = obj; String res_param = obj;
String res = ""; String res = "";
try { try {

View File

@ -168,7 +168,7 @@ public class ProjectObjController {
*/ */
public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) { public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) {
String syn_type = "0";//同步类型 0新增 1修改 2删除 String syn_type = "0";//同步类型 0新增 1修改 2删除
String res_url = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/basedata/bd_project/projectSave"; String res_url = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/basedata/bd_project/projectSave";
String res_param = obj; String res_param = obj;
String res = ""; String res = "";
try { try {

View File

@ -182,7 +182,7 @@ public class QualityBackController {
System.out.println(JSON.parseObject(JSON.toJSONString(qualityBackReqEntity))); System.out.println(JSON.parseObject(JSON.toJSONString(qualityBackReqEntity)));
String qualityBackUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/qcqi/f9w5_problemfeedback/save"; String qualityBackUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/qcqi/f9w5_problemfeedback/save";
String qualityBackRes = ""; String qualityBackRes = "";
try { try {
@ -276,7 +276,7 @@ public class QualityBackController {
JSONObject fileRes = new JSONObject(); JSONObject fileRes = new JSONObject();
try { try {
fileRes = restTemplate.postForObject("http://192.168.31.233:8022/ierp/kapi/v2/f9w5/qcqi/feedback/uploadFile", entity, JSONObject.class); fileRes = restTemplate.postForObject("http://192.168.31.158:8022/ierp/kapi/v2/f9w5/qcqi/feedback/uploadFile", entity, JSONObject.class);
} catch (RestClientException e) { } catch (RestClientException e) {
e.printStackTrace(); e.printStackTrace();
} }

View File

@ -80,7 +80,7 @@ public class ReimbursementController {
HttpEntity expensesEntity = new HttpEntity(expensesMap, headers); HttpEntity expensesEntity = new HttpEntity(expensesMap, headers);
String expensesUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/em/er_dailyreimbursebill/dailyreimbursebillQuery"; String expensesUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/em/er_dailyreimbursebill/dailyreimbursebillQuery";
JSONObject expensesRes = new JSONObject(); JSONObject expensesRes = new JSONObject();
@ -393,7 +393,7 @@ public class ReimbursementController {
HttpEntity expensesEntity = new HttpEntity(expensesMap, headers); HttpEntity expensesEntity = new HttpEntity(expensesMap, headers);
String expensesUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/em/er_publicreimbursebill/publicreimbursebillQuery"; String expensesUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/em/er_publicreimbursebill/publicreimbursebillQuery";
JSONObject expensesRes = new JSONObject(); JSONObject expensesRes = new JSONObject();

View File

@ -162,7 +162,7 @@ public class TenderingController {
System.out.println(JSON.parseObject(JSON.toJSONString(tenderingReqEntity))); System.out.println(JSON.parseObject(JSON.toJSONString(tenderingReqEntity)));
String tenderingUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/em/f9w5_tenderbuyapply/save"; String tenderingUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/em/f9w5_tenderbuyapply/save";
JSONObject tenderingERPRes = new JSONObject(); JSONObject tenderingERPRes = new JSONObject();

View File

@ -14,6 +14,7 @@ import org.springframework.web.client.RestTemplate;
import org.ssssssss.magicboot.constant.URLConstant; import org.ssssssss.magicboot.constant.URLConstant;
import org.ssssssss.magicboot.entity.Filter; import org.ssssssss.magicboot.entity.Filter;
import org.ssssssss.magicboot.utils.CrmRequestUtil; import org.ssssssss.magicboot.utils.CrmRequestUtil;
import org.ssssssss.magicboot.utils.KingDeeUtils;
import java.util.*; import java.util.*;
@ -350,7 +351,7 @@ public class XSHTController {
System.out.println(JSON.parseObject(JSON.toJSONString(contractReqEntity))); System.out.println(JSON.parseObject(JSON.toJSONString(contractReqEntity)));
//开始向金蝶发起请求 //开始向金蝶发起请求
String contractUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/conm/conm_salcontract/savecontract"; String contractUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/conm/conm_salcontract/savecontract";
JSONObject contractRes = new JSONObject(); JSONObject contractRes = new JSONObject();
@ -387,6 +388,10 @@ public class XSHTController {
backReqMap.put("erp_id__c", contractRes.getJSONObject("data").getJSONArray("result").getJSONObject(0).getString("id")); backReqMap.put("erp_id__c", contractRes.getJSONObject("data").getJSONArray("result").getJSONObject(0).getString("id"));
backReqMap.put("sync_status__c", "option_sync_success__c"); backReqMap.put("sync_status__c", "option_sync_success__c");
backReqMap.put("response_info__c", "同步成功"); backReqMap.put("response_info__c", "同步成功");
//审核
KingDeeUtils kingDeeUtils = new KingDeeUtils();
kingDeeUtils.audit(contractRes.getJSONObject("data").getJSONArray("result").getJSONObject(0).getString("id"), "conm_salcontract");
} else { } else {
//同步失败 //同步失败
logMap.put("log_status", "1"); logMap.put("log_status", "1");
@ -507,7 +512,7 @@ public class XSHTController {
JSONObject isCompleteRes = new JSONObject(); JSONObject isCompleteRes = new JSONObject();
try { try {
isCompleteRes = restTemplate.postForObject("http://192.168.31.233:8022/ierp/kapi/v2/f9w5/f9w5_conm_ext/salcontract/beComplete", isCompleteEntity, JSONObject.class); isCompleteRes = restTemplate.postForObject("http://192.168.31.158:8022/ierp/kapi/v2/f9w5/f9w5_conm_ext/salcontract/beComplete", isCompleteEntity, JSONObject.class);
} catch (RestClientException e) { } catch (RestClientException e) {
e.printStackTrace(); e.printStackTrace();
} }

View File

@ -234,7 +234,7 @@ public class customerController {
*/ */
public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) { public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) {
String syn_type = "0";//同步类型 0新增 1修改 2删除 String syn_type = "0";//同步类型 0新增 1修改 2删除
String res_url = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/basedata/bd_customer/customerSave"; String res_url = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/basedata/bd_customer/customerSave";
String res_param = obj; String res_param = obj;
String res = ""; String res = "";
try { try {
@ -483,7 +483,7 @@ public class customerController {
public void getSynDataSaveup(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) { public void getSynDataSaveup(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) {
String syn_type = "1";//同步类型 0新增 1修改 2删除 String syn_type = "1";//同步类型 0新增 1修改 2删除
String res_url = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/basedata/bd_customer/customerSave"; String res_url = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/basedata/bd_customer/customerSave";
String res_param = obj; String res_param = obj;
String res = ""; String res = "";
try { try {

View File

@ -42,7 +42,7 @@ public class customergroupController {
Boolean sendFlag = false;//是否阻断 Boolean sendFlag = false;//是否阻断
StringBuffer stringBuffer = new StringBuffer(); StringBuffer stringBuffer = new StringBuffer();
String sendUrl = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/basedata/bd_customergroup/customergroupSave"; String sendUrl = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/basedata/bd_customergroup/customergroupSave";
String sendBody = ""; String sendBody = "";
String sendRes = ""; String sendRes = "";

View File

@ -250,7 +250,7 @@ public class materialreqbillController {
*/ */
public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) { public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) {
String syn_type = "0";//同步类型 0新增 1修改 2删除 String syn_type = "0";//同步类型 0新增 1修改 2删除
String res_url = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/im/im_materialreqbill/materialreqbillSave"; String res_url = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/im/im_materialreqbill/materialreqbillSave";
String res_param = obj; String res_param = obj;
String res = ""; String res = "";
try { try {

View File

@ -238,7 +238,7 @@ public class materialreqbillXTController {
*/ */
public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) { public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) {
String syn_type = "0";//同步类型 0新增 1修改 2删除 String syn_type = "0";//同步类型 0新增 1修改 2删除
String res_url = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/im/materialreqbill/push"; String res_url = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/im/materialreqbill/push";
String res_param = obj; String res_param = obj;
String res = ""; String res = "";
try { try {
@ -312,7 +312,7 @@ public class materialreqbillXTController {
public void doOperation(String crmId,String operation) throws Exception { public void doOperation(String crmId,String operation) throws Exception {
//操作类型submit提交audit审核撤销unsubmit删除:delete;反审核unaudit //操作类型submit提交audit审核撤销unsubmit删除:delete;反审核unaudit
String res_url = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/im/materialreqbill/doOperation"; String res_url = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/im/materialreqbill/doOperation";
JSONObject datajson = new JSONObject(); JSONObject datajson = new JSONObject();
datajson.put("crmId",crmId); datajson.put("crmId",crmId);
datajson.put("operation",operation); datajson.put("operation",operation);

View File

@ -259,7 +259,7 @@ public class priceapprovaController {
*/ */
public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str,JSONArray specificationfile) { public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str,JSONArray specificationfile) {
String syn_type = "0";//同步类型 0新增 1修改 2删除 String syn_type = "0";//同步类型 0新增 1修改 2删除
String res_url = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/pmp/f9w5_pmp_priceapproval/priceapprovalSave"; String res_url = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/pmp/f9w5_pmp_priceapproval/priceapprovalSave";
String res_param = obj; String res_param = obj;
String res = ""; String res = "";
try { try {
@ -298,7 +298,7 @@ public class priceapprovaController {
//开始发起传输 //开始发起传输
JSONObject fileRes = new JSONObject(); JSONObject fileRes = new JSONObject();
try { try {
fileRes = restTemplate.postForObject("http://192.168.31.233:8022/ierp/kapi/v2/frame/attachment/uploadFile", entity, JSONObject.class); fileRes = restTemplate.postForObject("http://192.168.31.158:8022/ierp/kapi/v2/frame/attachment/uploadFile", entity, JSONObject.class);
Map<String, Object> paramMap2 = new HashMap<String, Object>(); Map<String, Object> paramMap2 = new HashMap<String, Object>();
String message = fileRes.getString("message"); String message = fileRes.getString("message");

View File

@ -235,7 +235,7 @@ public class returnapplicationController {
*/ */
public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) { public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) {
String syn_type = "0";//同步类型 0新增 1修改 2删除 String syn_type = "0";//同步类型 0新增 1修改 2删除
String res_url = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/im/materialreqbill/save"; String res_url = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/im/materialreqbill/save";
String res_param = obj; String res_param = obj;
String res = ""; String res = "";
try { try {

View File

@ -223,7 +223,7 @@ public class salesPredictionController {
*/ */
public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) { public void getSynDataSave(StringBuffer stringBuffer,Boolean sendFlag,FXHTTP fxapi,String dataId,String nameData,String obj,JSONObject str) {
String syn_type = "0";//同步类型 0新增 1修改 2删除 String syn_type = "0";//同步类型 0新增 1修改 2删除
String res_url = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/sm/f9w5_salespred/salespredSave"; String res_url = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/sm/f9w5_salespred/salespredSave";
String res_param = obj; String res_param = obj;
String res = ""; String res = "";
try { try {

View File

@ -26,7 +26,7 @@ public class KingDeeUtils {
* @Author weiloong_zhang * @Author weiloong_zhang
*/ */
public void audit(String ErpId, String BillType) { public void audit(String ErpId, String BillType) {
String url = "http://192.168.31.233:8022/ierp/kapi/v2/f9w5/devportal/operation/submit"; String url = "http://192.168.31.158:8022/ierp/kapi/v2/f9w5/devportal/operation/submit";
//开始封装参数 //开始封装参数
Map auditParams = new HashMap(); Map auditParams = new HashMap();

View File

@ -19,7 +19,7 @@ public class FXTIC {
public static String URL_DESCRIBE="https://open.fxiaoke.com/cgi/crm/v2/object/describe"; public static String URL_DESCRIBE="https://open.fxiaoke.com/cgi/crm/v2/object/describe";
public static String TESTERPURL="http://192.168.31.233:8022/ierp/kapi"; public static String TESTERPURL="http://192.168.31.158:8022/ierp/kapi";
public static String ERPURL="https://lxr2.zhydsp.cn:40448/ierp/kapi"; public static String ERPURL="https://lxr2.zhydsp.cn:40448/ierp/kapi";