瀏覽代碼

三公设置 provinceId默认值

Lyyyi 2 周之前
父節點
當前提交
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);