yibo 4 years ago
parent
commit
37f88c5bf1
1 changed files with 10 additions and 1 deletions
  1. +10
    -1
      ButcherFactory.BO/LocalBL/CarcassSaleOutBL.cs

+ 10
- 1
ButcherFactory.BO/LocalBL/CarcassSaleOutBL.cs View File

@ -117,7 +117,16 @@ namespace ButcherFactory.BO.LocalBL
}
else
{
var json = RpcFacade.Call<string>("/MainSystem/B3ButcherManage/Rpcs/CarcassStoreDetailRpc/GetCarcassInstoreInfo", barCode);
string json;
try
{
json = RpcFacade.Call<string>("/MainSystem/B3ButcherManage/Rpcs/CarcassStoreDetailRpc/GetCarcassInstoreInfo", barCode);
}
catch
{
session.Dispose();
throw;
}
var mesInfo = JsonConvert.DeserializeObject<SaleOutCarcassObj>(json);
if (!string.IsNullOrEmpty(mesInfo.Goods_Code))
{


Loading…
Cancel
Save