Browse Source

提交

master
mahao 2 years ago
parent
commit
4f1486915d
  1. 6
      src/WmsWebApi.Application/OtherZll/OtherZllService.cs
  2. 7
      src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs

6
src/WmsWebApi.Application/OtherZll/OtherZllService.cs

@ -93,6 +93,12 @@ public class OtherZllService : ApplicationService, IOtherZllService
result.MESSAGE = "Json格式不正确,详细信息:" + ex.Message; result.MESSAGE = "Json格式不正确,详细信息:" + ex.Message;
return result; return result;
} }
if (_dtoList == null || _dtoList.Count() <= 0)
{
bErr = true;
result.MESSAGE = "err:没有1000工厂数据";
return result;
}
WmsWebApiOtherZLLDTO dto = new WmsWebApiOtherZLLDTO(); WmsWebApiOtherZLLDTO dto = new WmsWebApiOtherZLLDTO();
dto.JSON = content.ToString(); dto.JSON = content.ToString();

7
src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs

@ -112,7 +112,12 @@ public class ZlldcjLogAppService : ApplicationService, IZlldcjLogAppService
{ {
result.TYPE = 'E'; result.TYPE = 'E';
result.MESSAGE = "Json格式不正确,详细信息:" + ex.GetBaseException().Message; result.MESSAGE = "Json格式不正确,详细信息:" + ex.GetBaseException().Message;
//return result; return result;
}
if (dtos == null || dtos.Count == 0)
{
bErr = true;
result.MESSAGE = "err:没有1000工厂数据";
return result; return result;
} }

Loading…
Cancel
Save