소스 검색

三公设置 provinceId默认值

Lyyyi 1 주 전
부모
커밋
e500e78475
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      OASystem/OASystem.Infrastructure/Repositories/Groups/EnterExitCostRepository.cs

+ 1 - 1
OASystem/OASystem.Infrastructure/Repositories/Groups/EnterExitCostRepository.cs

@@ -304,7 +304,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
         /// <returns></returns>
         public async Task<JsonView> GetEnterExitCostInfoByDiId(EnterExitCostInfobyDiIdDto dto)
         {
-            var result = new JsonView() { Code = 400, Msg = "暂无数据" };
+            var result = new JsonView() { Code = 400, Msg = "暂无数据", Data = new { provinceId = 0 } };
 
             var enterExitCostData = await _sqlSugar.Queryable<Grp_EnterExitCost>().OrderByDescending(x => x.CreateTime).FirstAsync(it => it.DiId == dto.DiId && it.IsDel == 0);