|
@ -85,6 +85,17 @@ namespace Webservice |
|
|
Context.Response.Write(res); |
|
|
Context.Response.Write(res); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[WebMethod] |
|
|
|
|
|
[ScriptMethod(UseHttpGet = true, ResponseFormat = ResponseFormat.Json)] |
|
|
|
|
|
public string WMSSprayingForCSForTest(string barcode, int isOK) |
|
|
|
|
|
{ |
|
|
|
|
|
string errorReason = string.Empty; |
|
|
|
|
|
bool b = WMSSprayingForCS(barcode, isOK, out errorReason); |
|
|
|
|
|
if (string.IsNullOrEmpty(errorReason)) |
|
|
|
|
|
return "true"; |
|
|
|
|
|
return errorReason; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 调用WMS接口03
|
|
|
/// 调用WMS接口03
|
|
|
/// lx 20190610,wff2022-04-19修改,报废由0变为2
|
|
|
/// lx 20190610,wff2022-04-19修改,报废由0变为2
|
|
|