fix 调整
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Dlhis.Basic.Organization.Response;
|
||||
/*using Dlhis.Basic.Organization.Response;
|
||||
using Dlhis.Entity.Basic.Entity;
|
||||
using Kurisu.Core.User.Abstractions;
|
||||
using Kurisu.SqlSugar.Services;
|
||||
@@ -32,3 +32,4 @@ public class WerkService : IWerkService
|
||||
.FirstAsync();
|
||||
}
|
||||
}
|
||||
*/
|
||||
@@ -38,6 +38,7 @@ public class OrdersController : ControllerBase
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[AllowAnonymous]
|
||||
[HttpPost]
|
||||
public async Task AddAsync(OrderAddRequest request)
|
||||
{
|
||||
|
||||
@@ -10,6 +10,7 @@ using Kurisu.AspNetCore.Utils;
|
||||
using Kurisu.AspNetCore.Utils.Extensions;
|
||||
using Kurisu.Core.CustomClass;
|
||||
using Kurisu.Core.DataAccess.Dto;
|
||||
using Kurisu.SqlSugar.Attributes;
|
||||
using Kurisu.SqlSugar.Extensions;
|
||||
using Kurisu.SqlSugar.Services;
|
||||
using Mapster;
|
||||
@@ -39,6 +40,7 @@ public class OrderService : IOrderService
|
||||
return page;
|
||||
}
|
||||
|
||||
[IgnoreTenant]
|
||||
public async Task AddAsync(OrderAddRequest request)
|
||||
{
|
||||
var device = await _dbContext.Queryable<DeviceEntity>().Where(x => x.UniqueNo == request.DeviceUniqueNo).Where(x => x.Enable).FirstAsync();
|
||||
|
||||
@@ -13,7 +13,8 @@
|
||||
"DefaultConnectionString": "server=192.168.199.124;port=3306;userid=root;password=dlhis123;database=yikatong;charset=utf8mb4;",
|
||||
"SlaveConnectionString": [],
|
||||
"Timeout": 30,
|
||||
"SlowSqlTime": 1
|
||||
"SlowSqlTime": 1,
|
||||
"EnableSqlLog": true
|
||||
},
|
||||
"SwaggerOptions": {
|
||||
"Enable": true,
|
||||
|
||||
Reference in New Issue
Block a user