|
@@ -431,7 +431,7 @@ namespace WCS.WorkEngineering.WebApi.Controllers
|
|
|
/// <exception cref="KnownException"></exception>
|
|
|
public static SRes BingPallet(string palletCode, List<string> taskCodes, string warehouseCode, string loc, bool isFail, string failReason, bool isFinish, bool isItHalf)
|
|
|
{
|
|
|
- var res = APICaller.CallApi<SRes>(WmsUrl + "/api/FJ/BingPallet", new FJBingPalletRequest
|
|
|
+ var res = APICaller.CallApi2<SRes>(WmsUrl + "/api/FJ/BingPallet", new FJBingPalletRequest
|
|
|
{
|
|
|
PalletCode = palletCode,
|
|
|
TaskCode = taskCodes,
|
|
@@ -478,12 +478,7 @@ namespace WCS.WorkEngineering.WebApi.Controllers
|
|
|
/// <exception cref="KnownException"></exception>
|
|
|
public static SRes ApplyPalletizingStockOut(string loc, string robotCode)
|
|
|
{
|
|
|
- var res = APICaller.CallApi<SRes>(WmsUrl + "/api/FJ/ApplyPalletizingStockOut", new wms.dto.request.fj.RingApplyPalletizingStockOutRequest(loc.GetWareCode(), loc, robotCode));
|
|
|
-
|
|
|
- if (res.ResCode != ResponseStatusCodeEnum.Sucess)
|
|
|
- {
|
|
|
- throw new KnownException(res.ResMsg, LogLevelEnum.High);
|
|
|
- }
|
|
|
+ var res = APICaller.CallApi2<SRes>(WmsUrl + "/api/FJ/ApplyPalletizingStockOut", new wms.dto.request.fj.RingApplyPalletizingStockOutRequest(loc.GetWareCode(), loc, robotCode));
|
|
|
return res;
|
|
|
}
|
|
|
|