Commit c735d02b by zonevg

1

parent 0bd5e9a2
......@@ -238,6 +238,8 @@ namespace JunmpPoliceStation.Controllers
if (result)
{
if (updateInvs.Count > 0)
{
var httpResult = _httpHelper.GetHtml(new HttpItem()
{
URL = _httpHelper._centerServerAddress + "/api/Print/EditInventory",
......@@ -286,6 +288,7 @@ namespace JunmpPoliceStation.Controllers
scope.Rollback();
return JsonManager.SimpleCustResponse(obj.msg);
}
}
scope.Commit();
return JsonManager.SimpleStatusResponse(ResultCode.OPERATE_SUCCESS);
}
......@@ -4578,6 +4581,8 @@ namespace JunmpPoliceStation.Controllers
bool result = _unitOfWork.PolicemanRepository.Update(policemanInfo, true);
if (result)
{
if (EqInv.Count > 0)
{
//上报数据
var httpResult = _httpHelper.GetHtml(new HttpItem()
{
......@@ -4627,6 +4632,7 @@ namespace JunmpPoliceStation.Controllers
scope.Rollback();
return JsonManager.SimpleCustResponse(obj.msg);
}
}
scope.Commit();
return JsonManager.SimpleStatusResponse(ResultCode.OPERATE_SUCCESS);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论