提交 6bf557c3 authored 作者: inroi's avatar inroi

微调

上级 77d7e39c
...@@ -43,22 +43,22 @@ public class KingdeeApiClient { ...@@ -43,22 +43,22 @@ public class KingdeeApiClient {
long beginTime=System.currentTimeMillis(); long beginTime=System.currentTimeMillis();
//生产环境 //生产环境
/*IdentifyInfo identifyInfo = new IdentifyInfo() {}; IdentifyInfo identifyInfo = new IdentifyInfo() {};
identifyInfo.setAppId("232190_5d4pQbjpRvp86VypX3TD1dXJUKXc4ppo"); identifyInfo.setAppId("232190_5d4pQbjpRvp86VypX3TD1dXJUKXc4ppo");
identifyInfo.setAppSecret("7e4a4779a554403eb2189bf3841552e3"); identifyInfo.setAppSecret("7e4a4779a554403eb2189bf3841552e3");
identifyInfo.setServerUrl("http://10.10.1.212/k3cloud/"); identifyInfo.setServerUrl("http://10.10.1.212/k3cloud/");
identifyInfo.setdCID("62f50a9ea1ece4"); identifyInfo.setdCID("62f50a9ea1ece4");
identifyInfo.setlCID(2052); identifyInfo.setlCID(2052);
identifyInfo.setUserName("Administrator");*/ identifyInfo.setUserName("Administrator");
//测试环境 //测试环境
IdentifyInfo identifyInfo = new IdentifyInfo() {}; /*IdentifyInfo identifyInfo = new IdentifyInfo() {};
identifyInfo.setAppId("232190_5d4pQbjpRvp86VypX3TD1dXJUKXc4ppo"); identifyInfo.setAppId("232190_5d4pQbjpRvp86VypX3TD1dXJUKXc4ppo");
identifyInfo.setAppSecret("7e4a4779a554403eb2189bf3841552e3"); identifyInfo.setAppSecret("7e4a4779a554403eb2189bf3841552e3");
identifyInfo.setServerUrl("http://10.10.1.212/k3cloud/"); identifyInfo.setServerUrl("http://10.10.1.212/k3cloud/");
identifyInfo.setdCID("62fa11f8d7448e"); identifyInfo.setdCID("62fa11f8d7448e");
identifyInfo.setlCID(2052); identifyInfo.setlCID(2052);
identifyInfo.setUserName("Administrator"); identifyInfo.setUserName("Administrator");*/
K3CloudApi k3CloudApi = new K3CloudApi(identifyInfo); K3CloudApi k3CloudApi = new K3CloudApi(identifyInfo);
T send = k3CloudApi.execute(servicename, parameters, returnType); T send = k3CloudApi.execute(servicename, parameters, returnType);
......
...@@ -72,6 +72,9 @@ public class ImsMtrlRejectApi implements web_api { ...@@ -72,6 +72,9 @@ public class ImsMtrlRejectApi implements web_api {
//必填项 //必填项
for (Map<String, Object> maps : lists) { for (Map<String, Object> maps : lists) {
Map<String, Object> FEntityMap = new HashMap<>(); Map<String, Object> FEntityMap = new HashMap<>();
FEntityMap.put("FMaterialId", new HashMap<String, Object>() {{
put("FNumber", maps.get("MTRL_ID"));
}}); //物料编码!
FEntityMap.put("FStockId", new HashMap<String, Object>() {{ FEntityMap.put("FStockId", new HashMap<String, Object>() {{
put("FNumber", maps.get("STORE_ID")); put("FNumber", maps.get("STORE_ID"));
}}); //仓库编码 }}); //仓库编码
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论