Explorar el Código

三公设置 provinceId默认值

Lyyyi hace 9 horas
padre
commit
e500e78475

+ 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);