From 27d7b50f43c85f12507ab1a61290fa9551d4d780 Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期二, 17 五月 2022 16:58:35 +0800
Subject: [PATCH] 不良评审单、工序进站单、工序出站单、委外接收单、委外发出单删除时增加制单人与删除人是否一致系统参数控制;不良明细良率报表修改优化,原报表取值数据代码里写死改为取存储过程里数据显示
---
WebAPI/InvokeHelper.cs | 31 ++++++++++++++++++++++++++-----
1 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/WebAPI/InvokeHelper.cs b/WebAPI/InvokeHelper.cs
index 5f8510d..2bc5e15 100644
--- a/WebAPI/InvokeHelper.cs
+++ b/WebAPI/InvokeHelper.cs
@@ -11,8 +11,10 @@
{
//private static string CloudUrl = "http://localhost/k3cloud/";//K/3 Cloud 涓氬姟绔欑偣鍦板潃
//private static string CloudUrl = "http://60.190.4.42:9002/k3cloud/";//K/3 Cloud 涓氬姟绔欑偣鍦板潃
- private static string CloudUrl = "http://47.96.97.237/k3cloud/";//K/3 Cloud 涓氬姟绔欑偣鍦板潃
-
+ //private static string CloudUrl = "http://47.96.97.237/k3cloud/";//K/3 Cloud 涓氬姟绔欑偣鍦板潃
+ //private static string CloudUrl = "http://60.190.4.42:9002/K3CLOUD/";//澶忓疂
+ private static string CloudUrl = "http://124.70.129.242/k3cloud/";//闆呯惇璇�
+
/// <summary>
/// 鐧婚檰
/// </summary>
@@ -22,9 +24,9 @@
httpClient.Url = string.Concat(CloudUrl, "Kingdee.BOS.WebApi.ServicesStub.AuthService.ValidateUser.common.kdsvc");
List<object> Parameters = new List<object>();
- Parameters.Add("61aec029faed1a");//璐﹀鏍囩ず
+ Parameters.Add("5f56ea565892f4");//璐﹀鏍囩ず
Parameters.Add("Administrator");//鐢ㄦ埛鍚�
- Parameters.Add("qaz!@#123");//瀵嗙爜
+ Parameters.Add("ycy123");//瀵嗙爜
Parameters.Add(2052);//2052浠h〃涓枃
httpClient.Content = JsonConvert.SerializeObject(Parameters);
@@ -185,6 +187,7 @@
return httpClient.SyncRequest();
}
+ //鍙嶅鏍�
public static string UnAudit(string formId, string content)
{
HttpClient httpClient = new HttpClient();
@@ -198,7 +201,7 @@
httpClient.Content = JsonConvert.SerializeObject(Parameters);
return httpClient.SyncRequest();
}
-
+ //涓嬫帹
public static string Push(string formId, string content)
{
HttpClient httpClient = new HttpClient();
@@ -240,5 +243,23 @@
httpClient.Content = JsonConvert.SerializeObject(args);
return httpClient.SyncRequest();
}
+
+ //鐢熶骇璁㈠崟 鎵ц
+ public static string ExcuteOperation(string formId, string opNumber, string content)
+ {
+ LogService.Write("鐢熶骇璁㈠崟 鎵ц锛宱pNumber锛� " + opNumber + ",content:" + content);
+ HttpClient httpClient = new HttpClient();
+ httpClient.Url = string.Concat(CloudUrl, "Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExcuteOperation.common.kdsvc");
+
+ List<object> Parameters = new List<object>();
+ //涓氬姟瀵硅薄Id
+ Parameters.Add(formId);
+ //鎿嶄綔 寮�宸�"ToStart"
+ Parameters.Add(opNumber);
+ //Json瀛椾覆
+ Parameters.Add(content);
+ httpClient.Content = JsonConvert.SerializeObject(Parameters);
+ return httpClient.SyncRequest();
+ }
}
}
--
Gitblit v1.9.1