diff --git a/Dlhis.Jinko.Face.sln b/Dlhis.Jinko.Face.sln
index b7e65f3f..dc9198be 100644
--- a/Dlhis.Jinko.Face.sln
+++ b/Dlhis.Jinko.Face.sln
@@ -51,6 +51,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dlhis.Middle", "Src\Dlhis.M
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dlhis.DataPermission.Model", "Src\Dlhis.DataPermission.Model\Dlhis.DataPermission.Model.csproj", "{CA1427E2-CC70-4489-8653-1C05630C8392}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dlhis.InfoCheck.Api", "Src\Dlhis.InfoCheck.Api\Dlhis.InfoCheck.Api.csproj", "{A501D16E-638F-4156-989C-2BACCC2FAC2B}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -129,6 +131,10 @@ Global
{CA1427E2-CC70-4489-8653-1C05630C8392}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CA1427E2-CC70-4489-8653-1C05630C8392}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CA1427E2-CC70-4489-8653-1C05630C8392}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A501D16E-638F-4156-989C-2BACCC2FAC2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A501D16E-638F-4156-989C-2BACCC2FAC2B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A501D16E-638F-4156-989C-2BACCC2FAC2B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A501D16E-638F-4156-989C-2BACCC2FAC2B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -148,6 +154,7 @@ Global
{69E8A91A-5D05-4327-BC24-038523C7628C} = {489252FB-A44B-46EE-B065-21CDCB724441}
{053BF7B2-B1A0-435F-9C77-2EF5622CC5C5} = {65E76F97-E78A-4C95-B788-4091236B1A79}
{4D656761-8CE7-4316-A3DF-8C1722D69CCE} = {4EBCE46B-CE3A-4A47-9432-82A1854CA58A}
+ {A501D16E-638F-4156-989C-2BACCC2FAC2B} = {4EBCE46B-CE3A-4A47-9432-82A1854CA58A}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {7439494A-E2FD-4FEA-8ABF-74AE57A4A5A0}
diff --git a/Src/Dlhis.Basic/Dlhis.Basic.csproj b/Src/Dlhis.Basic/Dlhis.Basic.csproj
index 9528dadc..2d2370fa 100644
--- a/Src/Dlhis.Basic/Dlhis.Basic.csproj
+++ b/Src/Dlhis.Basic/Dlhis.Basic.csproj
@@ -25,6 +25,7 @@
+
diff --git a/Src/Dlhis.Basic/Organization/Controllers/FactorySettingController.cs b/Src/Dlhis.Basic/Organization/Controllers/FactorySettingController.cs
index e6074b1f..985c0a40 100644
--- a/Src/Dlhis.Basic/Organization/Controllers/FactorySettingController.cs
+++ b/Src/Dlhis.Basic/Organization/Controllers/FactorySettingController.cs
@@ -1,4 +1,5 @@
-using Dlhis.Basic.Organization.Request;
+using System.ComponentModel.DataAnnotations;
+using Dlhis.Basic.Organization.Request;
using Dlhis.Basic.Organization.Response;
using Dlhis.Basic.Organization.Services;
using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
@@ -43,4 +44,15 @@ public class FactorySettingController : ControllerBase
{
await _factorySettingService.SaveAsync(request);
}
+
+ ///
+ /// 根据factory获取配置
+ ///
+ ///
+ ///
+ [HttpGet("single")]
+ public async Task GetFactorySettingAsync([Required(ErrorMessage = "厂区不可为空")] string factory)
+ {
+ return await _factorySettingService.GetFactorySettingAsync(factory);
+ }
}
\ No newline at end of file
diff --git a/Src/Dlhis.Basic/Organization/Controllers/GainfoOutsourceSettingController.cs b/Src/Dlhis.Basic/Organization/Controllers/GainfoOutsourceSettingController.cs
deleted file mode 100644
index 84676457..00000000
--- a/Src/Dlhis.Basic/Organization/Controllers/GainfoOutsourceSettingController.cs
+++ /dev/null
@@ -1,48 +0,0 @@
-using Dlhis.Basic.Device.Filters;
-using Dlhis.Basic.Organization.Request;
-using Dlhis.Basic.Organization.Services;
-using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Mvc;
-
-namespace Dlhis.Basic.Organization.Controllers;
-
-///
-/// 外包人员配置
-///
-[Authorize]
-[Route("api/[controller]")]
-[ApiController]
-public class GainfoOutsourceSettingController : ControllerBase
-{
- private readonly IGainfoOutsourceSettingService _gainfoOutSourceService;
-
- public GainfoOutsourceSettingController(IGainfoOutsourceSettingService gainfoOutSourceService)
- {
- _gainfoOutSourceService = gainfoOutSourceService;
- }
-
-
- ///
- /// 保存配置
- ///
- ///
- [HttpPost("save")]
- [AssignPermissionLimit]
- [Transactional]
- [CrossTenant]
- public async Task SaveAsync(GainfoOutsourceSettingSaveRequest request)
- {
- await _gainfoOutSourceService.SaveAsync(request);
- }
-
- ///
- /// 获取当前厂区配置
- ///
- ///
- [HttpGet("current")]
- public async Task