From f42cfc72f0744d58fc87f22cd0ed211c30267000 Mon Sep 17 00:00:00 2001 From: wankeda <Administrator@DESKTOP-HAU3ST3> Date: 星期五, 19 九月 2025 10:46:37 +0800 Subject: [PATCH] 1 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/MesOutboundOrderType.cs | 39 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/InitializationHostServiceSetup.cs | 28 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_DictionaryListService.cs | 11 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_User.cs | 145 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/InboundOrderDetailAddDTO.cs | 11 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_RoleRepository.cs | 14 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneDBName.cs | 134 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/OperateTypeEnum.cs | 19 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutoMapperSetup.cs | 16 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/WIDESEAWCS_Tasks.csproj | 18 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/WIDESEAWCS_ISystemRepository.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/IStockQuantityChangeRecordService.cs | 18 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_DictionaryListController.cs | 19 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/UserPermissions.cs | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Properties/PublishProfiles/FolderProfile.pubxml | 21 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoDetail_HtyService.cs | 15 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfoDetail.cs | 106 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_DictionaryList.cs | 57 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs | 28 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_PurchaseOrder.cs | 77 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/CodeAnalysisHelper.cs | 204 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_ApprovalFlow.cs | 41 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/PrintStatusEnum.cs | 23 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITaskService.cs | 43 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_CheckService/CheckOrderService.cs | 24 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/DbSetup.cs | 24 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_DictionaryListRepository.cs | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/SaveModel.cs | 21 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderAddDTO.cs | 37 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/ApiAuthorizeFilter.cs | 95 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrder_HtyController.cs | 24 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json | 34 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/ModelValidateAttribute.cs | 109 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockViewController.cs | 38 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Dictionary.cs | 95 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutStockLockInfoService.cs | 23 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_RoleAuthService.cs | 21 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITask_HtyService.cs | 18 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/HttpContextHelper.cs | 36 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/RepositorySetting.cs | 53 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskEnumHelper.cs | 59 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundService.cs | 18 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskExecuteDetailService.cs | 250 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoService/WIDESEAWCS_IBasicInfoService.csproj | 13 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_TenantRepository.cs | 18 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/SwaggerSetup.cs | 113 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_DictionaryController.cs | 31 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/ConveyorLineDBName.cs | 40 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderDetailService.cs | 20 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail_Hty.cs | 42 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs | 186 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/UtilConvert.cs | 983 + 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs | 29 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_ApiInfo.cs | 43 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/ExportHelper.cs | 106 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/MaterielEnum/MaterielTypeEnum.cs | 34 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/AutoMapperHelper.cs | 23 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_MenuController.cs | 67 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/CorsSetup.cs | 56 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Stock/StockViewDTO.cs | 133 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/WIDESEA_ISystemService.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs | 29 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_MenuService.cs | 396 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs | 27 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs | 681 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderDetailController.cs | 24 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/WIDESEAWCS_BasicInfoService.csproj | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/LocationGroupDTO.cs | 35 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/OrderDetailStatusEnum.cs | 52 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Check/Dt_CheckOrderResult.cs | 53 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundService.cs | 16 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/TestJob.cs | 66 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Menu.cs | 87 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/UserPermissions.cs | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_UserService.cs | 26 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/WareHouseEnum/WarehouseEnum.cs | 76 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutoMapperSetup.cs | 16 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/SqlDbTypeName.cs | 29 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/TenantConst.cs | 13 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_DictionaryListRepository.cs | 18 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockViewService.cs | 18 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs | 151 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/WarehouseService.cs | 85 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/IDependency.cs | 12 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail_Hty.cs | 42 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/EnableStatusEnum.cs | 39 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/AppSettings.cs | 89 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/LogHelper/RequestLogModel.cs | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/ApiLogMiddleware.cs | 161 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs | 113 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Tenants/MultiTenantAttribute.cs | 56 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_RoleAuthService.cs | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Config/Dt_CodeRuleConfig.cs | 71 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/GlobalExceptionsFilter.cs | 93 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/LocationChangeType.cs | 57 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ICheckService/ICheckOrderService.cs | 15 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_DictionaryListController.cs | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_RoleService.cs | 35 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/VierificationCode.cs | 122 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/SupplierDTO.cs | 79 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/WIDESEA_Model.csproj | 19 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_DictionaryRepository.cs | 15 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundService.cs | 22 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/index.html | 188 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IBasicService.cs | 31 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/WebSocketHostService.cs | 25 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_PurchaseOrderDetail.cs | 71 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Authorization/AuthorizationResponse.cs | 46 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/HttpHelper.cs | 136 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/config/applicationhost.config | 1021 + 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/LambdaExtensions.cs | 248 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_TenantService.cs | 79 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs | 977 + 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs | 21 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/OrderCreateTypeEnum.cs | 24 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/WIDESEA_IInboundService.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1091.29919/CodeChunks.db | 0 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoDetail_HtyService.cs | 11 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/BaseDBConfig.cs | 121 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DispatchInfoController.cs | 17 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_DictionaryListService.cs | 19 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/ServiceBase.cs | 923 + 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_LogController.cs | 17 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_DictionaryService.cs | 127 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Record/Dt_StockQuantityChangeRecord.cs | 101 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/Helper/ConvertHelper.cs | 53 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskStatusEnum.cs | 297 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/JwtTokenAuthMiddleware.cs | 94 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_PalletTypeInfo.cs | 89 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/StackerCarneTaskDTO.cs | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ICheckService/ICheckOrderResultService.cs | 15 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_MenuService.cs | 361 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/ActionExecuteFilter.cs | 23 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/Models/IBaseHistoryEntity.cs | 37 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/OutboundOrderEnum.cs | 96 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/WIDESEA_IStockService.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/ExceptionHandlerMiddleware.cs | 59 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs | 89 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/TenantStatus.cs | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrder_Hty.cs | 44 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/RoleNodes.cs | 15 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_RoleRepository.cs | 18 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/ILocationInfoService.cs | 55 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/HttpContextExtension.cs | 24 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/MemoryCacheSetup.cs | 28 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/LoginInfo.cs | 15 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/SqlsugarSetup.cs | 150 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs | 65 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/ICacheService.cs | 60 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/HttpContextSetup.cs | 30 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/WIDESEAWCS_SystemServices.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/TaskEnum/TaskTypeEnum.cs | 126 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Core/InternalApp.cs | 47 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/BasicService.cs | 26 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/WhetherEnum.cs | 24 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/MenuDTO.cs | 14 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutofacPropertityModuleReg.cs | 17 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Log.cs | 86 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/Models/BaseEntity.cs | 82 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/LoginInfo.cs | 15 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Seed/DBContext.cs | 216 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/StationTypeEnum.cs | 31 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_RoleAuthController.cs | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Authorization/JwtHelper.cs | 121 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/Attributes/BoolIndexAttribute.cs | 17 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_TenantService.cs | 16 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.editorconfig | 4 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/GetStackerObject.cs | 228 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/WebSocketSetup.cs | 32 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_MesOutboundOrder.cs | 116 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoRepository/WIDESEAWCS_ITaskInfoRepository.csproj | 13 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_RoleAuthService.cs | 19 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/StockEnum/OutLockStockStatusEnum.cs | 27 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/WMSinfo/WMSIP.cs | 48 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_TenantRepository.cs | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/AnalysisCodeEnum.cs | 29 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/MiniProfilerSetup.cs | 32 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/StationMangerService.cs | 19 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/InitializationLocationDTO.cs | 43 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrderService.cs | 20 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/WIDESEA_DTO.csproj | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderDetail_HtyController.cs | 23 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/FileHelper.cs | 451 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Seed/DBSeed.cs | 318 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/TaskEnum/TaskStatusEnum.cs | 115 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/TaskInfo/Dt_Task_Hty.cs | 44 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs | 36 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Properties/launchSettings.json | 31 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/WIDESEA_OutboundService.csproj | 16 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskStatusGroup.cs | 15 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_RoleAuthRepository.cs | 18 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_DictionaryListService.cs | 21 项目代码/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/config/applicationhost.config | 1026 + 项目代码/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/v17/DocumentLayout.backup.json | 425 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WIDESEA_TaskInfoService.csproj | 18 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/App.cs | 211 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/MemoryCacheService.cs | 113 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseController/ApiBaseController.cs | 171 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs | 25 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/MethodInfoExtensions.cs | 22 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/CustomValidationAttribute.cs | 25 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderDetail_HtyService.cs | 19 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageGridData.cs | 26 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfoDetail_Hty.cs | 42 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerStatusEnum.cs | 151 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Role.cs | 54 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfo_HtyService.cs | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_UserService.cs | 269 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrder.cs | 86 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs | 30 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/MainDb.cs | 32 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Seed/FrameSeed.cs | 582 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/AutofacModuleRegister.cs | 80 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs | 22 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoRepository/WIDESEAWCS_IBasicInfoRepository.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IMaterielInfoService.cs | 18 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/EntityProperties.cs | 367 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs | 52 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/MatSerNumAnalysisModel.cs | 59 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/MaterielEnum/MaterielStateEnum.cs | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/IFixedTokenFilter.cs | 57 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_TenantService.cs | 82 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneTaskCommand.cs | 83 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/CodeRuleAttribute.cs | 20 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/ITaskService.cs | 221 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/LocationStatusEnum.cs | 50 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderDetailService.cs | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/v17/DocumentLayout.json | 2614 +++ 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/APIEnum/APIEnum.cs | 41 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_DictionaryRepository.cs | 75 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Authorization/AuthorizationSetup.cs | 67 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/SecurityEncDecryptHelper.cs | 93 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/LogHelper/LogLock.cs | 92 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderDetail_HtyService.cs | 23 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo_Hty.cs | 42 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1091.29919/SemanticSymbols.db | 0 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_MenuService.cs | 39 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderGetDTO.cs | 15 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrder_Hty.cs | 44 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_UserRepository.cs | 16 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoRepository/TaskExecuteDetailRepository.cs | 35 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/TaskEnum/TaskEnumHelper.cs | 38 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrder_HtyService.cs | 17 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/WIDESEAWCS_DTO.csproj | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Record/Dt_LocationStatusChangeRecord.cs | 77 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Properties/PublishProfiles/FolderProfile.pubxml | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_RoleDataPermission.cs | 27 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/ServiceFunFilter.cs | 238 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IPalletCodeInfoService.cs | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/RecordService.cs | 22 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/ApplicationSetup.cs | 28 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/ConveyorLineTaskCommand.cs | 317 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj | 77 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrderDetailService.cs | 22 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_PalletCodeInfo.cs | 41 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/WIDESEA_BasicService.csproj | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OtherEnum/SequenceEnum.cs | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/HttpRequestMiddleware.cs | 25 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_LogService.cs | 14 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_RoleAuth.cs | 48 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/PurchaseOrderEnum.cs | 64 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielInfo.cs | 128 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer.xml | 163 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_LogController.cs | 20 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs | 136 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/RoleNodes.cs | 15 项目代码/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1091.29919/CodeChunks.db | 0 项目代码/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1091.29919/SemanticSymbols.db | 0 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoService/IStationMangerService.cs | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/InboundOrderGetDTO.cs | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Task/WMSTaskDTO.cs | 104 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_LogService.cs | 19 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Actions.cs | 16 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HostedService/SeedDataHostedService.cs | 63 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_LogService.cs | 14 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Tenant.cs | 57 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HostedService/PermissionDataHostService.cs | 200 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_NodeTransition.cs | 41 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Core/ConfigurableOptions.cs | 66 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundLockInfo.cs | 112 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.Development.json | 8 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_MenuRepository.cs | 201 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/ILocationStatusChangeRecordService.cs | 18 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_TaskExecuteDetail.cs | 112 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageDataOptions.cs | 153 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_UserRepository.cs | 26 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/SwaggerAuthMiddleware.cs | 86 项目代码/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/v17/DocumentLayout.json | 425 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/AOP/LogAOP.cs | 337 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/RoleAuthor.cs | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/ConsoleHelper.cs | 57 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrder.cs | 80 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/WIDESEA_IBasicService.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/MaterielEnum/MaterielSourceTypeEnum.cs | 26 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderDetailAddDTO.cs | 39 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_DictionaryService.cs | 19 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundService.cs | 21 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/MaterielInfoService.cs | 24 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/WIDESEA_Core.csproj | 41 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/PalletCodeInfoController.cs | 19 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Properties/launchSettings.json | 31 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_ReceiveOrderDetail.cs | 101 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/WIDESEAWCS_Common.csproj | 9 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/IService.cs | 123 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_LogRepository.cs | 18 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_RoleService.cs | 358 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_ApprovalTask.cs | 71 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs | 38 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/ErrorMsgConst.cs | 15 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/CommonStackerCraneJob.cs | 357 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_RoleAuthRepository.cs | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/ModelValidate.cs | 239 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/SwaggerContextExtension.cs | 72 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/WIDESEA_SystemService.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/WIDESEA_InboundService.csproj | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/AuthorityScopeEnum.cs | 41 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/IpLimitMiddleware.cs | 40 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Check/Dt_CheckOrder.cs | 120 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfo_HtyController.cs | 22 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/WIDESEA_ITaskInfoService.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/RuntimeExtension.cs | 89 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/LocationTypeEnum.cs | 45 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_Warehouse.cs | 59 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/AOP/SqlSugarAop.cs | 158 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_MenuService.cs | 32 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_LocationInfo.cs | 95 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_Task.cs | 164 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderService.cs | 20 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/IRecordService.cs | 16 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/ParamsValidator.cs | 48 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_RoleAuthService.cs | 16 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Tenants/ITenantEntity.cs | 21 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoDetail_HtyController.cs | 22 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/HttpMesHelper.cs | 83 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/WebSocketSetup.cs | 29 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/AuditStatusEnum.cs | 36 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail.cs | 87 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoRepository/TaskRepository.cs | 35 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Stock/StockSelectViewDTO.cs | 22 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderDetail_HtyService.cs | 15 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceProtocolDetailController.cs | 17 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/ITaskExecuteDetailService.cs | 39 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrder_HtyService.cs | 30 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_TenantController.cs | 36 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/MiddlewareHelpers.cs | 42 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/WIDESEAWCS_ISystemServices.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_UserInfo.cs | 61 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_LogService.cs | 19 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs | 81 项目代码/WCS/WIDESEAWCS_Server/.editorconfig | 4 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_SupplierInfo.cs | 83 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/CheckOrderEnum.cs | 61 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService_Operate.cs | 106 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs | 23 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_TenantController.cs | 33 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/ReceiveOrderEnum.cs | 51 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/UseServiceDIAttribute.cs | 38 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/MethodParamsValidateAttribute.cs | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/UnitOfWorks/UnitOfWork.cs | 55 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/UserPermissions.cs | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs | 11 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Role.cs | 54 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_LogRepository.cs | 14 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_UserService.cs | 22 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/R_ConveyorLineDBName.cs | 142 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_RoleController.cs | 64 .gitignore | 1 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/StockQuantityChangeRecordService.cs | 19 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/CodeFormatTypeEnum.cs | 51 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/LocationInfoService.cs | 157 项目资料/项目图纸/1.3.1 S146-沈阳集成项目-仓库总图0317.dwl | 4 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/ActionDTO.cs | 16 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoRepository/ITaskRepository.cs | 32 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/RuleCodeEnum.cs | 49 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HttpContextUser/IUser.cs | 57 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs | 210 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs | 84 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrderDetail_HtyService.cs | 19 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/VueDictionaryDTO.cs | 19 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrder_HtyService.cs | 10 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/IpPolicyRateLimitSetup.cs | 43 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/WIDESEAWCS_TaskInfoService.csproj | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/CacheConst.cs | 94 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/InboundOrderAddDTO.cs | 79 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/PalletTypeEnum.cs | 38 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Department.cs | 57 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.Development.json | 8 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoRepository/WIDESEAWCS_TaskInfoRepository.csproj | 14 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_MenuController.cs | 55 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Tenant.cs | 57 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Record/StockQuantityChangeRecordController.cs | 20 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/ConfigConst.cs | 64 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoDetailService.cs | 26 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/Models/BaseWarehouseEntity.cs | 15 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_User.cs | 127 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs | 139 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskTypeGroup.cs | 16 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/ActionDTO.cs | 16 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/DictionaryDTO.cs | 29 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/MenuDTO.cs | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/TaskInfo/Dt_Task.cs | 146 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/WIDESEA_IOutboundService.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/WIDESEA_IRecordService.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Log.cs | 83 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Tenants/TenantUtil.cs | 127 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_RoleAuth.cs | 48 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs | 25 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/LogHelper/Logger.cs | 251 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/RecyclingEnum.cs | 31 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/WIDESEAWCS_Model.csproj | 24 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrder_HtyService.cs | 19 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs | 95 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskTypeEnum.cs | 76 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/PalletCodeInfoService.cs | 28 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_ApprovalNode.cs | 53 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoDetailController.cs | 20 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/StockEnum/StockStatusEmun.cs | 65 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockService.cs | 20 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/WebResponseContent.cs | 53 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/EnumHelper.cs | 111 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/v17/DocumentLayout.backup.json | 2614 +++ 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_DictionaryListService.cs | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/ICaching.cs | 59 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IMaterielCodeInfoService.cs | 16 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/EnableEnum.cs | 27 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/UnitOfWorks/IUnitOfWorkManage.cs | 25 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_MenuRepository.cs | 26 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server.sln | 109 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_RoleService.cs | 23 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/StockEnum/StockChangeTypeEnum.cs | 41 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/UnitOfWorks/UnitOfWorkManage.cs | 194 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/WIDESEA_StockService.csproj | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HttpContextUser/AspNetUser.cs | 188 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_CustomerInfo.cs | 47 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielCodeInfo.cs | 70 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/AllServicesMiddleware.cs | 62 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/IRepository.cs | 432 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Task/WCSTaskDTO.cs | 104 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Properties/PublishProfiles/FolderProfile1.pubxml | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/Caching.cs | 351 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderDetailService.cs | 25 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/InboundOrderMenu.cs | 93 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoDetailService.cs | 11 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielCodeInfoController.cs | 17 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/ValueChangeAttribute.cs | 18 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceInfoController.cs | 30 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderDetail_HtyController.cs | 24 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/TaskInfo/WMSTaskDTO.cs | 84 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/AllOptionRegister.cs | 24 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockSerivce.cs | 27 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskExecuteDetailController.cs | 33 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/WIDESEA_Common.csproj | 15 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/AnalysisFormatTypeEnum.cs | 49 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/Task_HtyService.cs | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Dictionary.cs | 81 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockViewService.cs | 101 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/BasicInfo/Dt_StationManger.cs | 77 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Core/IConfigurableOptions.cs | 12 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Check/CheckOrderResultController.cs | 22 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/SwaggerMiddleware.cs | 62 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/MaterielCodeInfoService.cs | 26 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Record/LocationStatusChangeRecordController.cs | 23 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/AnalysisRuleAttribute.cs | 34 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_UserController.cs | 157 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/ExporterHeaderFilter.cs | 23 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfo_HtyService.cs | 20 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutoMapperConfig.cs | 18 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer.csproj | 87 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IWarehouseService.cs | 17 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoRepository/WIDESEAWCS_BasicInfoRepository.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderDetailController.cs | 22 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceProtocolController.cs | 24 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/WarehouseController.cs | 22 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/MaterielGroupDTO.cs | 22 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_RoleService.cs | 209 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_CheckService/CheckOrderResultService.cs | 25 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.json | 41 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer.sln | 366 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Menu.cs | 81 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/LocationStatusChangeRecordService.cs | 16 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Config/Dt_AnalysisRuleConfig.cs | 65 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/AnalysisRuleEnum.cs | 27 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomAuthorizeFilter.cs | 20 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/AppSecret.cs | 29 项目资料/项目图纸/1.3.1 S146-沈阳集成项目-仓库总图0317.dwl2 | 4 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoRepository/ITaskExecuteDetailRepository.cs | 32 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_ReceiveOrder.cs | 92 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_CheckService/WIDESEA_CheckService.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_TenantService.cs | 19 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/ObjectExtension.cs | 59 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/InnerCodeDTO.cs | 16 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Check/CheckOrderController.cs | 23 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/CachePointGroupDTO.cs | 35 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/UploadStatusEnum.cs | 12 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/RoleAuthor.cs | 14 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/VueDictionaryDTO.cs | 19 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/LinqExpressionType.cs | 21 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/BasicInfo/RouterController.cs | 113 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/WIDESEAWCS_SystemRepository.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrder_HtyController.cs | 23 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_DictionaryService.cs | 224 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/SequenceAttirbute.cs | 30 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs | 24 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_DictionaryList.cs | 57 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/Permissions.cs | 27 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/AreaInfo.cs | 15 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/WIDESEAWCS_ITaskInfoService.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutofacPropertityModuleReg.cs | 16 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/WIDESEA_RecordService.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/.config/dotnet-tools.json | 12 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ICheckService/WIDESEA_ICheckService.csproj | 13 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/HtmlElementType.cs | 32 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutoMapperConfig.cs | 18 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/W_ConveyorLineDBName.cs | 76 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_DictionaryController.cs | 377 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_DictionaryService.cs | 16 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/Task_HtyController.cs | 23 517 files changed, 42,407 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 256530f..e312dfb 100644 --- a/.gitignore +++ b/.gitignore @@ -259,3 +259,4 @@ *.2 *.2 /椤圭洰浠g爜/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/wwwroot +/椤圭洰浠g爜/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/wwwroot diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.editorconfig" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.editorconfig" new file mode 100644 index 0000000..65054c9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.editorconfig" @@ -0,0 +1,4 @@ +锘縖*.cs] + +# CS8618: 鍦ㄩ��鍑烘瀯閫犲嚱鏁版椂锛屼笉鍙负 null 鐨勫瓧娈靛繀椤诲寘鍚潪 null 鍊笺�傝鑰冭檻澹版槑涓哄彲浠ヤ负 null銆� +dotnet_diagnostic.CS8618.severity = none diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1091.29919/CodeChunks.db" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1091.29919/CodeChunks.db" new file mode 100644 index 0000000..f012c78 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1091.29919/CodeChunks.db" Binary files differ diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1091.29919/SemanticSymbols.db" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1091.29919/SemanticSymbols.db" new file mode 100644 index 0000000..78faf91 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/CopilotIndices/17.14.1091.29919/SemanticSymbols.db" Binary files differ diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/config/applicationhost.config" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/config/applicationhost.config" new file mode 100644 index 0000000..cdd2df8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/config/applicationhost.config" @@ -0,0 +1,1026 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + IIS configuration sections. + + For schema documentation, see + %IIS_BIN%\config\schema\IIS_schema.xml. + + Please make a backup of this file before making any changes to it. + + NOTE: The following environment variables are available to be used + within this file and are understood by the IIS Express. + + %IIS_USER_HOME% - The IIS Express home directory for the user + %IIS_SITES_HOME% - The default home directory for sites + %IIS_BIN% - The location of the IIS Express binaries + %SYSTEMDRIVE% - The drive letter of %IIS_BIN% + +--> +<configuration> + + <!-- + + The <configSections> section controls the registration of sections. + Section is the basic unit of deployment, locking, searching and + containment for configuration settings. + + Every section belongs to one section group. + A section group is a container of logically-related sections. + + Sections cannot be nested. + Section groups may be nested. + + <section + name="" [Required, Collection Key] [XML name of the section] + allowDefinition="Everywhere" [MachineOnly|MachineToApplication|AppHostOnly|Everywhere] [Level where it can be set] + overrideModeDefault="Allow" [Allow|Deny] [Default delegation mode] + allowLocation="true" [true|false] [Allowed in location tags] + /> + + The recommended way to unlock sections is by using a location tag: + <location path="Default Web Site" overrideMode="Allow"> + <system.webServer> + <asp /> + </system.webServer> + </location> + + --> + <configSections> + <sectionGroup name="system.applicationHost"> + <section name="applicationPools" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="configHistory" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="customMetadata" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="listenerAdapters" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="log" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="serviceAutoStartProviders" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="sites" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="webLimits" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + </sectionGroup> + + <sectionGroup name="system.webServer"> + <section name="asp" overrideModeDefault="Deny" /> + <section name="caching" overrideModeDefault="Allow" /> + <section name="cgi" overrideModeDefault="Deny" /> + <section name="defaultDocument" overrideModeDefault="Allow" /> + <section name="directoryBrowse" overrideModeDefault="Allow" /> + <section name="fastCgi" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="globalModules" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="handlers" overrideModeDefault="Deny" /> + <section name="httpCompression" overrideModeDefault="Allow" allowDefinition="Everywhere" /> + <section name="httpErrors" overrideModeDefault="Allow" /> + <section name="httpLogging" overrideModeDefault="Deny" /> + <section name="httpProtocol" overrideModeDefault="Allow" /> + <section name="httpRedirect" overrideModeDefault="Allow" /> + <section name="httpTracing" overrideModeDefault="Deny" /> + <section name="isapiFilters" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /> + <section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /> + <section name="applicationInitialization" allowDefinition="MachineToApplication" overrideModeDefault="Allow" /> + <section name="odbcLogging" overrideModeDefault="Deny" /> + <sectionGroup name="security"> + <section name="access" overrideModeDefault="Deny" /> + <section name="applicationDependencies" overrideModeDefault="Deny" /> + <sectionGroup name="authentication"> + <section name="anonymousAuthentication" overrideModeDefault="Deny" /> + <section name="basicAuthentication" overrideModeDefault="Deny" /> + <section name="clientCertificateMappingAuthentication" overrideModeDefault="Deny" /> + <section name="digestAuthentication" overrideModeDefault="Deny" /> + <section name="iisClientCertificateMappingAuthentication" overrideModeDefault="Deny" /> + <section name="windowsAuthentication" overrideModeDefault="Deny" /> + </sectionGroup> + <section name="authorization" overrideModeDefault="Allow" /> + <section name="ipSecurity" overrideModeDefault="Deny" /> + <section name="dynamicIpSecurity" overrideModeDefault="Deny" /> + <section name="isapiCgiRestriction" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="requestFiltering" overrideModeDefault="Allow" /> + </sectionGroup> + <section name="serverRuntime" overrideModeDefault="Deny" /> + <section name="serverSideInclude" overrideModeDefault="Deny" /> + <section name="staticContent" overrideModeDefault="Allow" /> + <sectionGroup name="tracing"> + <section name="traceFailedRequests" overrideModeDefault="Allow" /> + <section name="traceProviderDefinitions" overrideModeDefault="Deny" /> + </sectionGroup> + <section name="urlCompression" overrideModeDefault="Allow" /> + <section name="validation" overrideModeDefault="Allow" /> + <sectionGroup name="webdav"> + <section name="globalSettings" overrideModeDefault="Deny" /> + <section name="authoring" overrideModeDefault="Deny" /> + <section name="authoringRules" overrideModeDefault="Deny" /> + </sectionGroup> + <sectionGroup name="rewrite"> + <section name="allowedServerVariables" overrideModeDefault="Deny" /> + <section name="rules" overrideModeDefault="Allow" /> + <section name="outboundRules" overrideModeDefault="Allow" /> + <section name="globalRules" overrideModeDefault="Deny" allowDefinition="AppHostOnly" /> + <section name="providers" overrideModeDefault="Allow" /> + <section name="rewriteMaps" overrideModeDefault="Allow" /> + </sectionGroup> + <section name="webSocket" overrideModeDefault="Deny" /> + <section name="aspNetCore" overrideModeDefault="Allow" /></sectionGroup> + </configSections> + + <configProtectedData> + <providers> + <add name="IISWASOnlyRsaProvider" type="" description="Uses RsaCryptoServiceProvider to encrypt and decrypt" keyContainerName="iisWasKey" cspProviderName="" useMachineContainer="true" useOAEP="false" /> + <add name="AesProvider" type="Microsoft.ApplicationHost.AesProtectedConfigurationProvider" description="Uses an AES session key to encrypt and decrypt" keyContainerName="iisConfigurationKey" cspProviderName="" useOAEP="false" useMachineContainer="true" sessionKey="AQIAAA5mAAAApAAA/HKxkz6alrlAPez0IUgujj/6k3WxCDriHp6jvpv3yEZmo7h6SMzGLxo4mTrIQVHSkB7tmElHKfUFTzE2BWF7nFWHY6Z6qmGBauFzwJMwESjril7Gjz69RBFH259HQ6aRDq9Xfx7U7H4HtdmnKNqGjgl/hwPQBGeIlWiDh+sYv3vKB0QU971tjX6H2B+9armlnC8UOuA6JYMDMI/VLLL16sng0fWAy5JYe0YVABVjiAWDW264RZW9Tr1Oax4qHZKg+SdjULxeOc2YmpX+d0yeITo1HkPF1hN1gHpIPIUDo05ilHUNfR3OkjVCIQK4cFKCq1s8NH+y+13MxUC4Fn1AlQ==" /> + <add name="IISWASOnlyAesProvider" type="Microsoft.ApplicationHost.AesProtectedConfigurationProvider" description="Uses an AES session key to encrypt and decrypt" keyContainerName="iisWasKey" cspProviderName="" useOAEP="false" useMachineContainer="true" sessionKey="AQIAAA5mAAAApAAALmU8lTC+v2qtfQiiiquvvLpUQqKLEXs+jSKoWCM/uPhyB++k4dwug19mGidNK5FYiWK2KYE1yhjVJcbp12E98Q0R2nT7eBiCMY2JairxQ591rqABK7keGaIjwH7PwGzSpILl3RJ4YFvJ/7ZXEJxeDZIjW8ZxWVXx+/VyHs9U3WguLEkgMUX3jrxJi8LouxaIVPJAv/YQ1ZCWs8zImitxX/C/7o7yaIxznfsN5nGQzQfpUDPeby99aw2zPVTtZI2LaWIBON8guABvZ6JtJVDWmfdK6sodbnwdZkr6/Z2rfvamT1dC1SpQrGG7ulR/f9/GXvCaW10ZVKxekBF/CYlNMg==" /> + </providers> + </configProtectedData> + + <system.applicationHost> + + <applicationPools> + <add name="Clr4IntegratedAppPool" managedRuntimeVersion="v4.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> + <add name="Clr4ClassicAppPool" managedRuntimeVersion="v4.0" managedPipelineMode="Classic" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> + <add name="Clr2IntegratedAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> + <add name="Clr2ClassicAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Classic" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> + <add name="UnmanagedClassicAppPool" managedRuntimeVersion="" managedPipelineMode="Classic" autoStart="true" /> + <applicationPoolDefaults managedRuntimeVersion="v4.0"> + <processModel loadUserProfile="true" setProfileEnvironment="false" /> + </applicationPoolDefaults> + </applicationPools> + + <!-- + + The <listenerAdapters> section defines the protocols with which the + Windows Process Activation Service (WAS) binds. + + --> + <listenerAdapters> + <add name="http" /> + </listenerAdapters> + + <sites> + <site name="WebSite1" id="1" serverAutoStart="true"> + <application path="/"> + <virtualDirectory path="/" physicalPath="%IIS_SITES_HOME%\WebSite1" /> + </application> + <bindings> + <binding protocol="http" bindingInformation=":8080:localhost" /> + </bindings> + </site> + <siteDefaults> + <!-- To enable logging, please change the below attribute "enabled" to "true" --> + <logFile logFormat="W3C" directory="%AppData%\Microsoft\IISExpressLogs" enabled="false" /> + <traceFailedRequestsLogging directory="%AppData%\Microsoft" enabled="false" maxLogFileSizeKB="1024" /> + </siteDefaults> + <applicationDefaults applicationPool="Clr4IntegratedAppPool" /> + <virtualDirectoryDefaults allowSubDirConfig="true" /> + </sites> + + <webLimits /> + + </system.applicationHost> + + <system.webServer> + + <serverRuntime /> + + <asp scriptErrorSentToBrowser="true"> + <cache diskTemplateCacheDirectory="%TEMP%\iisexpress\ASP Compiled Templates" /> + <limits /> + </asp> + + <caching enabled="true" enableKernelCache="true"> + </caching> + + <cgi /> + + <defaultDocument enabled="true"> + <files> + <add value="Default.htm" /> + <add value="Default.asp" /> + <add value="index.htm" /> + <add value="index.html" /> + <add value="iisstart.htm" /> + <add value="default.aspx" /> + </files> + </defaultDocument> + + <directoryBrowse enabled="false" /> + + <fastCgi /> + + <!-- + + The <globalModules> section defines all native-code modules. + To enable a module, specify it in the <modules> section. + + --> + <globalModules> + <add name="HttpLoggingModule" image="%IIS_BIN%\loghttp.dll" /> + <add name="UriCacheModule" image="%IIS_BIN%\cachuri.dll" /> + <add name="TokenCacheModule" image="%IIS_BIN%\cachtokn.dll" /> + <add name="DynamicCompressionModule" image="%IIS_BIN%\compdyn.dll" /> + <add name="StaticCompressionModule" image="%IIS_BIN%\compstat.dll" /> + <add name="DefaultDocumentModule" image="%IIS_BIN%\defdoc.dll" /> + <add name="DirectoryListingModule" image="%IIS_BIN%\dirlist.dll" /> + <add name="ProtocolSupportModule" image="%IIS_BIN%\protsup.dll" /> + <add name="HttpRedirectionModule" image="%IIS_BIN%\redirect.dll" /> + <add name="ServerSideIncludeModule" image="%IIS_BIN%\iis_ssi.dll" /> + <add name="StaticFileModule" image="%IIS_BIN%\static.dll" /> + <add name="AnonymousAuthenticationModule" image="%IIS_BIN%\authanon.dll" /> + <add name="CertificateMappingAuthenticationModule" image="%IIS_BIN%\authcert.dll" /> + <add name="UrlAuthorizationModule" image="%IIS_BIN%\urlauthz.dll" /> + <add name="BasicAuthenticationModule" image="%IIS_BIN%\authbas.dll" /> + <add name="WindowsAuthenticationModule" image="%IIS_BIN%\authsspi.dll" /> + <add name="IISCertificateMappingAuthenticationModule" image="%IIS_BIN%\authmap.dll" /> + <add name="IpRestrictionModule" image="%IIS_BIN%\iprestr.dll" /> + <add name="DynamicIpRestrictionModule" image="%IIS_BIN%\diprestr.dll" /> + <add name="RequestFilteringModule" image="%IIS_BIN%\modrqflt.dll" /> + <add name="CustomLoggingModule" image="%IIS_BIN%\logcust.dll" /> + <add name="CustomErrorModule" image="%IIS_BIN%\custerr.dll" /> + <add name="FailedRequestsTracingModule" image="%IIS_BIN%\iisfreb.dll" /> + <add name="RequestMonitorModule" image="%IIS_BIN%\iisreqs.dll" /> + <add name="IsapiModule" image="%IIS_BIN%\isapi.dll" /> + <add name="IsapiFilterModule" image="%IIS_BIN%\filter.dll" /> + <add name="CgiModule" image="%IIS_BIN%\cgi.dll" /> + <add name="FastCgiModule" image="%IIS_BIN%\iisfcgi.dll" /> +<!-- <add name="WebDAVModule" image="%IIS_BIN%\webdav.dll" /> --> + <add name="RewriteModule" image="%IIS_BIN%\rewrite.dll" /> + <add name="ConfigurationValidationModule" image="%IIS_BIN%\validcfg.dll" /> + <add name="WebSocketModule" image="%IIS_BIN%\iiswsock.dll" /> + <add name="WebMatrixSupportModule" image="%IIS_BIN%\webmatrixsup.dll" /> + <add name="ManagedEngine" image="%windir%\Microsoft.NET\Framework\v2.0.50727\webengine.dll" preCondition="integratedMode,runtimeVersionv2.0,bitness32" /> + <add name="ManagedEngine64" image="%windir%\Microsoft.NET\Framework64\v2.0.50727\webengine.dll" preCondition="integratedMode,runtimeVersionv2.0,bitness64" /> + <add name="ManagedEngineV4.0_32bit" image="%windir%\Microsoft.NET\Framework\v4.0.30319\webengine4.dll" preCondition="integratedMode,runtimeVersionv4.0,bitness32" /> + <add name="ManagedEngineV4.0_64bit" image="%windir%\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll" preCondition="integratedMode,runtimeVersionv4.0,bitness64" /> + <add name="ApplicationInitializationModule" image="%IIS_BIN%\warmup.dll" /> + <add name="AspNetCoreModule" image="%IIS_BIN%\aspnetcore.dll" /> + <add name="AspNetCoreModuleV2" image="%IIS_BIN%\Asp.Net Core Module\V2\aspnetcorev2.dll" /> + </globalModules> + + <httpCompression directory="%TEMP%"> + <scheme name="gzip" dll="%IIS_BIN%\gzip.dll" /> + <dynamicTypes> + <add mimeType="text/*" enabled="true" /> + <add mimeType="message/*" enabled="true" /> + <add mimeType="application/x-javascript" enabled="true" /> + <add mimeType="application/javascript" enabled="true" /> + <add mimeType="*/*" enabled="false" /> + <add mimeType="text/event-stream" enabled="false" /> + </dynamicTypes> + <staticTypes> + <add mimeType="text/*" enabled="true" /> + <add mimeType="message/*" enabled="true" /> + <add mimeType="application/javascript" enabled="true" /> + <add mimeType="application/atom+xml" enabled="true" /> + <add mimeType="application/xaml+xml" enabled="true" /> + <add mimeType="image/svg+xml" enabled="true" /> + <add mimeType="*/*" enabled="false" /> + </staticTypes> + </httpCompression> + + <httpErrors lockAttributes="allowAbsolutePathsWhenDelegated,defaultPath"> + <error statusCode="401" prefixLanguageFilePath="%IIS_BIN%\custerr" path="401.htm" /> + <error statusCode="403" prefixLanguageFilePath="%IIS_BIN%\custerr" path="403.htm" /> + <error statusCode="404" prefixLanguageFilePath="%IIS_BIN%\custerr" path="404.htm" /> + <error statusCode="405" prefixLanguageFilePath="%IIS_BIN%\custerr" path="405.htm" /> + <error statusCode="406" prefixLanguageFilePath="%IIS_BIN%\custerr" path="406.htm" /> + <error statusCode="412" prefixLanguageFilePath="%IIS_BIN%\custerr" path="412.htm" /> + <error statusCode="500" prefixLanguageFilePath="%IIS_BIN%\custerr" path="500.htm" /> + <error statusCode="501" prefixLanguageFilePath="%IIS_BIN%\custerr" path="501.htm" /> + <error statusCode="502" prefixLanguageFilePath="%IIS_BIN%\custerr" path="502.htm" /> + </httpErrors> + + <httpLogging dontLog="false" /> + + <httpProtocol> + <customHeaders> + <clear /> + <add name="X-Powered-By" value="ASP.NET" /> + </customHeaders> + <redirectHeaders> + <clear /> + </redirectHeaders> + </httpProtocol> + + <httpRedirect enabled="false" /> + + <httpTracing /> + + <isapiFilters> + <filter name="ASP.Net_2.0.50727-64" path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv2.0" /> + <filter name="ASP.Net_2.0.50727.0" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv2.0" /> + <filter name="ASP.Net_2.0_for_v1.1" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="runtimeVersionv1.1" /> + <filter name="ASP.Net_4.0_32bit" path="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv4.0" /> + <filter name="ASP.Net_4.0_64bit" path="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv4.0" /> + </isapiFilters> + + <odbcLogging /> + + <security> + + <access sslFlags="None" /> + + <applicationDependencies> + <application name="Active Server Pages" groupId="ASP" /> + </applicationDependencies> + + <authentication> + + <anonymousAuthentication enabled="true" userName="" /> + + <basicAuthentication enabled="false" /> + + <clientCertificateMappingAuthentication enabled="false" /> + + <digestAuthentication enabled="false" /> + + <iisClientCertificateMappingAuthentication enabled="false"> + </iisClientCertificateMappingAuthentication> + + <windowsAuthentication enabled="false"> + <providers> + <add value="Negotiate" /> + <add value="NTLM" /> + </providers> + </windowsAuthentication> + + </authentication> + + <authorization> + <add accessType="Allow" users="*" /> + </authorization> + + <ipSecurity allowUnlisted="true" /> + + <isapiCgiRestriction notListedIsapisAllowed="true" notListedCgisAllowed="true"> + <add path="%windir%\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll" allowed="true" groupId="ASP.NET_v4.0" description="ASP.NET_v4.0" /> + <add path="%windir%\Microsoft.NET\Framework\v4.0.30319\webengine4.dll" allowed="true" groupId="ASP.NET_v4.0" description="ASP.NET_v4.0" /> + <add path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" allowed="true" groupId="ASP.NET v2.0.50727" description="ASP.NET v2.0.50727" /> + <add path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" allowed="true" groupId="ASP.NET v2.0.50727" description="ASP.NET v2.0.50727" /> + </isapiCgiRestriction> + + <requestFiltering> + <fileExtensions allowUnlisted="true" applyToWebDAV="true"> + <add fileExtension=".asa" allowed="false" /> + <add fileExtension=".asax" allowed="false" /> + <add fileExtension=".ascx" allowed="false" /> + <add fileExtension=".master" allowed="false" /> + <add fileExtension=".skin" allowed="false" /> + <add fileExtension=".browser" allowed="false" /> + <add fileExtension=".sitemap" allowed="false" /> + <add fileExtension=".config" allowed="false" /> + <add fileExtension=".cs" allowed="false" /> + <add fileExtension=".csproj" allowed="false" /> + <add fileExtension=".vb" allowed="false" /> + <add fileExtension=".vbproj" allowed="false" /> + <add fileExtension=".webinfo" allowed="false" /> + <add fileExtension=".licx" allowed="false" /> + <add fileExtension=".resx" allowed="false" /> + <add fileExtension=".resources" allowed="false" /> + <add fileExtension=".mdb" allowed="false" /> + <add fileExtension=".vjsproj" allowed="false" /> + <add fileExtension=".java" allowed="false" /> + <add fileExtension=".jsl" allowed="false" /> + <add fileExtension=".ldb" allowed="false" /> + <add fileExtension=".dsdgm" allowed="false" /> + <add fileExtension=".ssdgm" allowed="false" /> + <add fileExtension=".lsad" allowed="false" /> + <add fileExtension=".ssmap" allowed="false" /> + <add fileExtension=".cd" allowed="false" /> + <add fileExtension=".dsprototype" allowed="false" /> + <add fileExtension=".lsaprototype" allowed="false" /> + <add fileExtension=".sdm" allowed="false" /> + <add fileExtension=".sdmDocument" allowed="false" /> + <add fileExtension=".mdf" allowed="false" /> + <add fileExtension=".ldf" allowed="false" /> + <add fileExtension=".ad" allowed="false" /> + <add fileExtension=".dd" allowed="false" /> + <add fileExtension=".ldd" allowed="false" /> + <add fileExtension=".sd" allowed="false" /> + <add fileExtension=".adprototype" allowed="false" /> + <add fileExtension=".lddprototype" allowed="false" /> + <add fileExtension=".exclude" allowed="false" /> + <add fileExtension=".refresh" allowed="false" /> + <add fileExtension=".compiled" allowed="false" /> + <add fileExtension=".msgx" allowed="false" /> + <add fileExtension=".vsdisco" allowed="false" /> + <add fileExtension=".rules" allowed="false" /> + </fileExtensions> + <verbs allowUnlisted="true" applyToWebDAV="true" /> + <hiddenSegments applyToWebDAV="true"> + <add segment="web.config" /> + <add segment="bin" /> + <add segment="App_code" /> + <add segment="App_GlobalResources" /> + <add segment="App_LocalResources" /> + <add segment="App_WebReferences" /> + <add segment="App_Data" /> + <add segment="App_Browsers" /> + </hiddenSegments> + </requestFiltering> + + </security> + + <serverSideInclude ssiExecDisable="false" /> + + <staticContent lockAttributes="isDocFooterFileName"> + <mimeMap fileExtension=".323" mimeType="text/h323" /> + <mimeMap fileExtension=".3g2" mimeType="video/3gpp2" /> + <mimeMap fileExtension=".3gp2" mimeType="video/3gpp2" /> + <mimeMap fileExtension=".3gp" mimeType="video/3gpp" /> + <mimeMap fileExtension=".3gpp" mimeType="video/3gpp" /> + <mimeMap fileExtension=".aac" mimeType="audio/aac" /> + <mimeMap fileExtension=".aaf" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".aca" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".accdb" mimeType="application/msaccess" /> + <mimeMap fileExtension=".accde" mimeType="application/msaccess" /> + <mimeMap fileExtension=".accdt" mimeType="application/msaccess" /> + <mimeMap fileExtension=".acx" mimeType="application/internet-property-stream" /> + <mimeMap fileExtension=".adt" mimeType="audio/vnd.dlna.adts" /> + <mimeMap fileExtension=".adts" mimeType="audio/vnd.dlna.adts" /> + <mimeMap fileExtension=".afm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ai" mimeType="application/postscript" /> + <mimeMap fileExtension=".aif" mimeType="audio/x-aiff" /> + <mimeMap fileExtension=".aifc" mimeType="audio/aiff" /> + <mimeMap fileExtension=".aiff" mimeType="audio/aiff" /> + <mimeMap fileExtension=".appcache" mimeType="text/cache-manifest" /> + <mimeMap fileExtension=".application" mimeType="application/x-ms-application" /> + <mimeMap fileExtension=".art" mimeType="image/x-jg" /> + <mimeMap fileExtension=".asd" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".asf" mimeType="video/x-ms-asf" /> + <mimeMap fileExtension=".asi" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".asm" mimeType="text/plain" /> + <mimeMap fileExtension=".asr" mimeType="video/x-ms-asf" /> + <mimeMap fileExtension=".asx" mimeType="video/x-ms-asf" /> + <mimeMap fileExtension=".atom" mimeType="application/atom+xml" /> + <mimeMap fileExtension=".au" mimeType="audio/basic" /> + <mimeMap fileExtension=".avi" mimeType="video/avi" /> + <mimeMap fileExtension=".axs" mimeType="application/olescript" /> + <mimeMap fileExtension=".bas" mimeType="text/plain" /> + <mimeMap fileExtension=".bcpio" mimeType="application/x-bcpio" /> + <mimeMap fileExtension=".bin" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".bmp" mimeType="image/bmp" /> + <mimeMap fileExtension=".c" mimeType="text/plain" /> + <mimeMap fileExtension=".cab" mimeType="application/vnd.ms-cab-compressed" /> + <mimeMap fileExtension=".calx" mimeType="application/vnd.ms-office.calx" /> + <mimeMap fileExtension=".cat" mimeType="application/vnd.ms-pki.seccat" /> + <mimeMap fileExtension=".cdf" mimeType="application/x-cdf" /> + <mimeMap fileExtension=".chm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".class" mimeType="application/x-java-applet" /> + <mimeMap fileExtension=".clp" mimeType="application/x-msclip" /> + <mimeMap fileExtension=".cmx" mimeType="image/x-cmx" /> + <mimeMap fileExtension=".cnf" mimeType="text/plain" /> + <mimeMap fileExtension=".cod" mimeType="image/cis-cod" /> + <mimeMap fileExtension=".cpio" mimeType="application/x-cpio" /> + <mimeMap fileExtension=".cpp" mimeType="text/plain" /> + <mimeMap fileExtension=".crd" mimeType="application/x-mscardfile" /> + <mimeMap fileExtension=".crl" mimeType="application/pkix-crl" /> + <mimeMap fileExtension=".crt" mimeType="application/x-x509-ca-cert" /> + <mimeMap fileExtension=".csh" mimeType="application/x-csh" /> + <mimeMap fileExtension=".css" mimeType="text/css" /> + <mimeMap fileExtension=".csv" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".cur" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".dcr" mimeType="application/x-director" /> + <mimeMap fileExtension=".deploy" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".der" mimeType="application/x-x509-ca-cert" /> + <mimeMap fileExtension=".dib" mimeType="image/bmp" /> + <mimeMap fileExtension=".dir" mimeType="application/x-director" /> + <mimeMap fileExtension=".disco" mimeType="text/xml" /> + <mimeMap fileExtension=".dll" mimeType="application/x-msdownload" /> + <mimeMap fileExtension=".dll.config" mimeType="text/xml" /> + <mimeMap fileExtension=".dlm" mimeType="text/dlm" /> + <mimeMap fileExtension=".doc" mimeType="application/msword" /> + <mimeMap fileExtension=".docm" mimeType="application/vnd.ms-word.document.macroEnabled.12" /> + <mimeMap fileExtension=".docx" mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" /> + <mimeMap fileExtension=".dot" mimeType="application/msword" /> + <mimeMap fileExtension=".dotm" mimeType="application/vnd.ms-word.template.macroEnabled.12" /> + <mimeMap fileExtension=".dotx" mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.template" /> + <mimeMap fileExtension=".dsp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".dtd" mimeType="text/xml" /> + <mimeMap fileExtension=".dvi" mimeType="application/x-dvi" /> + <mimeMap fileExtension=".dvr-ms" mimeType="video/x-ms-dvr" /> + <mimeMap fileExtension=".dwf" mimeType="drawing/x-dwf" /> + <mimeMap fileExtension=".dwp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".dxr" mimeType="application/x-director" /> + <mimeMap fileExtension=".eml" mimeType="message/rfc822" /> + <mimeMap fileExtension=".emz" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" /> + <mimeMap fileExtension=".eps" mimeType="application/postscript" /> + <mimeMap fileExtension=".esd" mimeType="application/vnd.ms-cab-compressed" /> + <mimeMap fileExtension=".etx" mimeType="text/x-setext" /> + <mimeMap fileExtension=".evy" mimeType="application/envoy" /> + <mimeMap fileExtension=".exe" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".exe.config" mimeType="text/xml" /> + <mimeMap fileExtension=".fdf" mimeType="application/vnd.fdf" /> + <mimeMap fileExtension=".fif" mimeType="application/fractals" /> + <mimeMap fileExtension=".fla" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".flr" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".flv" mimeType="video/x-flv" /> + <mimeMap fileExtension=".gif" mimeType="image/gif" /> + <mimeMap fileExtension=".glb" mimeType="model/gltf-binary" /> + <mimeMap fileExtension=".gtar" mimeType="application/x-gtar" /> + <mimeMap fileExtension=".gz" mimeType="application/x-gzip" /> + <mimeMap fileExtension=".h" mimeType="text/plain" /> + <mimeMap fileExtension=".hdf" mimeType="application/x-hdf" /> + <mimeMap fileExtension=".hdml" mimeType="text/x-hdml" /> + <mimeMap fileExtension=".hhc" mimeType="application/x-oleobject" /> + <mimeMap fileExtension=".hhk" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".hhp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".hlp" mimeType="application/winhlp" /> + <mimeMap fileExtension=".hqx" mimeType="application/mac-binhex40" /> + <mimeMap fileExtension=".hta" mimeType="application/hta" /> + <mimeMap fileExtension=".htc" mimeType="text/x-component" /> + <mimeMap fileExtension=".htm" mimeType="text/html" /> + <mimeMap fileExtension=".html" mimeType="text/html" /> + <mimeMap fileExtension=".htt" mimeType="text/webviewhtml" /> + <mimeMap fileExtension=".hxt" mimeType="text/html" /> + <mimeMap fileExtension=".ico" mimeType="image/x-icon" /> + <mimeMap fileExtension=".ics" mimeType="text/calendar" /> + <mimeMap fileExtension=".ief" mimeType="image/ief" /> + <mimeMap fileExtension=".iii" mimeType="application/x-iphone" /> + <mimeMap fileExtension=".inf" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ins" mimeType="application/x-internet-signup" /> + <mimeMap fileExtension=".isp" mimeType="application/x-internet-signup" /> + <mimeMap fileExtension=".IVF" mimeType="video/x-ivf" /> + <mimeMap fileExtension=".jar" mimeType="application/java-archive" /> + <mimeMap fileExtension=".java" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".jck" mimeType="application/liquidmotion" /> + <mimeMap fileExtension=".jcz" mimeType="application/liquidmotion" /> + <mimeMap fileExtension=".jfif" mimeType="image/pjpeg" /> + <mimeMap fileExtension=".jpb" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".jpe" mimeType="image/jpeg" /> + <mimeMap fileExtension=".jpeg" mimeType="image/jpeg" /> + <mimeMap fileExtension=".jpg" mimeType="image/jpeg" /> + <mimeMap fileExtension=".js" mimeType="application/javascript" /> + <mimeMap fileExtension=".json" mimeType="application/json" /> + <mimeMap fileExtension=".jsonld" mimeType="application/ld+json" /> + <mimeMap fileExtension=".jsx" mimeType="text/jscript" /> + <mimeMap fileExtension=".latex" mimeType="application/x-latex" /> + <mimeMap fileExtension=".less" mimeType="text/css" /> + <mimeMap fileExtension=".lit" mimeType="application/x-ms-reader" /> + <mimeMap fileExtension=".lpk" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".lsf" mimeType="video/x-la-asf" /> + <mimeMap fileExtension=".lsx" mimeType="video/x-la-asf" /> + <mimeMap fileExtension=".lzh" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".m13" mimeType="application/x-msmediaview" /> + <mimeMap fileExtension=".m14" mimeType="application/x-msmediaview" /> + <mimeMap fileExtension=".m1v" mimeType="video/mpeg" /> + <mimeMap fileExtension=".m2ts" mimeType="video/vnd.dlna.mpeg-tts" /> + <mimeMap fileExtension=".m3u" mimeType="audio/x-mpegurl" /> + <mimeMap fileExtension=".m4a" mimeType="audio/mp4" /> + <mimeMap fileExtension=".m4v" mimeType="video/mp4" /> + <mimeMap fileExtension=".man" mimeType="application/x-troff-man" /> + <mimeMap fileExtension=".manifest" mimeType="application/x-ms-manifest" /> + <mimeMap fileExtension=".map" mimeType="text/plain" /> + <mimeMap fileExtension=".mdb" mimeType="application/x-msaccess" /> + <mimeMap fileExtension=".mdp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".me" mimeType="application/x-troff-me" /> + <mimeMap fileExtension=".mht" mimeType="message/rfc822" /> + <mimeMap fileExtension=".mhtml" mimeType="message/rfc822" /> + <mimeMap fileExtension=".mid" mimeType="audio/mid" /> + <mimeMap fileExtension=".midi" mimeType="audio/mid" /> + <mimeMap fileExtension=".mix" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".mmf" mimeType="application/x-smaf" /> + <mimeMap fileExtension=".mno" mimeType="text/xml" /> + <mimeMap fileExtension=".mny" mimeType="application/x-msmoney" /> + <mimeMap fileExtension=".mov" mimeType="video/quicktime" /> + <mimeMap fileExtension=".movie" mimeType="video/x-sgi-movie" /> + <mimeMap fileExtension=".mp2" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mp3" mimeType="audio/mpeg" /> + <mimeMap fileExtension=".mp4" mimeType="video/mp4" /> + <mimeMap fileExtension=".mp4v" mimeType="video/mp4" /> + <mimeMap fileExtension=".mpa" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mpe" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mpeg" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mpg" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mpp" mimeType="application/vnd.ms-project" /> + <mimeMap fileExtension=".mpv2" mimeType="video/mpeg" /> + <mimeMap fileExtension=".ms" mimeType="application/x-troff-ms" /> + <mimeMap fileExtension=".msi" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".mso" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".mvb" mimeType="application/x-msmediaview" /> + <mimeMap fileExtension=".mvc" mimeType="application/x-miva-compiled" /> + <mimeMap fileExtension=".nc" mimeType="application/x-netcdf" /> + <mimeMap fileExtension=".nsc" mimeType="video/x-ms-asf" /> + <mimeMap fileExtension=".nws" mimeType="message/rfc822" /> + <mimeMap fileExtension=".ocx" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".oda" mimeType="application/oda" /> + <mimeMap fileExtension=".odc" mimeType="text/x-ms-odc" /> + <mimeMap fileExtension=".ods" mimeType="application/oleobject" /> + <mimeMap fileExtension=".oga" mimeType="audio/ogg" /> + <mimeMap fileExtension=".ogg" mimeType="video/ogg" /> + <mimeMap fileExtension=".ogv" mimeType="video/ogg" /> + <mimeMap fileExtension=".one" mimeType="application/onenote" /> + <mimeMap fileExtension=".onea" mimeType="application/onenote" /> + <mimeMap fileExtension=".onetoc" mimeType="application/onenote" /> + <mimeMap fileExtension=".onetoc2" mimeType="application/onenote" /> + <mimeMap fileExtension=".onetmp" mimeType="application/onenote" /> + <mimeMap fileExtension=".onepkg" mimeType="application/onenote" /> + <mimeMap fileExtension=".osdx" mimeType="application/opensearchdescription+xml" /> + <mimeMap fileExtension=".otf" mimeType="font/otf" /> + <mimeMap fileExtension=".p10" mimeType="application/pkcs10" /> + <mimeMap fileExtension=".p12" mimeType="application/x-pkcs12" /> + <mimeMap fileExtension=".p7b" mimeType="application/x-pkcs7-certificates" /> + <mimeMap fileExtension=".p7c" mimeType="application/pkcs7-mime" /> + <mimeMap fileExtension=".p7m" mimeType="application/pkcs7-mime" /> + <mimeMap fileExtension=".p7r" mimeType="application/x-pkcs7-certreqresp" /> + <mimeMap fileExtension=".p7s" mimeType="application/pkcs7-signature" /> + <mimeMap fileExtension=".pbm" mimeType="image/x-portable-bitmap" /> + <mimeMap fileExtension=".pcx" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pcz" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pdf" mimeType="application/pdf" /> + <mimeMap fileExtension=".pfb" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pfm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pfx" mimeType="application/x-pkcs12" /> + <mimeMap fileExtension=".pgm" mimeType="image/x-portable-graymap" /> + <mimeMap fileExtension=".pko" mimeType="application/vnd.ms-pki.pko" /> + <mimeMap fileExtension=".pma" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".pmc" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".pml" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".pmr" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".pmw" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".png" mimeType="image/png" /> + <mimeMap fileExtension=".pnm" mimeType="image/x-portable-anymap" /> + <mimeMap fileExtension=".pnz" mimeType="image/png" /> + <mimeMap fileExtension=".pot" mimeType="application/vnd.ms-powerpoint" /> + <mimeMap fileExtension=".potm" mimeType="application/vnd.ms-powerpoint.template.macroEnabled.12" /> + <mimeMap fileExtension=".potx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.template" /> + <mimeMap fileExtension=".ppam" mimeType="application/vnd.ms-powerpoint.addin.macroEnabled.12" /> + <mimeMap fileExtension=".ppm" mimeType="image/x-portable-pixmap" /> + <mimeMap fileExtension=".pps" mimeType="application/vnd.ms-powerpoint" /> + <mimeMap fileExtension=".ppsm" mimeType="application/vnd.ms-powerpoint.slideshow.macroEnabled.12" /> + <mimeMap fileExtension=".ppsx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.slideshow" /> + <mimeMap fileExtension=".ppt" mimeType="application/vnd.ms-powerpoint" /> + <mimeMap fileExtension=".pptm" mimeType="application/vnd.ms-powerpoint.presentation.macroEnabled.12" /> + <mimeMap fileExtension=".pptx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" /> + <mimeMap fileExtension=".prf" mimeType="application/pics-rules" /> + <mimeMap fileExtension=".prm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".prx" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ps" mimeType="application/postscript" /> + <mimeMap fileExtension=".psd" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".psm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".psp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pub" mimeType="application/x-mspublisher" /> + <mimeMap fileExtension=".qt" mimeType="video/quicktime" /> + <mimeMap fileExtension=".qtl" mimeType="application/x-quicktimeplayer" /> + <mimeMap fileExtension=".qxd" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ra" mimeType="audio/x-pn-realaudio" /> + <mimeMap fileExtension=".ram" mimeType="audio/x-pn-realaudio" /> + <mimeMap fileExtension=".rar" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ras" mimeType="image/x-cmu-raster" /> + <mimeMap fileExtension=".rf" mimeType="image/vnd.rn-realflash" /> + <mimeMap fileExtension=".rgb" mimeType="image/x-rgb" /> + <mimeMap fileExtension=".rm" mimeType="application/vnd.rn-realmedia" /> + <mimeMap fileExtension=".rmi" mimeType="audio/mid" /> + <mimeMap fileExtension=".roff" mimeType="application/x-troff" /> + <mimeMap fileExtension=".rpm" mimeType="audio/x-pn-realaudio-plugin" /> + <mimeMap fileExtension=".rtf" mimeType="application/rtf" /> + <mimeMap fileExtension=".rtx" mimeType="text/richtext" /> + <mimeMap fileExtension=".scd" mimeType="application/x-msschedule" /> + <mimeMap fileExtension=".sct" mimeType="text/scriptlet" /> + <mimeMap fileExtension=".sea" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".setpay" mimeType="application/set-payment-initiation" /> + <mimeMap fileExtension=".setreg" mimeType="application/set-registration-initiation" /> + <mimeMap fileExtension=".sgml" mimeType="text/sgml" /> + <mimeMap fileExtension=".sh" mimeType="application/x-sh" /> + <mimeMap fileExtension=".shar" mimeType="application/x-shar" /> + <mimeMap fileExtension=".sit" mimeType="application/x-stuffit" /> + <mimeMap fileExtension=".sldm" mimeType="application/vnd.ms-powerpoint.slide.macroEnabled.12" /> + <mimeMap fileExtension=".sldx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.slide" /> + <mimeMap fileExtension=".smd" mimeType="audio/x-smd" /> + <mimeMap fileExtension=".smi" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".smx" mimeType="audio/x-smd" /> + <mimeMap fileExtension=".smz" mimeType="audio/x-smd" /> + <mimeMap fileExtension=".snd" mimeType="audio/basic" /> + <mimeMap fileExtension=".snp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".spc" mimeType="application/x-pkcs7-certificates" /> + <mimeMap fileExtension=".spl" mimeType="application/futuresplash" /> + <mimeMap fileExtension=".spx" mimeType="audio/ogg" /> + <mimeMap fileExtension=".src" mimeType="application/x-wais-source" /> + <mimeMap fileExtension=".ssm" mimeType="application/streamingmedia" /> + <mimeMap fileExtension=".sst" mimeType="application/vnd.ms-pki.certstore" /> + <mimeMap fileExtension=".stl" mimeType="application/vnd.ms-pki.stl" /> + <mimeMap fileExtension=".sv4cpio" mimeType="application/x-sv4cpio" /> + <mimeMap fileExtension=".sv4crc" mimeType="application/x-sv4crc" /> + <mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> + <mimeMap fileExtension=".svgz" mimeType="image/svg+xml" /> + <mimeMap fileExtension=".swf" mimeType="application/x-shockwave-flash" /> + <mimeMap fileExtension=".t" mimeType="application/x-troff" /> + <mimeMap fileExtension=".tar" mimeType="application/x-tar" /> + <mimeMap fileExtension=".tcl" mimeType="application/x-tcl" /> + <mimeMap fileExtension=".tex" mimeType="application/x-tex" /> + <mimeMap fileExtension=".texi" mimeType="application/x-texinfo" /> + <mimeMap fileExtension=".texinfo" mimeType="application/x-texinfo" /> + <mimeMap fileExtension=".tgz" mimeType="application/x-compressed" /> + <mimeMap fileExtension=".thmx" mimeType="application/vnd.ms-officetheme" /> + <mimeMap fileExtension=".thn" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".tif" mimeType="image/tiff" /> + <mimeMap fileExtension=".tiff" mimeType="image/tiff" /> + <mimeMap fileExtension=".toc" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".tr" mimeType="application/x-troff" /> + <mimeMap fileExtension=".trm" mimeType="application/x-msterminal" /> + <mimeMap fileExtension=".ts" mimeType="video/vnd.dlna.mpeg-tts" /> + <mimeMap fileExtension=".tsv" mimeType="text/tab-separated-values" /> + <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".tts" mimeType="video/vnd.dlna.mpeg-tts" /> + <mimeMap fileExtension=".txt" mimeType="text/plain" /> + <mimeMap fileExtension=".u32" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".uls" mimeType="text/iuls" /> + <mimeMap fileExtension=".ustar" mimeType="application/x-ustar" /> + <mimeMap fileExtension=".vbs" mimeType="text/vbscript" /> + <mimeMap fileExtension=".vcf" mimeType="text/x-vcard" /> + <mimeMap fileExtension=".vcs" mimeType="text/plain" /> + <mimeMap fileExtension=".vdx" mimeType="application/vnd.ms-visio.viewer" /> + <mimeMap fileExtension=".vml" mimeType="text/xml" /> + <mimeMap fileExtension=".vsd" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vss" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vst" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vsto" mimeType="application/x-ms-vsto" /> + <mimeMap fileExtension=".vsw" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vsx" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vtx" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".wasm" mimeType="application/wasm" /> + <mimeMap fileExtension=".wav" mimeType="audio/wav" /> + <mimeMap fileExtension=".wax" mimeType="audio/x-ms-wax" /> + <mimeMap fileExtension=".wbmp" mimeType="image/vnd.wap.wbmp" /> + <mimeMap fileExtension=".wcm" mimeType="application/vnd.ms-works" /> + <mimeMap fileExtension=".wdb" mimeType="application/vnd.ms-works" /> + <mimeMap fileExtension=".webm" mimeType="video/webm" /> + <mimeMap fileExtension=".wks" mimeType="application/vnd.ms-works" /> + <mimeMap fileExtension=".wm" mimeType="video/x-ms-wm" /> + <mimeMap fileExtension=".wma" mimeType="audio/x-ms-wma" /> + <mimeMap fileExtension=".wmd" mimeType="application/x-ms-wmd" /> + <mimeMap fileExtension=".wmf" mimeType="application/x-msmetafile" /> + <mimeMap fileExtension=".wml" mimeType="text/vnd.wap.wml" /> + <mimeMap fileExtension=".wmlc" mimeType="application/vnd.wap.wmlc" /> + <mimeMap fileExtension=".wmls" mimeType="text/vnd.wap.wmlscript" /> + <mimeMap fileExtension=".wmlsc" mimeType="application/vnd.wap.wmlscriptc" /> + <mimeMap fileExtension=".wmp" mimeType="video/x-ms-wmp" /> + <mimeMap fileExtension=".wmv" mimeType="video/x-ms-wmv" /> + <mimeMap fileExtension=".wmx" mimeType="video/x-ms-wmx" /> + <mimeMap fileExtension=".wmz" mimeType="application/x-ms-wmz" /> + <mimeMap fileExtension=".woff" mimeType="font/x-woff" /> + <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" /> + <mimeMap fileExtension=".wps" mimeType="application/vnd.ms-works" /> + <mimeMap fileExtension=".wri" mimeType="application/x-mswrite" /> + <mimeMap fileExtension=".wrl" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".wrz" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".wsdl" mimeType="text/xml" /> + <mimeMap fileExtension=".wtv" mimeType="video/x-ms-wtv" /> + <mimeMap fileExtension=".wvx" mimeType="video/x-ms-wvx" /> + <mimeMap fileExtension=".x" mimeType="application/directx" /> + <mimeMap fileExtension=".xaf" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".xaml" mimeType="application/xaml+xml" /> + <mimeMap fileExtension=".xap" mimeType="application/x-silverlight-app" /> + <mimeMap fileExtension=".xbap" mimeType="application/x-ms-xbap" /> + <mimeMap fileExtension=".xbm" mimeType="image/x-xbitmap" /> + <mimeMap fileExtension=".xdr" mimeType="text/plain" /> + <mimeMap fileExtension=".xht" mimeType="application/xhtml+xml" /> + <mimeMap fileExtension=".xhtml" mimeType="application/xhtml+xml" /> + <mimeMap fileExtension=".xla" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xlam" mimeType="application/vnd.ms-excel.addin.macroEnabled.12" /> + <mimeMap fileExtension=".xlc" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xlm" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xls" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xlsb" mimeType="application/vnd.ms-excel.sheet.binary.macroEnabled.12" /> + <mimeMap fileExtension=".xlsm" mimeType="application/vnd.ms-excel.sheet.macroEnabled.12" /> + <mimeMap fileExtension=".xlsx" mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" /> + <mimeMap fileExtension=".xlt" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xltm" mimeType="application/vnd.ms-excel.template.macroEnabled.12" /> + <mimeMap fileExtension=".xltx" mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.template" /> + <mimeMap fileExtension=".xlw" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xml" mimeType="text/xml" /> + <mimeMap fileExtension=".xof" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".xpm" mimeType="image/x-xpixmap" /> + <mimeMap fileExtension=".xps" mimeType="application/vnd.ms-xpsdocument" /> + <mimeMap fileExtension=".xsd" mimeType="text/xml" /> + <mimeMap fileExtension=".xsf" mimeType="text/xml" /> + <mimeMap fileExtension=".xsl" mimeType="text/xml" /> + <mimeMap fileExtension=".xslt" mimeType="text/xml" /> + <mimeMap fileExtension=".xsn" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".xtp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".xwd" mimeType="image/x-xwindowdump" /> + <mimeMap fileExtension=".z" mimeType="application/x-compress" /> + <mimeMap fileExtension=".zip" mimeType="application/x-zip-compressed" /> + </staticContent> + + <tracing> + + <traceFailedRequests> + <add path="*"> + <traceAreas> + <add provider="ASP" verbosity="Verbose" /> + <add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" /> + <add provider="ISAPI Extension" verbosity="Verbose" /> + <add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,Rewrite,WebSocket" verbosity="Verbose" /> + </traceAreas> + <failureDefinitions statusCodes="200-999" /> + </add> + </traceFailedRequests> + + <traceProviderDefinitions> + <add name="WWW Server" guid="{3a2a4e84-4c21-4981-ae10-3fda0d9b0f83}"> + <areas> + <clear /> + <add name="Authentication" value="2" /> + <add name="Security" value="4" /> + <add name="Filter" value="8" /> + <add name="StaticFile" value="16" /> + <add name="CGI" value="32" /> + <add name="Compression" value="64" /> + <add name="Cache" value="128" /> + <add name="RequestNotifications" value="256" /> + <add name="Module" value="512" /> + <add name="Rewrite" value="1024" /> + <add name="FastCGI" value="4096" /> + <add name="WebSocket" value="16384" /> + <add name="ANCM" value="65536" /> + </areas> + </add> + <add name="ASP" guid="{06b94d9a-b15e-456e-a4ef-37c984a2cb4b}"> + <areas> + <clear /> + </areas> + </add> + <add name="ISAPI Extension" guid="{a1c2040e-8840-4c31-ba11-9871031a19ea}"> + <areas> + <clear /> + </areas> + </add> + <add name="ASPNET" guid="{AFF081FE-0247-4275-9C4E-021F3DC1DA35}"> + <areas> + <add name="Infrastructure" value="1" /> + <add name="Module" value="2" /> + <add name="Page" value="4" /> + <add name="AppServices" value="8" /> + </areas> + </add> + </traceProviderDefinitions> + + </tracing> + + <urlCompression /> + + <validation /> + <webdav> + <globalSettings> + <propertyStores> + <add name="webdav_simple_prop" image="%IIS_BIN%\webdav_simple_prop.dll" image32="%IIS_BIN%\webdav_simple_prop.dll" /> + </propertyStores> + <lockStores> + <add name="webdav_simple_lock" image="%IIS_BIN%\webdav_simple_lock.dll" image32="%IIS_BIN%\webdav_simple_lock.dll" /> + </lockStores> + + </globalSettings> + <authoring> + <locks enabled="true" lockStore="webdav_simple_lock" /> + </authoring> + <authoringRules /> + </webdav> + <webSocket /> + <applicationInitialization /> + + </system.webServer> + <location path="" overrideMode="Allow"> + <system.webServer> + <modules> + <add name="IsapiFilterModule" lockItem="true" /> + <add name="BasicAuthenticationModule" lockItem="true" /> + <add name="IsapiModule" lockItem="true" /> + <add name="HttpLoggingModule" lockItem="true" /> + <add name="DynamicCompressionModule" lockItem="true" /> + <add name="StaticCompressionModule" lockItem="true" /> + <add name="DefaultDocumentModule" lockItem="true" /> + <add name="DirectoryListingModule" lockItem="true" /> + <add name="ProtocolSupportModule" lockItem="true" /> + <add name="HttpRedirectionModule" lockItem="true" /> + <add name="ServerSideIncludeModule" lockItem="true" /> + <add name="StaticFileModule" lockItem="true" /> + <add name="AnonymousAuthenticationModule" lockItem="true" /> + <add name="CertificateMappingAuthenticationModule" lockItem="true" /> + <add name="UrlAuthorizationModule" lockItem="true" /> + <add name="WindowsAuthenticationModule" lockItem="true" /> + <add name="IISCertificateMappingAuthenticationModule" lockItem="true" /> + <add name="WebMatrixSupportModule" lockItem="true" /> + <add name="IpRestrictionModule" lockItem="true" /> + <add name="DynamicIpRestrictionModule" lockItem="true" /> + <add name="RequestFilteringModule" lockItem="true" /> + <add name="CustomLoggingModule" lockItem="true" /> + <add name="CustomErrorModule" lockItem="true" /> + <add name="FailedRequestsTracingModule" lockItem="true" /> + <add name="CgiModule" lockItem="true" /> + <add name="FastCgiModule" lockItem="true" /> +<!-- <add name="WebDAVModule" /> --> + <add name="RewriteModule" /> + <add name="OutputCache" type="System.Web.Caching.OutputCacheModule" preCondition="managedHandler" /> + <add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="managedHandler" /> + <add name="WindowsAuthentication" type="System.Web.Security.WindowsAuthenticationModule" preCondition="managedHandler" /> + <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" preCondition="managedHandler" /> + <add name="DefaultAuthentication" type="System.Web.Security.DefaultAuthenticationModule" preCondition="managedHandler" /> + <add name="RoleManager" type="System.Web.Security.RoleManagerModule" preCondition="managedHandler" /> + <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule" preCondition="managedHandler" /> + <add name="FileAuthorization" type="System.Web.Security.FileAuthorizationModule" preCondition="managedHandler" /> + <add name="AnonymousIdentification" type="System.Web.Security.AnonymousIdentificationModule" preCondition="managedHandler" /> + <add name="Profile" type="System.Web.Profile.ProfileModule" preCondition="managedHandler" /> + <add name="UrlMappingsModule" type="System.Web.UrlMappingsModule" preCondition="managedHandler" /> + <add name="ApplicationInitializationModule" lockItem="true" /> + <add name="WebSocketModule" lockItem="true" /> + <add name="ServiceModel-4.0" type="System.ServiceModel.Activation.ServiceHttpModule,System.ServiceModel.Activation,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv4.0" /> + <add name="ConfigurationValidationModule" lockItem="true" /> + <add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="managedHandler,runtimeVersionv4.0" /> + <add name="ScriptModule-4.0" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv4.0" /> + <add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler,runtimeVersionv2.0" /> + <add name="AspNetCoreModule" lockItem="true" /> + <add name="AspNetCoreModuleV2" lockItem="true" /> + </modules> + <handlers accessPolicy="Read, Script"> +<!-- <add name="WebDAV" path="*" verb="PROPFIND,PROPPATCH,MKCOL,PUT,COPY,DELETE,MOVE,LOCK,UNLOCK" modules="WebDAVModule" resourceType="Unspecified" requireAccess="None" /> --> + <add name="AXD-ISAPI-4.0_64bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="PageHandlerFactory-ISAPI-4.0_64bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="SimpleHandlerFactory-ISAPI-4.0_64bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="WebServiceHandlerFactory-ISAPI-4.0_64bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_64bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_64bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="svc-ISAPI-4.0_64bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> + <add name="rules-ISAPI-4.0_64bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> + <add name="xoml-ISAPI-4.0_64bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> + <add name="xamlx-ISAPI-4.0_64bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> + <add name="aspq-ISAPI-4.0_64bit" path="*.aspq" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="cshtm-ISAPI-4.0_64bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="cshtml-ISAPI-4.0_64bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="vbhtm-ISAPI-4.0_64bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="vbhtml-ISAPI-4.0_64bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="svc-ISAPI-2.0" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> + <add name="xoml-Integrated" path="*.xoml" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="xoml-ISAPI-2.0" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> + <add name="rules-Integrated" path="*.rules" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="rules-ISAPI-2.0" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> + <add name="AXD-ISAPI-4.0_32bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="PageHandlerFactory-ISAPI-4.0_32bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="SimpleHandlerFactory-ISAPI-4.0_32bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="WebServiceHandlerFactory-ISAPI-4.0_32bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_32bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_32bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="svc-ISAPI-4.0_32bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> + <add name="rules-ISAPI-4.0_32bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> + <add name="xoml-ISAPI-4.0_32bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> + <add name="xamlx-ISAPI-4.0_32bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> + <add name="aspq-ISAPI-4.0_32bit" path="*.aspq" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="cshtm-ISAPI-4.0_32bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="cshtml-ISAPI-4.0_32bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="vbhtm-ISAPI-4.0_32bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="vbhtml-ISAPI-4.0_32bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="TraceHandler-Integrated-4.0" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="WebAdminHandler-Integrated-4.0" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="AssemblyResourceLoader-Integrated-4.0" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="PageHandlerFactory-Integrated-4.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="SimpleHandlerFactory-Integrated-4.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="WebServiceHandlerFactory-Integrated-4.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="HttpRemotingHandlerFactory-rem-Integrated-4.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="HttpRemotingHandlerFactory-soap-Integrated-4.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="svc-Integrated-4.0" path="*.svc" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="rules-Integrated-4.0" path="*.rules" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="xoml-Integrated-4.0" path="*.xoml" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="xamlx-Integrated-4.0" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" type="System.Xaml.Hosting.XamlHttpHandlerFactory, System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="aspq-Integrated-4.0" path="*.aspq" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="cshtm-Integrated-4.0" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="cshtml-Integrated-4.0" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="vbhtm-Integrated-4.0" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="vbhtml-Integrated-4.0" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="ScriptHandlerFactoryAppServices-Integrated-4.0" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="ScriptResourceIntegrated-4.0" path="*ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%IIS_BIN%\asp.dll" resourceType="File" /> + <add name="SecurityCertificate" path="*.cer" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%IIS_BIN%\asp.dll" resourceType="File" /> + <add name="ISAPI-dll" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" /> + <add name="TraceHandler-Integrated" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="WebAdminHandler-Integrated" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="AssemblyResourceLoader-Integrated" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory,System.Web.Services,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="HttpRemotingHandlerFactory-rem-Integrated" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory,System.Runtime.Remoting,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="HttpRemotingHandlerFactory-soap-Integrated" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory,System.Runtime.Remoting,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="AXD-ISAPI-2.0" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="PageHandlerFactory-ISAPI-2.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="SimpleHandlerFactory-ISAPI-2.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="WebServiceHandlerFactory-ISAPI-2.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="svc-ISAPI-2.0-64" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> + <add name="AXD-ISAPI-2.0-64" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="PageHandlerFactory-ISAPI-2.0-64" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="SimpleHandlerFactory-ISAPI-2.0-64" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="WebServiceHandlerFactory-ISAPI-2.0-64" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0-64" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0-64" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="rules-64-ISAPI-2.0" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> + <add name="xoml-64-ISAPI-2.0" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> + <add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" /> + <add name="SSINC-stm" path="*.stm" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> + <add name="SSINC-shtm" path="*.shtm" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> + <add name="SSINC-shtml" path="*.shtml" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> + <add name="TRACEVerbHandler" path="*" verb="TRACE" modules="ProtocolSupportModule" requireAccess="None" /> + <add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" modules="ProtocolSupportModule" requireAccess="None" /> + <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" /> + <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" /> + </handlers> + </system.webServer> + </location> +</configuration> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/v17/DocumentLayout.backup.json" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/v17/DocumentLayout.backup.json" new file mode 100644 index 0000000..1d4e377 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/v17/DocumentLayout.backup.json" @@ -0,0 +1,425 @@ +{ + "Version": 1, + "WorkspaceRootPath": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\conveyorlinejob\\commonconveyorlinejob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\conveyorlinejob\\commonconveyorlinejob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\stackercranejob\\getstackerobject.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\stackercranejob\\getstackerobject.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_common\\taskenum\\taskstatusenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|solutionrelative:wideseawcs_common\\taskenum\\taskstatusenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{83F18A31-5983-4587-A0B2-414BF70E50B5}|WIDESEAWCS_TaskInfoService\\WIDESEAWCS_TaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_taskinfoservice\\taskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{83F18A31-5983-4587-A0B2-414BF70E50B5}|WIDESEAWCS_TaskInfoService\\WIDESEAWCS_TaskInfoService.csproj|solutionrelative:wideseawcs_taskinfoservice\\taskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_common\\taskenum\\tasktypeenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|solutionrelative:wideseawcs_common\\taskenum\\tasktypeenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_common\\taskenum\\taskenumhelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|solutionrelative:wideseawcs_common\\taskenum\\taskenumhelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\stackercranejob\\commonstackercranejob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\stackercranejob\\commonstackercranejob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7279A2AE-8D1F-4E66-A73A-01AF7927A336}|WIDESEAWCS_ITaskInfoService\\WIDESEAWCS_ITaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_itaskinfoservice\\itaskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7279A2AE-8D1F-4E66-A73A-01AF7927A336}|WIDESEAWCS_ITaskInfoService\\WIDESEAWCS_ITaskInfoService.csproj|solutionrelative:wideseawcs_itaskinfoservice\\itaskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\stackercranejob\\stackerstatusenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\stackercranejob\\stackerstatusenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{83F18A31-5983-4587-A0B2-414BF70E50B5}|WIDESEAWCS_TaskInfoService\\WIDESEAWCS_TaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_taskinfoservice\\taskservice_operate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{83F18A31-5983-4587-A0B2-414BF70E50B5}|WIDESEAWCS_TaskInfoService\\WIDESEAWCS_TaskInfoService.csproj|solutionrelative:wideseawcs_taskinfoservice\\taskservice_operate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_dto\\taskinfo\\wmstaskdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|solutionrelative:wideseawcs_dto\\taskinfo\\wmstaskdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7F200FE8-CAF6-4131-BD25-8D438FE0ABAC}|WIDESEAWCS_Model\\WIDESEAWCS_Model.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_model\\models\\taskinfo\\dt_task.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7F200FE8-CAF6-4131-BD25-8D438FE0ABAC}|WIDESEAWCS_Model\\WIDESEAWCS_Model.csproj|solutionrelative:wideseawcs_model\\models\\taskinfo\\dt_task.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_server\\filter\\customprofile.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|solutionrelative:wideseawcs_server\\filter\\customprofile.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\conveyorlinejob\\conveyorlinetaskcommand.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\conveyorlinejob\\conveyorlinetaskcommand.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_server\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}", + "RelativeMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|solutionrelative:wideseawcs_server\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}" + }, + { + "AbsoluteMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_dto\\system\\vuedictionarydto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|solutionrelative:wideseawcs_dto\\system\\vuedictionarydto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_common\\taskenum\\stationtypeenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|solutionrelative:wideseawcs_common\\taskenum\\stationtypeenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\conveyorlinejob\\r_conveyorlinedbname.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\conveyorlinejob\\r_conveyorlinedbname.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{FFAB2C76-1C9E-4006-95C8-A0B2AA53139D}|WIDESEAWCS_BasicInfoService\\WIDESEAWCS_BasicInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_basicinfoservice\\stationmangerservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FFAB2C76-1C9E-4006-95C8-A0B2AA53139D}|WIDESEAWCS_BasicInfoService\\WIDESEAWCS_BasicInfoService.csproj|solutionrelative:wideseawcs_basicinfoservice\\stationmangerservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_server\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|solutionrelative:wideseawcs_server\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_server\\index.html||{40D31677-CBC0-4297-A9EF-89D907823A98}", + "RelativeMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|solutionrelative:wideseawcs_server\\index.html||{40D31677-CBC0-4297-A9EF-89D907823A98}" + }, + { + "AbsoluteMoniker": "D:0:0:{8C2CC25B-DE5D-433E-A550-63864C7A716D}|WIDESEAWCS_IBasicInfoService\\WIDESEAWCS_IBasicInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_ibasicinfoservice\\istationmangerservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{8C2CC25B-DE5D-433E-A550-63864C7A716D}|WIDESEAWCS_IBasicInfoService\\WIDESEAWCS_IBasicInfoService.csproj|solutionrelative:wideseawcs_ibasicinfoservice\\istationmangerservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_dto\\wmsinfo\\wmsip.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|solutionrelative:wideseawcs_dto\\wmsinfo\\wmsip.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\wideseawcs_tasks.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\wideseawcs_tasks.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}" + }, + { + "AbsoluteMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_dto\\wideseawcs_dto.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}", + "RelativeMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|solutionrelative:wideseawcs_dto\\wideseawcs_dto.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 2, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}" + }, + { + "$type": "Document", + "DocumentIndex": 9, + "Title": "TaskService_Operate.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_TaskInfoService\\TaskService_Operate.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_TaskInfoService\\TaskService_Operate.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_TaskInfoService\\TaskService_Operate.cs", + "RelativeToolTip": "WIDESEAWCS_TaskInfoService\\TaskService_Operate.cs", + "ViewState": "AgIAAEMAAAAAAAAAAAD4v08AAAB6AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-17T01:37:46.984Z" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "CommonConveyorLineJob.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ConveyorLineJob\\CommonConveyorLineJob.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\ConveyorLineJob\\CommonConveyorLineJob.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ConveyorLineJob\\CommonConveyorLineJob.cs", + "RelativeToolTip": "WIDESEAWCS_Tasks\\ConveyorLineJob\\CommonConveyorLineJob.cs", + "ViewState": "AgIAAJEAAAAAAAAAAAAIwKIAAABxAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-08T01:15:14.906Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "TaskService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_TaskInfoService\\TaskService.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_TaskInfoService\\TaskService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_TaskInfoService\\TaskService.cs", + "RelativeToolTip": "WIDESEAWCS_TaskInfoService\\TaskService.cs", + "ViewState": "AgIAACIAAAAAAAAAAAArwDkAAABJAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-27T06:41:02.223Z" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "TaskStatusEnum.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", + "RelativeToolTip": "WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", + "ViewState": "AgIAABwAAAAAAAAAAAAAwC8AAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-27T07:55:28.89Z" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "GetStackerObject.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\StackerCraneJob\\GetStackerObject.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\StackerCraneJob\\GetStackerObject.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\StackerCraneJob\\GetStackerObject.cs", + "RelativeToolTip": "WIDESEAWCS_Tasks\\StackerCraneJob\\GetStackerObject.cs", + "ViewState": "AgIAAF8AAAAAAAAAAADwv3EAAAAQAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-27T06:59:03.416Z" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "TaskEnumHelper.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskEnumHelper.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Common\\TaskEnum\\TaskEnumHelper.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskEnumHelper.cs", + "RelativeToolTip": "WIDESEAWCS_Common\\TaskEnum\\TaskEnumHelper.cs", + "ViewState": "AgIAAAoAAAAAAAAAAAAAABIAAAAkAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T08:03:17.855Z" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "TaskTypeEnum.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskTypeEnum.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Common\\TaskEnum\\TaskTypeEnum.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskTypeEnum.cs", + "RelativeToolTip": "WIDESEAWCS_Common\\TaskEnum\\TaskTypeEnum.cs", + "ViewState": "AgIAABQAAAAAAAAAAADgvyEAAAAQAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T07:25:28.081Z" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "CommonStackerCraneJob.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\StackerCraneJob\\CommonStackerCraneJob.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\StackerCraneJob\\CommonStackerCraneJob.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\StackerCraneJob\\CommonStackerCraneJob.cs", + "RelativeToolTip": "WIDESEAWCS_Tasks\\StackerCraneJob\\CommonStackerCraneJob.cs", + "ViewState": "AgIAAFcAAAAAAAAAAAAAAGgAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-27T01:35:11.467Z" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "ITaskService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_ITaskInfoService\\ITaskService.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_ITaskInfoService\\ITaskService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_ITaskInfoService\\ITaskService.cs", + "RelativeToolTip": "WIDESEAWCS_ITaskInfoService\\ITaskService.cs", + "ViewState": "AgIAALQAAAAAAAAAAAAuwMcAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-16T03:29:54.039Z" + }, + { + "$type": "Document", + "DocumentIndex": 8, + "Title": "StackerStatusEnum.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\StackerCraneJob\\StackerStatusEnum.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\StackerCraneJob\\StackerStatusEnum.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\StackerCraneJob\\StackerStatusEnum.cs", + "RelativeToolTip": "WIDESEAWCS_Tasks\\StackerCraneJob\\StackerStatusEnum.cs", + "ViewState": "AgIAAHIAAAAAAAAAAADwv5EAAAAWAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-28T06:14:20.193Z" + }, + { + "$type": "Document", + "DocumentIndex": 21, + "Title": "IStationMangerService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_IBasicInfoService\\IStationMangerService.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_IBasicInfoService\\IStationMangerService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_IBasicInfoService\\IStationMangerService.cs", + "RelativeToolTip": "WIDESEAWCS_IBasicInfoService\\IStationMangerService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAAAFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-08T01:30:03.17Z" + }, + { + "$type": "Document", + "DocumentIndex": 14, + "Title": "appsettings.json", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\appsettings.json", + "RelativeDocumentMoniker": "WIDESEAWCS_Server\\appsettings.json", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\appsettings.json", + "RelativeToolTip": "WIDESEAWCS_Server\\appsettings.json", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABMAAABGAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|", + "WhenOpened": "2025-09-11T05:35:08.736Z" + }, + { + "$type": "Document", + "DocumentIndex": 12, + "Title": "CustomProfile.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\Filter\\CustomProfile.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Server\\Filter\\CustomProfile.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\Filter\\CustomProfile.cs", + "RelativeToolTip": "WIDESEAWCS_Server\\Filter\\CustomProfile.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAAAoAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T07:06:42.544Z" + }, + { + "$type": "Document", + "DocumentIndex": 10, + "Title": "WMSTaskDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\TaskInfo\\WMSTaskDTO.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_DTO\\TaskInfo\\WMSTaskDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\TaskInfo\\WMSTaskDTO.cs", + "RelativeToolTip": "WIDESEAWCS_DTO\\TaskInfo\\WMSTaskDTO.cs", + "ViewState": "AgIAAD0AAAAAAAAAAIA6wFIAAAAFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T07:12:54.713Z" + }, + { + "$type": "Document", + "DocumentIndex": 11, + "Title": "Dt_Task.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Model\\Models\\TaskInfo\\Dt_Task.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Model\\Models\\TaskInfo\\Dt_Task.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Model\\Models\\TaskInfo\\Dt_Task.cs", + "RelativeToolTip": "WIDESEAWCS_Model\\Models\\TaskInfo\\Dt_Task.cs", + "ViewState": "AgIAAHYAAAAAAAAAAAAAAIcAAAAtAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-08T06:47:14.931Z" + }, + { + "$type": "Document", + "DocumentIndex": 13, + "Title": "ConveyorLineTaskCommand.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ConveyorLineJob\\ConveyorLineTaskCommand.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\ConveyorLineJob\\ConveyorLineTaskCommand.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ConveyorLineJob\\ConveyorLineTaskCommand.cs", + "RelativeToolTip": "WIDESEAWCS_Tasks\\ConveyorLineJob\\ConveyorLineTaskCommand.cs", + "ViewState": "AgIAALsAAAAAAAAAAAAswMsAAAAUAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-08T02:48:34.647Z" + }, + { + "$type": "Document", + "DocumentIndex": 15, + "Title": "VueDictionaryDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\System\\VueDictionaryDTO.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_DTO\\System\\VueDictionaryDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\System\\VueDictionaryDTO.cs", + "RelativeToolTip": "WIDESEAWCS_DTO\\System\\VueDictionaryDTO.cs", + "ViewState": "AgIAAAIAAABAEm1uf2kpwAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T03:15:38.423Z" + }, + { + "$type": "Document", + "DocumentIndex": 18, + "Title": "StationMangerService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_BasicInfoService\\StationMangerService.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_BasicInfoService\\StationMangerService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_BasicInfoService\\StationMangerService.cs", + "RelativeToolTip": "WIDESEAWCS_BasicInfoService\\StationMangerService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABMAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-08T01:30:34.651Z" + }, + { + "$type": "Document", + "DocumentIndex": 16, + "Title": "StationTypeEnum.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\StationTypeEnum.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Common\\TaskEnum\\StationTypeEnum.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\StationTypeEnum.cs", + "RelativeToolTip": "WIDESEAWCS_Common\\TaskEnum\\StationTypeEnum.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABIAAAAlAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-11T08:42:49.34Z" + }, + { + "$type": "Document", + "DocumentIndex": 17, + "Title": "R_ConveyorLineDBName.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ConveyorLineJob\\R_ConveyorLineDBName.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\ConveyorLineJob\\R_ConveyorLineDBName.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ConveyorLineJob\\R_ConveyorLineDBName.cs", + "RelativeToolTip": "WIDESEAWCS_Tasks\\ConveyorLineJob\\R_ConveyorLineDBName.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABkAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-11T06:43:16.379Z" + }, + { + "$type": "Document", + "DocumentIndex": 19, + "Title": "Program.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\Program.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Server\\Program.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\Program.cs", + "RelativeToolTip": "WIDESEAWCS_Server\\Program.cs", + "ViewState": "AgIAAHgAAAAAAAAAAAAAAJYAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-11T05:35:18.247Z" + }, + { + "$type": "Document", + "DocumentIndex": 20, + "Title": "index.html", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\index.html", + "RelativeDocumentMoniker": "WIDESEAWCS_Server\\index.html", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\index.html", + "RelativeToolTip": "WIDESEAWCS_Server\\index.html", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001512|", + "WhenOpened": "2025-09-11T05:35:16.928Z" + }, + { + "$type": "Document", + "DocumentIndex": 23, + "Title": "WIDESEAWCS_Tasks.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj", + "RelativeToolTip": "WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-08-28T01:23:50.68Z" + }, + { + "$type": "Document", + "DocumentIndex": 24, + "Title": "WIDESEAWCS_DTO.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj", + "RelativeDocumentMoniker": "WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj", + "RelativeToolTip": "WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-08-28T01:23:51.389Z" + }, + { + "$type": "Document", + "DocumentIndex": 22, + "Title": "WMSIP.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\WMSinfo\\WMSIP.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_DTO\\WMSinfo\\WMSIP.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\WMSinfo\\WMSIP.cs", + "RelativeToolTip": "WIDESEAWCS_DTO\\WMSinfo\\WMSIP.cs", + "ViewState": "AgIAAAMAAAAAAAAAAAAAABQAAABVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-27T08:08:24.32Z" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/v17/DocumentLayout.json" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/v17/DocumentLayout.json" new file mode 100644 index 0000000..1d4e377 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/v17/DocumentLayout.json" @@ -0,0 +1,425 @@ +{ + "Version": 1, + "WorkspaceRootPath": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\conveyorlinejob\\commonconveyorlinejob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\conveyorlinejob\\commonconveyorlinejob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\stackercranejob\\getstackerobject.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\stackercranejob\\getstackerobject.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_common\\taskenum\\taskstatusenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|solutionrelative:wideseawcs_common\\taskenum\\taskstatusenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{83F18A31-5983-4587-A0B2-414BF70E50B5}|WIDESEAWCS_TaskInfoService\\WIDESEAWCS_TaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_taskinfoservice\\taskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{83F18A31-5983-4587-A0B2-414BF70E50B5}|WIDESEAWCS_TaskInfoService\\WIDESEAWCS_TaskInfoService.csproj|solutionrelative:wideseawcs_taskinfoservice\\taskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_common\\taskenum\\tasktypeenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|solutionrelative:wideseawcs_common\\taskenum\\tasktypeenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_common\\taskenum\\taskenumhelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|solutionrelative:wideseawcs_common\\taskenum\\taskenumhelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\stackercranejob\\commonstackercranejob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\stackercranejob\\commonstackercranejob.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7279A2AE-8D1F-4E66-A73A-01AF7927A336}|WIDESEAWCS_ITaskInfoService\\WIDESEAWCS_ITaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_itaskinfoservice\\itaskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7279A2AE-8D1F-4E66-A73A-01AF7927A336}|WIDESEAWCS_ITaskInfoService\\WIDESEAWCS_ITaskInfoService.csproj|solutionrelative:wideseawcs_itaskinfoservice\\itaskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\stackercranejob\\stackerstatusenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\stackercranejob\\stackerstatusenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{83F18A31-5983-4587-A0B2-414BF70E50B5}|WIDESEAWCS_TaskInfoService\\WIDESEAWCS_TaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_taskinfoservice\\taskservice_operate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{83F18A31-5983-4587-A0B2-414BF70E50B5}|WIDESEAWCS_TaskInfoService\\WIDESEAWCS_TaskInfoService.csproj|solutionrelative:wideseawcs_taskinfoservice\\taskservice_operate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_dto\\taskinfo\\wmstaskdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|solutionrelative:wideseawcs_dto\\taskinfo\\wmstaskdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7F200FE8-CAF6-4131-BD25-8D438FE0ABAC}|WIDESEAWCS_Model\\WIDESEAWCS_Model.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_model\\models\\taskinfo\\dt_task.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7F200FE8-CAF6-4131-BD25-8D438FE0ABAC}|WIDESEAWCS_Model\\WIDESEAWCS_Model.csproj|solutionrelative:wideseawcs_model\\models\\taskinfo\\dt_task.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_server\\filter\\customprofile.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|solutionrelative:wideseawcs_server\\filter\\customprofile.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\conveyorlinejob\\conveyorlinetaskcommand.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\conveyorlinejob\\conveyorlinetaskcommand.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_server\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}", + "RelativeMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|solutionrelative:wideseawcs_server\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}" + }, + { + "AbsoluteMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_dto\\system\\vuedictionarydto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|solutionrelative:wideseawcs_dto\\system\\vuedictionarydto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_common\\taskenum\\stationtypeenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}|WIDESEAWCS_Common\\WIDESEAWCS_Common.csproj|solutionrelative:wideseawcs_common\\taskenum\\stationtypeenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\conveyorlinejob\\r_conveyorlinedbname.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\conveyorlinejob\\r_conveyorlinedbname.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{FFAB2C76-1C9E-4006-95C8-A0B2AA53139D}|WIDESEAWCS_BasicInfoService\\WIDESEAWCS_BasicInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_basicinfoservice\\stationmangerservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FFAB2C76-1C9E-4006-95C8-A0B2AA53139D}|WIDESEAWCS_BasicInfoService\\WIDESEAWCS_BasicInfoService.csproj|solutionrelative:wideseawcs_basicinfoservice\\stationmangerservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_server\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|solutionrelative:wideseawcs_server\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_server\\index.html||{40D31677-CBC0-4297-A9EF-89D907823A98}", + "RelativeMoniker": "D:0:0:{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}|WIDESEAWCS_Server\\WIDESEAWCS_Server.csproj|solutionrelative:wideseawcs_server\\index.html||{40D31677-CBC0-4297-A9EF-89D907823A98}" + }, + { + "AbsoluteMoniker": "D:0:0:{8C2CC25B-DE5D-433E-A550-63864C7A716D}|WIDESEAWCS_IBasicInfoService\\WIDESEAWCS_IBasicInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_ibasicinfoservice\\istationmangerservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{8C2CC25B-DE5D-433E-A550-63864C7A716D}|WIDESEAWCS_IBasicInfoService\\WIDESEAWCS_IBasicInfoService.csproj|solutionrelative:wideseawcs_ibasicinfoservice\\istationmangerservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_dto\\wmsinfo\\wmsip.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|solutionrelative:wideseawcs_dto\\wmsinfo\\wmsip.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_tasks\\wideseawcs_tasks.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}", + "RelativeMoniker": "D:0:0:{294E4915-0241-4C8C-BA99-7588B945863A}|WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj|solutionrelative:wideseawcs_tasks\\wideseawcs_tasks.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}" + }, + { + "AbsoluteMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wcs\\wideseawcs_server\\wideseawcs_dto\\wideseawcs_dto.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}", + "RelativeMoniker": "D:0:0:{C2D3D138-9109-481B-8BEB-A27597890B2C}|WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj|solutionrelative:wideseawcs_dto\\wideseawcs_dto.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 2, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}" + }, + { + "$type": "Document", + "DocumentIndex": 9, + "Title": "TaskService_Operate.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_TaskInfoService\\TaskService_Operate.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_TaskInfoService\\TaskService_Operate.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_TaskInfoService\\TaskService_Operate.cs", + "RelativeToolTip": "WIDESEAWCS_TaskInfoService\\TaskService_Operate.cs", + "ViewState": "AgIAAEMAAAAAAAAAAAD4v08AAAB6AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-17T01:37:46.984Z" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "CommonConveyorLineJob.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ConveyorLineJob\\CommonConveyorLineJob.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\ConveyorLineJob\\CommonConveyorLineJob.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ConveyorLineJob\\CommonConveyorLineJob.cs", + "RelativeToolTip": "WIDESEAWCS_Tasks\\ConveyorLineJob\\CommonConveyorLineJob.cs", + "ViewState": "AgIAAJEAAAAAAAAAAAAIwKIAAABxAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-08T01:15:14.906Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "TaskService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_TaskInfoService\\TaskService.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_TaskInfoService\\TaskService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_TaskInfoService\\TaskService.cs", + "RelativeToolTip": "WIDESEAWCS_TaskInfoService\\TaskService.cs", + "ViewState": "AgIAACIAAAAAAAAAAAArwDkAAABJAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-27T06:41:02.223Z" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "TaskStatusEnum.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", + "RelativeToolTip": "WIDESEAWCS_Common\\TaskEnum\\TaskStatusEnum.cs", + "ViewState": "AgIAABwAAAAAAAAAAAAAwC8AAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-27T07:55:28.89Z" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "GetStackerObject.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\StackerCraneJob\\GetStackerObject.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\StackerCraneJob\\GetStackerObject.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\StackerCraneJob\\GetStackerObject.cs", + "RelativeToolTip": "WIDESEAWCS_Tasks\\StackerCraneJob\\GetStackerObject.cs", + "ViewState": "AgIAAF8AAAAAAAAAAADwv3EAAAAQAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-27T06:59:03.416Z" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "TaskEnumHelper.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskEnumHelper.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Common\\TaskEnum\\TaskEnumHelper.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskEnumHelper.cs", + "RelativeToolTip": "WIDESEAWCS_Common\\TaskEnum\\TaskEnumHelper.cs", + "ViewState": "AgIAAAoAAAAAAAAAAAAAABIAAAAkAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T08:03:17.855Z" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "TaskTypeEnum.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskTypeEnum.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Common\\TaskEnum\\TaskTypeEnum.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\TaskTypeEnum.cs", + "RelativeToolTip": "WIDESEAWCS_Common\\TaskEnum\\TaskTypeEnum.cs", + "ViewState": "AgIAABQAAAAAAAAAAADgvyEAAAAQAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T07:25:28.081Z" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "CommonStackerCraneJob.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\StackerCraneJob\\CommonStackerCraneJob.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\StackerCraneJob\\CommonStackerCraneJob.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\StackerCraneJob\\CommonStackerCraneJob.cs", + "RelativeToolTip": "WIDESEAWCS_Tasks\\StackerCraneJob\\CommonStackerCraneJob.cs", + "ViewState": "AgIAAFcAAAAAAAAAAAAAAGgAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-27T01:35:11.467Z" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "ITaskService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_ITaskInfoService\\ITaskService.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_ITaskInfoService\\ITaskService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_ITaskInfoService\\ITaskService.cs", + "RelativeToolTip": "WIDESEAWCS_ITaskInfoService\\ITaskService.cs", + "ViewState": "AgIAALQAAAAAAAAAAAAuwMcAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-16T03:29:54.039Z" + }, + { + "$type": "Document", + "DocumentIndex": 8, + "Title": "StackerStatusEnum.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\StackerCraneJob\\StackerStatusEnum.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\StackerCraneJob\\StackerStatusEnum.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\StackerCraneJob\\StackerStatusEnum.cs", + "RelativeToolTip": "WIDESEAWCS_Tasks\\StackerCraneJob\\StackerStatusEnum.cs", + "ViewState": "AgIAAHIAAAAAAAAAAADwv5EAAAAWAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-28T06:14:20.193Z" + }, + { + "$type": "Document", + "DocumentIndex": 21, + "Title": "IStationMangerService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_IBasicInfoService\\IStationMangerService.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_IBasicInfoService\\IStationMangerService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_IBasicInfoService\\IStationMangerService.cs", + "RelativeToolTip": "WIDESEAWCS_IBasicInfoService\\IStationMangerService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAAAFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-08T01:30:03.17Z" + }, + { + "$type": "Document", + "DocumentIndex": 14, + "Title": "appsettings.json", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\appsettings.json", + "RelativeDocumentMoniker": "WIDESEAWCS_Server\\appsettings.json", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\appsettings.json", + "RelativeToolTip": "WIDESEAWCS_Server\\appsettings.json", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABMAAABGAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|", + "WhenOpened": "2025-09-11T05:35:08.736Z" + }, + { + "$type": "Document", + "DocumentIndex": 12, + "Title": "CustomProfile.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\Filter\\CustomProfile.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Server\\Filter\\CustomProfile.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\Filter\\CustomProfile.cs", + "RelativeToolTip": "WIDESEAWCS_Server\\Filter\\CustomProfile.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAAAoAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T07:06:42.544Z" + }, + { + "$type": "Document", + "DocumentIndex": 10, + "Title": "WMSTaskDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\TaskInfo\\WMSTaskDTO.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_DTO\\TaskInfo\\WMSTaskDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\TaskInfo\\WMSTaskDTO.cs", + "RelativeToolTip": "WIDESEAWCS_DTO\\TaskInfo\\WMSTaskDTO.cs", + "ViewState": "AgIAAD0AAAAAAAAAAIA6wFIAAAAFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T07:12:54.713Z" + }, + { + "$type": "Document", + "DocumentIndex": 11, + "Title": "Dt_Task.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Model\\Models\\TaskInfo\\Dt_Task.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Model\\Models\\TaskInfo\\Dt_Task.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Model\\Models\\TaskInfo\\Dt_Task.cs", + "RelativeToolTip": "WIDESEAWCS_Model\\Models\\TaskInfo\\Dt_Task.cs", + "ViewState": "AgIAAHYAAAAAAAAAAAAAAIcAAAAtAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-08T06:47:14.931Z" + }, + { + "$type": "Document", + "DocumentIndex": 13, + "Title": "ConveyorLineTaskCommand.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ConveyorLineJob\\ConveyorLineTaskCommand.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\ConveyorLineJob\\ConveyorLineTaskCommand.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ConveyorLineJob\\ConveyorLineTaskCommand.cs", + "RelativeToolTip": "WIDESEAWCS_Tasks\\ConveyorLineJob\\ConveyorLineTaskCommand.cs", + "ViewState": "AgIAALsAAAAAAAAAAAAswMsAAAAUAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-08T02:48:34.647Z" + }, + { + "$type": "Document", + "DocumentIndex": 15, + "Title": "VueDictionaryDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\System\\VueDictionaryDTO.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_DTO\\System\\VueDictionaryDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\System\\VueDictionaryDTO.cs", + "RelativeToolTip": "WIDESEAWCS_DTO\\System\\VueDictionaryDTO.cs", + "ViewState": "AgIAAAIAAABAEm1uf2kpwAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T03:15:38.423Z" + }, + { + "$type": "Document", + "DocumentIndex": 18, + "Title": "StationMangerService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_BasicInfoService\\StationMangerService.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_BasicInfoService\\StationMangerService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_BasicInfoService\\StationMangerService.cs", + "RelativeToolTip": "WIDESEAWCS_BasicInfoService\\StationMangerService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABMAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-08T01:30:34.651Z" + }, + { + "$type": "Document", + "DocumentIndex": 16, + "Title": "StationTypeEnum.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\StationTypeEnum.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Common\\TaskEnum\\StationTypeEnum.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Common\\TaskEnum\\StationTypeEnum.cs", + "RelativeToolTip": "WIDESEAWCS_Common\\TaskEnum\\StationTypeEnum.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABIAAAAlAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-11T08:42:49.34Z" + }, + { + "$type": "Document", + "DocumentIndex": 17, + "Title": "R_ConveyorLineDBName.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ConveyorLineJob\\R_ConveyorLineDBName.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\ConveyorLineJob\\R_ConveyorLineDBName.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\ConveyorLineJob\\R_ConveyorLineDBName.cs", + "RelativeToolTip": "WIDESEAWCS_Tasks\\ConveyorLineJob\\R_ConveyorLineDBName.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABkAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-11T06:43:16.379Z" + }, + { + "$type": "Document", + "DocumentIndex": 19, + "Title": "Program.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\Program.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_Server\\Program.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\Program.cs", + "RelativeToolTip": "WIDESEAWCS_Server\\Program.cs", + "ViewState": "AgIAAHgAAAAAAAAAAAAAAJYAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-11T05:35:18.247Z" + }, + { + "$type": "Document", + "DocumentIndex": 20, + "Title": "index.html", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\index.html", + "RelativeDocumentMoniker": "WIDESEAWCS_Server\\index.html", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Server\\index.html", + "RelativeToolTip": "WIDESEAWCS_Server\\index.html", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001512|", + "WhenOpened": "2025-09-11T05:35:16.928Z" + }, + { + "$type": "Document", + "DocumentIndex": 23, + "Title": "WIDESEAWCS_Tasks.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj", + "RelativeDocumentMoniker": "WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj", + "RelativeToolTip": "WIDESEAWCS_Tasks\\WIDESEAWCS_Tasks.csproj", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-08-28T01:23:50.68Z" + }, + { + "$type": "Document", + "DocumentIndex": 24, + "Title": "WIDESEAWCS_DTO.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj", + "RelativeDocumentMoniker": "WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj", + "RelativeToolTip": "WIDESEAWCS_DTO\\WIDESEAWCS_DTO.csproj", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-08-28T01:23:51.389Z" + }, + { + "$type": "Document", + "DocumentIndex": 22, + "Title": "WMSIP.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\WMSinfo\\WMSIP.cs", + "RelativeDocumentMoniker": "WIDESEAWCS_DTO\\WMSinfo\\WMSIP.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WCS\\WIDESEAWCS_Server\\WIDESEAWCS_DTO\\WMSinfo\\WMSIP.cs", + "RelativeToolTip": "WIDESEAWCS_DTO\\WMSinfo\\WMSIP.cs", + "ViewState": "AgIAAAMAAAAAAAAAAAAAABQAAABVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-27T08:08:24.32Z" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoRepository/WIDESEAWCS_BasicInfoRepository.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoRepository/WIDESEAWCS_BasicInfoRepository.csproj" new file mode 100644 index 0000000..cf2a881 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoRepository/WIDESEAWCS_BasicInfoRepository.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_IBasicInfoRepository\WIDESEAWCS_IBasicInfoRepository.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/StationMangerService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/StationMangerService.cs" new file mode 100644 index 0000000..6ba6ca2 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/StationMangerService.cs" @@ -0,0 +1,19 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_IBasicInfoService; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_BasicInfoService +{ + public class StationMangerService : ServiceBase<Dt_StationManger, IRepository<Dt_StationManger>> + { + public StationMangerService(IRepository<Dt_StationManger> BaseDal) : base(BaseDal) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/WIDESEAWCS_BasicInfoService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/WIDESEAWCS_BasicInfoService.csproj" new file mode 100644 index 0000000..132b4ea --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/WIDESEAWCS_BasicInfoService.csproj" @@ -0,0 +1,17 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <PackageReference Include="WIDESEAWCS_QuartzJob" Version="1.0.0" /> + </ItemGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_IBasicInfoService\WIDESEAWCS_IBasicInfoService.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/AreaInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/AreaInfo.cs" new file mode 100644 index 0000000..2f52e30 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/AreaInfo.cs" @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Common +{ + public enum AreaInfo + { + CLOutAreaA, + CLOutAreaB, + CLOutAreaC + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/Attributes/BoolIndexAttribute.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/Attributes/BoolIndexAttribute.cs" new file mode 100644 index 0000000..c34fc8a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/Attributes/BoolIndexAttribute.cs" @@ -0,0 +1,17 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Common.Attributes +{ + public class BoolIndexAttribute : Attribute + { + public int Index { get; set; } + public BoolIndexAttribute(int index) + { + Index = index; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/Helper/ConvertHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/Helper/ConvertHelper.cs" new file mode 100644 index 0000000..6b1bac0 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/Helper/ConvertHelper.cs" @@ -0,0 +1,53 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Common.Attributes; + +namespace WIDESEAWCS_Common.Helper +{ + public static class ConvertHelper + { + public static bool[] ByteToBoolArray(this byte data) + { + bool[] result = new bool[8]; + for (int i = 0; i < 8; i++) + { + result[i] = (data & (1 << i)) != 0; + } + return result; + } + + public static T ByteToBoolObject<T>(this byte data) + { + bool[] boolArray = ByteToBoolArray(data); + + //Array.Reverse(boolArray); + + Type type = typeof(T); + object? obj = Activator.CreateInstance(type); + if (obj == null) + { + throw new Exception($"绫诲瀷瀹炰緥鍖栭敊璇�"); + } + T result = (T)obj; + + PropertyInfo[] propertyInfos = type.GetProperties(); + foreach (PropertyInfo propertyInfo in propertyInfos) + { + BoolIndexAttribute? boolIndexAttribute = propertyInfo.GetCustomAttribute<BoolIndexAttribute>(); + if (boolIndexAttribute != null) + { + if (boolIndexAttribute.Index >= 0 && boolIndexAttribute.Index < 8) + { + propertyInfo.SetValue(result, boolArray[boolIndexAttribute.Index]); + } + } + } + + return result; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/StationTypeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/StationTypeEnum.cs" new file mode 100644 index 0000000..95b712b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/StationTypeEnum.cs" @@ -0,0 +1,31 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Common +{ + public enum StationTypeEnum + { + /// <summary> + /// 鍏ュ簱绔欏彴 + /// </summary> + StationType_OnlyInbound = 1, + + /// <summary> + /// 鍑哄簱绔欏彴 + /// </summary> + StationType_OnlyOutbound = 2, + + /// <summary> + /// 鍑哄叆搴撶珯鍙� + /// </summary> + StationType_InboundAndOutbound = 3, + + /// <summary> + /// 鍑哄叆搴撳彛 + /// </summary> + StationType_InStartAndOutEnd = 33, + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskEnumHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskEnumHelper.cs" new file mode 100644 index 0000000..dbfd36e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskEnumHelper.cs" @@ -0,0 +1,59 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Common.TaskEnum; + +namespace WIDESEAWCS_Common.TaskEnum +{ + public static class TaskEnumHelper + { + public static List<int> GetEnumIndexList(this Type type) + { + if (type is null) throw new ArgumentNullException("type"); + if (!type.IsEnum) return new List<int>(); + return Enum.GetValues(type).Cast<int>().ToList(); + } + + public static TaskTypeGroup GetTaskTypeGroup(this int taskType) + { + if (taskType >= 500 && taskType < 900) + { + return TaskTypeGroup.InboundGroup; + } + else if (taskType >= 100 && taskType < 500) + { + return TaskTypeGroup.OutbondGroup; + } + else if (taskType >= 900 && taskType < 1000) + { + return TaskTypeGroup.RelocationGroup; + } + else + { + return TaskTypeGroup.OtherGroup; + } + } + + public static int GetNextNotCompletedStatus<T>(this int currentStatus) where T : Enum + { + Type type = typeof(T); + if (type is null) throw new ArgumentNullException(); + if (!type.IsEnum) return 0; + if (type == typeof(TaskInStatusEnum)) + { + List<int> taskInboundTypes = type.GetEnumIndexList(); + return taskInboundTypes.Where(x => x > currentStatus && x < (int)TaskInStatusEnum.InFinish).OrderBy(x => x).FirstOrDefault(); + } + else if (type == typeof(TaskOutStatusEnum)) + { + return type.GetEnumIndexList().Where(x => x > currentStatus && x < (int)TaskOutStatusEnum.OutFinish).OrderBy(x => x).FirstOrDefault(); + } + else + { + throw new NotImplementedException(); + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskStatusEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskStatusEnum.cs" new file mode 100644 index 0000000..94b7b8b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskStatusEnum.cs" @@ -0,0 +1,297 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Common.TaskEnum +{ + + + public enum TaskStatusEnum + { + /// <summary> + /// 鏂板缓浠诲姟 + /// </summary> + [Description("鏂板缓")] + New = 100, + + /// <summary> + /// 鎻愬崌鏈烘墽琛屼腑 + /// </summary> + [Description("鎻愬崌鏈烘墽琛屼腑")] + HT_Executing = 110, + + /// <summary> + /// 鍫嗗灈鏈哄緟鎵ц + /// </summary> + [Description("鍫嗗灈鏈哄緟鎵ц")] + SC_Execute = 200, + + /// <summary> + /// 鍫嗗灈鏈烘墽琛屼腑 + /// </summary> + [Description("鍫嗗灈鏈烘墽琛屼腑")] + SC_Executing = 210, + + /// <summary> + /// 鍫嗗灈鏈哄畬鎴� + /// </summary> + [Description("鍫嗗灈鏈哄畬鎴�")] + SC_Finish = 220, + + /// <summary> + /// 杈撻�佺嚎寰呮墽琛� + /// </summary> + [Description("杈撻�佺嚎寰呮墽琛�")] + Line_Execute = 400, + + /// <summary> + /// 杈撻�佺嚎鎵ц涓� + /// </summary> + [Description("杈撻�佺嚎鎵ц涓�")] + Line_Executing = 410, + + /// <summary> + /// 杈撻�佺嚎瀹屾垚 + /// </summary> + [Description("杈撻�佺嚎瀹屾垚")] + Line_Finish = 420, + + /// <summary> + /// RGV鏂板缓浠诲姟 + /// </summary> + [Description("RGV鏂板缓浠诲姟")] + RGV_NEW = 290, + /// <summary> + /// RGV寰呮墽琛� + /// </summary> + [Description("RGV寰呮墽琛�")] + RGV_Execute = 300, + /// <summary> + /// RGV鍙栬揣涓� + /// </summary> + [Description("RGV鍙栬揣涓�")] + RGV_Takeing = 305, + /// <summary> + /// RGV鎵ц涓� + /// </summary> + [Description("RGV鎵ц涓�")] + RGV_Executing = 310, + + /// <summary> + /// RGV寰呯户缁墽琛� + /// </summary> + [Description("RGV寰呯户缁墽琛�")] + RGV_WaitToExecute = 320, + /// <summary> + /// RGV鏀捐揣涓� + /// </summary> + [Description("RGV鏀捐揣涓�")] + RGV_Puting = 325, + + /// <summary> + /// RGV瀹屾垚 + /// </summary> + [Description("RGV瀹屾垚")] + RGV_Finish = 330, + + /// <summary> + /// RGV鍙栬揣鍐欏叆寮傚父 + /// </summary> + [Description("RGV鍙栬揣鍐欏叆寮傚父")] + RGV_TakeError = 335, + + /// <summary> + /// 浠诲姟瀹屾垚 + /// </summary> + [Description("浠诲姟瀹屾垚")] + Finish = 900, + + /// <summary> + /// 浠诲姟鎸傝捣 + /// </summary> + [Description("浠诲姟鎸傝捣")] + Pending = 970, + + /// <summary> + /// Mes鍑哄簱鎸傝捣 + /// </summary> + [Description("Mes鍑哄簱鎸傝捣")] + MesPending = 975, + + /// <summary> + /// 浠诲姟鍙栨秷 + /// </summary> + [Description("浠诲姟鍙栨秷")] + Cancel = 980, + + /// <summary> + /// 浠诲姟寮傚父 + /// </summary> + [Description("浠诲姟寮傚父")] + Exception = 990, + } + + + public enum TaskInStatusEnum + { + /// <summary> + /// 鏂板缓鍏ュ簱浠诲姟 + /// </summary> + [Description("鏂板缓鍏ュ簱浠诲姟")] + InNew = 200, + + /// <summary> + /// 杈撻�佺嚎鍏ュ簱鎵ц涓� + /// </summary> + [Description("杈撻�佺嚎鍏ュ簱鎵ц涓�")] + Line_InExecuting = 215, + + /// <summary> + /// 杈撻�佺嚎鍏ュ簱瀹屾垚 + /// </summary> + [Description("杈撻�佺嚎杈撻�佸畬鎴�")] + Line_InFinish = 220, + + /// <summary> + /// 鍫嗗灈鏈哄緟鎵ц + /// </summary> + [Description("鍫嗗灈鏈哄緟鎵ц")] + SC_Execute = 225, + + /// <summary> + /// 鍫嗗灈鏈哄叆搴撴墽琛屼腑 + /// </summary> + [Description("鍫嗗灈鏈哄叆搴撴墽琛屼腑")] + SC_InExecuting = 230, + + /// <summary> + /// 鍫嗗灈鏈哄叆搴撳畬鎴� + /// </summary> + [Description("鍫嗗灈鏈哄叆搴撳畬鎴�")] + SC_InFinish = 235, + + /// <summary> + /// 鍏ュ簱浠诲姟瀹屾垚 + /// </summary> + [Description("鍏ュ簱浠诲姟瀹屾垚")] + InFinish = 290, + + /// <summary> + /// 鍏ュ簱浠诲姟鎸傝捣 + /// </summary> + [Description("鍏ュ簱浠诲姟鎸傝捣")] + InPending = 297, + + /// <summary> + /// 鍏ュ簱浠诲姟鍙栨秷 + /// </summary> + [Description("鍏ュ簱浠诲姟鍙栨秷")] + InCancel = 298, + + /// <summary> + /// 鍏ュ簱浠诲姟寮傚父 + /// </summary> + [Description("鍏ュ簱浠诲姟寮傚父")] + InException = 299, + } + + public enum TaskOutStatusEnum + { + /// <summary> + /// 鏂板缓鍑哄簱浠诲姟 + /// </summary> + [Description("鏂板缓鍑哄簱浠诲姟")] + OutNew = 100, + + /// <summary> + /// 鍫嗗灈鏈哄嚭搴撴墽琛屼腑 + /// </summary> + [Description("鍫嗗灈鏈哄嚭搴撴墽琛屼腑")] + SC_OutExecuting = 110, + + /// <summary> + /// 鍫嗗灈鏈哄嚭搴撳畬鎴� + /// </summary> + [Description("鍫嗗灈鏈哄嚭搴撳畬鎴�")] + SC_OutFinish = 115, + + /// <summary> + /// 杈撻�佺嚎鍑哄簱鎵ц涓� + /// </summary> + [Description("杈撻�佺嚎鍑哄簱鎵ц涓�")] + Line_OutExecuting = 120, + + /// <summary> + /// 杈撻�佺嚎鍑哄簱瀹屾垚 + /// </summary> + [Description("杈撻�佺嚎杈撻�佸畬鎴�")] + Line_OutFinish = 125, + + ///// <summary> + ///// AGV鍑哄簱鎵ц涓� + ///// </summary> + //[Description("AGV鍑哄簱鎵ц涓�")] + //AGV_OutExecuting = 130, + + ///// <summary> + ///// AGV鍑哄簱瀹屾垚 + ///// </summary> + //[Description("AGV鎼繍瀹屾垚")] + //AGV_OutFinish = 135, + + /// <summary> + /// 鍑哄簱浠诲姟瀹屾垚 + /// </summary> + [Description("鍑哄簱浠诲姟瀹屾垚")] + OutFinish = 190, + + /// <summary> + /// 鍑哄簱浠诲姟鎸傝捣 + /// </summary> + [Description("鍑哄簱浠诲姟鎸傝捣")] + OutPending = 197, + + /// <summary> + /// 鍑哄簱浠诲姟鍙栨秷 + /// </summary> + [Description("鍑哄簱浠诲姟鍙栨秷")] + OutCancel = 198, + + /// <summary> + /// 鍑哄簱浠诲姟寮傚父 + /// </summary> + [Description("鍑哄簱浠诲姟寮傚父")] + OutException = 199, + } + + + public enum TaskRelocationStatusEnum + { + /// <summary> + /// 鏂板缓绉诲簱浠诲姟 + /// </summary> + [Description("鏂板缓绉诲簱浠诲姟")] + RelocationNew = 400, + + /// <summary> + /// 鍫嗗灈鏈虹Щ搴撴墽琛屼腑 + /// </summary> + [Description("鍫嗗灈鏈虹Щ搴撴墽琛屼腑")] + SC_RelocationExecuting = 410, + + /// <summary> + /// 鍫嗗灈鏈虹Щ搴撳畬鎴� + /// </summary> + [Description("鍫嗗灈鏈虹Щ搴撳畬鎴�")] + SC_RelocationFinish = 420, + + /// <summary> + /// 绉诲簱瀹屾垚 + /// </summary> + [Description("绉诲簱瀹屾垚")] + RelocationFinish = 430, + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskStatusGroup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskStatusGroup.cs" new file mode 100644 index 0000000..459adce --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskStatusGroup.cs" @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Common.TaskEnum +{ + public enum TaskStatusGroup + { + NotCompleted, + Completed, + Exception + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskTypeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskTypeEnum.cs" new file mode 100644 index 0000000..33dfdfc --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskTypeEnum.cs" @@ -0,0 +1,76 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Common.TaskEnum +{ + public enum TaskInboundTypeEnum + { + /// <summary> + /// 鍏ュ簱 + /// </summary> + [Description("鍏ュ簱")] + Inbound = 200, + /// <summary> + /// 鐩樼偣鍏ュ簱 + /// </summary> + [Description("鐩樼偣鍏ュ簱")] + InInventory = 201, + /// <summary> + /// 鍒嗘嫞鍏ュ簱 + /// </summary> + [Description("鍒嗘嫞鍏ュ簱")] + InPick = 202, + /// <summary> + /// 璐ㄦ鍏ュ簱 + /// </summary> + [Description("璐ㄦ鍏ュ簱")] + InQuality = 203 + } + + public enum TaskOutboundTypeEnum + { + /// <summary> + /// 鍑哄簱 + /// </summary> + [Description("鍑哄簱")] + Outbound = 100, + /// <summary> + /// 鐩樼偣鍑哄簱 + /// </summary> + [Description("鐩樼偣鍑哄簱")] + OutInventory = 101, + /// <summary> + /// 鍒嗘嫞鍑哄簱 + /// </summary> + [Description("鍒嗘嫞鍑哄簱")] + OutPick = 102, + /// <summary> + /// 璐ㄦ鍑哄簱 + /// </summary> + [Description("璐ㄦ鍑哄簱")] + OutQuality = 103, + } + + public enum TaskRelocationTypeEnum + { + /// <summary> + /// 搴撳唴绉诲簱 + /// </summary> + [Description("搴撳唴绉诲簱")] + Relocation = 300, + /// <summary> + /// 搴撳绉诲簱 + /// </summary> + [Description("搴撳绉诲簱")] + RelocationIn = 301 + } + + public enum TaskOtherTypeEnum + { + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskTypeGroup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskTypeGroup.cs" new file mode 100644 index 0000000..cb22aea --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskTypeGroup.cs" @@ -0,0 +1,16 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Common.TaskEnum +{ + public enum TaskTypeGroup + { + InboundGroup, + OutbondGroup, + RelocationGroup, + OtherGroup + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/WIDESEAWCS_Common.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/WIDESEAWCS_Common.csproj" new file mode 100644 index 0000000..132c02c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/WIDESEAWCS_Common.csproj" @@ -0,0 +1,9 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/StackerCarneTaskDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/StackerCarneTaskDTO.cs" new file mode 100644 index 0000000..45aa206 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/StackerCarneTaskDTO.cs" @@ -0,0 +1,13 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_DTO +{ + public class StackerCarneTaskDTO + { + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/ActionDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/ActionDTO.cs" new file mode 100644 index 0000000..b6204c2 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/ActionDTO.cs" @@ -0,0 +1,16 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_DTO.System +{ + public class ActionDTO + { + public int ActionId { get; set; } + public int MenuId { get; set; } + public string Text { get; set; } + public string Value { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/MenuDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/MenuDTO.cs" new file mode 100644 index 0000000..57bf903 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/MenuDTO.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_DTO.System +{ + public class MenuDTO : Sys_Menu + { + public List<ActionDTO>? Actions { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/UserPermissions.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/UserPermissions.cs" new file mode 100644 index 0000000..4730c78 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/UserPermissions.cs" @@ -0,0 +1,17 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_DTO.System +{ + public class UserPermissionDTO + { + public int Id { get; set; } + public int Pid { get; set; } + public string Text { get; set; } + public bool IsApp { get; set; } + public List<ActionDTO> Actions { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/VueDictionaryDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/VueDictionaryDTO.cs" new file mode 100644 index 0000000..deed903 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/System/VueDictionaryDTO.cs" @@ -0,0 +1,19 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_DTO.System +{ + public class VueDictionaryDTO + { + public string DicNo { get; set; } + + public string Config { get; set; } + + public object Data { get; set; } + + public bool SaveCache { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/TaskInfo/WMSTaskDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/TaskInfo/WMSTaskDTO.cs" new file mode 100644 index 0000000..2aa064c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/TaskInfo/WMSTaskDTO.cs" @@ -0,0 +1,84 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_DTO.TaskInfo +{ + public class WMSTaskDTO + { + /// <summary> + /// WMS浠诲姟涓婚敭 + /// </summary> + public int Id { get; set; } + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + public int TaskNum { get; set; } + + /// <summary> + /// 鎵樼洏鍙� + /// </summary> + public string PalletCode { get; set; } + + /// <summary> + /// 宸烽亾鍙� + /// </summary> + public string RoadWay { get; set; } + + /// <summary> + /// 浠诲姟绫诲瀷 + /// </summary> + public int TaskType { get; set; } + + /// <summary> + /// + /// </summary> + public string CurrentAddress { get; set; } + /// <summary> + /// + /// </summary> + public string NextAddress { get; set; } + /// <summary> + /// 浠诲姟鐘舵�� + /// </summary> + public int TaskStatus { get; set; } + + /// <summary> + /// 璧风偣 + /// </summary> + public string SourceAddress { get; set; } + + /// <summary> + /// 缁堢偣 + /// </summary> + public string TargetAddress { get; set; } + + /// <summary> + /// 浼樺厛绾� + /// </summary> + public int Grade { get; set; } + + public int WarehouseId { get; set; } + + /// <summary> + /// 浠诲姟缁� + /// </summary> + public string GroupId { get; set; } + + /// <summary> + /// 浠诲姟鐗╂枡闀垮害 + /// </summary> + public int TaskLength { get; set; } + + public string AGVArea { get; set; } + + public int PalletType { get; set; } + /// <summary> + /// AGV浠诲姟鍙� + /// </summary> + public string AGVTaskNum { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/WIDESEAWCS_DTO.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/WIDESEAWCS_DTO.csproj" new file mode 100644 index 0000000..cc0b784 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/WIDESEAWCS_DTO.csproj" @@ -0,0 +1,17 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_Model\WIDESEAWCS_Model.csproj" /> + </ItemGroup> + + <ItemGroup> + <Folder Include="BasicInfo\" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/WMSinfo/WMSIP.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/WMSinfo/WMSIP.cs" new file mode 100644 index 0000000..7429c17 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/WMSinfo/WMSIP.cs" @@ -0,0 +1,48 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Xml.Linq; +using WIDESEAWCS_Core.Helper; + +namespace WIDESEAWCS_DTO.WMSInfo +{ + public class WMSInterfaceAddress + { + public static readonly string Ip = AppSettings.Configuration["WMSIP"]; + /// <summary> + /// 浜х嚎鐢宠 + /// </summary> + public static string ProductionlineRequest => GetInterfaceAddress(nameof(ProductionlineRequest)); + /// <summary> + /// 鑾峰彇鏀捐溅浣嶇疆 + /// </summary> + public static string GetPosition => GetInterfaceAddress(nameof(GetPosition)); + /// <summary> + /// 杈撻�佺嚎鐢宠鍏ュ簱 + /// </summary> + public static string ConveyorLineRequestInbound => GetInterfaceAddress(nameof(ConveyorLineRequestInbound)); + /// <summary> + /// 鍫嗗灈鏈虹敵璇峰叆搴� + /// </summary> + public static string StackerCraneRequestInbound => GetInterfaceAddress(nameof(StackerCraneRequestInbound)); + /// <summary> + /// 浠诲姟鐘舵�佸悓姝ュ埌WMS + /// </summary> + public static string UpdateTaskStatus => GetInterfaceAddress(nameof(UpdateTaskStatus)); + + + + static string GetInterfaceAddress(string MethodName) + { + string wmsInterfaceAddress = AppSettings.Configuration[nameof(wmsInterfaceAddress)]; + if (!string.IsNullOrEmpty(wmsInterfaceAddress)) + { + List<string> InterfaceAddresses = wmsInterfaceAddress.Split(',').ToList(); + return Ip + InterfaceAddresses.Where(x => x.Contains(MethodName)).FirstOrDefault(); + } + return ""; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoRepository/WIDESEAWCS_IBasicInfoRepository.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoRepository/WIDESEAWCS_IBasicInfoRepository.csproj" new file mode 100644 index 0000000..c159328 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoRepository/WIDESEAWCS_IBasicInfoRepository.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_DTO\WIDESEAWCS_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoService/IStationMangerService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoService/IStationMangerService.cs" new file mode 100644 index 0000000..16a1ab0 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoService/IStationMangerService.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_IBasicInfoService +{ + public interface IStationMangerService : IService<Dt_StationManger> + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoService/WIDESEAWCS_IBasicInfoService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoService/WIDESEAWCS_IBasicInfoService.csproj" new file mode 100644 index 0000000..c159328 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_IBasicInfoService/WIDESEAWCS_IBasicInfoService.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_DTO\WIDESEAWCS_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_DictionaryListRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_DictionaryListRepository.cs" new file mode 100644 index 0000000..1e8f1a1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_DictionaryListRepository.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemRepository +{ + public interface ISys_DictionaryListRepository : IRepository<Sys_DictionaryList> + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_DictionaryRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_DictionaryRepository.cs" new file mode 100644 index 0000000..48827bf --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_DictionaryRepository.cs" @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemRepository +{ + public interface ISys_DictionaryRepository : IRepository<Sys_Dictionary> + { + IEnumerable<Sys_Dictionary> GetDictionaries(IEnumerable<string> dicNos, bool executeSql = true); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_LogRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_LogRepository.cs" new file mode 100644 index 0000000..3c9f9a8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_LogRepository.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemRepository +{ + public interface ISys_LogRepository : IRepository<Sys_Log> + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_MenuRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_MenuRepository.cs" new file mode 100644 index 0000000..0cfc0d1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_MenuRepository.cs" @@ -0,0 +1,26 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemRepository +{ + public interface ISys_MenuRepository : IRepository<Sys_Menu> + { + List<Sys_Menu> GetAllMenu(); + + object GetSuperAdminMenu(); + + object GetMenuByRoleId(int roleId); + + List<Permissions> GetPermissions(int roleId); + + object GetMenu(List<int> menuIds); + + object GetTreeItem(int menuId); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_RoleAuthRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_RoleAuthRepository.cs" new file mode 100644 index 0000000..fd0e10b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_RoleAuthRepository.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemRepository +{ + public interface ISys_RoleAuthRepository : IRepository<Sys_RoleAuth> + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_RoleRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_RoleRepository.cs" new file mode 100644 index 0000000..062c403 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_RoleRepository.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemRepository +{ + public interface ISys_RoleRepository : IRepository<Sys_Role> + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_TenantRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_TenantRepository.cs" new file mode 100644 index 0000000..f11ea1a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_TenantRepository.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemRepository +{ + public interface ISys_TenantRepository : IRepository<Sys_Tenant> + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_UserRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_UserRepository.cs" new file mode 100644 index 0000000..e8c00f5 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/ISys_UserRepository.cs" @@ -0,0 +1,16 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.HttpContextUser; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemRepository +{ + public interface ISys_UserRepository : IRepository<Sys_User> + { + UserInfo GetUserInfo(string userName, string password); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/WIDESEAWCS_ISystemRepository.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/WIDESEAWCS_ISystemRepository.csproj" new file mode 100644 index 0000000..c2103f2 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemRepository/WIDESEAWCS_ISystemRepository.csproj" @@ -0,0 +1,13 @@ +锘�<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_DTO\WIDESEAWCS_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_DictionaryListService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_DictionaryListService.cs" new file mode 100644 index 0000000..5aea6e7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_DictionaryListService.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemServices +{ + public interface ISys_DictionaryListService : IService<Sys_DictionaryList> + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_DictionaryService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_DictionaryService.cs" new file mode 100644 index 0000000..5465631 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_DictionaryService.cs" @@ -0,0 +1,16 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_DTO.System; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemServices +{ + public interface ISys_DictionaryService : IService<Sys_Dictionary> + { + List<VueDictionaryDTO> GetVueDictionary(string[] dicNos); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_LogService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_LogService.cs" new file mode 100644 index 0000000..166d420 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_LogService.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemServices +{ + public interface ISys_LogService : IService<Sys_Log> + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_MenuService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_MenuService.cs" new file mode 100644 index 0000000..ec49ff9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_MenuService.cs" @@ -0,0 +1,32 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_DTO.System; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemServices +{ + public interface ISys_MenuService : IService<Sys_Menu> + { + object GetCurrentMenuActionList(); + object GetMenuActionList(int roleId); + + List<MenuDTO> GetUserMenuList(int roleId); + + List<Permissions> GetPermissions(int roleId); + + List<ActionDTO> GetActions(int menuId, List<ActionDTO> menuActions, List<Permissions> permissions, int roleId); + + object GetMenu(); + + object GetTreeItem(int menuId); + + WebResponseContent Save(Sys_Menu menu); + + WebResponseContent DelMenu(int menuId); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_RoleAuthService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_RoleAuthService.cs" new file mode 100644 index 0000000..c5e26c3 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_RoleAuthService.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemServices +{ + public interface ISys_RoleAuthService : IService<Sys_RoleAuth> + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_RoleService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_RoleService.cs" new file mode 100644 index 0000000..1a9c6cb --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_RoleService.cs" @@ -0,0 +1,23 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_DTO.System; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Model.Models; +using WIDESEAWCS_Model.Models.System; + +namespace WIDESEAWCS_ISystemServices +{ + public interface ISys_RoleService : IService<Sys_Role> + { + List<RoleNodes> GetAllChildren(int roleId); + WebResponseContent GetCurrentTreePermission(); + + WebResponseContent GetUserTreePermission(int role_Id); + + WebResponseContent SavePermission(List<UserPermissionDTO> userPermissions, int roleId); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_TenantService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_TenantService.cs" new file mode 100644 index 0000000..5ff3ca5 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_TenantService.cs" @@ -0,0 +1,16 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemServices +{ + public interface ISys_TenantService : IService<Sys_Tenant> + { + WebResponseContent InitTenantInfo(string tenantName, int tenantType); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_UserService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_UserService.cs" new file mode 100644 index 0000000..c3e720b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/ISys_UserService.cs" @@ -0,0 +1,22 @@ +锘縰sing Microsoft.AspNetCore.Mvc; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Model; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ISystemServices +{ + public interface ISys_UserService : IService<Sys_User> + { + WebResponseContent Login(LoginInfo loginInfo); + + WebResponseContent GetCurrentUserInfo(); + + WebResponseContent ModifyPwd(string oldPwd, string newPwd); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/WIDESEAWCS_ISystemServices.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/WIDESEAWCS_ISystemServices.csproj" new file mode 100644 index 0000000..3732ca9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ISystemServices/WIDESEAWCS_ISystemServices.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_DTO\WIDESEAWCS_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoRepository/ITaskExecuteDetailRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoRepository/ITaskExecuteDetailRepository.cs" new file mode 100644 index 0000000..35da7b8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoRepository/ITaskExecuteDetailRepository.cs" @@ -0,0 +1,32 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_ITaskInfoRepository + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ITaskInfoRepository +{ + public interface ITaskExecuteDetailRepository: IRepository<Dt_TaskExecuteDetail> + { + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoRepository/ITaskRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoRepository/ITaskRepository.cs" new file mode 100644 index 0000000..1b36db9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoRepository/ITaskRepository.cs" @@ -0,0 +1,32 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_ITaskInfoRepository + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ITaskInfoRepository +{ + public interface ITaskRepository : IRepository<Dt_Task> + { + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoRepository/WIDESEAWCS_ITaskInfoRepository.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoRepository/WIDESEAWCS_ITaskInfoRepository.csproj" new file mode 100644 index 0000000..3732ca9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoRepository/WIDESEAWCS_ITaskInfoRepository.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_DTO\WIDESEAWCS_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/ITaskExecuteDetailService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/ITaskExecuteDetailService.cs" new file mode 100644 index 0000000..c2f8e3b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/ITaskExecuteDetailService.cs" @@ -0,0 +1,39 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_ITaskInfoService + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_ITaskInfoService +{ + public interface ITaskExecuteDetailService : IService<Dt_TaskExecuteDetail> + { + void AddTaskExecuteDetail(int taskId, string description = ""); + + WebResponseContent GetDetailInfo(int taskNum); + + WebResponseContent GetDetailDatas(int taskNum); + + void AddTaskExecuteDetail(List<int> taskNums, string description = ""); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/ITaskService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/ITaskService.cs" new file mode 100644 index 0000000..8ff3fa6 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/ITaskService.cs" @@ -0,0 +1,221 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_ITaskInfoService + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Core.Enums; +using WIDESEAWCS_DTO.TaskInfo; +using WIDESEAWCS_Model.Models; +using WIDESEAWCS_Common.TaskEnum; +using WIDESEAWCS_Core.BaseRepository; + +namespace WIDESEAWCS_ITaskInfoService +{ + public interface ITaskService : IService<Dt_Task> + { + /// <summary> + /// 浠撳偍灞�(鏁版嵁搴撹闂�) + /// </summary> + IRepository<Dt_Task> Repository { get; } + + /// <summary> + /// 浠诲姟鎺掑簭 + /// </summary> + Dictionary<string, OrderByType> TaskOrderBy { get; set; } + + /// <summary> + /// 鎵�鏈夊叆搴撲换鍔$被鍨� + /// </summary> + List<int> TaskInboundTypes { get; } + + /// <summary> + /// 鎵�鏈夊嚭搴撲换鍔$被鍨� + /// </summary> + List<int> TaskOutboundTypes { get; } + + /// <summary> + /// 鎺ユ敹WMS浠诲姟淇℃伅 + /// </summary> + /// <param name="taskDTOs">WMS浠诲姟瀵硅薄闆嗗悎</param> + /// <returns>杩斿洖澶勭悊缁撴灉</returns> + WebResponseContent ReceiveWMSTask([NotNull] List<WMSTaskDTO> taskDTOs); + + /// <summary> + /// 鏍规嵁鎵樼洏鍙枫�佽捣濮嬪湴鍧�鍚慦MS璇锋眰浠诲姟 + /// </summary> + /// <param name="palletCode">鎵樼洏鍙�</param> + /// <param name="sourceAddress">璧峰鍦板潃</param> + /// <returns></returns> + WebResponseContent RequestWMSTask(string palletCode, string sourceAddress); + + /// <summary> + /// 鏍规嵁璁惧缂栧彿銆佸綋鍓嶅湴鍧�鏌ヨ杈撻�佺嚎鏈墽琛岀殑浠诲姟 + /// </summary> + /// <param name="deviceNo">璁惧缂栧彿</param> + /// <param name="currentAddress">褰撳墠鍦板潃</param> + /// <returns></returns> + Dt_Task QueryConveyorLineTask(string deviceNo, string currentAddress); + + /// <summary> + /// 鏍规嵁浠诲姟鍙枫�佷笅涓�鍦板潃鏌ヨ杈撻�佺嚎鎵ц涓殑浠诲姟 + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <param name="nextAddress">涓嬩竴鍦板潃</param> + /// <returns></returns> + Dt_Task QueryExecutingConveyorLineTask(int taskNum, string nextAddress); + + /// <summary> + /// 鏍规嵁浠诲姟鍙枫�佸綋鍓嶅湴鍧�鏌ヨ杈撻�佺嚎瀹屾垚鐨勪换鍔� + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <param name="currentAddress">褰撳墠鍦板潃</param> + /// <returns></returns> + Dt_Task QueryCompletedConveyorLineTask(int taskNum, string currentAddress); + + /// <summary> + /// 鏍规嵁璁惧缂栧彿銆佷换鍔$被鍨嬪垎缁�(鍙��)鎸夌収浼樺厛绾т互鍙婂垱寤烘椂闂存帓搴忔煡璇换鍔℃睜鏂板鐨勪换鍔� + /// </summary> + /// <param name="deviceNo">璁惧缂栧彿</param> + /// <param name="taskTypeGroup">浠诲姟绫诲瀷鍒嗙粍(鍙��)</param> + /// <returns></returns> + Dt_Task? QuertStackerCraneTask(string deviceNo, TaskTypeGroup? taskTypeGroup = null); + + /// <summary> + /// 鏍规嵁璁惧缂栧彿銆佸綋鍓嶅湴鍧�鎸夌収浼樺厛绾т互鍙婂垱寤烘椂闂存帓搴忔煡璇换鍔℃睜鏂板鐨勪换鍔� + /// </summary> + /// <param name="deviceNo">璁惧缂栧彿</param> + /// <param name="currentAddress">褰撳墠鍦板潃</param> + /// <returns>杩斿洖浠诲姟瀹炰綋瀵硅薄锛屽彲鑳戒负null</returns> + Dt_Task QueryStackerCraneTask(string deviceNo, string currentAddress = ""); + + /// <summary> + /// 鏍规嵁璁惧缂栧彿銆佸綋鍓嶅湴鍧�鎸夌収浼樺厛绾т互鍙婂垱寤烘椂闂存帓搴忔煡璇换鍔℃睜鍏ュ簱绫诲瀷鐨勬柊澧炵殑浠诲姟 + /// </summary> + /// <param name="deviceNo">璁惧缂栧彿</param> + /// <param name="currentAddress">褰撳墠鍦板潃</param> + /// <returns>杩斿洖浠诲姟瀹炰綋瀵硅薄锛屽彲鑳戒负null</returns> + Dt_Task QueryStackerCraneInTask(string deviceNo, string currentAddress = ""); + + /// <summary> + /// 鏍规嵁璁惧缂栧彿銆佸綋鍓嶅湴鍧�鎸夌収浼樺厛绾т互鍙婂垱寤烘椂闂存帓搴忔煡璇换鍔℃睜鍑哄簱绫诲瀷鐨勬柊澧炵殑浠诲姟 + /// </summary> + /// <param name="deviceNo">璁惧缂栧彿</param> + /// <param name="currentAddress">褰撳墠鍦板潃</param> + /// <returns>杩斿洖浠诲姟瀹炰綋瀵硅薄锛屽彲鑳戒负null</returns> + Dt_Task QueryStackerCraneOutTask(string deviceNo, string currentAddress = ""); + + /// <summary> + /// 鏍规嵁璁惧缂栧彿銆佸綋鍓嶅湴鍧�鎸夌収浼樺厛绾т互鍙婂垱寤烘椂闂存帓搴忔煡璇换鍔℃睜鍑哄簱绫诲瀷鐨勬柊澧炵殑浠诲姟 + /// </summary> + /// <param name="deviceNo">璁惧缂栧彿</param> + /// <param name="outStationCodes">褰撳墠鍦板潃</param> + /// <returns>杩斿洖浠诲姟瀹炰綋瀵硅薄闆嗗悎锛屽彲鑳戒负null</returns> + List<Dt_Task> QueryStackerCraneOutTasks(string deviceNo, List<string> outStationCodes); + + + /// <summary> + /// 鏇存柊浠诲姟淇℃伅鍙婃坊鍔犱换鍔℃槑缁嗚褰� + /// </summary> + /// <param name="task">浠诲姟鍘熷璞″疄渚�(鏈慨鏀圭殑鏁版嵁瀵硅薄)</param> + /// <param name="taskStatus">淇敼鍚庣殑浠诲姟鐘舵��</param> + /// <param name="deviceCode">淇敼鍚庣殑璁惧缂栧彿</param> + /// <param name="sourceAddress">淇敼鍚庣殑璧峰鍦板潃</param> + /// <param name="targetAddress">淇敼鍚庣殑鐩爣鍦板潃</param> + /// <param name="currentAddress">淇敼鍚庣殑褰撳墠鍦板潃</param> + /// <param name="nextAddress">淇敼鍚庣殑涓嬩竴鍦板潃</param> + void UpdateTask(Dt_Task task, TaskStatusEnum taskStatus, string deviceCode = "", string sourceAddress = "", string targetAddress = "", string currentAddress = "", string nextAddress = "", string roadwayNo = "", int heightType = 0); + + /// <summary> + /// 鍚慦MS鐢宠浠诲姟 + /// </summary> + /// <param name="palletCode">鎵樼洏鍙�</param> + /// <param name="sourceAddress">璧峰鍦板潃</param> + /// <returns></returns> + WebResponseContent RequestWMSTaskSimple(string palletCode, string sourceAddress); + + + /// <summary> + /// 鏇存柊浠诲姟寮傚父淇℃伅鏄剧ず + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <param name="message">寮傚父淇℃伅</param> + WebResponseContent UpdateTaskExceptionMessage(int taskNum, string message); + + /// <summary> + /// 鏇存柊浠诲姟鐘舵�佷俊鎭紝骞跺悓姝ヨ嚦WMS + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <param name="status">浠诲姟鐘舵��</param> + void UpdateTaskStatus(int taskNum, int status); + + /// <summary> + /// 灏嗕换鍔$姸鎬佷慨鏀逛负涓嬩竴涓姸鎬� + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + WebResponseContent UpdateTaskStatusToNext(int taskNum); + + /// <summary> + /// 灏嗕换鍔$姸鎬佷慨鏀逛负涓嬩竴涓姸鎬� + /// </summary> + /// <param name="task">浠诲姟瀹炰綋瀵硅薄</param> + /// <returns></returns> + WebResponseContent UpdateTaskStatusToNext([NotNull] Dt_Task task); + + /// <summary> + /// 鏍规嵁浠诲姟鍙枫�佸綋鍓嶅湴鍧�鏇存柊浠诲姟浣嶇疆淇℃伅 + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <param name="currentAddress">褰撳墠鍦板潃</param> + /// <returns></returns> + Dt_Task? UpdatePosition(int taskNum, string currentAddress); + + /// <summary> + /// 浠诲姟瀹屾垚 + /// </summary> + /// <param name="taskNum">浠诲姟缂栧彿</param> + /// <returns>杩斿洖澶勭悊缁撴灉</returns> + WebResponseContent StackCraneTaskCompleted(int taskNum); + + /// <summary> + /// 浠诲姟瀹屾垚 + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <returns></returns> + WebResponseContent TaskCompleted(int taskNum); + + /// <summary> + /// 鎭㈠鎸傝捣浠诲姟 + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <returns>杩斿洖澶勭悊缁撴灉</returns> + WebResponseContent TaskStatusRecovery(int taskNum); + + /// <summary> + /// 鍥炴粴浠诲姟鐘舵�� + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <returns>杩斿洖澶勭悊缁撴灉</returns> + WebResponseContent RollbackTaskStatusToLast(int taskNum); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/WIDESEAWCS_ITaskInfoService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/WIDESEAWCS_ITaskInfoService.csproj" new file mode 100644 index 0000000..3732ca9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/WIDESEAWCS_ITaskInfoService.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_DTO\WIDESEAWCS_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/BasicInfo/Dt_StationManger.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/BasicInfo/Dt_StationManger.cs" new file mode 100644 index 0000000..a95e2d6 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/BasicInfo/Dt_StationManger.cs" @@ -0,0 +1,77 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.DB.Models; + +namespace WIDESEAWCS_Model.Models +{ + [SugarTable(nameof(Dt_StationManger), "绔欏彴琛�")] + public class Dt_StationManger : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 绔欏彴缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "绔欏彴缂栧彿")] + public string StationCode { get; set; } + + /// <summary> + /// 绔欏彴鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "绔欏彴鍚嶇О")] + public string StationName { get; set; } + + /// <summary> + /// 绔欏彴绫诲瀷 <br/> + /// 1锛氬彧鍏� <br/> + /// 2锛氬彧鍑� <br/> + /// 3锛氬彲鍏ュ彲鍑� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "绔欏彴绫诲瀷")] + public int StationType { get; set; } + + /// <summary> + /// 瀵瑰簲鍫嗗灈鏈烘帓-鍒�-灞� + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "瀵瑰簲鍫嗗灈鏈烘帓-鍒�-灞�")] + public string StackerCraneStationCode { get; set; } + + /// <summary> + /// 绔欏彴璁惧缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "绔欏彴璁惧缂栧彿")] + public string StationDeviceCode { get; set; } + + /// <summary> + /// 鍫嗗灈鏈虹紪鍙� + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍫嗗灈鏈虹紪鍙�")] + public string StackerCraneCode { get; set; } + + /// <summary> + /// AGV绔欏彴缂栧彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "AGV绔欏彴缂栧彿")] + public string? AGVStationCode { get; set; } + /// <summary> + /// 绔欏彴鏄惁鍙敤 <br/> + /// 0锛氬彲鐢� <br/> + /// 1锛氬崰鐢� <br/> + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "绔欏彴鏄惁鍙敤")] + public int IsOccupied { get; set; } + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/LoginInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/LoginInfo.cs" new file mode 100644 index 0000000..dc90d24 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/LoginInfo.cs" @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Model +{ + public class LoginInfo + { + public string UserName { get; set; } + + public string Password { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/RoleAuthor.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/RoleAuthor.cs" new file mode 100644 index 0000000..61aa145 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/RoleAuthor.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Model +{ + public class RoleAuthor + { + public int menuId { get; set; } + public string actions { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/RoleNodes.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/RoleNodes.cs" new file mode 100644 index 0000000..6950214 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/RoleNodes.cs" @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Model.Models.System +{ + public class RoleNodes + { + public int Id { get; set; } + public int ParentId { get; set; } + public string RoleName { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Actions.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Actions.cs" new file mode 100644 index 0000000..353d41b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Actions.cs" @@ -0,0 +1,16 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Model.Models +{ + public class Sys_Actions + { + public int ActionId { get; set; } + public int MenuId { get; set; } + public string Text { get; set; } + public string Value { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Department.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Department.cs" new file mode 100644 index 0000000..d99dcaf --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Department.cs" @@ -0,0 +1,57 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using SqlSugar; +using WIDESEAWCS_Core.DB.Models; +using WIDESEAWCS_Core.Tenants; + +namespace WIDESEAWCS_Model.Models +{ + [SugarTable("Sys_Department", "缁勭粐鏋舵瀯"), MultiTenant] + public class Sys_Department : BaseEntity + { + /// <summary> + /// 缁勭粐ID + /// </summary> + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "缁勭粐ID")] + public int DepartmentId { get; set; } + + /// <summary> + /// 缁勭粐鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "缁勭粐鍚嶇О")] + public string DepartmentName { get; set; } + + /// <summary> + /// 缁勭粐缂栧彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "缁勭粐缂栧彿")] + public string DepartmentCode { get; set; } + + /// <summary> + /// 涓婄骇缁勭粐 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "涓婄骇缁勭粐")] + public int ParentId { get; set; } + + /// <summary> + /// 閮ㄩ棬绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "閮ㄩ棬绫诲瀷")] + public string DepartmentType { get; set; } + + /// <summary> + /// 鏄惁鍙敤 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁鍙敤")] + public int Enable { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Dictionary.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Dictionary.cs" new file mode 100644 index 0000000..c632464 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Dictionary.cs" @@ -0,0 +1,95 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using WIDESEAWCS_Core.DB.Models; +using WIDESEAWCS_Core.Filter; +using WIDESEAWCS_Core.Tenants; + +namespace WIDESEAWCS_Model.Models +{ + [MultiTenant] + [Exporter(ExporterHeaderFilter = typeof(ExporterHeaderFilter))] + [SugarTable("Sys_Dictionary", "瀛楀吀鏁版嵁")] + public class Sys_Dictionary : BaseEntity + { + /// <summary> + /// 瀛楀吀ID + /// </summary> + [ExporterHeader(DisplayName = "瀛楀吀ID")] + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "瀛楀吀ID")] + public int DicId { get; set; } + + /// <summary> + /// 閰嶇疆椤� + /// </summary> + [ExporterHeader(DisplayName = "閰嶇疆椤�")] + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "閰嶇疆椤�")] + public string Config { get; set; } + + /// <summary> + /// 鏁版嵁搴撴湇鍔� + /// </summary> + [ExporterHeader(DisplayName = "鏁版嵁搴撴湇鍔�")] + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鏁版嵁搴撴湇鍔�")] + public string DBServer { get; set; } + + /// <summary> + /// Sql璇彞 + /// </summary> + [ExporterHeader(DisplayName = "Sql璇彞")] + [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "Sql璇彞")] + public string DBSql { get; set; } + + /// <summary> + /// 瀛楀吀鍚嶇О + /// </summary> + [ExporterHeader(DisplayName = "瀛楀吀鍚嶇О")] + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "瀛楀吀鍚嶇О")] + public string DicName { get; set; } + + /// <summary> + /// 瀛楀吀缂栧彿 + /// </summary> + [ExporterHeader(DisplayName = "瀛楀吀缂栧彿")] + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "瀛楀吀缂栧彿")] + public string DicNo { get; set; } + + /// <summary> + /// 鏄惁鍚敤 + /// </summary> + [ExporterHeader(DisplayName = "鏄惁鍚敤")] + [SugarColumn(IsNullable = true, ColumnDescription = "鏄惁鍚敤")] + public byte? Enable { get; set; } + + /// <summary> + /// 鎺掑簭鍙� + /// </summary> + [ExporterHeader(DisplayName = "鎺掑簭鍙�")] + [SugarColumn(IsNullable = true, ColumnDescription = "鎺掑簭鍙�")] + public int? OrderNo { get; set; } + + /// <summary> + /// 鐖剁骇ID + /// </summary> + [ExporterHeader(DisplayName = "鐖剁骇ID")] + [SugarColumn(IsNullable = true, ColumnDescription = "鐖剁骇ID")] + public int ParentId { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [ExporterHeader(DisplayName = "澶囨敞")] + [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + + /// <summary> + /// 绯荤粺绫诲瀷 + /// </summary> + [ExporterHeader(DisplayName = "绯荤粺绫诲瀷")] + [SugarColumn(IsNullable = false, ColumnDescription = "绯荤粺绫诲瀷")] + public int SystemType { get; set; } + + [ExporterHeader(IsIgnore = true)] + [Navigate(NavigateType.OneToMany, nameof(DicId),nameof(DicId)), SugarColumn(IsIgnore = true, IsNullable = true)] + public List<Sys_DictionaryList> DicList { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_DictionaryList.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_DictionaryList.cs" new file mode 100644 index 0000000..bd9251a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_DictionaryList.cs" @@ -0,0 +1,57 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.DB.Models; +using SqlSugar; +using WIDESEAWCS_Core.Tenants; + +namespace WIDESEAWCS_Model.Models +{ + [SugarTable("Sys_DictionaryList", "瀛楀吀鏄庣粏"), MultiTenant] + public class Sys_DictionaryList : BaseEntity + { + /// <summary> + /// 瀛楀吀鍒楄〃ID + /// </summary> + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "瀛楀吀鍒楄〃ID")] + public int DicListId { get; set; } + + /// <summary> + /// 鏁版嵁婧怲ext + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鏁版嵁婧怲ext")] + public string DicName { get; set; } + + /// <summary> + /// 鏁版嵁婧怴alue + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鏁版嵁婧怴alue")] + public string DicValue { get; set; } + + /// <summary> + /// 鏁版嵁婧怚D + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏁版嵁婧怚D")] + public int DicId { get; set; } + + /// <summary> + /// 鏄惁鍙敤 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鏄惁鍙敤")] + public byte? Enable { get; set; } + + /// <summary> + /// 鎺掑簭鍙� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鎺掑簭鍙�")] + public int? OrderNo { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Log.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Log.cs" new file mode 100644 index 0000000..f913509 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Log.cs" @@ -0,0 +1,86 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using SqlSugar; +using WIDESEAWCS_Core.DB.Models; +using WIDESEAWCS_Core.Tenants; + +namespace WIDESEAWCS_Model.Models +{ + [MultiTenant, SugarTable] + public class Sys_Log + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 寮�濮嬫椂闂� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "寮�濮嬫椂闂�")] + public DateTime? BeginDate { get; set; } + + /// <summary> + /// 鏃堕暱 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鏃堕暱")] + public int? ElapsedTime { get; set; } + + /// <summary> + /// 缁撴潫鏃堕棿 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "缁撴潫鏃堕棿")] + public DateTime EndDate { get; set; } + + /// <summary> + /// 鏃ュ織绫诲瀷 + /// </summary> + //[SugarColumn(IsNullable = true, ColumnDescription = "鏃ュ織绫诲瀷")] + //public DateTime LogType { get; set; } + + /// <summary> + /// 璇锋眰鍙傛暟 + /// </summary> + [SugarColumn(IsNullable = true, Length = int.MaxValue, ColumnDescription = "璇锋眰鍙傛暟")] + public string RequestParam { get; set; } + + /// <summary> + /// 鍝嶅簲鍙傛暟 + /// </summary> + [SugarColumn(IsNullable = true, Length = int.MaxValue, ColumnDescription = "鍝嶅簲鍙傛暟")] + public string ResponseParam { get; set; } + + /// <summary> + /// 鍝嶅簲鐘舵�� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鍝嶅簲鐘舵��")] + public int? Success { get; set; } + + /// <summary> + /// 璇锋眰鍦板潃 + /// </summary> + [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "璇锋眰鍦板潃")] + public string Url { get; set; } + + /// <summary> + /// 鐢ㄦ埛IP + /// </summary> + [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "鐢ㄦ埛IP")] + public string UserIP { get; set; } + + /// <summary> + /// 鐢ㄦ埛鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鐢ㄦ埛鍚嶇О")] + public string UserName { get; set; } + + /// <summary> + /// 鐢ㄦ埛涓婚敭 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鐢ㄦ埛涓婚敭")] + public int? User_Id { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Menu.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Menu.cs" new file mode 100644 index 0000000..1953d3e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Menu.cs" @@ -0,0 +1,87 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using SqlSugar; +using WIDESEAWCS_Core.DB.Models; +using WIDESEAWCS_Core.Tenants; + +namespace WIDESEAWCS_Model.Models +{ + [SugarTable("Sys_Menu", "鑿滃崟閰嶇疆"), MultiTenant] + public class Sys_Menu : BaseEntity + { + /// <summary> + /// 鑿滃崟ID + /// </summary> + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "鑿滃崟ID")] + public int MenuId { get; set; } + + /// <summary> + /// 鑿滃崟鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鑿滃崟鍚嶇О")] + public string MenuName { get; set; } + + /// <summary> + /// 鏉冮檺 + /// </summary> + [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "鏉冮檺")] + public string Auth { get; set; } + + /// <summary> + /// 鍥炬爣 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "鍥炬爣")] + public string Icon { get; set; } + + /// <summary> + /// 鎻忚堪 + /// </summary> + [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "鎻忚堪")] + public string Description { get; set; } + + /// <summary> + /// 鏄惁鍚敤 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鏄惁鍚敤")] + public byte? Enable { get; set; } + + /// <summary> + /// 琛ㄥ悕 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "琛ㄥ悕")] + public string TableName { get; set; } + + /// <summary> + /// 鐖剁骇ID + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐖剁骇ID")] + public int ParentId { get; set; } + + /// <summary> + /// 璺緞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "璺緞")] + public string Url { get; set; } + + /// <summary> + /// 鎺掑簭鍙� + /// </summary> + [SugarColumn(IsNullable = true,ColumnDescription ="鎺掑簭鍙�")] + public int? OrderNo { get; set; } + + /// <summary> + /// 鑿滃崟绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鑿滃崟绫诲瀷")] + public int? MenuType { get; set; } + + [Navigate(NavigateType.OneToMany, nameof(ParentId), nameof(MenuId)), SugarColumn(IsIgnore = true, IsNullable = true)] + public List<Sys_Menu> Menus { get; set; } + + [SugarColumn(IsIgnore = true)] + public List<Sys_Actions> Actions { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Role.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Role.cs" new file mode 100644 index 0000000..8527cba --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Role.cs" @@ -0,0 +1,54 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using SqlSugar; +using WIDESEAWCS_Core.DB.Models; +using WIDESEAWCS_Core.Tenants; + +namespace WIDESEAWCS_Model.Models +{ + [SugarTable("Sys_Role", "瑙掕壊琛�"), MultiTenant] + public class Sys_Role : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "涓婚敭")] + public int RoleId { get; set; } + + /// <summary> + /// 閮ㄩ棬鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, IsIgnore = true, Length = 50, ColumnDescription = "閮ㄩ棬鍚嶇О")] + public string DeptName { get; set; } + + /// <summary> + /// 閮ㄩ棬涓婚敭 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "閮ㄩ棬涓婚敭")] + public int? DeptId { get; set; } + + /// <summary> + /// 鏄惁鍚敤 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁鍚敤")] + public byte Enable { get; set; } + + /// <summary> + /// 鐖禝D + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐖禝D")] + public int ParentId { get; set; } + + /// <summary> + /// 瑙掕壊鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "瑙掕壊鍚嶇О")] + public string RoleName { get; set; } + + [Navigate(NavigateType.OneToMany, nameof(ParentId), nameof(RoleId)), SugarColumn(IsIgnore = true, IsNullable = true)] + public List<Sys_Role> Roles { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_RoleAuth.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_RoleAuth.cs" new file mode 100644 index 0000000..1bb9bea --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_RoleAuth.cs" @@ -0,0 +1,48 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using SqlSugar; +using WIDESEAWCS_Core.DB.Models; +using WIDESEAWCS_Core.Tenants; + +namespace WIDESEAWCS_Model.Models +{ + /// <summary> + /// 瑙掕壊韬唤楠岃瘉绠$悊琛� + /// </summary> + [SugarTable("Sys_RoleAuth", "瑙掕壊韬唤楠岃瘉绠$悊"), MultiTenant] + public class Sys_RoleAuth : BaseEntity + { + /// <summary> + /// 瑙掕壊韬唤楠岃瘉ID + /// </summary> + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "瑙掕壊韬唤楠岃瘉ID")] + public int AuthId { get; set; } + + /// <summary> + /// 鐢ㄦ埛鏉冮檺 + /// </summary> + [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "鐢ㄦ埛鏉冮檺")] + public string AuthValue { get; set; } + + /// <summary> + /// 鑿滃崟ID + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鑿滃崟ID")] + public int MenuId { get; set; } + + /// <summary> + /// 瑙掕壊ID + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "瑙掕壊ID")] + public int? RoleId { get; set; } + + /// <summary> + /// 鐢ㄦ埛ID + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鐢ㄦ埛ID")] + public int? UserId { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Tenant.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Tenant.cs" new file mode 100644 index 0000000..36e292a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_Tenant.cs" @@ -0,0 +1,57 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.DB.Models; +using WIDESEAWCS_Core.Tenants; + +namespace WIDESEAWCS_Model.Models +{ + [SugarTable("Sys_Tenant", "绉熸埛")] + public class Sys_Tenant : BaseEntity + { + /// <summary> + /// 绉熸埛ID + /// </summary> + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "绉熸埛ID")] + public int TenantId { get; set; } + + /// <summary> + /// 绉熸埛鍚嶇О + /// </summary> + [SugarColumn(Length = 200, IsNullable = false, ColumnDescription = "绉熸埛鍚嶇О")] + public string TenantName { get; set; } + + /// <summary> + /// 绉熸埛绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "绉熸埛绫诲瀷")] + public int TenantType { get; set; } + + /// <summary> + /// 鏁版嵁搴撶被鍨� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏁版嵁搴撶被鍨�")] + public int DbType { get; set; } + + /// <summary> + /// 杩炴帴瀛楃涓� + /// </summary> + [SugarColumn(Length = 1000, IsNullable = false, ColumnDescription = "杩炴帴瀛楃涓�")] + public string ConnectionString { get; set; } + + /// <summary> + /// 鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐘舵��")] + public int Status { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(Length = 2000, IsNullable = true, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_User.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_User.cs" new file mode 100644 index 0000000..fec93b2 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/Sys_User.cs" @@ -0,0 +1,145 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.DB.Models; +using WIDESEAWCS_Core.Tenants; + +namespace WIDESEAWCS_Model.Models +{ + /// <summary> + /// 鐢ㄦ埛淇℃伅琛� + /// </summary> + //[SugarTable("SysUserInfo")] + [SugarTable("Sys_User", "鐢ㄦ埛琛�")] //('鏁版嵁搴撹〃鍚�'锛�'鏁版嵁搴撹〃澶囨敞') + public class Sys_User : BaseEntity + { + /// <summary> + /// 鐢ㄦ埛ID + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "鐢ㄦ埛ID")] + public int User_Id { get; set; } + + /// <summary> + ///甯愬彿 + /// </summary> + [SugarColumn(Length = 100, IsNullable = false, ColumnDescription = "甯愬彿")] + public string UserName { get; set; } + + /// <summary> + /// 瑙掕壊ID + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "瑙掕壊ID")] + public int Role_Id { get; set; } + + /// <summary> + /// 瑙掕壊鍚嶇О + /// </summary> + [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "瑙掕壊鍚嶇О")] + public string RoleName { get; set; } + + /// <summary> + /// 鐢佃瘽 + /// </summary> + [SugarColumn(Length = 11, IsNullable = true, ColumnDescription = "鐢佃瘽")] + public string PhoneNo { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + + /// <summary> + /// 瀵嗙爜 + /// </summary> + [SugarColumn(Length = 200, IsNullable = false, ColumnDescription = "瀵嗙爜")] + public string UserPwd { get; set; } + + /// <summary> + /// 鐪熷疄濮撳悕 + /// </summary> + [SugarColumn(Length = 100, IsNullable = false, ColumnDescription = "鐪熷疄濮撳悕")] + public string UserTrueName { get; set; } + + /// <summary> + /// 閮ㄩ棬 + /// </summary> + [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "閮ㄩ棬")] + public string DeptName { get; set; } + + /// <summary> + /// 閮ㄩ棬ID + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "閮ㄩ棬ID")] + public int? Dept_Id { get; set; } + + /// <summary> + /// 閭 + /// </summary> + [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "閭")] + public string Email { get; set; } + + /// <summary> + /// 鏄惁鍙敤 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁鍙敤")] + public byte Enable { get; set; } + + /// <summary> + /// 鎬у埆 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鎬у埆")] + public int? Gender { get; set; } + + /// <summary> + /// 澶村儚 + /// </summary> + [SugarColumn(Length = 500, IsNullable = true, ColumnDescription = "澶村儚")] + public string HeadImageUrl { get; set; } + + /// <summary> + /// 鏈�鍚庡瘑鐮佷慨鏀规椂闂� + /// </summary> + [SugarColumn(IsNullable = true, IsOnlyIgnoreInsert = true, ColumnDescription = "鏈�鍚庡瘑鐮佷慨鏀规椂闂�")] + public DateTime? LastModifyPwdDate { get; set; } + + /// <summary> + /// 鍦板潃 + /// </summary> + [SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "鍦板潃")] + public string Address { get; set; } + + /// <summary> + /// 瀹℃牳鏃堕棿 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "瀹℃牳鏃堕棿")] + public DateTime? AuditDate { get; set; } + + /// <summary> + /// 瀹℃牳鐘舵�� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "瀹℃牳鐘舵��")] + public int? AuditStatus { get; set; } + + /// <summary> + /// 瀹℃牳浜� + /// </summary> + [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "瀹℃牳浜�")] + public string Auditor { get; set; } + + /// <summary> + /// 浠ょ墝 + /// </summary> + [SugarColumn(Length = 500, IsNullable = true, ColumnDescription = "浠ょ墝")] + public string Token { get; set; } + + /// <summary> + /// 绉熸埛ID + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "绉熸埛ID",DefaultValue = "0")] + public long TenantId { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/UserPermissions.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/UserPermissions.cs" new file mode 100644 index 0000000..bc241c9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/System/UserPermissions.cs" @@ -0,0 +1,17 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Model.Models.System +{ + public class UserPermissions + { + public int Id { get; set; } + public int Pid { get; set; } + public string Text { get; set; } + public bool IsApp { get; set; } + public List<Sys_Actions> Actions { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_Task.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_Task.cs" new file mode 100644 index 0000000..f07b43c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_Task.cs" @@ -0,0 +1,164 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_Model.Models.TaskInfo + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.DB.Models; + +namespace WIDESEAWCS_Model.Models +{ + [SugarTable(nameof(Dt_Task), "浠诲姟淇℃伅")] + public class Dt_Task : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [ImporterHeader(Name = "涓婚敭")] + [ExporterHeader(DisplayName = "涓婚敭")] + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int TaskId { get; set; } + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + [ImporterHeader(Name = "浠诲姟鍙�")] + [ExporterHeader(DisplayName = "浠诲姟鍙�")] + [SugarColumn(IsNullable = false, ColumnDescription = "浠诲姟鍙�")] + public int TaskNum { get; set; } + + /// <summary> + /// 鎵樼洏缂栧彿 + /// </summary> + [ImporterHeader(Name = "鎵樼洏缂栧彿")] + [ExporterHeader(DisplayName = "鎵樼洏缂栧彿")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵樼洏缂栧彿")] + public string PalletCode { get; set; } + + /// <summary> + /// 鎵樼洏绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鎵樼洏绫诲瀷")] + public int PalletType { get; set; } + + /// <summary> + /// 璁惧缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "璁惧缂栧彿")] + public string DeviceCode { get; set; } + + /// <summary> + /// 宸烽亾鍙� + /// </summary> + [ImporterHeader(Name = "宸烽亾鍙�")] + [ExporterHeader(DisplayName = "宸烽亾鍙�")] + [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "宸烽亾鍙�")] + public string Roadway { get; set; } + + /// <summary> + /// 浠诲姟绫诲瀷 + /// </summary> + [ImporterHeader(Name = "浠诲姟绫诲瀷")] + [ExporterHeader(DisplayName = "浠诲姟绫诲瀷")] + [SugarColumn(IsNullable = false, ColumnDescription = "浠诲姟绫诲瀷")] + public int TaskType { get; set; } + + /// <summary> + /// 浠诲姟鐘舵�� + /// </summary> + [ImporterHeader(Name = "浠诲姟鐘舵��")] + [ExporterHeader(DisplayName = "浠诲姟鐘舵��")] + [SugarColumn(IsNullable = false, ColumnDescription = "浠诲姟鐘舵��")] + public int TaskState { get; set; } + + /// <summary> + /// 璧峰鍦板潃 + /// </summary> + [ImporterHeader(Name = "璧峰鍦板潃")] + [ExporterHeader(DisplayName = "璧峰鍦板潃")] + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "璧峰鍦板潃")] + public string SourceAddress { get; set; } + + /// <summary> + /// 鐩爣鍦板潃 + /// </summary> + [ImporterHeader(Name = "鐩爣鍦板潃")] + [ExporterHeader(DisplayName = "鐩爣鍦板潃")] + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鐩爣鍦板潃")] + public string TargetAddress { get; set; } + + /// <summary> + /// 褰撳墠浣嶇疆 + /// </summary> + [ImporterHeader(Name = "褰撳墠浣嶇疆")] + [ExporterHeader(DisplayName = "褰撳墠浣嶇疆")] + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "褰撳墠浣嶇疆")] + public string CurrentAddress { get; set; } + + /// <summary> + /// 涓嬩竴鍦板潃 + /// </summary> + [ImporterHeader(Name = "涓嬩竴鍦板潃")] + [ExporterHeader(DisplayName = "涓嬩竴鍦板潃")] + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "涓嬩竴鍦板潃")] + public string NextAddress { get; set; } + + /// <summary> + /// 寮傚父淇℃伅 + /// </summary> + [ImporterHeader(Name = "寮傚父淇℃伅")] + [ExporterHeader(DisplayName = "寮傚父淇℃伅")] + [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "寮傚父淇℃伅")] + public string? ExceptionMessage { get; set; } + + /// <summary> + /// 浼樺厛绾� + /// </summary> + [ImporterHeader(Name = "浼樺厛绾�")] + [ExporterHeader(DisplayName = "浼樺厛绾�")] + [SugarColumn(IsNullable = false, ColumnDescription = "浼樺厛绾�")] + public int Grade { get; set; } + + /// <summary> + /// WMS浠诲姟涓婚敭 + /// </summary> + [ImporterHeader(Name = "WMS浠诲姟涓婚敭")] + [ExporterHeader(DisplayName = "WMS浠诲姟涓婚敭")] + [SugarColumn(IsNullable = false, ColumnDescription = "WMS浠诲姟涓婚敭")] + public int WMSId { get; set; } + + /// <summary> + /// 浠诲姟涓嬪彂鏃堕棿 + /// </summary> + [ImporterHeader(Name = "浠诲姟涓嬪彂鏃堕棿")] + [ExporterHeader(DisplayName = "浠诲姟涓嬪彂鏃堕棿")] + [SugarColumn(IsNullable = true, ColumnDescription = "浠诲姟涓嬪彂鏃堕棿")] + public DateTime? Dispatchertime { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [ImporterHeader(Name = "澶囨敞")] + [ExporterHeader(DisplayName = "澶囨敞")] + [SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_TaskExecuteDetail.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_TaskExecuteDetail.cs" new file mode 100644 index 0000000..81d132c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/TaskInfo/Dt_TaskExecuteDetail.cs" @@ -0,0 +1,112 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_Model.Models.TaskInfo + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.DB.Models; + +namespace WIDESEAWCS_Model.Models +{ + [SugarTable(nameof(Dt_TaskExecuteDetail), "浠诲姟鎵ц鏄庣粏")] + public class Dt_TaskExecuteDetail : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [ImporterHeader(Name = "涓婚敭")] + [ExporterHeader(DisplayName = "涓婚敭")] + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int TaskDetailId { get; set; } + + /// <summary> + /// 浠诲姟涓婚敭 + /// </summary> + [ImporterHeader(Name = "浠诲姟涓婚敭")] + [ExporterHeader(DisplayName = "浠诲姟涓婚敭")] + [SugarColumn(IsNullable = false, ColumnDescription = "浠诲姟涓婚敭")] + public int TaskId { get; set; } + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + [ImporterHeader(Name = "浠诲姟鍙�")] + [ExporterHeader(DisplayName = "浠诲姟鍙�")] + [SugarColumn(IsNullable = false, ColumnDescription = "浠诲姟鍙�")] + public int TaskNum { get; set; } + + /// <summary> + /// 浠诲姟鐘舵�� + /// </summary> + [ImporterHeader(Name = "涓婚敭")] + [ExporterHeader(DisplayName = "涓婚敭")] + [SugarColumn(IsNullable = false, ColumnDescription = "浠诲姟鐘舵��")] + public int TaskState { get; set; } + + /// <summary> + /// 褰撳墠浣嶇疆 + /// </summary> + [ImporterHeader(Name = "褰撳墠浣嶇疆")] + [ExporterHeader(DisplayName = "褰撳墠浣嶇疆")] + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "褰撳墠浣嶇疆")] + public string CurrentAddress { get; set; } + + /// <summary> + /// 涓嬩竴鍦板潃 + /// </summary> + [ImporterHeader(Name = "涓嬩竴鍦板潃")] + [ExporterHeader(DisplayName = "涓嬩竴鍦板潃")] + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "涓嬩竴鍦板潃")] + public string NextAddress { get; set; } + + /// <summary> + /// 鏄惁浜哄伐鎿嶄綔 + /// </summary> + [ImporterHeader(Name = "鏄惁浜哄伐鎿嶄綔")] + [ExporterHeader(DisplayName = "鏄惁浜哄伐鎿嶄綔")] + [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁浜哄伐鎿嶄綔")] + public bool IsManual { get; set; } + + /// <summary> + /// 鏄惁姝e父 + /// </summary> + [ImporterHeader(Name = "鏄惁姝e父")] + [ExporterHeader(DisplayName = "鏄惁姝e父")] + [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁姝e父")] + public bool IsNormal { get; set; } + + /// <summary> + /// 鎻忚堪 + /// </summary> + [ImporterHeader(Name = "鎻忚堪")] + [ExporterHeader(DisplayName = "鎻忚堪")] + [SugarColumn(IsNullable = false, Length = int.MaxValue, ColumnDescription = "鎻忚堪")] + public string Description { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [ImporterHeader(Name = "澶囨敞")] + [ExporterHeader(DisplayName = "澶囨敞")] + [SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/WIDESEAWCS_Model.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/WIDESEAWCS_Model.csproj" new file mode 100644 index 0000000..b180214 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/WIDESEAWCS_Model.csproj" @@ -0,0 +1,24 @@ +锘�<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <Compile Remove="Models\BasicInfo\**" /> + <EmbeddedResource Remove="Models\BasicInfo\**" /> + <None Remove="Models\BasicInfo\**" /> + </ItemGroup> + + <ItemGroup> + <PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" /> + <PackageReference Include="WIDESEAWCS_Core" Version="1.0.26" /> + </ItemGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_Common\WIDESEAWCS_Common.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server.sln" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server.sln" new file mode 100644 index 0000000..c2519c3 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server.sln" @@ -0,0 +1,109 @@ +锘� +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34728.123 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEAWCS_Server", "WIDESEAWCS_Server\WIDESEAWCS_Server.csproj", "{487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEAWCS_Tasks", "WIDESEAWCS_Tasks\WIDESEAWCS_Tasks.csproj", "{294E4915-0241-4C8C-BA99-7588B945863A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEAWCS_Model", "WIDESEAWCS_Model\WIDESEAWCS_Model.csproj", "{7F200FE8-CAF6-4131-BD25-8D438FE0ABAC}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEAWCS_DTO", "WIDESEAWCS_DTO\WIDESEAWCS_DTO.csproj", "{C2D3D138-9109-481B-8BEB-A27597890B2C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEAWCS_Common", "WIDESEAWCS_Common\WIDESEAWCS_Common.csproj", "{9FBC654C-51DE-422D-9E1E-6A38268DE1E2}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Service", "Service", "{A12315CA-9D81-412C-A09B-B23D95CFFE16}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "System", "System", "{6295C9FB-DAC4-4C07-97C5-C0332ABDD13D}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TaskInfo", "TaskInfo", "{D9CF90D0-AFB3-42AA-A2F1-BEE741E0AC0D}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEAWCS_ISystemServices", "WIDESEAWCS_ISystemServices\WIDESEAWCS_ISystemServices.csproj", "{9E4BFF47-52BF-4FD8-9CC7-3763BF19D9E0}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEAWCS_SystemServices", "WIDESEAWCS_SystemServices\WIDESEAWCS_SystemServices.csproj", "{A14242DD-DA06-4DC3-8598-1761AA7C76D1}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEAWCS_ITaskInfoService", "WIDESEAWCS_ITaskInfoService\WIDESEAWCS_ITaskInfoService.csproj", "{7279A2AE-8D1F-4E66-A73A-01AF7927A336}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEAWCS_TaskInfoService", "WIDESEAWCS_TaskInfoService\WIDESEAWCS_TaskInfoService.csproj", "{83F18A31-5983-4587-A0B2-414BF70E50B5}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F3797CD6-35D2-40F6-8CAF-39A7130697A7}" + ProjectSection(SolutionItems) = preProject + .editorconfig = .editorconfig + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BasicInfo", "BasicInfo", "{9CB2F821-BB23-48E5-88E8-C326477733C0}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEAWCS_IBasicInfoService", "WIDESEAWCS_IBasicInfoService\WIDESEAWCS_IBasicInfoService.csproj", "{8C2CC25B-DE5D-433E-A550-63864C7A716D}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEAWCS_BasicInfoService", "WIDESEAWCS_BasicInfoService\WIDESEAWCS_BasicInfoService.csproj", "{FFAB2C76-1C9E-4006-95C8-A0B2AA53139D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {487FA45B-EA1A-4ACA-BB5B-0F6708F462C0}.Release|Any CPU.Build.0 = Release|Any CPU + {294E4915-0241-4C8C-BA99-7588B945863A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {294E4915-0241-4C8C-BA99-7588B945863A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {294E4915-0241-4C8C-BA99-7588B945863A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {294E4915-0241-4C8C-BA99-7588B945863A}.Release|Any CPU.Build.0 = Release|Any CPU + {7F200FE8-CAF6-4131-BD25-8D438FE0ABAC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7F200FE8-CAF6-4131-BD25-8D438FE0ABAC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7F200FE8-CAF6-4131-BD25-8D438FE0ABAC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7F200FE8-CAF6-4131-BD25-8D438FE0ABAC}.Release|Any CPU.Build.0 = Release|Any CPU + {C2D3D138-9109-481B-8BEB-A27597890B2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C2D3D138-9109-481B-8BEB-A27597890B2C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C2D3D138-9109-481B-8BEB-A27597890B2C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C2D3D138-9109-481B-8BEB-A27597890B2C}.Release|Any CPU.Build.0 = Release|Any CPU + {9FBC654C-51DE-422D-9E1E-6A38268DE1E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9FBC654C-51DE-422D-9E1E-6A38268DE1E2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9FBC654C-51DE-422D-9E1E-6A38268DE1E2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9FBC654C-51DE-422D-9E1E-6A38268DE1E2}.Release|Any CPU.Build.0 = Release|Any CPU + {9E4BFF47-52BF-4FD8-9CC7-3763BF19D9E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9E4BFF47-52BF-4FD8-9CC7-3763BF19D9E0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9E4BFF47-52BF-4FD8-9CC7-3763BF19D9E0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9E4BFF47-52BF-4FD8-9CC7-3763BF19D9E0}.Release|Any CPU.Build.0 = Release|Any CPU + {A14242DD-DA06-4DC3-8598-1761AA7C76D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A14242DD-DA06-4DC3-8598-1761AA7C76D1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A14242DD-DA06-4DC3-8598-1761AA7C76D1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A14242DD-DA06-4DC3-8598-1761AA7C76D1}.Release|Any CPU.Build.0 = Release|Any CPU + {7279A2AE-8D1F-4E66-A73A-01AF7927A336}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7279A2AE-8D1F-4E66-A73A-01AF7927A336}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7279A2AE-8D1F-4E66-A73A-01AF7927A336}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7279A2AE-8D1F-4E66-A73A-01AF7927A336}.Release|Any CPU.Build.0 = Release|Any CPU + {83F18A31-5983-4587-A0B2-414BF70E50B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {83F18A31-5983-4587-A0B2-414BF70E50B5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {83F18A31-5983-4587-A0B2-414BF70E50B5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {83F18A31-5983-4587-A0B2-414BF70E50B5}.Release|Any CPU.Build.0 = Release|Any CPU + {8C2CC25B-DE5D-433E-A550-63864C7A716D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8C2CC25B-DE5D-433E-A550-63864C7A716D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8C2CC25B-DE5D-433E-A550-63864C7A716D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8C2CC25B-DE5D-433E-A550-63864C7A716D}.Release|Any CPU.Build.0 = Release|Any CPU + {FFAB2C76-1C9E-4006-95C8-A0B2AA53139D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FFAB2C76-1C9E-4006-95C8-A0B2AA53139D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FFAB2C76-1C9E-4006-95C8-A0B2AA53139D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FFAB2C76-1C9E-4006-95C8-A0B2AA53139D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {6295C9FB-DAC4-4C07-97C5-C0332ABDD13D} = {A12315CA-9D81-412C-A09B-B23D95CFFE16} + {D9CF90D0-AFB3-42AA-A2F1-BEE741E0AC0D} = {A12315CA-9D81-412C-A09B-B23D95CFFE16} + {9E4BFF47-52BF-4FD8-9CC7-3763BF19D9E0} = {6295C9FB-DAC4-4C07-97C5-C0332ABDD13D} + {A14242DD-DA06-4DC3-8598-1761AA7C76D1} = {6295C9FB-DAC4-4C07-97C5-C0332ABDD13D} + {7279A2AE-8D1F-4E66-A73A-01AF7927A336} = {D9CF90D0-AFB3-42AA-A2F1-BEE741E0AC0D} + {83F18A31-5983-4587-A0B2-414BF70E50B5} = {D9CF90D0-AFB3-42AA-A2F1-BEE741E0AC0D} + {9CB2F821-BB23-48E5-88E8-C326477733C0} = {A12315CA-9D81-412C-A09B-B23D95CFFE16} + {8C2CC25B-DE5D-433E-A550-63864C7A716D} = {9CB2F821-BB23-48E5-88E8-C326477733C0} + {FFAB2C76-1C9E-4006-95C8-A0B2AA53139D} = {9CB2F821-BB23-48E5-88E8-C326477733C0} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C9A356D5-D4FE-414B-B982-6C97792BE6C6} + EndGlobalSection +EndGlobal diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/BasicInfo/RouterController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/BasicInfo/RouterController.cs" new file mode 100644 index 0000000..c76f27c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/BasicInfo/RouterController.cs" @@ -0,0 +1,113 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.DataProtection.KeyManagement; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime; +using OfficeOpenXml.FormulaParsing.Excel.Functions.Text; +using Quartz.Util; +using SqlSugar; +using System.ComponentModel; +using System.Reflection; +using WIDESEAWCS_Common; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_Core.Enums; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_DTO.BasicInfo; +using WIDESEAWCS_Model.Models; +using WIDESEAWCS_QuartzJob.Models; +using WIDESEAWCS_QuartzJob.Repository; +using WIDESEAWCS_QuartzJob.Service; + +namespace WIDESEAWCS_Server.Controllers.BasicInfo +{ + [Route("api/Router")] + [ApiController] + public class RouterController : ApiBaseController<IRouterService, Dt_Router> + { + private readonly IDeviceInfoRepository _deviceInfoRepository; + private readonly IDeviceProtocolRepository _deviceProtocolRepository; + public RouterController(IRouterService service, IDeviceInfoRepository deviceInfoRepository, IDeviceProtocolRepository deviceProtocolRepository) : base(service) + { + _deviceInfoRepository = deviceInfoRepository; + _deviceProtocolRepository = deviceProtocolRepository; + } + + [HttpPost, Route("QueryRoutes"), AllowAnonymous] + public List<Dt_Router> QueryRoutes(string startPosi, string endPosi) + { + return Service.QueryNextRoutes(startPosi, endPosi); + } + + [HttpPost, Route("QueryAllPositions"), AllowAnonymous] + public List<string> QueryAllPositions(string deviceCode) + { + return Service.QueryAllPositions(deviceCode); + } + + [HttpPost, Route("GetAllWholeRouters"), AllowAnonymous] + public WebResponseContent GetAllWholeRouters() + { + WebResponseContent content = new(); + try + { + List<dynamic> dynamics = Service.GetAllWholeRouters(); + + content = WebResponseContent.Instance.OK(data: dynamics); + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; } + + [HttpPost, Route("GetBaseRouterInfo"), AllowAnonymous] + public WebResponseContent GetBaseRouterInfo() + { + try + { + #region 鑾峰彇璺敱绫诲瀷 + List<object> routerTypes = new List<object>(); + Type routerType = typeof(RouterInOutType); + List<int> routerIndexs = Enum.GetValues(typeof(RouterInOutType)).Cast<int>().ToList(); + int routerIndex = 0; + foreach (var item in routerIndexs) + { + FieldInfo? fieldInfo = routerType.GetField(((RouterInOutType)item).ToString()); + DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); + if (description != null) + { + routerTypes.Add(new { key = item.ToString(), value = description.Description }); + } + else + { + routerTypes.Add(new { key = item.ToString(), value = item.ToString() }); + } + routerIndex++; + } + #endregion + + #region 鑾峰彇璁惧缂栧彿 + object deviceCodes = _deviceProtocolRepository.QueryData(x => true).GroupBy(x => x.DeviceChildCode).Select(x => new { key = x.Key, value = x.Key }).ToList(); + + object areaInfos = Enum.GetNames(typeof(AreaInfo)).Select(x => new { key = x, value = x }).ToList(); + + + #endregion + + return WebResponseContent.Instance.OK(data: new { routerTypes, deviceCodes, areaInfos }); + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + + } + + [HttpPost, Route("AddRouters"), AllowAnonymous] + public WebResponseContent AddRouters([FromBody] List<RoutersAddDTO> routersAddDTOs, int routerType) + { + return Service.AddRouters(routersAddDTOs, routerType); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceInfoController.cs" new file mode 100644 index 0000000..5996ff9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceInfoController.cs" @@ -0,0 +1,30 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; +using WIDESEAWCS_QuartzJob.DTO; +using WIDESEAWCS_QuartzJob.Models; +using WIDESEAWCS_QuartzJob.Service; + +namespace WIDESEAWCS_WCSServer.Controllers.QuartzJob +{ + [Route("api/DeviceInfo")] + [ApiController] + public class DeviceInfoController : ApiBaseController<DeviceInfoService, Dt_DeviceInfo> + { + private readonly IHttpContextAccessor _httpContextAccessor; + public DeviceInfoController(DeviceInfoService service, IHttpContextAccessor httpContextAccessor) : base(service) + { + _httpContextAccessor = httpContextAccessor; + } + + [HttpPost, Route("GetDeviceProInfos"), AllowAnonymous] + public async Task<List<DeviceInfoDTO>> GetDeviceProInfos() + { + return await Service.QueryDeviceProInfos(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceProtocolController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceProtocolController.cs" new file mode 100644 index 0000000..68078c5 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceProtocolController.cs" @@ -0,0 +1,24 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_QuartzJob.Models; +using WIDESEAWCS_QuartzJob.Service; + +namespace WIDESEAWCS_Server.Controllers.QuartzJob +{ + [Route("api/DeviceProtocol")] + [ApiController] + public class DeviceProtocolController : ApiBaseController<IDeviceProtocolService, Dt_DeviceProtocol> + { + public DeviceProtocolController(IDeviceProtocolService service) : base(service) + { + } + [HttpPost, Route("GetImportData"), AllowAnonymous] + public WebResponseContent GetImportData(List<IFormFile> fileInput) + { + return Service.GetImportData(fileInput); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceProtocolDetailController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceProtocolDetailController.cs" new file mode 100644 index 0000000..9efd74f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DeviceProtocolDetailController.cs" @@ -0,0 +1,17 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_QuartzJob.Models; +using WIDESEAWCS_QuartzJob.Service; + +namespace WIDESEAWCS_Server.Controllers.QuartzJob +{ + [Route("api/DeviceProtocolDetail")] + [ApiController] + public class DeviceProtocolDetailController : ApiBaseController<IDeviceProtocolDetailService, Dt_DeviceProtocolDetail> + { + public DeviceProtocolDetailController(IDeviceProtocolDetailService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DispatchInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DispatchInfoController.cs" new file mode 100644 index 0000000..59046ac --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/QuartzJob/DispatchInfoController.cs" @@ -0,0 +1,17 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_QuartzJob.Models; +using WIDESEAWCS_QuartzJob.Service; + +namespace WIDESEAWCS_Server.Controllers.QuartzJob +{ + [Route("api/DispatchInfo")] + [ApiController] + public class DispatchInfoController : ApiBaseController<IDispatchInfoService, Dt_DispatchInfo> + { + public DispatchInfoController(IDispatchInfoService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_DictionaryController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_DictionaryController.cs" new file mode 100644 index 0000000..4af342e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_DictionaryController.cs" @@ -0,0 +1,377 @@ +锘縰sing Autofac.Core; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.DependencyModel; +using Newtonsoft.Json; +using System.Reflection; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; +using System.IO; +using WIDESEAWCS_QuartzJob.DeviceBase; +using WIDESEAWCS_DTO.System; +using System.ComponentModel; +using System.Collections.Generic; +using WIDESEAWCS_Communicator; +using Quartz; +using WIDESEAWCS_QuartzJob; +using OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime; +using WIDESEAWCS_Common.TaskEnum; +using WIDESEAWCS_Core.Caches; +using WIDESEAWCS_QuartzJob.DeviceEnum; +using WIDESEAWCS_Core.Enums; + +namespace WIDESEAWCS_WCSServer.Controllers.System +{ + [Route("api/Sys_Dictionary")] + [ApiController] + public class Sys_DictionaryController : ApiBaseController<ISys_DictionaryService, Sys_Dictionary> + { + private readonly IHttpContextAccessor _httpContextAccessor; + private readonly ICacheService _cacheService; + + public Sys_DictionaryController(ISys_DictionaryService service, IHttpContextAccessor httpContextAccessor, ICacheService cacheService) : base(service) + { + _httpContextAccessor = httpContextAccessor; + _cacheService = cacheService; + } + + [HttpPost, Route("GetVueDictionary"), AllowAnonymous] + public IActionResult GetVueDictionary([FromBody] string[] dicNos) + { + List<VueDictionaryDTO> vueDictionaryDTOs = Service.GetVueDictionary(dicNos); + try + { + List<string> selectDicNos = vueDictionaryDTOs.Select(x => x.DicNo).ToList(); + List<string> cacheDicNos = new List<string>(); + foreach (string n in dicNos.Where(x => !selectDicNos.Contains(x))) + { + string? str = _cacheService.Get(n); + if (!string.IsNullOrEmpty(str)) + { + VueDictionaryDTO? vueDictionary = JsonConvert.DeserializeObject<VueDictionaryDTO>(str); + + if (vueDictionary != null) + { + vueDictionaryDTOs.Add(vueDictionary); + cacheDicNos.Add(n); + } + } + } + List<string> dicList = dicNos.ToList(); + List<string> otherDicNos = dicNos.Where(x => !cacheDicNos.Contains(x) && !selectDicNos.Contains(x)).ToList(); + if (otherDicNos.Count() > 0) + { + string str = AppSettings.Configuration["dics"]; + if (!string.IsNullOrEmpty(str)) + { + List<string> cusDics = new List<string>(); + + List<string> dics = str.Split(",").ToList(); + + foreach (var item in otherDicNos) + { + if (dics.Contains(item)) + { + cusDics.Add(item); + } + } + + foreach (var item in cusDics) + { + VueDictionaryDTO? vueDictionaryDTO = GetVueDictionary(item.Trim()); + if (vueDictionaryDTO != null) + { + vueDictionaryDTOs.Add(vueDictionaryDTO); + if (!_cacheService.Exists(item)) + { + _cacheService.Add(item, vueDictionaryDTO.Serialize()); + } + } + } + } + } + } + catch + { + + } + return Json(vueDictionaryDTOs); + } + + private VueDictionaryDTO? GetVueDictionary(string key) + { + VueDictionaryDTO? result = null; + try + { + switch (key) + { + case "deviceType": + { + Type type = typeof(IDevice); + var basePath = AppContext.BaseDirectory; + List<Type> types = type.Assembly.GetTypes().Where(x => type.IsAssignableFrom(x) && !x.IsAbstract && !x.IsInterface).ToList(); + List<object> data = new List<object>(); + foreach (var deviceType in types) + { + DescriptionAttribute? description = deviceType.GetCustomAttribute<DescriptionAttribute>(); + if (description != null) + { + data.Add(new { key = deviceType.Name, value = description.Description }); + } + else + { + data.Add(new { key = deviceType.Name, value = deviceType.Name }); + } + } + + result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data }; + } + break; + case "jobAssembly": + { + result = new VueDictionaryDTO { DicNo = key, Config = "", Data = new List<object>() { new { key = "WIDESEAWCS_Tasks", value = "WIDESEAWCS_Tasks" } } }; + + } + break; + case "jobClassName": + { + Type type = typeof(IJob); + var basePath = AppContext.BaseDirectory; + string path = Path.Combine(basePath, $"WIDESEAWCS_Tasks"); + Assembly assembly = Assembly.LoadFrom(path); + List<Type> types = assembly.GetTypes().Where(x => type.IsAssignableFrom(x) && !x.IsAbstract && !x.IsInterface).ToList(); + + result = new VueDictionaryDTO { DicNo = key, Config = "", Data = types.Select(x => new { key = x.Name, value = x.Name }) }; + } + break; + case "deviceStatus": + { + List<object> data = new List<object>(); + Type type = typeof(DeviceStatusEnum); + List<int> enums = Enum.GetValues(type).Cast<int>().ToList(); + int index = 0; + foreach (var item in enums) + { + FieldInfo? fieldInfo = type.GetField(((DeviceStatusEnum)item).ToString()); + DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); + if (description != null) + { + data.Add(new { key = item.ToString(), value = description.Description }); + } + else + { + data.Add(new { key = item.ToString(), value = item.ToString() }); + } + index++; + } + + result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data }; + } + break; + case "taskType": + { + List<object> data = new List<object>(); + + #region TaskInboundTypeEnum + { + Type type = typeof(TaskInboundTypeEnum); + List<int> enums = Enum.GetValues(typeof(TaskInboundTypeEnum)).Cast<int>().ToList(); + int index = 0; + foreach (var item in enums) + { + FieldInfo? fieldInfo = typeof(TaskInboundTypeEnum).GetField(((TaskInboundTypeEnum)item).ToString()); + DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); + if (description != null) + { + data.Add(new { key = item.ToString(), value = description.Description }); + } + else + { + data.Add(new { key = item.ToString(), value = item.ToString() }); + } + index++; + } + } + #endregion + + #region TaskOutboundTypeEnum + { + Type type = typeof(TaskOutboundTypeEnum); + List<int> enums = Enum.GetValues(typeof(TaskOutboundTypeEnum)).Cast<int>().ToList(); + int index = 0; + foreach (var item in enums) + { + FieldInfo? fieldInfo = typeof(TaskOutboundTypeEnum).GetField(((TaskOutboundTypeEnum)item).ToString()); + DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); + if (description != null) + { + data.Add(new { key = item.ToString(), value = description.Description }); + } + else + { + data.Add(new { key = item.ToString(), value = item.ToString() }); + } + index++; + } + } + #endregion + + #region TaskRelocationTypeEnum + { + Type type = typeof(TaskRelocationTypeEnum); + List<int> enums = Enum.GetValues(typeof(TaskRelocationTypeEnum)).Cast<int>().ToList(); + int index = 0; + foreach (var item in enums) + { + FieldInfo? fieldInfo = typeof(TaskRelocationTypeEnum).GetField(((TaskRelocationTypeEnum)item).ToString()); + DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); + if (description != null) + { + data.Add(new { key = item.ToString(), value = description.Description }); + } + else + { + data.Add(new { key = item.ToString(), value = item.ToString() }); + } + index++; + } + } + #endregion + + #region TaskOtherTypeEnum + { + Type type = typeof(TaskOtherTypeEnum); + List<int> enums = Enum.GetValues(typeof(TaskOtherTypeEnum)).Cast<int>().ToList(); + int index = 0; + foreach (var item in enums) + { + FieldInfo? fieldInfo = typeof(TaskOtherTypeEnum).GetField(((TaskOtherTypeEnum)item).ToString()); + DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); + if (description != null) + { + data.Add(new { key = item.ToString(), value = description.Description }); + } + else + { + data.Add(new { key = item.ToString(), value = item.ToString() }); + } + index++; + } + } + #endregion + + result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data }; + } + break; + case "taskState": + { + List<object> data = new List<object>(); + + #region TaskInStatusEnum + { + Type type = typeof(TaskInStatusEnum); + List<int> enums = Enum.GetValues(typeof(TaskInStatusEnum)).Cast<int>().ToList(); + int index = 0; + foreach (var item in enums) + { + FieldInfo? fieldInfo = typeof(TaskInStatusEnum).GetField(((TaskInStatusEnum)item).ToString()); + DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); + if (description != null) + { + data.Add(new { key = item.ToString(), value = description.Description }); + } + else + { + data.Add(new { key = item.ToString(), value = item.ToString() }); + } + index++; + } + } + #endregion + + #region TaskOutStatusEnum + { + Type type = typeof(TaskOutStatusEnum); + List<int> enums = Enum.GetValues(typeof(TaskOutStatusEnum)).Cast<int>().ToList(); + int index = 0; + foreach (var item in enums) + { + FieldInfo? fieldInfo = typeof(TaskOutStatusEnum).GetField(((TaskOutStatusEnum)item).ToString()); + DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); + if (description != null) + { + data.Add(new { key = item.ToString(), value = description.Description }); + } + else + { + data.Add(new { key = item.ToString(), value = item.ToString() }); + } + index++; + } + } + #endregion + + result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data }; + } + break; + case "devicePlcType": + { + Type type = typeof(BaseCommunicator); + var basePath = AppContext.BaseDirectory; + string path = Path.Combine(basePath, $"WIDESEAWCS_Communicator.dll"); + Assembly assembly = Assembly.LoadFrom(path); + List<Type> types = assembly.GetTypes().Where(x => type.IsAssignableFrom(x) && !x.IsAbstract && !x.IsInterface).ToList(); + List<object> data = new List<object>(); + foreach (var deviceType in types) + { + DescriptionAttribute? description = deviceType.GetCustomAttribute<DescriptionAttribute>(); + if (description != null) + { + data.Add(new { key = deviceType.Name, value = description.Description }); + } + else + { + data.Add(new { key = deviceType.Name, value = deviceType.Name }); + } + } + + result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data }; + } + break; + case "inOutType": + { + List<object> data = new List<object>(); + Type type = typeof(RouterInOutType); + List<int> enums = Enum.GetValues(typeof(RouterInOutType)).Cast<int>().ToList(); + int index = 0; + foreach (var item in enums) + { + FieldInfo? fieldInfo = typeof(RouterInOutType).GetField(((RouterInOutType)item).ToString()); + DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); + if (description != null) + { + data.Add(new { key = item.ToString(), value = description.Description }); + } + else + { + data.Add(new { key = item.ToString(), value = item.ToString() }); + } + index++; + } + + result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data }; + } + break; + } + return result; + } + catch (Exception ex) + { + return null; + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_DictionaryListController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_DictionaryListController.cs" new file mode 100644 index 0000000..15c9da8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_DictionaryListController.cs" @@ -0,0 +1,17 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_Server.Controllers.System +{ + [Route("api/Sys_DictionaryList")] + [ApiController] + public class Sys_DictionaryListController : ApiBaseController<ISys_DictionaryListService, Sys_DictionaryList> + { + public Sys_DictionaryListController(ISys_DictionaryListService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_LogController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_LogController.cs" new file mode 100644 index 0000000..8bf9b04 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_LogController.cs" @@ -0,0 +1,17 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_Server.Controllers.System +{ + [Route("api/[controller]")] + [ApiController] + public class Sys_LogController : ApiBaseController<ISys_LogService, Sys_Log> + { + public Sys_LogController(ISys_LogService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_MenuController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_MenuController.cs" new file mode 100644 index 0000000..8f61352 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_MenuController.cs" @@ -0,0 +1,55 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_WCSServer.Controllers +{ + [Route("api/Sys_Menu")] + [ApiController] + public class Sys_MenuController : ApiBaseController<ISys_MenuService, Sys_Menu> + { + private readonly IHttpContextAccessor _httpContextAccessor; + public Sys_MenuController(ISys_MenuService menuService, IHttpContextAccessor httpContextAccessor) : base(menuService) + { + _httpContextAccessor = httpContextAccessor; + } + [HttpGet, HttpPost, Route("getTreeMenu")] + public IActionResult GetTreeMenu() + { + return Json(Service.GetCurrentMenuActionList()); + } + + [HttpPost, Route("getMenu")] + public IActionResult GetMenu() + { + return Json(Service.GetMenu()); + } + + [HttpPost, Route("getTreeItem")] + public IActionResult GetTreeItem(int menuId) + { + return Json(Service.GetTreeItem(menuId)); + } + + [HttpPost, Route("save")] + public ActionResult Save([FromBody] Sys_Menu menu) + { + if (App.User.UserId == 1) + { + return Json(Service.Save(menu)); + } + else + { + return Json(WebResponseContent.Instance.Error("浠呴檺瓒呯骇绠$悊鍛樹慨鏀规暟鎹�")); + } + } + [HttpPost, Route("delMenu")] + public WebResponseContent DelMenu(int menuId) + { + return Service.DelMenu(menuId); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_RoleAuthController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_RoleAuthController.cs" new file mode 100644 index 0000000..2797fd7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_RoleAuthController.cs" @@ -0,0 +1,17 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_Server.Controllers.System +{ + [Route("api/Sys_RoleAuth")] + [ApiController] + public class Sys_RoleAuthController : ApiBaseController<ISys_RoleAuthService, Sys_RoleAuth> + { + public Sys_RoleAuthController(ISys_RoleAuthService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_RoleController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_RoleController.cs" new file mode 100644 index 0000000..711558d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_RoleController.cs" @@ -0,0 +1,64 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Routing; +using WIDESEAWCS_DTO.System; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; +using WIDESEAWCS_Model.Models.System; + +namespace WIDESEAWCS_WCSServer.Controllers.System +{ + [Route("api/Sys_Role")] + [ApiController] + public class Sys_RoleController : ApiBaseController<ISys_RoleService, Sys_Role> + { + private readonly IHttpContextAccessor _httpContextAccessor; + public Sys_RoleController(ISys_RoleService service, IHttpContextAccessor httpContextAccessor) : base(service) + { + _httpContextAccessor = httpContextAccessor; + } + + [HttpPost, Route("getUserChildRoles")] + public IActionResult GetUserChildRoles() + { + int roleId = App.User.RoleId; + var data = Service.GetAllChildren(roleId); + + if (App.User.IsSuperAdmin) + { + return Json(WebResponseContent.Instance.OK(null, data)); + } + //涓嶆槸瓒呯骇绠$悊锛屽皢鑷繁鐨勮鑹叉煡鍑烘潵锛屽湪鏍戝舰鑿滃崟涓婁綔涓烘牴鑺傜偣 + var self = data.Where(x => x.Id == roleId) + .Select(s => new RoleNodes() + { + Id = s.Id, + ParentId = 0,//灏嗚嚜宸辩殑瑙掕壊浣滀负root鑺傜偣 + RoleName = s.RoleName + }).ToList(); + data.AddRange(self); + return Json(WebResponseContent.Instance.OK(null, data)); + } + + [HttpPost, Route("getCurrentTreePermission")] + public IActionResult GetCurrentTreePermission() + { + return Json(Service.GetCurrentTreePermission()); + } + + [HttpPost, Route("getUserTreePermission")] + public IActionResult GetUserTreePermission(int roleId) + { + return Json(Service.GetUserTreePermission(roleId)); + } + + [HttpPost, Route("savePermission")] + public IActionResult SavePermission([FromBody] List<UserPermissionDTO> userPermissions, int roleId) + { + return Json(Service.SavePermission(userPermissions, roleId)); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_TenantController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_TenantController.cs" new file mode 100644 index 0000000..17930d9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_TenantController.cs" @@ -0,0 +1,33 @@ +锘� +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_Core.Const; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_Core.HttpContextUser; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_WCSServer.Controllers +{ + [Route("api/tenant")] + [ApiController] + public class Sys_TenantController : ApiBaseController<ISys_TenantService, Sys_Tenant> + { + private readonly IHttpContextAccessor _httpContextAccessor; + + public Sys_TenantController(ISys_TenantService tenantService, IHttpContextAccessor httpContextAccessor) : base(tenantService) + { + _httpContextAccessor = httpContextAccessor; + } + + [HttpGet, Route("initTenantInfo"), AllowAnonymous] + public WebResponseContent InitTenantInfo(string tenantName, int tenantType) + { + return Service.InitTenantInfo(tenantName, tenantType); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs" new file mode 100644 index 0000000..4aceb97 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs" @@ -0,0 +1,136 @@ +锘� +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Caching.Memory; +using Newtonsoft.Json; +using StackExchange.Profiling; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.Authorization; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_Core.Const; +using WIDESEAWCS_Core.Extensions; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_Core.HttpContextUser; +using WIDESEAWCS_Core.Utilities; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_WCSServer.Controllers +{ + [Route("api/User")] + [ApiController] + public class Sys_UserController : ApiBaseController<ISys_UserService, Sys_User> + { + private readonly IHttpContextAccessor _httpContextAccessor; + + public Sys_UserController(ISys_UserService userService, IHttpContextAccessor httpContextAccessor) : base(userService) + { + _httpContextAccessor = httpContextAccessor; + } + [HttpPost, Route("swgLogin"), AllowAnonymous] + public dynamic SwgLogin([FromBody] SwaggerLoginRequest loginRequest) + { + if (loginRequest is null) + { + return new { result = false }; + } + + try + { + LoginInfo loginInfo = new LoginInfo + { + Password = loginRequest.pwd, + UserName = loginRequest.name + }; + var result = Service.Login(loginInfo); + if (result.Status) + { + HttpContext.SuccessSwagger(); + Dictionary<string, object>? dict = JsonConvert.DeserializeObject<Dictionary<string, object>>(result.Data.Serialize()); + if (dict != null) + { + HttpContext.SuccessSwaggerJwt((dict.ContainsKey("token") ? dict["token"].ToString() : "") ?? ""); + } + string str = HttpContext.GetSuccessSwaggerJwt(); + return new { result = true }; + } + } + catch (Exception ex) + { + + } + + return new { result = false }; + } + [HttpPost, Route("login"), AllowAnonymous] + public IActionResult Login([FromBody] LoginInfo loginInfo) + { + return Json(Service.Login(loginInfo)); + } + [HttpPost, Route("getCurrentUserInfo")] + public WebResponseContent GetCurrentUser() + { + return Service.GetCurrentUserInfo(); + } + + [HttpPost, Route("modifyPwd")] + public IActionResult ModifyPwd(string oldPwd, string newPwd) + { + return Json(Service.ModifyPwd(oldPwd, newPwd)); + } + + [HttpGet, Route("getVierificationCode"), AllowAnonymous] + public IActionResult GetVierificationCode() + { + //var html = MiniProfiler.Current.RenderIncludes(_httpContextAccessor.HttpContext); + string code = "1234" /*VierificationCode.RandomText()*/; + var data = new + { + img = VierificationCode.CreateBase64Imgage(code), + uuid = Guid.NewGuid() + }; + + return Json(data); + } + [HttpGet, Route("SerializeJwt"), AllowAnonymous] + public WebResponseContent SerializeJwt(string code) + { + return WebResponseContent.Instance.OK(data: JwtHelper.SerializeJwt(code)); + } + [HttpPost, Route("replaceToken")] + public WebResponseContent ReplaceToken() + { + WebResponseContent responseContent = new WebResponseContent(); + try + { + string token = App.User.GetToken(); + if (string.IsNullOrEmpty(token)) + { + return responseContent = WebResponseContent.Instance.Error("token鏃犳晥锛岃閲嶆柊鐧诲綍锛�"); + } + TokenModelJwt tokenModelJwt = new TokenModelJwt() + { + RoleId = App.User.RoleId, + TenantId = App.User.TenantId, + UserId = App.User.UserId, + UserName = App.User.UserName + }; + string newToken = JwtHelper.IssueJwt(tokenModelJwt); + return responseContent = WebResponseContent.Instance.OK(data: newToken); + } + catch (Exception ex) + { + return responseContent.Error(ex.Message); + } + + } + } + + public class SwaggerLoginRequest + { + public string name { get; set; } + public string pwd { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" new file mode 100644 index 0000000..fc5ab5c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskController.cs" @@ -0,0 +1,52 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_DTO.TaskInfo; +using WIDESEAWCS_ITaskInfoService; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_WCSServer.Controllers.Task +{ + [Route("api/Task")] + [ApiController] + public class TaskController : ApiBaseController<ITaskService, Dt_Task> + { + private readonly IHttpContextAccessor _httpContextAccessor; + public TaskController(ITaskService service, IHttpContextAccessor httpContextAccessor) : base(service) + { + _httpContextAccessor = httpContextAccessor; + } + + [HttpPost, Route("ReceiveTask"), AllowAnonymous] + public WebResponseContent ReceiveWMSTask([FromBody] List<WMSTaskDTO> taskDTOs) + { + return Service.ReceiveWMSTask(taskDTOs); + } + + [HttpPost, HttpGet, Route("UpdateTaskExceptionMessage")] + public WebResponseContent UpdateTaskExceptionMessage(int taskNum, string message) + { + return Service.UpdateTaskExceptionMessage(taskNum, message); + } + + [HttpPost, HttpGet, Route("UpdateTaskStatusToNext")] + public WebResponseContent UpdateTaskStatusToNext(int taskNum) + { + return Service.UpdateTaskStatusToNext(taskNum); + } + + [HttpPost, HttpGet, Route("TaskStatusRecovery")] + public WebResponseContent TaskStatusRecovery(int taskNum) + { + return Service.TaskStatusRecovery(taskNum); + } + + [HttpPost, HttpGet, Route("RollbackTaskStatusToLast")] + public WebResponseContent RollbackTaskStatusToLast(int taskNum) + { + return Service.RollbackTaskStatusToLast(taskNum); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskExecuteDetailController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskExecuteDetailController.cs" new file mode 100644 index 0000000..97cb430 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Task/TaskExecuteDetailController.cs" @@ -0,0 +1,33 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseController; +using WIDESEAWCS_DTO.TaskInfo; +using WIDESEAWCS_ITaskInfoService; +using WIDESEAWCS_Model.Models; + + +namespace WIDESEAWCS_Server.Controllers.Task +{ + [Route("api/TaskExecuteDetail")] + [ApiController] + public class TaskExecuteDetailController : ApiBaseController<ITaskExecuteDetailService, Dt_TaskExecuteDetail> + { + public TaskExecuteDetailController(ITaskExecuteDetailService service) : base(service) + { + } + + [HttpPost, HttpGet, Route("GetDetailInfo")] + public WebResponseContent GetDetailInfo(int taskNum) + { + return Service.GetDetailInfo(taskNum); + } + + [HttpPost, HttpGet, Route("GetDetailDatas")] + public WebResponseContent GetDetailDatas(int taskNum) + { + return Service.GetDetailDatas(taskNum); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutoMapperConfig.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutoMapperConfig.cs" new file mode 100644 index 0000000..5b2cc51 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutoMapperConfig.cs" @@ -0,0 +1,18 @@ +锘縰sing AutoMapper; + +namespace WIDESEAWCS_WCSServer.Filter +{ + /// <summary> + /// 闈欐�佸叏灞� AutoMapper 閰嶇疆鏂囦欢 + /// </summary> + public class AutoMapperConfig + { + public static MapperConfiguration RegisterMappings() + { + return new MapperConfiguration(cfg => + { + cfg.AddProfile(new CustomProfile()); + }); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutoMapperSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutoMapperSetup.cs" new file mode 100644 index 0000000..d1ac9d1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutoMapperSetup.cs" @@ -0,0 +1,16 @@ +锘縩amespace WIDESEAWCS_WCSServer.Filter +{ + /// <summary> + /// Automapper 鍚姩鏈嶅姟 + /// </summary> + public static class AutoMapperSetup + { + public static void AddAutoMapperSetup(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + services.AddAutoMapper(typeof(AutoMapperConfig)); + AutoMapperConfig.RegisterMappings(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutofacPropertityModuleReg.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutofacPropertityModuleReg.cs" new file mode 100644 index 0000000..6191ee7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutofacPropertityModuleReg.cs" @@ -0,0 +1,17 @@ +锘縰sing Autofac; +using Microsoft.AspNetCore.Mvc; + +namespace WIDESEAWCS_WCSServer.Filter +{ + public class AutofacPropertityModuleReg : Autofac.Module + { + protected override void Load(ContainerBuilder builder) + { + var controllerBaseType = typeof(ControllerBase); + builder.RegisterAssemblyTypes(typeof(Program).Assembly) + .Where(t => controllerBaseType.IsAssignableFrom(t) && t != controllerBaseType) + .PropertiesAutowired(); + + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomAuthorizeFilter.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomAuthorizeFilter.cs" new file mode 100644 index 0000000..214034f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomAuthorizeFilter.cs" @@ -0,0 +1,20 @@ +锘縰sing Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; + +namespace WIDESEAWCS_Server.Filter +{ + public class CustomAuthorizeFilter : IAuthorizationFilter + { + public void OnAuthorization(AuthorizationFilterContext context) + { + + // 浣犵殑鑷畾涔夋巿鏉冮�昏緫 + // 渚嬪锛屸�屾鏌ョ敤鎴锋槸鍚﹀凡鐧诲綍锛屸�屾垨鑰呬粬浠槸鍚︽湁鐗瑰畾鐨勮鑹叉垨鏉冮檺 + //if (!context.HttpContext.User.Identity.IsAuthenticated) + //{ + // // 鐢ㄦ埛鏈櫥褰曪紝鈥岄噸瀹氬悜鍒扮櫥褰曢〉闈㈡垨杩斿洖401鐘舵�佺爜 + // context.Result = new ChallengeResult(); + //} + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs" new file mode 100644 index 0000000..bb7bea2 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/CustomProfile.cs" @@ -0,0 +1,29 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using AutoMapper; +using WIDESEAWCS_DTO.System; +using WIDESEAWCS_DTO.TaskInfo; +using WIDESEAWCS_Model.Models; +using WIDESEAWCS_QuartzJob.DTO; +using WIDESEAWCS_QuartzJob.Models; +using WIDESEAWCS_Tasks.ConveyorLineJob; + +namespace WIDESEAWCS_WCSServer.Filter +{ + public class CustomProfile : Profile + { + /// <summary> + /// 閰嶇疆鏋勯�犲嚱鏁帮紝鐢ㄦ潵鍒涘缓鍏崇郴鏄犲皠 + /// </summary> + public CustomProfile() + { + CreateMap<Sys_Menu, MenuDTO>(); + CreateMap<Dt_DeviceInfo, DeviceInfoDTO>(); + CreateMap<WMSTaskDTO, Dt_Task>().ForMember(a => a.WMSId, b => b.MapFrom(b => b.Id)); + CreateMap<Dt_Task, ConveyorLineTaskCommand>().ForMember(a => a.TargetAddress, b => b.MapFrom(b => b.NextAddress)).ForMember(a => a.Barcode, b => b.MapFrom(b => b.PalletCode)).ForMember(a => a.TaskNo, b => b.MapFrom(b => b.TaskNum)); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/WebSocketHostService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/WebSocketHostService.cs" new file mode 100644 index 0000000..2710b1c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/WebSocketHostService.cs" @@ -0,0 +1,25 @@ +锘� +using HslCommunication.WebSocket; + +namespace WIDESEAWCS_Server.Filter +{ + public class WebSocketHostService : IHostedService + { + WebSocketServer _webSocketServer; + public WebSocketHostService(WebSocketServer webSocketServer) + { + _webSocketServer = webSocketServer; + } + + public Task StartAsync(CancellationToken cancellationToken) + { + _webSocketServer.PublishAllClientPayload("绋嬪簭鍚姩"); + return Task.CompletedTask; + } + + public Task StopAsync(CancellationToken cancellationToken) + { + return Task.CompletedTask; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/WebSocketSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/WebSocketSetup.cs" new file mode 100644 index 0000000..26232e4 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/WebSocketSetup.cs" @@ -0,0 +1,29 @@ +锘縰sing HslCommunication.WebSocket; +using WIDESEAWCS_Core.Helper; + +namespace WIDESEAWCS_Server.HostedService +{ + public static class WebSocketSetup + { + public static void AddWebSocketSetup(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + if(AppSettings.Get("WebSocketEnable").ObjToBool()) + { + int port = AppSettings.Get("WebSocketPort").ObjToInt(); + if (port == 0) + { + port = 9296; + } + + services.AddSingleton(x => + { + WebSocketServer socketServer = new WebSocketServer(); + socketServer.ServerStart(port); + return socketServer; + }); + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs" new file mode 100644 index 0000000..00fbe9e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Program.cs" @@ -0,0 +1,151 @@ +using System.Reflection; +using System.Text; +using Autofac; +using Autofac.Core; +using Autofac.Extensions.DependencyInjection; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.Extensions.DependencyInjection.Extensions; +using Microsoft.Extensions.FileProviders; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Serialization; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.Authorization; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Core.Core; +using WIDESEAWCS_Core.Extensions; +using WIDESEAWCS_Core.Filter; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_Core.Middlewares; +using WIDESEAWCS_QuartzJob; +using WIDESEAWCS_QuartzJob.QuartzExtensions; +using WIDESEAWCS_QuartzJob.Seed; +using WIDESEAWCS_Server.Filter; +using WIDESEAWCS_Server.HostedService; +using WIDESEAWCS_WCSServer.Filter; + +var builder = WebApplication.CreateBuilder(args); + + +builder.Host.UseServiceProviderFactory(new AutofacServiceProviderFactory()).ConfigureContainer<ContainerBuilder>(builder => +{ + builder.RegisterModule(new AutofacModuleRegister());//带有接口层的服务注入 + builder.RegisterModule(new QuartzJobAutofacModuleRegister()); + builder.RegisterModule<AutofacPropertityModuleReg>();// +}).ConfigureAppConfiguration((hostingContext, config) => +{ + hostingContext.Configuration.ConfigureApplication(); + config.Sources.Clear(); + config.AddJsonFile("appsettings.json", optional: true, reloadOnChange: false); +}); +builder.ConfigureApplication(); + +// 2、配置服务 +builder.Services.AddSingleton(new AppSettings(builder.Configuration));//注册 +builder.Services.AddAllOptionRegister();//读取配置文件 +builder.Services.AddMemoryCacheSetup();//缓存 +builder.Services.AddSqlsugarSetup();//SqlSugar 启动服务 +builder.Services.AddHostedService<SeedDataHostedService>();//初始化数据库 + +builder.Services.AddDbSetup();//Db 启动服务 + +builder.Services.AddScoped<QuartzJobCreateDataTabel>();//任务调度 注入创建QuartzJob数据库表类 +builder.Services.AddHostedService<QuartzJobDataTableHostedService>();//任务调度 映射QuartzJob数据库表 + +builder.Services.AddWebSocketSetup(); + +builder.Services.AddAutoMapperSetup(); + +builder.Services.AddCorsSetup(); + +builder.Services.AddMiniProfilerSetup(); + +builder.Services.AddSwaggerSetup(); + +builder.Services.AddJobSetup();//任务调度 注入反射获取依赖对象 + +builder.Services.AddHttpContextSetup(); + +builder.Services.AddHostedService<QuartzJobHostedService>();//任务调度 启动服务 + +builder.Services.AddMvc(options => +{ + options.Filters.Add(typeof(ApiAuthorizeFilter)); + options.Filters.Add(typeof(ActionExecuteFilter)); + options.Filters.Add(typeof(CustomAuthorizeFilter)); +}); + +builder.Services.AddAuthorizationSetup(); + +builder.Services.AddIpPolicyRateLimitSetup(builder.Configuration);//IPLimit限流 启动服务 + +builder.Services.AddScoped<UseServiceDIAttribute>(); + +builder.Services.AddSession(); + +builder.Services.AddHttpClient(); + +builder.Services.AddControllers(o => +{ + o.Filters.Add(typeof(GlobalExceptionsFilter));//全局异常 +}) +.AddNewtonsoftJson(options => +{ + options.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Serialize; + //options.SerializerSettings.ContractResolver = new DefaultContractResolver(); + options.SerializerSettings.ContractResolver = new Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver(); + options.SerializerSettings.DateFormatString = "yyyy-MM-dd HH:mm:ss"; + options.SerializerSettings.NullValueHandling = NullValueHandling.Include; + options.SerializerSettings.DateTimeZoneHandling = DateTimeZoneHandling.Local; + options.SerializerSettings.Converters.Add(new StringEnumConverter()); +}); +// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle +builder.Services.AddEndpointsApiExplorer(); + +builder.Services.Replace(ServiceDescriptor.Transient<IControllerActivator, ServiceBasedControllerActivator>()); +Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); + + +var app = builder.Build(); + +// 3、配置中间件 +app.UseMiniProfiler();//性能分析器 +app.ConfigureApplication();//配置文件 +app.UseApplicationSetup();//启动配置 + +app.UseAllServicesMiddle(builder.Services); + +app.UseSession(); + +app.UseSwaggerAuthorized(); +app.UseSwaggerMiddle(() => Assembly.GetExecutingAssembly().GetManifestResourceStream("WIDESEAWCS_Server.index.html") ?? throw new Exception("未找到WIDESEAWCS_Server.index.html文件")); + +app.UseIpLimitMiddle(); +app.UseApiLogMiddleware(); + +app.UseCors(AppSettings.Get(new string[] { "Cors", "PolicyName" })); + +DefaultFilesOptions defaultFilesOptions = new DefaultFilesOptions(); +defaultFilesOptions.DefaultFileNames.Clear(); +defaultFilesOptions.DefaultFileNames.Add("index.html"); +app.UseDefaultFiles(defaultFilesOptions); +app.UseMiddleware<HttpRequestMiddleware>(); +app.UseStaticFiles(); + +app.UseStaticFiles(new StaticFileOptions +{ + FileProvider = new PhysicalFileProvider(App.WebHostEnvironment.WebRootPath) +}); +app.UseCookiePolicy(); +app.UseStatusCodePages(); + +app.UseRouting(); + +app.UseAuthentication(); +app.UseAuthorization(); + +app.MapControllers(); + +app.Run(); diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Properties/PublishProfiles/FolderProfile.pubxml" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Properties/PublishProfiles/FolderProfile.pubxml" new file mode 100644 index 0000000..36847ea --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Properties/PublishProfiles/FolderProfile.pubxml" @@ -0,0 +1,17 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<!-- +https://go.microsoft.com/fwlink/?LinkID=208121. +--> +<Project> + <PropertyGroup> + <DeleteExistingFiles>false</DeleteExistingFiles> + <ExcludeApp_Data>false</ExcludeApp_Data> + <LaunchSiteAfterPublish>true</LaunchSiteAfterPublish> + <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> + <LastUsedPlatform>Any CPU</LastUsedPlatform> + <PublishProvider>FileSystem</PublishProvider> + <PublishUrl>bin\Release\net6.0\publish\</PublishUrl> + <WebPublishMethod>FileSystem</WebPublishMethod> + <_TargetId>Folder</_TargetId> + </PropertyGroup> +</Project> \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Properties/launchSettings.json" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Properties/launchSettings.json" new file mode 100644 index 0000000..37fd763 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Properties/launchSettings.json" @@ -0,0 +1,31 @@ +锘縶 + "$schema": "https://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:27002", + "sslPort": 0 + } + }, + "profiles": { + "WIDESEAWCS_Server": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "launchUrl": "swagger", + "applicationUrl": "http://localhost:5208", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "launchUrl": "swagger", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj" new file mode 100644 index 0000000..e75c7ae --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj" @@ -0,0 +1,77 @@ +锘�<Project Sdk="Microsoft.NET.Sdk.Web"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <Nullable>enable</Nullable> + <ImplicitUsings>enable</ImplicitUsings> + <GenerateDocumentationFile>False</GenerateDocumentationFile> + </PropertyGroup> + + <ItemGroup> + <Content Remove="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Dt_Task.tsv" /> + <Content Remove="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Dt_TaskExecuteDetail.tsv" /> + <Content Remove="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_Dictionary.tsv" /> + <Content Remove="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_DictionaryList.tsv" /> + <Content Remove="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_Menu.tsv" /> + <Content Remove="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_Role.tsv" /> + <Content Remove="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_RoleAuth.tsv" /> + <Content Remove="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_User.tsv" /> + </ItemGroup> + + <ItemGroup> + <None Remove="index.html" /> + </ItemGroup> + + <ItemGroup> + <EmbeddedResource Include="index.html"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </EmbeddedResource> + <EmbeddedResource Include="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Dt_Task.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </EmbeddedResource> + <EmbeddedResource Include="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Dt_TaskExecuteDetail.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </EmbeddedResource> + <EmbeddedResource Include="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_Dictionary.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </EmbeddedResource> + <EmbeddedResource Include="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_DictionaryList.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </EmbeddedResource> + <EmbeddedResource Include="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_Menu.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </EmbeddedResource> + <EmbeddedResource Include="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_Role.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </EmbeddedResource> + <EmbeddedResource Include="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_RoleAuth.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </EmbeddedResource> + <EmbeddedResource Include="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_User.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </EmbeddedResource> + </ItemGroup> + + <ItemGroup> + <PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" /> + </ItemGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_SystemServices\WIDESEAWCS_SystemServices.csproj" /> + <ProjectReference Include="..\WIDESEAWCs_TaskInfoService\WIDESEAWCs_TaskInfoService.csproj" /> + <ProjectReference Include="..\WIDESEAWCS_Tasks\WIDESEAWCS_Tasks.csproj" /> + </ItemGroup> + + <ItemGroup> + <Content Update="nlog.config"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Update="wwwroot\swg-login.html"> + <CopyToOutputDirectory>Never</CopyToOutputDirectory> + </Content> + <Content Update="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_Tenant.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.Development.json" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.Development.json" new file mode 100644 index 0000000..0c208ae --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.Development.json" @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.json" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.json" new file mode 100644 index 0000000..fe9b957 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/appsettings.json" @@ -0,0 +1,41 @@ +{ + "urls": "http://*:9291", //web鏈嶅姟绔彛锛屽鏋滅敤IIS閮ㄧ讲锛屾妸杩欎釜鍘绘帀 + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "dics": "deviceType,devicePlcType,jobAssembly,jobClassName,deviceStatus,taskType,taskState,inOutType", + "AllowedHosts": "*", + "ConnectionStringsEncryption": false, + "MainDB": "DB_WIDESEA", //褰撳墠椤圭洰鐨勪富搴擄紝鎵�瀵瑰簲鐨勮繛鎺ュ瓧绗︿覆鐨凟nabled蹇呴』涓簍rue + //1.MySql + //2.SqlServer + //3.Sqlite + //4.Oracle + //5.PostgreSQL + "DBType": "SqlServer", + //杩炴帴瀛楃涓� + "ConnectionString": "Data Source=.;Initial Catalog=WIDESEAWCS_SYLK;User ID=sa;Password=sa123456;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + //璺ㄥ煙 + "Cors": { + "PolicyName": "CorsIpAccess", //绛栫暐鍚嶇О + "EnableAllIPs": true, //褰撲负true鏃讹紝寮�鏀炬墍鏈塈P鍧囧彲璁块棶銆� + // 鏀寔澶氫釜鍩熷悕绔彛锛屾敞鎰忕鍙e彿鍚庝笉瑕佸甫/鏂滄潌锛氭瘮濡俵ocalhost:8000/锛屾槸閿欑殑 + // 娉ㄦ剰锛宧ttp://127.0.0.1:1818 鍜� http://localhost:1818 鏄笉涓�鏍风殑 + "IPs": "http://127.0.0.1:8080,http://localhost:8080" + }, + "ApiLogIgnore": "", //璁板綍鏃ュ織鏃讹紝蹇界暐鐨凙PI鍚嶇О锛屽涓敤閫楀彿鍒嗛殧锛岄厤缃殑涓嶈褰曞埌鏁版嵁搴撲腑 + "ApiName": "WIDESEAWCS", + "ExpMinutes": 120, + "QuartzJobAutoStart": false, + "DBSeedEnable": false, + "QuartzDBSeedEnable": false, + "LogDeubgEnable": false, //鏄惁璁板綍璋冭瘯鏃ュ織 + "PrintSql": false, //鎵撳嵃SQL璇彞 + "LogAOPEnable": false, //鏄惁璁板綍AOP鏃ュ織 + "WebSocketEnable": true, //鏄惁寮�鍚疻ebSocket鏈嶅姟 + "WebSocketPort": 9296, //WebSocket鏈嶅姟绔彛 + "WMSApiAddress": "http://127.0.0.1:9290" //"http://127.0.0.1:9283",姝e紡鐜鍦板潃 +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_DictionaryListRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_DictionaryListRepository.cs" new file mode 100644 index 0000000..98537b3 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_DictionaryListRepository.cs" @@ -0,0 +1,18 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_ISystemRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemRepository +{ + public class Sys_DictionaryListRepository : RepositoryBase<Sys_DictionaryList>, ISys_DictionaryListRepository + { + public Sys_DictionaryListRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_DictionaryRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_DictionaryRepository.cs" new file mode 100644 index 0000000..970ffbc --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_DictionaryRepository.cs" @@ -0,0 +1,75 @@ +锘縰sing Microsoft.AspNetCore.DataProtection.KeyManagement; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_ISystemRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemRepository +{ + public class Sys_DictionaryRepository : RepositoryBase<Sys_Dictionary>, ISys_DictionaryRepository + { + public Sys_DictionaryRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) + { + } + + /// <summary> + /// + /// </summary> + /// <param name="dicNos"></param> + /// <param name="executeSql">鏄惁鎵ц鑷畾涔塻ql</param> + /// <returns></returns> + public IEnumerable<Sys_Dictionary> GetDictionaries(IEnumerable<string> dicNos, bool executeSql = false) + { + List<Sys_Dictionary> Dictionaries = GetAllDictionary(dicNos); + + //foreach (var item in Dictionaries.Where(x => dicNos.Contains(x.DicNo))) + //{ + // if (executeSql) + // { + // // 2020.05.01澧炲姞鏍规嵁鐢ㄦ埛淇℃伅鍔犺浇瀛楀吀鏁版嵁婧恠ql + // string sql = item.DBSql; + // if (!string.IsNullOrEmpty(sql)) + // { + // item.DicList = Query(sql); + // } + // } + //} + + return Dictionaries; + } + + List<Sys_DictionaryList> Query(string sql) + { + try + { + return base.QueryDynamicDataBySql(sql, null).Select(s => new Sys_DictionaryList() + { + DicName = s.Value, + DicValue = s.Key.ToString() + }).ToList(); + } + catch (Exception ex) + { + throw ex; + } + } + + private List<Sys_Dictionary> GetAllDictionary(IEnumerable<string> dicNos) + { + //base.QueryData().ToList(); + List<Sys_Dictionary> _dictionaries = Db.Queryable<Sys_Dictionary>().Includes(x => x.DicList).Where(x => x.Enable == 1 && dicNos.Contains(x.DicNo)).ToList(); + return _dictionaries; + } + } + + public class SourceKeyVaule + { + public object Key { get; set; } + public string Value { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_LogRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_LogRepository.cs" new file mode 100644 index 0000000..f61053e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_LogRepository.cs" @@ -0,0 +1,18 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_ISystemRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemRepository +{ + public class Sys_LogRepository : RepositoryBase<Sys_Log>, ISys_LogRepository + { + public Sys_LogRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_MenuRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_MenuRepository.cs" new file mode 100644 index 0000000..4ecf724 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_MenuRepository.cs" @@ -0,0 +1,201 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_ISystemRepository; +using WIDESEAWCS_Model; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemRepository +{ + public class Sys_MenuRepository : RepositoryBase<Sys_Menu>, ISys_MenuRepository + { + public Sys_MenuRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) + { + } + + public List<Sys_Menu> GetAllMenu() + { + List<Sys_Menu> _menus = base.QueryData(x => x.Enable == 1 || x.Enable == 2).OrderByDescending(a => a.OrderNo).ThenByDescending(q => q.ParentId).ToList(); + + _menus.ForEach(x => + { + x.MenuType ??= 0; + if (!string.IsNullOrEmpty(x.Auth) && x.Auth.Length > 10) + { + try + { + x.Actions = x.Auth.DeserializeObject<List<Sys_Actions>>(); + } + catch { } + } + x.Actions ??= new List<Sys_Actions>(); + }); + string test = _menus.Serialize(); + return _menus; + } + + public object GetSuperAdminMenu() + { + return GetAllMenu().Select(x => + new + { + id = x.MenuId, + name = x.MenuName, + url = x.Url, + parentId = x.ParentId, + icon = x.Icon, + x.Enable, + x.TableName, // 2022.03.26澧炵Щ鍔ㄧ鍔犺彍鍗曠被鍨� + permission = x.Actions.Select(s => s.Value).ToArray() + }).ToList(); + } + + public object GetMenuByRoleId(int roleId) + { + var menu = from a in GetPermissions(roleId) + join b in GetAllMenu() + on a.MenuId equals b.MenuId + orderby b.OrderNo descending + select new + { + id = a.MenuId, + name = b.MenuName, + url = b.Url, + parentId = b.ParentId, + icon = b.Icon, + b.Enable, + b.TableName, + permission = a.UserAuthArr + }; + return menu.ToList(); + } + + /// <summary> + /// 鑾峰彇瑙掕壊鏉冮檺鏃堕�氳繃瀹夊叏瀛楀吀閿佸畾鐨勮鑹瞚d + /// </summary> + private static ConcurrentDictionary<string, object> objKeyValue = new ConcurrentDictionary<string, object>(); + + public List<Permissions> GetPermissions(int roleId) + { + if (App.User.IsRoleIdSuperAdmin(roleId)) + { + //2020.12.27澧炲姞鑿滃崟鐣岄潰涓婁笉鏄剧ず锛屼絾鍙互鍒嗛厤鏉冮檺 + var permissions = QueryData(x => x.Enable == 1 || x.Enable == 2) + .Select(a => new Permissions + { + MenuId = a.MenuId, + ParentId = a.ParentId, + TableName = (a.TableName ?? "").ToLower(), + UserAuth = a.Auth, + MenuType = a.MenuType ?? 0 + }).ToList(); + return MenuActionToArray(permissions); + } + + //閿佸畾姣忎釜瑙掕壊锛岄�氳繃瀹夊叏瀛楀吀鍑忓皯閿佺矑搴︼紝鍚﹀垯澶氫釜鍚屾椂瑙掕壊鑾峰彇缂撳瓨浼氬鑷撮樆濉� + object objId = objKeyValue.GetOrAdd(roleId.ToString(), new object()); + //閿佸畾姣忎釜瑙掕壊 + lock (objId) + { + //娌℃湁redis/memory缂撳瓨瑙掕壊鐨勭増鏈彿鎴栦笌褰撳墠鏈嶅姟鍣ㄧ殑瑙掕壊鐗堟湰鍙蜂笉鍚屾椂锛屽埛鏂扮紦瀛� + + List<Permissions> _permissions = QueryTabs<Sys_Menu, Sys_RoleAuth, Permissions>((a, b) => new object[] { JoinType.Inner, a.MenuId == b.MenuId }, (a, b) => new Permissions { MenuId = a.MenuId, ParentId = a.ParentId, TableName = (a.TableName ?? "").ToLower(), MenuAuth = a.Auth, UserAuth = b.AuthValue ?? "", MenuType = a.MenuType ?? 0 }, (a, b) => b.RoleId == roleId, x => true); + + ActionToArray(_permissions); + + return _permissions; + } + } + + private List<Permissions> MenuActionToArray(List<Permissions> permissions) + { + permissions.ForEach(x => + { + try + { + x.UserAuthArr = string.IsNullOrEmpty(x.UserAuth) + ? new string[0] + : x.UserAuth.DeserializeObject<List<Sys_Actions>>().Select(s => s.Value).ToArray(); + } + catch { } + finally + { + if (x.UserAuthArr == null) + { + x.UserAuthArr = new string[0]; + } + } + }); + return permissions; + } + + private List<Permissions> ActionToArray(List<Permissions> permissions) + { + permissions.ForEach(x => + { + try + { + var menuAuthArr = x.MenuAuth.DeserializeObject<List<Sys_Actions>>(); + x.UserAuthArr = string.IsNullOrEmpty(x.UserAuth) + ? new string[0] + : x.UserAuth.Split(",").Where(c => menuAuthArr.Any(m => m.Value == c)).ToArray(); + + } + catch { } + finally + { + if (x.UserAuthArr == null) + { + x.UserAuthArr = new string[0]; + } + } + }); + return permissions; + } + + public object GetMenu(List<int> menuIds) + { + return QueryData(x => menuIds.Contains(x.MenuId)).Select(a => + new + { + id = a.MenuId, + parentId = a.ParentId, + name = a.MenuName, + a.MenuType, + a.OrderNo + }).OrderByDescending(a => a.OrderNo) + .ThenByDescending(q => q.parentId).ToList(); + } + + public object GetTreeItem(int menuId) + { + var sysMenu = base.QueryData(x => x.MenuId == menuId) + .Select( + p => new + { + p.MenuId, + p.ParentId, + p.MenuName, + p.Url, + p.Auth, + p.OrderNo, + p.Icon, + p.Enable, + // 2022.03.26澧炵Щ鍔ㄧ鍔犺彍鍗曠被鍨� + MenuType = p.MenuType ?? 0, + p.CreateDate, + p.Creater, + p.TableName, + p.ModifyDate + }).FirstOrDefault(); + return sysMenu; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_RoleAuthRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_RoleAuthRepository.cs" new file mode 100644 index 0000000..680d67b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_RoleAuthRepository.cs" @@ -0,0 +1,18 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_ISystemRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemRepository +{ + internal class Sys_RoleAuthRepository : RepositoryBase<Sys_RoleAuth>, ISys_RoleAuthRepository + { + public Sys_RoleAuthRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_RoleRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_RoleRepository.cs" new file mode 100644 index 0000000..455d1b1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_RoleRepository.cs" @@ -0,0 +1,18 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_ISystemRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemRepository +{ + public class Sys_RoleRepository : RepositoryBase<Sys_Role>, ISys_RoleRepository + { + public Sys_RoleRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_TenantRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_TenantRepository.cs" new file mode 100644 index 0000000..b013008 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_TenantRepository.cs" @@ -0,0 +1,18 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_ISystemRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemRepository +{ + public class Sys_TenantRepository : RepositoryBase<Sys_Tenant>, ISys_TenantRepository + { + public Sys_TenantRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_UserRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_UserRepository.cs" new file mode 100644 index 0000000..0f09f18 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/Sys_UserRepository.cs" @@ -0,0 +1,26 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.HttpContextUser; +using WIDESEAWCS_ISystemRepository; +using WIDESEAWCS_Model; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemRepository +{ + public class Sys_UserRepository : RepositoryBase<Sys_User>, ISys_UserRepository + { + public Sys_UserRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) + { + + } + + public UserInfo GetUserInfo(string userName, string password) + { + return QueryFirst(x => x.UserName == userName && x.UserPwd == password, x => new UserInfo { HeadImageUrl = x.HeadImageUrl, RoleId = x.Role_Id, TenantId = x.TenantId, UserId = x.User_Id, UserName = x.UserName, UserTrueName = x.UserTrueName }); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/WIDESEAWCS_SystemRepository.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/WIDESEAWCS_SystemRepository.csproj" new file mode 100644 index 0000000..e29c7fd --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemRepository/WIDESEAWCS_SystemRepository.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_ISystemRepository\WIDESEAWCS_ISystemRepository.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_DictionaryListService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_DictionaryListService.cs" new file mode 100644 index 0000000..97c960b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_DictionaryListService.cs" @@ -0,0 +1,19 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemServices +{ + public class Sys_DictionaryListService : ServiceBase<Sys_DictionaryList, IRepository<Sys_DictionaryList>>, ISys_DictionaryListService + { + public Sys_DictionaryListService(IRepository<Sys_DictionaryList> BaseDal) : base(BaseDal) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_DictionaryService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_DictionaryService.cs" new file mode 100644 index 0000000..390e640 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_DictionaryService.cs" @@ -0,0 +1,127 @@ +锘縰sing Newtonsoft.Json; +using OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Common.TaskEnum; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Core.Caches; +using WIDESEAWCS_Core.DB; +using WIDESEAWCS_Core.Enums; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_DTO.System; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemServices +{ + public class Sys_DictionaryService : ServiceBase<Sys_Dictionary, IRepository<Sys_Dictionary>>, ISys_DictionaryService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly ICacheService _cacheService; + + public Sys_DictionaryService(IRepository<Sys_Dictionary> BaseDal, IUnitOfWorkManage unitOfWorkManage, ICacheService cacheService) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + _cacheService = cacheService; + } + + public List<VueDictionaryDTO> GetVueDictionary(string[] dicNos) + { + if (dicNos == null || dicNos.Count() == 0) return new List<VueDictionaryDTO>(); + List<VueDictionaryDTO> vueDictionaryDTOs = new List<VueDictionaryDTO>(); + + List<string> cacheDicNos = new List<string>(); + foreach (string n in dicNos) + { + string? str = _cacheService.Get(n); + if (!string.IsNullOrEmpty(str)) + { + VueDictionaryDTO? vueDictionary = JsonConvert.DeserializeObject<VueDictionaryDTO>(str); + + if (vueDictionary != null) + { + vueDictionaryDTOs.Add(vueDictionary); + cacheDicNos.Add(n); + } + } + } + if (dicNos.Where(x => !cacheDicNos.Contains(x)).Count() > 0) + { + List<string> list = dicNos.Where(x => !cacheDicNos.Contains(x)).ToList(); + List<Sys_Dictionary> dictionaries = GetDictionaries(list).ToList(); + + List<VueDictionaryDTO> selectDics = dictionaries.Select(s => new VueDictionaryDTO + { + DicNo = s.DicNo, + Config = s.Config, + //dbSql = s.Sql, + Data = s.DicList.OrderByDescending(o => o.OrderNo).Select(list => new { key = list.DicValue, value = list.DicName }) + }).ToList(); + + foreach (var v in dictionaries) + { + if (!string.IsNullOrEmpty(v.DBSql)) + { + VueDictionaryDTO? temp = selectDics.FirstOrDefault(x => x.DicNo == v.DicNo); + if (temp != null) + selectDics.Remove(temp); + selectDics.Add(new VueDictionaryDTO + { + Config = v.Config, + DicNo = v.DicNo, + Data = BaseDal.QueryDynamicDataBySql(v.DBSql), + SaveCache = false, + }); + } + } + + foreach (var item in selectDics) + { + if (!_cacheService.Exists(item.DicNo) && item.SaveCache) + { + _cacheService.Add(item.DicNo, item.Serialize()); + } + } + vueDictionaryDTOs.AddRange(selectDics); + } + + return vueDictionaryDTOs; + } + + public IEnumerable<Sys_Dictionary> GetDictionaries(IEnumerable<string> dicNos, bool executeSql = false) + { + List<Sys_Dictionary> Dictionaries = GetAllDictionary(dicNos); + + return Dictionaries; + } + + List<Sys_DictionaryList> Query(string sql) + { + try + { + return BaseDal.QueryDynamicDataBySql(sql, null).Select(s => new Sys_DictionaryList() + { + DicName = s.Value, + DicValue = s.Key.ToString() + }).ToList(); + } + catch (Exception ex) + { + throw ex; + } + } + + private List<Sys_Dictionary> GetAllDictionary(IEnumerable<string> dicNos) + { + //base.QueryData().ToList(); + List<Sys_Dictionary> _dictionaries = Db.Queryable<Sys_Dictionary>().Includes(x => x.DicList).Where(x => x.Enable == 1 && dicNos.Contains(x.DicNo)).ToList(); + return _dictionaries; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_LogService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_LogService.cs" new file mode 100644 index 0000000..5c329dc --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_LogService.cs" @@ -0,0 +1,19 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemServices +{ + public class Sys_LogService : ServiceBase<Sys_Log, IRepository<Sys_Log>>, ISys_LogService + { + public Sys_LogService(IRepository<Sys_Log> BaseDal) : base(BaseDal) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_MenuService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_MenuService.cs" new file mode 100644 index 0000000..23cfd42 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_MenuService.cs" @@ -0,0 +1,361 @@ +锘縰sing AutoMapper; +using SqlSugar; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_DTO.System; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemServices +{ + public class Sys_MenuService : ServiceBase<Sys_Menu, IRepository<Sys_Menu>>, ISys_MenuService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly IMapper _mapper; + + public Sys_MenuService(IRepository<Sys_Menu> BaseDal, IUnitOfWorkManage unitOfWorkManage, IMapper mapper) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + _mapper = mapper; + } + + /// <summary> + /// 鑾峰彇褰撳墠鐢ㄦ埛鎵�鏈夎彍鍗曚笌鏉冮檺 + /// </summary> + /// <returns></returns> + public object GetCurrentMenuActionList() + { + object obj = GetMenuActionList(App.User.RoleId); + if (obj is IEnumerable<object> list) + { + if (list.Any()) + { + return obj; + } + else + { + return WebResponseContent.Instance.Error("鏈幏鍙栧埌鑿滃崟淇℃伅"); + } + } + return obj; + } + + public List<MenuDTO> GetAllMenu() + { + List<Sys_Menu> menus = BaseDal.QueryData(x => x.Enable == 1 || x.Enable == 2).OrderByDescending(a => a.OrderNo).ThenByDescending(q => q.ParentId).ToList(); + List<MenuDTO> _menus = _mapper.Map<List<MenuDTO>>(menus); + _menus.ForEach(x => + { + x.MenuType ??= 0; + if (!string.IsNullOrEmpty(x.Auth) && x.Auth.Length > 10) + { + try + { + x.Actions = x.Auth.DeserializeObject<List<ActionDTO>>(); + } + catch { } + } + x.Actions ??= new List<ActionDTO>(); + }); + string test = _menus.Serialize(); + return _menus; + } + + public object GetSuperAdminMenu() + { + return GetAllMenu().Select(x => + new + { + id = x.MenuId, + name = x.MenuName, + url = x.Url, + parentId = x.ParentId, + icon = x.Icon, + x.Enable, + x.TableName, // 2022.03.26澧炵Щ鍔ㄧ鍔犺彍鍗曠被鍨� + permission = x.Actions.Select(s => s.Value).ToArray() + }).ToList(); + } + + public object GetMenuByRoleId(int roleId) + { + var menu = from a in GetPermissions(roleId) + join b in GetAllMenu() + on a.MenuId equals b.MenuId + orderby b.OrderNo descending + select new + { + id = a.MenuId, + name = b.MenuName, + url = b.Url, + parentId = b.ParentId, + icon = b.Icon, + b.Enable, + b.TableName, + permission = a.UserAuthArr + }; + return menu.ToList(); + } + + /// <summary> + /// 鑾峰彇瑙掕壊鏉冮檺鏃堕�氳繃瀹夊叏瀛楀吀閿佸畾鐨勮鑹瞚d + /// </summary> + private static ConcurrentDictionary<string, object> objKeyValue = new ConcurrentDictionary<string, object>(); + + public List<Permissions> GetPermissions(int roleId) + { + if (App.User.IsRoleIdSuperAdmin(roleId)) + { + //2020.12.27澧炲姞鑿滃崟鐣岄潰涓婁笉鏄剧ず锛屼絾鍙互鍒嗛厤鏉冮檺 + var permissions = BaseDal.QueryData(x => x.Enable == 1 || x.Enable == 2) + .Select(a => new Permissions + { + MenuId = a.MenuId, + ParentId = a.ParentId, + TableName = (a.TableName ?? "").ToLower(), + UserAuth = a.Auth, + MenuType = a.MenuType ?? 0 + }).ToList(); + return MenuActionToArray(permissions); + } + + //閿佸畾姣忎釜瑙掕壊锛岄�氳繃瀹夊叏瀛楀吀鍑忓皯閿佺矑搴︼紝鍚﹀垯澶氫釜鍚屾椂瑙掕壊鑾峰彇缂撳瓨浼氬鑷撮樆濉� + object objId = objKeyValue.GetOrAdd(roleId.ToString(), new object()); + //閿佸畾姣忎釜瑙掕壊 + lock (objId) + { + //娌℃湁redis/memory缂撳瓨瑙掕壊鐨勭増鏈彿鎴栦笌褰撳墠鏈嶅姟鍣ㄧ殑瑙掕壊鐗堟湰鍙蜂笉鍚屾椂锛屽埛鏂扮紦瀛� + + List<Permissions> _permissions = BaseDal.QueryTabs<Sys_Menu, Sys_RoleAuth, Permissions>((a, b) => new object[] { JoinType.Inner, a.MenuId == b.MenuId }, (a, b) => new Permissions { MenuId = a.MenuId, ParentId = a.ParentId, TableName = (a.TableName ?? "").ToLower(), MenuAuth = a.Auth, UserAuth = b.AuthValue ?? "", MenuType = a.MenuType ?? 0 }, (a, b) => b.RoleId == roleId, x => true); + + ActionToArray(_permissions); + + return _permissions; + } + } + + private List<Permissions> MenuActionToArray(List<Permissions> permissions) + { + permissions.ForEach(x => + { + try + { + x.UserAuthArr = string.IsNullOrEmpty(x.UserAuth) + ? new string[0] + : x.UserAuth.DeserializeObject<List<Sys_Actions>>().Select(s => s.Value).ToArray(); + } + catch { } + finally + { + if (x.UserAuthArr == null) + { + x.UserAuthArr = new string[0]; + } + } + }); + return permissions; + } + + private List<Permissions> ActionToArray(List<Permissions> permissions) + { + permissions.ForEach(x => + { + try + { + var menuAuthArr = x.MenuAuth.DeserializeObject<List<Sys_Actions>>(); + x.UserAuthArr = string.IsNullOrEmpty(x.UserAuth) + ? new string[0] + : x.UserAuth.Split(",").Where(c => menuAuthArr.Any(m => m.Value == c)).ToArray(); + + } + catch { } + finally + { + if (x.UserAuthArr == null) + { + x.UserAuthArr = new string[0]; + } + } + }); + return permissions; + } + + public object GetMenu(List<int> menuIds) + { + return BaseDal.QueryData(x => menuIds.Contains(x.MenuId)).Select(a => + new + { + id = a.MenuId, + parentId = a.ParentId, + name = a.MenuName, + a.MenuType, + a.OrderNo + }).OrderByDescending(a => a.OrderNo) + .ThenByDescending(q => q.parentId).ToList(); + } + + public object GetTreeItem(int menuId) + { + var sysMenu = BaseDal.QueryData(x => x.MenuId == menuId) + .Select( + p => new + { + p.MenuId, + p.ParentId, + p.MenuName, + p.Url, + p.Auth, + p.OrderNo, + p.Icon, + p.Enable, + // 2022.03.26澧炵Щ鍔ㄧ鍔犺彍鍗曠被鍨� + MenuType = p.MenuType ?? 0, + p.CreateDate, + p.Creater, + p.TableName, + p.ModifyDate + }).FirstOrDefault(); + return sysMenu; + } + + /// <summary> + /// 鏍规嵁瑙掕壊ID鑾峰彇鑿滃崟涓庢潈闄� + /// </summary> + /// <param name="roleId"></param> + /// <returns></returns> + public object GetMenuActionList(int roleId) + { + if (App.User.IsRoleIdSuperAdmin(roleId)) + { + return GetSuperAdminMenu(); + } + return GetMenuByRoleId(roleId); + } + + + public List<MenuDTO> GetUserMenuList(int roleId) + { + if (App.User.IsRoleIdSuperAdmin(roleId)) + { + return GetAllMenu(); + } + List<int> menuIds = GetPermissions(roleId).Select(x => x.MenuId).ToList(); + return GetAllMenu().Where(x => menuIds.Contains(x.MenuId)).ToList(); + } + + public List<ActionDTO> GetActions(int menuId, List<ActionDTO> menuActions, List<Permissions> permissions, int roleId) + { + if (App.User.IsRoleIdSuperAdmin(roleId)) + { + return menuActions; + } + + return menuActions.Where(p => permissions + .Exists(w => menuId == w.MenuId + && w.UserAuthArr.Contains(p.Value))) + .ToList(); + } + + /// <summary> + /// 缂栬緫淇敼鑿滃崟鏃�,鑾峰彇鎵�鏈夎彍鍗� + /// </summary> + /// <returns></returns> + public object GetMenu() + { + if (App.User.IsRoleIdSuperAdmin(App.User.RoleId)) + { + List<int> menuIds = BaseDal.QueryData().Select(x => x.MenuId).ToList(); + return GetMenu(menuIds); + } + else + { + List<int> menuIds = GetPermissions(App.User.RoleId).Select(x => x.MenuId).ToList(); + return GetMenu(menuIds); + } + } + + /// <summary> + /// 鏂板缓鎴栫紪杈戣彍鍗� + /// </summary> + /// <param name="menu"></param> + /// <returns></returns> + public WebResponseContent Save(Sys_Menu menu) + { + WebResponseContent webResponse = new WebResponseContent(); + if (menu == null) return webResponse.Error("娌℃湁鑾峰彇鍒版彁浜ょ殑鍙傛暟"); + if (menu.MenuId > 0 && menu.MenuId == menu.ParentId) return webResponse.Error("鐖剁骇ID涓嶈兘鏄綋鍓嶈彍鍗曠殑ID"); + try + { + //webResponse = menu.ValidationEntity(x => new { x.MenuName, x.TableName }); + //if (!webResponse.Status) return webResponse; + if (menu.TableName != "/" && menu.TableName != ".") + { + // 2022.03.26澧炵Щ鍔ㄧ鍔犺彍鍗曠被鍨嬪垽鏂� + Sys_Menu sysMenu = BaseDal.QueryFirst(x => x.TableName == menu.TableName); + if (sysMenu != null) + { + sysMenu.MenuType ??= 0; + if (sysMenu.MenuType == menu.MenuType) + { + if ((menu.MenuId > 0 && sysMenu.MenuId != menu.MenuId) + || menu.MenuId <= 0) + { + return webResponse.Error($"瑙嗗浘/琛ㄥ悕銆恵menu.TableName}銆戝凡琚叾浠栬彍鍗曚娇鐢�"); + } + } + } + } + bool _changed = false; + if (menu.MenuId <= 0) + { + int id = BaseDal.AddData(menu); + menu.MenuId = id; + } + else + { + //2020.05.07鏂板绂佹閫夋嫨涓婄骇瑙掕壊涓鸿嚜宸� + if (menu.MenuId == menu.ParentId) + { + return webResponse.Error($"鐖剁骇id涓嶈兘涓鸿嚜宸�"); + } + if (BaseDal.QueryFirst(x => x.ParentId == menu.MenuId && menu.ParentId == x.MenuId) != null) + { + return webResponse.Error($"涓嶈兘閫夋嫨姝ょ埗绾d锛岄�夋嫨鐨勭埗绾d涓庡綋鍓嶈彍鍗曞舰鎴愪緷璧栧叧绯�"); + } + + _changed = BaseDal.QueryData(c => c.MenuId == menu.MenuId).Select(s => s.Auth).FirstOrDefault() != menu.Auth; + + BaseDal.UpdateData(menu); + } + webResponse.OK("淇濆瓨鎴愬姛", menu); + } + catch (Exception ex) + { + webResponse.Error(ex.Message); + } + return webResponse; + + } + + public WebResponseContent DelMenu(int menuId) + { + WebResponseContent webResponse = new WebResponseContent(); + if(BaseDal.QueryFirst(x=>x.ParentId == menuId) != null) + { + return webResponse = WebResponseContent.Instance.Error("褰撳墠鑿滃崟瀛樺湪瀛愯彍鍗�,璇峰厛鍒犻櫎瀛愯彍鍗�!"); + } + BaseDal.DeleteDataById(menuId); + + return webResponse = WebResponseContent.Instance.OK("鍒犻櫎鎴愬姛"); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_RoleAuthService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_RoleAuthService.cs" new file mode 100644 index 0000000..e51c1d2 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_RoleAuthService.cs" @@ -0,0 +1,19 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemServices +{ + public class Sys_RoleAuthService : ServiceBase<Sys_RoleAuth, IRepository<Sys_RoleAuth>>, ISys_RoleAuthService + { + public Sys_RoleAuthService(IRepository<Sys_RoleAuth> BaseDal) : base(BaseDal) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_RoleService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_RoleService.cs" new file mode 100644 index 0000000..def2375 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_RoleService.cs" @@ -0,0 +1,209 @@ +锘縰sing Microsoft.AspNetCore.DataProtection.KeyManagement; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_DTO.System; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Core.HttpContextUser; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; +using WIDESEAWCS_Model.Models.System; + +namespace WIDESEAWCS_SystemServices.System +{ + public class Sys_RoleService : ServiceBase<Sys_Role, IRepository<Sys_Role>>, ISys_RoleService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly ISys_MenuService _MenuService; + private readonly IRepository<Sys_RoleAuth> _RoleAuthRepository; + public Sys_RoleService(IRepository<Sys_Role> BaseDal, ISys_MenuService MenuService, IRepository<Sys_RoleAuth> roleAuthRepository, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + _MenuService = MenuService; + _RoleAuthRepository = roleAuthRepository; + } + + public List<RoleNodes> GetAllChildren(int roleId) + { + if (roleId <= 0) return new List<RoleNodes>() { }; + var roles = GetAllRoleId(); + if (App.User.IsRoleIdSuperAdmin(roleId)) return roles; + + var list = GetChildren(roles, roleId); + return list; + } + + public List<RoleNodes> GetAllRoleId() + { + List<RoleNodes> roles = BaseDal.QueryData().Select(s => new RoleNodes() { Id = s.RoleId, ParentId = s.ParentId, RoleName = s.RoleName }).ToList(); + + return roles; + } + + /// <summary> + /// 鑾峰彇鎵�鏈夊瓙鑺傜偣 + /// </summary> + /// <param name="roleId"></param> + private List<RoleNodes> GetChildren(List<RoleNodes> roles, int roleId) + { + List<RoleNodes> rolesChildren = roles.Where(x => x.Id == roleId).Distinct().ToList(); + + for (int i = 0; i < rolesChildren.Count; i++) + { + RoleNodes node = rolesChildren[i]; + var children = roles.Where(x => x.ParentId == node.Id && !rolesChildren.Any(c => c.Id == x.Id)).Distinct().ToList(); + rolesChildren.AddRange(children); + } + return rolesChildren; + } + + /// <summary> + /// 缂栬緫鏉冮檺鏃惰幏鍙栧綋鍓嶇敤鎴蜂笅鐨勬墍鏈夎鑹蹭笌褰撳墠鐢ㄦ埛鐨勮彍鍗曟潈闄� + /// </summary> + /// <returns></returns> + public WebResponseContent GetCurrentTreePermission() + { + WebResponseContent content = GetCurrentUserTreePermission(); + int roleId = App.User.RoleId; + return WebResponseContent.Instance.OK(null, new + { + tree = content.Data, + roles = GetAllChildren(roleId) + }); + } + + /// <summary> + /// 缂栬緫鏉冮檺鏃讹紝鑾峰彇褰撳墠鐢ㄦ埛鐨勬墍鏈夎彍鍗曟潈闄� + /// </summary> + /// <returns></returns> + public WebResponseContent GetCurrentUserTreePermission() + { + return GetUserTreePermission(App.User.RoleId); + } + + /// <summary> + /// 缂栬緫鏉冮檺鏃讹紝鑾峰彇鎸囧畾瑙掕壊鐨勬墍鏈夎彍鍗曟潈闄� + /// </summary> + /// <param name="roleId"></param> + /// <returns></returns> + public WebResponseContent GetUserTreePermission(int roleId) + { + if (!App.User.IsRoleIdSuperAdmin(roleId) && App.User.RoleId != roleId) + { + if (!(GetAllChildren(App.User.RoleId)).Exists(x => x.Id == roleId)) + { + return WebResponseContent.Instance.Error("娌℃湁鏉冮檺鑾峰彇姝よ鑹茬殑鏉冮檺淇℃伅"); + } + } + //鑾峰彇鐢ㄦ埛鏉冮檺 + List<Permissions> permissions = _MenuService.GetPermissions(roleId); + //鏉冮檺鐢ㄦ埛鏉冮檺鏌ヨ鎵�鏈夌殑鑿滃崟淇℃伅 + List<MenuDTO> menus = _MenuService.GetUserMenuList(roleId); + //鑾峰彇褰撳墠鐢ㄦ埛鏉冮檺濡�:(Add,Search)瀵瑰簲鐨勬樉绀烘枃鏈俊鎭:Add锛氭坊鍔狅紝Search:鏌ヨ + var data = menus.Select(x => new + { + Id = x.MenuId, + Pid = x.ParentId, + Text = x.MenuName, + IsApp = x.MenuType == 1, + Actions = _MenuService.GetActions(x.MenuId, x.Actions, permissions, roleId) + }); + return WebResponseContent.Instance.OK(null, data); + } + + /// <summary> + /// 淇濆瓨瑙掕壊鏉冮檺 + /// </summary> + /// <param name="userPermissions"></param> + /// <param name="roleId"></param> + /// <returns></returns> + public WebResponseContent SavePermission(List<UserPermissionDTO> userPermissions, int roleId) + { + WebResponseContent content = new WebResponseContent(); + string message = ""; + try + { + if (!GetAllChildren(App.User.RoleId).Exists(x => x.Id == roleId)) + return WebResponseContent.Instance.Error("娌℃湁鏉冮檺淇敼姝よ鑹茬殑鏉冮檺淇℃伅"); + //褰撳墠鐢ㄦ埛鐨勬潈闄� + List<Permissions> permissions = _MenuService.GetPermissions(App.User.RoleId); + + List<int> originalMeunIds = new List<int>(); + //琚垎閰嶈鑹茬殑鏉冮檺 + List<Sys_RoleAuth> roleAuths = _RoleAuthRepository.QueryData(x => x.RoleId == roleId); + List<Sys_RoleAuth> updateAuths = new List<Sys_RoleAuth>(); + foreach (UserPermissionDTO x in userPermissions) + { + Permissions per = permissions.FirstOrDefault(p => p.MenuId == x.Id); + //涓嶈兘鍒嗛厤瓒呰繃褰撳墠鐢ㄦ埛鐨勬潈闄� + if (per == null) continue; + //per.UserAuthArr.Contains(a.Value)鏍¢獙鏉冮檺鑼冨洿 + string[] arr = x.Actions == null || x.Actions.Count == 0 + ? new string[0] + : x.Actions.Where(a => per.UserAuthArr.Contains(a.Value)) + .Select(s => s.Value).ToArray(); + + //濡傛灉褰撳墠鏉冮檺娌℃湁鍒嗛厤杩囷紝璁剧疆Auth_Id榛樿涓�0锛岃〃绀烘柊澧炵殑鏉冮檺 + var auth = roleAuths.Where(r => r.MenuId == x.Id).Select(s => new { s.AuthId, s.AuthValue, s.MenuId }).FirstOrDefault(); + string newAuthValue = string.Join(",", arr); + //鏉冮檺娌℃湁鍙戠敓鍙樺寲鍒欎笉澶勭悊 + if (auth == null || auth.AuthValue != newAuthValue) + { + updateAuths.Add(new Sys_RoleAuth() + { + RoleId = roleId, + MenuId = x.Id, + AuthValue = string.Join(",", arr), + AuthId = auth == null ? 0 : auth.AuthId, + ModifyDate = DateTime.Now, + Modifier = App.User.UserName, + CreateDate = DateTime.Now, + Creater = App.User.UserName + }); + } + else + { + originalMeunIds.Add(auth.MenuId); + } + + } + //鏇存柊鏉冮檺 + _RoleAuthRepository.UpdateData(updateAuths); + //鏂板鐨勬潈闄� + _RoleAuthRepository.AddData(updateAuths); + + //鑾峰彇鏉冮檺鍙栨秷鐨勬潈闄� + int[] authIds = roleAuths.Where(x => userPermissions.Select(u => u.Id) + .ToList().Contains(x.MenuId) || originalMeunIds.Contains(x.MenuId)) + .Select(s => s.AuthId) + .ToArray(); + List<Sys_RoleAuth> delAuths = roleAuths.Where(x => x.AuthValue != "" && !authIds.Contains(x.AuthId)).ToList(); + delAuths.ForEach(x => + { + x.AuthValue = ""; + }); + //灏嗗彇娑堢殑鏉冮檺璁剧疆涓�"" + _RoleAuthRepository.DeleteData(delAuths); + + int addCount = updateAuths.Where(x => x.AuthId <= 0).Count(); + int updateCount = updateAuths.Where(x => x.AuthId > 0).Count(); + + string _version = DateTime.Now.ToString("yyyyMMddHHMMssfff"); + + + content.OK($"淇濆瓨鎴愬姛锛氭柊澧炲姞閰嶈彍鍗曟潈闄恵addCount}鏉�,鏇存柊鑿滃崟{updateCount}鏉�,鍒犻櫎鏉冮檺{delAuths.Count}鏉�"); + } + catch (Exception ex) + { + message = "寮傚父淇℃伅锛�" + ex.Message + ex.StackTrace + ","; + } + + return content; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_TenantService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_TenantService.cs" new file mode 100644 index 0000000..661b23b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_TenantService.cs" @@ -0,0 +1,79 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.AOP; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Core.Const; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_Core.Seed; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_SystemServices +{ + public class Sys_TenantService : ServiceBase<Sys_Tenant, IRepository<Sys_Tenant>>, ISys_TenantService + { + private IUnitOfWorkManage _unitOfWorkManage; + public Sys_TenantService(IRepository<Sys_Tenant> BaseDal, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + } + + public WebResponseContent InitTenantInfo(string tenantName, int tenantType) + { + WebResponseContent content = new WebResponseContent(); + try + { + Sys_Tenant tenant = new Sys_Tenant() + { + ConnectionString = TenantConst.DBConStr, + DbType = 1, + Status = 1, + TenantName = tenantName, + TenantType = tenantType, + CreateDate = DateTime.Now, + Creater = "1111" + }; + + int tenantId = BaseDal.Db.Insertable(tenant).ExecuteReturnIdentity(); + + tenant = BaseDal.QueryFirst(x => x.TenantId == tenantId); + + tenant.ConnectionString = string.Format(TenantConst.DBConStr, ".", "Tenant_WMSDB_" + tenantId, "sa", "P@ssw0rd").EncryptDES(AppSecret.DB); + + BaseDal.UpdateData(tenant); + + InitTenantDb(tenant); + content = WebResponseContent.Instance.OK(); + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; + } + + public void InitTenantDb(Sys_Tenant tenant) + { + string conStr = tenant.ConnectionString.DecryptDES(AppSecret.DB); + + ConnectionConfig connectionConfig = new ConnectionConfig() + { + ConfigId = tenant.TenantId, + ConnectionString = conStr, + DbType = (DbType)tenant.DbType, + IsAutoCloseConnection = true, + AopEvents = new AopEvents() + { + DataExecuting = SqlSugarAop.DataExecuting + } + }; + DBSeed.InitTenantSeedAsync(Db.AsTenant(), connectionConfig); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs" new file mode 100644 index 0000000..90c301f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/Sys_UserService.cs" @@ -0,0 +1,186 @@ +锘縰sing WIDESEAWCS_Core.Authorization; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Core.Const; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_Core.HttpContextUser; +using WIDESEAWCS_ISystemServices; +using WIDESEAWCS_Model; +using WIDESEAWCS_Model.Models; +using WIDESEAWCS_Core.BaseRepository; +using System.Net; +using WIDESEAWCS_Core.Caches; + +namespace WIDESEAWCS_SystemServices +{ + public class Sys_UserService : ServiceBase<Sys_User, IRepository<Sys_User>>, ISys_UserService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly ICacheService _cacheService; + private readonly ISys_MenuService _menuService; + public Sys_UserService(IRepository<Sys_User> repository, IUnitOfWorkManage unitOfWorkManage, ICacheService cacheService, ISys_MenuService menuService) : base(repository) + { + _unitOfWorkManage = unitOfWorkManage; + _cacheService = cacheService; + _menuService = menuService; + } + + public WebResponseContent Login(LoginInfo loginInfo) + { + WebResponseContent content = new WebResponseContent(); + try + { + //BaseDal.QueryFirst(x => x.UserName == loginInfo.UserName); + + string msg = string.Empty; + + #region 涓存椂浣跨敤 + try + { + loginInfo.Password = loginInfo.Password.EncryptDES(AppSecret.User); + } + catch + { + + } + #endregion + + UserInfo user = BaseDal.QueryFirst(x => x.UserName == loginInfo.UserName && x.UserPwd == loginInfo.Password, x => new UserInfo { HeadImageUrl = x.HeadImageUrl, RoleId = x.Role_Id, TenantId = x.TenantId, UserId = x.User_Id, UserName = x.UserName, UserTrueName = x.UserTrueName }); + if (user != null) + { + object obj = _menuService.GetMenuActionList(user.RoleId); + if (obj is not IEnumerable<object> list) + { + return WebResponseContent.Instance.Error("鏃犵櫥褰曟潈闄�"); + } + if (!list.Any()) + { + return WebResponseContent.Instance.Error("鏃犵櫥褰曟潈闄�"); + } + + string token = JwtHelper.IssueJwt(new TokenModelJwt() + { + UserId = user.UserId, + RoleId = user.RoleId, + UserName = user.UserName, + TenantId = user.TenantId, + }); + + _cacheService.AddOrUpdate(user.UserId.ToString(), token); + + content = WebResponseContent.Instance.OK(data: new { token, userName = user.UserTrueName, img = user.HeadImageUrl }); + } + else + { + content = WebResponseContent.Instance.Error("璐﹀彿鎴栧瘑鐮侀敊璇�"); + } + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + + return content; + } + + public override WebResponseContent UpdateData(SaveModel saveModel) + { + UpdateIgnoreColOnExecute = x => + { + return new List<string> + { + nameof(Sys_User.UserPwd), + nameof(Sys_User.TenantId) + }; + }; + return base.UpdateData(saveModel); + } + + public override WebResponseContent AddData(SaveModel saveModel) + { + string pwd = "123456"; + string uesrName = saveModel.MainData[nameof(Sys_User.UserName).FirstLetterToLower()].ToString(); + saveModel.MainData[nameof(Sys_User.UserPwd).FirstLetterToLower()] = pwd.EncryptDES(AppSecret.User); + + WebResponseContent content = base.AddData(saveModel); + if (content.Status) + { + return WebResponseContent.Instance.OK($"鐢ㄦ埛鏂板缓鎴愬姛.甯愬彿{uesrName}瀵嗙爜{pwd}"); + } + else + { + return content; + } + } + + /// <summary> + /// 涓汉涓績鑾峰彇褰撳墠鐢ㄦ埛淇℃伅 + /// </summary> + /// <returns></returns> + public WebResponseContent GetCurrentUserInfo() + { + var data = BaseDal.QueryFirst(x => x.User_Id == App.User.UserId, s => new + { + s.UserName, + s.UserTrueName, + //s.Address, + //s.PhoneNo, + //s.Email, + s.Remark, + //s.Gender, + s.RoleName, + s.HeadImageUrl, + s.CreateDate + }); + return WebResponseContent.Instance.OK(null, data); + } + + /// <summary> + /// 淇敼瀵嗙爜 + /// </summary> + /// <param name="parameters"></param> + /// <returns></returns> + public WebResponseContent ModifyPwd(string oldPwd, string newPwd) + { + WebResponseContent content = WebResponseContent.Instance; + oldPwd = oldPwd?.Trim(); + newPwd = newPwd?.Trim(); + string message = ""; + try + { + if (string.IsNullOrEmpty(oldPwd)) return WebResponseContent.Instance.Error("鏃у瘑鐮佷笉鑳戒负绌�"); + if (string.IsNullOrEmpty(newPwd)) return WebResponseContent.Instance.Error("鏂板瘑鐮佷笉鑳戒负绌�"); + if (newPwd.Length < 6) return WebResponseContent.Instance.Error("瀵嗙爜涓嶈兘灏戜簬6浣�"); + + int userId = App.User.UserId; + string userCurrentPwd = BaseDal.QueryFirst(x => x.User_Id == userId, s => s.UserPwd); + + string _oldPwd = oldPwd.EncryptDES(AppSecret.User); + if (_oldPwd != userCurrentPwd) return WebResponseContent.Instance.Error("鏃у瘑鐮佷笉姝g‘"); + + string _newPwd = newPwd.EncryptDES(AppSecret.User); + if (userCurrentPwd == _newPwd) return WebResponseContent.Instance.Error("鏂板瘑鐮佷笉鑳戒笌鏃у瘑鐮佺浉鍚�"); + + + BaseDal.UpdateData(new Sys_User + { + User_Id = userId, + UserPwd = _newPwd, + LastModifyPwdDate = DateTime.Now + }, new List<string> + { + nameof(Sys_User.LastModifyPwdDate), + nameof(Sys_User.UserPwd) + }); + + content = WebResponseContent.Instance.OK("瀵嗙爜淇敼鎴愬姛"); + } + catch (Exception ex) + { + message = ex.Message; + content = WebResponseContent.Instance.Error("鏈嶅姟鍣ㄤ簡鐐归棶棰�,璇风◢鍚庡啀璇�"); + } + return content; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/WIDESEAWCS_SystemServices.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/WIDESEAWCS_SystemServices.csproj" new file mode 100644 index 0000000..dd102f5 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/WIDESEAWCS_SystemServices.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_ISystemServices\WIDESEAWCS_ISystemServices.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoRepository/TaskExecuteDetailRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoRepository/TaskExecuteDetailRepository.cs" new file mode 100644 index 0000000..0a5340e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoRepository/TaskExecuteDetailRepository.cs" @@ -0,0 +1,35 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_TaskInfoRepository + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_ITaskInfoRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_TaskInfoRepository +{ + public class TaskExecuteDetailRepository : RepositoryBase<Dt_TaskExecuteDetail>, ITaskExecuteDetailRepository + { + public TaskExecuteDetailRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoRepository/TaskRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoRepository/TaskRepository.cs" new file mode 100644 index 0000000..a5df773 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoRepository/TaskRepository.cs" @@ -0,0 +1,35 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_TaskInfoRepository + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_ITaskInfoRepository; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_TaskInfoRepository +{ + public class TaskRepository : RepositoryBase<Dt_Task>, ITaskRepository + { + public TaskRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoRepository/WIDESEAWCS_TaskInfoRepository.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoRepository/WIDESEAWCS_TaskInfoRepository.csproj" new file mode 100644 index 0000000..386fda8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoRepository/WIDESEAWCS_TaskInfoRepository.csproj" @@ -0,0 +1,14 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_ITaskInfoRepository\WIDESEAWCS_ITaskInfoRepository.csproj" /> + <ProjectReference Include="..\WIDESEAWCS_Model\WIDESEAWCS_Model.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskExecuteDetailService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskExecuteDetailService.cs" new file mode 100644 index 0000000..927a272 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskExecuteDetailService.cs" @@ -0,0 +1,250 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_TaskInfoService + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Common.TaskEnum; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Core.Enums; +using WIDESEAWCS_ITaskInfoService; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_TaskInfoService +{ + public class TaskExecuteDetailService : ServiceBase<Dt_TaskExecuteDetail, IRepository<Dt_TaskExecuteDetail>>, ITaskExecuteDetailService + { + private readonly IRepository<Dt_Task> _taskRepository; + + public TaskExecuteDetailService(IRepository<Dt_TaskExecuteDetail> BaseDal, IRepository<Dt_Task> taskRepository) : base(BaseDal) + { + _taskRepository = taskRepository; + } + + public void AddTaskExecuteDetail(int taskId, string description = "") + { + // 灏濊瘯鎵ц娣诲姞浠诲姟鎵ц璇︽儏鐨勬柟娉� + try + { + // 鍒濆鍖栨槸鍚︽甯镐负true + bool isNormal = true; + // 鏍规嵁浠诲姟id鏌ヨ浠诲姟 + Dt_Task task = _taskRepository.QueryFirst(x => x.TaskId == taskId); + // 濡傛灉浠诲姟涓虹┖锛屽垯杩斿洖 + if (task == null) return; + // 鑾峰彇浠诲姟鏁伴噺 + int taskNum = task.TaskNum; + // 鑾峰彇浠诲姟鐘舵�� + int taskState = task.TaskState; + + // 灏濊瘯灏嗕换鍔$姸鎬佽浆鎹负TaskOutStatusEnum鏋氫妇绫诲瀷 + if (!int.TryParse(Enum.Parse<TaskOutStatusEnum>(taskState.ToString()).ToString(), out int result)) + { + // 濡傛灉杞崲澶辫触锛屽垯灏嗕换鍔$姸鎬佽浆鎹负TaskInStatusEnum鏋氫妇绫诲瀷 + if (!int.TryParse(Enum.Parse<TaskInStatusEnum>(taskState.ToString()).ToString(), out result)) + { + // 濡傛灉杞崲澶辫触锛屽垯灏唅sNormal璁剧疆涓篺alse + isNormal = false; + } + } + // 濡傛灉杞崲鎴愬姛锛屽垯鍒ゆ柇浠诲姟鐘舵�佹槸鍚﹀ぇ浜嶰utFinish + else if ((int)(TaskOutStatusEnum)result > (int)TaskOutStatusEnum.OutFinish) + { + // 濡傛灉澶т簬锛屽垯灏唅sNormal璁剧疆涓篺alse + isNormal = false; + } + // 鍒涘缓浠诲姟鎵ц璇︽儏瀵硅薄 + Dt_TaskExecuteDetail taskExecuteDetail = new() + { + // 璁剧疆鏄惁鎵嬪姩鎵ц + IsManual = App.User.UserId > 0, + // 璁剧疆鏄惁姝e父 + IsNormal = isNormal, + // 璁剧疆浠诲姟鏁伴噺 + TaskNum = taskNum, + // 璁剧疆浠诲姟id + TaskId = taskId, + // 璁剧疆浠诲姟鐘舵�� + TaskState = taskState, + // 璁剧疆鎻忚堪 + Description = description, + // 璁剧疆褰撳墠鍦板潃 + CurrentAddress = task.CurrentAddress, + // 璁剧疆涓嬩竴涓湴鍧� + NextAddress = task.NextAddress, + }; + // 娣诲姞浠诲姟鎵ц璇︽儏 + BaseDal.AddData(taskExecuteDetail); + } + catch (Exception ex) + { + + } + } + + public void AddTaskExecuteDetail(List<int> taskNums, string description = "") + { + try + { + List<Dt_TaskExecuteDetail> taskExecuteDetails = new List<Dt_TaskExecuteDetail>(); + foreach (var item in taskNums) + { + bool isNormal = true; + Dt_Task task = _taskRepository.QueryFirst(x => x.TaskNum == item); + if (task == null) return; + int taskNum = task.TaskNum; + int taskState = task.TaskState; + + if (!int.TryParse(Enum.Parse<TaskOutStatusEnum>(taskState.ToString()).ToString(), out int result)) + { + if ((int)(TaskOutStatusEnum)result > (int)TaskOutStatusEnum.OutFinish) + isNormal = false; + } + else if (!int.TryParse(Enum.Parse<TaskInStatusEnum>(taskState.ToString()).ToString(), out result)) + { + if ((int)(TaskInStatusEnum)result > (int)TaskInStatusEnum.InFinish) + isNormal = false; + } + Dt_TaskExecuteDetail taskExecuteDetail = new() + { + IsManual = App.User.UserId > 0, + IsNormal = isNormal, + TaskNum = taskNum, + TaskId = task.TaskId, + TaskState = taskState, + Description = description, + CurrentAddress = task.CurrentAddress, + NextAddress = task.NextAddress, + }; + taskExecuteDetails.Add(taskExecuteDetail); + } + + BaseDal.AddData(taskExecuteDetails); + } + catch (Exception ex) + { + + } + } + + public WebResponseContent GetDetailInfo(int taskNum) + { + WebResponseContent content = new(); + try + { + int active = -1; + List<object> list = new(); + List<int> steps = new(); + Dt_Task task = _taskRepository.QueryFirst(x => x.TaskNum == taskNum); + if (task != null) + { + + if (!int.TryParse(Enum.Parse<TaskOutboundTypeEnum>(task.TaskType.ToString()).ToString(), out int result)) + { + steps = Enum.GetValues(typeof(TaskOutStatusEnum)).Cast<int>().Where(x => x <= (int)TaskOutStatusEnum.OutFinish).ToList(); + + foreach (var item in steps) + { + object obj; + FieldInfo? fieldInfo = typeof(TaskOutStatusEnum).GetField(((TaskOutStatusEnum)item).ToString()); + DescriptionAttribute? descriptionAttribute = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); + if (descriptionAttribute != null) + { + obj = new { title = item, description = descriptionAttribute.Description }; + } + else + { + obj = new { title = item, description = ((TaskOutStatusEnum)item).ToString() }; + } + list.Add(obj); + } + } + else if (!int.TryParse(Enum.Parse<TaskInboundTypeEnum>(task.TaskType.ToString()).ToString(), out result)) + { + steps = Enum.GetValues(typeof(TaskInStatusEnum)).Cast<int>().Where(x => x <= (int)TaskInStatusEnum.InFinish).ToList(); + foreach (var item in steps) + { + object obj; + FieldInfo? fieldInfo = typeof(TaskInStatusEnum).GetField(((TaskInStatusEnum)item).ToString()); + DescriptionAttribute? descriptionAttribute = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); + if (descriptionAttribute != null) + { + obj = new { title = item, description = descriptionAttribute.Description }; + } + else + { + obj = new { title = item, description = ((TaskInStatusEnum)item).ToString() }; + } + list.Add(obj); + } + } + else if (!int.TryParse(Enum.Parse<TaskRelocationTypeEnum>(task.TaskType.ToString()).ToString(), out result)) + { + //todo 璋冪敤WMS绉诲簱瀹屾垚 + } + else if (!int.TryParse(Enum.Parse<TaskOtherTypeEnum>(task.TaskType.ToString()).ToString(), out result)) + { + + } + else + { + throw new Exception($"浠诲姟绫诲瀷閿欒,鏈壘鍒拌浠诲姟绫诲瀷,浠诲姟鍙�:銆恵taskNum}銆�,浠诲姟绫诲瀷:銆恵task.TaskType}銆�"); + } + active = steps.IndexOf(task.TaskState) + 1; + + } + + content = WebResponseContent.Instance.OK(data: new { active, list }); + } + catch (Exception ex) + { + + } + return content; + } + + public WebResponseContent GetDetailDatas(int taskNum) + { + WebResponseContent content = new(); + try + { + Dt_Task task = _taskRepository.QueryFirst(x => x.TaskNum == taskNum); + if (task != null) + { + List<Dt_TaskExecuteDetail> taskExecuteDetails = BaseDal.QueryData(x => x.TaskId == task.TaskId, new Dictionary<string, SqlSugar.OrderByType> { { nameof(Dt_TaskExecuteDetail.TaskDetailId), SqlSugar.OrderByType.Asc } }); + + content = WebResponseContent.Instance.OK(data: taskExecuteDetails); + } + else + { + content = WebResponseContent.Instance.Error($"鏈壘鍒拌浠诲姟淇℃伅,浠诲姟鍙�:銆恵taskNum}銆�"); + } + } + catch (Exception ex) + { + + } + return content; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs" new file mode 100644 index 0000000..a6733d4 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs" @@ -0,0 +1,681 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_TaskInfoService + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using AutoMapper; +using Newtonsoft.Json; +using OfficeOpenXml.FormulaParsing.Excel.Functions.RefAndLookup; +using SqlSugar; +using System.Diagnostics.CodeAnalysis; +using WIDESEAWCS_Common.TaskEnum; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Core.Enums; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_DTO.TaskInfo; +using WIDESEAWCS_DTO.WMSInfo; +using WIDESEAWCS_ITaskInfoService; +using WIDESEAWCS_Model.Models; +using WIDESEAWCS_QuartzJob.Models; +using WIDESEAWCS_QuartzJob.Service; + +namespace WIDESEAWCS_TaskInfoService +{ + public partial class TaskService : ServiceBase<Dt_Task, IRepository<Dt_Task>>, ITaskService + { + private readonly IRouterService _routerService; + private readonly ITaskExecuteDetailService _taskExecuteDetailService; + private readonly IRepository<Dt_TaskExecuteDetail> _taskExecuteDetailRepository; + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly IRepository<Dt_Router> _routerRepository; + private readonly IRepository<Dt_StationManger> _stationMangerRepository; + private readonly IMapper _mapper; + + private Dictionary<string, OrderByType> _taskOrderBy = new() + { + {nameof(Dt_Task.Grade),OrderByType.Desc }, + {nameof(Dt_Task.CreateDate),OrderByType.Asc}, + }; + + public Dictionary<string, OrderByType> TaskOrderBy { get { return _taskOrderBy; } set { _taskOrderBy = value; } } + + public List<int> TaskInboundTypes => typeof(TaskInboundTypeEnum).GetEnumIndexList(); + + public List<int> TaskOutboundTypes => typeof(TaskOutboundTypeEnum).GetEnumIndexList(); + + /// <summary> + /// 浠撳偍灞�(鏁版嵁搴撹闂�) + /// </summary> + public IRepository<Dt_Task> Repository => BaseDal; + + public TaskService(IRepository<Dt_Task> BaseDal, IRouterService routerService, IUnitOfWorkManage unitOfWorkManage, ITaskExecuteDetailService taskExecuteDetailService, IRepository<Dt_TaskExecuteDetail> taskExecuteDetailRepository, IMapper mapper, IRepository<Dt_Router> routerRepository, IRepository<Dt_StationManger> stationMangerRepository) : base(BaseDal) + { + _routerService = routerService; + _taskExecuteDetailService = taskExecuteDetailService; + _taskExecuteDetailRepository = taskExecuteDetailRepository; + _unitOfWorkManage = unitOfWorkManage; + _mapper = mapper; + _routerRepository = routerRepository; + _stationMangerRepository = stationMangerRepository; + } + + /// <summary> + /// 鎺ユ敹WMS浠诲姟淇℃伅 + /// </summary> + /// <param name="taskDTOs">WMS浠诲姟瀵硅薄闆嗗悎</param> + /// <returns>杩斿洖澶勭悊缁撴灉</returns> + public WebResponseContent ReceiveWMSTask([NotNull] List<WMSTaskDTO> taskDTOs) + { + WebResponseContent content = new WebResponseContent(); + try + { + bool flag = false; + List<Dt_Task> tasks = new List<Dt_Task>(); + List<Dt_Task> tasksOld = BaseDal.QueryData(); + List<Dt_Router> routersAll = _routerRepository.QueryData(); + List<Dt_StationManger> stationMangers = _stationMangerRepository.QueryData(); + foreach (var item in taskDTOs) + { + if (tasksOld.FirstOrDefault(x => x.TaskNum == item.TaskNum || x.PalletCode == item.PalletCode) != null) + { + flag = true; + continue; + } + Dt_Task task = _mapper.Map<Dt_Task>(item); + + + Dt_Router? router; + + TaskTypeGroup taskTypeGroup = item.TaskType.GetTaskTypeGroup(); + Dt_StationManger? stationManger; + if (taskTypeGroup == TaskTypeGroup.InboundGroup) + { + task.Creater = "WMS"; + task.TaskState = (int)TaskInStatusEnum.InNew; + stationManger = stationMangers.FirstOrDefault(x => x.StationCode == item.NextAddress || x.StationDeviceCode == item.SourceAddress); + task.DeviceCode = stationManger.StationDeviceCode; + } + else + { + stationManger = stationMangers.FirstOrDefault(x => x.StationCode == item.NextAddress || x.StationDeviceCode == item.NextAddress); + task.DeviceCode = stationManger.StationDeviceCode; + List<Dt_Router> routers = routersAll.Where(x => x.InOutType == RouterInOutType.Out && (item.NextAddress == x.StartPosi || item.RoadWay == x.StartPosi /*|| item.RoadWay == x.ChildPosiDeviceCode || item.RoadWay == x.ChildPosi*/)).ToList(); + router = routers.FirstOrDefault(); + if (router == null) + { + return WebResponseContent.Instance.Error($"鏈壘鍒拌矾鐢遍厤缃俊鎭�"); + } + //task.NextAddress = stationManger.StackerCraneStationCode; + task.TargetAddress = router.NextPosi; + //鍑哄簱 + } + tasks.Add(task); + } + BaseDal.AddData(tasks); + + _taskExecuteDetailService.AddTaskExecuteDetail(tasks.Select(x => x.TaskNum).ToList(), "鎺ユ敹WMS浠诲姟"); + + content = (flag || tasks.Count > 0) ? WebResponseContent.Instance.OK("鎴愬姛") : WebResponseContent.Instance.Error("澶辫触"); + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error($"浠诲姟鎺ユ敹閿欒,閿欒淇℃伅:{ex.Message}"); + } + return content; + } + + public WebResponseContent TaskCompleted(int taskNum) + { + try + { + string address = AppSettings.Get("WMSApiAddress"); + if (string.IsNullOrEmpty(address)) + { + return WebResponseContent.Instance.Error($"鏈壘鍒癢MSApi鍦板潃"); + } + Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); + if (task != null) + { + task.TaskState = TaskStatusEnum.Finish.ObjToInt(); + BaseDal.DeleteAndMoveIntoHty(task, App.User?.UserId == 0 ? OperateTypeEnum.鑷姩瀹屾垚 : OperateTypeEnum.浜哄伐瀹屾垚); + } + string? url = address; + if (string.IsNullOrEmpty(url)) + { + _taskExecuteDetailService.AddTaskExecuteDetail(taskNum, $"鏈壘鍒癢MS浠诲姟瀹屾垚鎺ュ彛,璇锋鏌ユ帴鍙i厤缃�"); + UpdateTaskExceptionMessage(taskNum, $"鏈壘鍒癢MS浠诲姟瀹屾垚鎺ュ彛,璇锋鏌ユ帴鍙i厤缃�"); + return WebResponseContent.Instance.Error($"{taskNum},鏈壘鍒癢MS浠诲姟瀹屾垚鎺ュ彛,璇锋鏌ユ帴鍙i厤缃�"); + } + string responseStr = HttpHelper.Get(url + "?taskNum=" + taskNum); + WebResponseContent content = JsonConvert.DeserializeObject<WebResponseContent>(responseStr) ?? WebResponseContent.Instance.Error($"{taskNum},鏈帴鏀跺埌浠诲姟瀹屾垚杩斿洖鍊�"); + return content; + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + + /// <summary> + /// 鏍规嵁鎵樼洏鍙枫�佽捣濮嬪湴鍧�鍚慦MS璇锋眰浠诲姟 + /// </summary> + /// <param name="palletCode">鎵樼洏鍙�</param> + /// <param name="sourceAddress">璧峰鍦板潃</param> + /// <returns></returns> + public WebResponseContent RequestWMSTask(string palletCode, string sourceAddress) + { + WebResponseContent content = new WebResponseContent(); + try + { + WMSTaskDTO taskDTO = new WMSTaskDTO() + { + TaskNum = Convert.ToInt32(DateTime.Now.ToString("HHmmss")), + Grade = 1, + PalletCode = palletCode, + RoadWay = "SC01", + SourceAddress = sourceAddress, + TargetAddress = "SC01", + //TaskState = (int)TaskInStatusEnum.InNew, + Id = 0, + TaskType = (int)TaskInboundTypeEnum.Inbound + }; + + content = ReceiveWMSTask(new List<WMSTaskDTO> { taskDTO }); + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; + } + + /// <summary> + /// 鏍规嵁璁惧缂栧彿銆佸綋鍓嶅湴鍧�鏌ヨ杈撻�佺嚎鏈墽琛岀殑浠诲姟 + /// </summary> + /// <param name="deviceNo">璁惧缂栧彿</param> + /// <param name="currentAddress">褰撳墠鍦板潃</param> + /// <returns></returns> + public Dt_Task QueryConveyorLineTask(string deviceNo, string currentAddress) + { + return BaseDal.QueryFirst(x => (TaskInboundTypes.Contains(x.TaskType) && x.TaskState == (int)TaskInStatusEnum.InNew || TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == (int)TaskOutStatusEnum.SC_OutFinish) && x.CurrentAddress == currentAddress, TaskOrderBy); + } + + /// <summary> + /// 鏍规嵁浠诲姟鍙枫�佷笅涓�鍦板潃鏌ヨ杈撻�佺嚎鎵ц涓殑浠诲姟 + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <param name="nextAddress">涓嬩竴鍦板潃</param> + /// <returns></returns> + public Dt_Task QueryExecutingConveyorLineTask(int taskNum, string nextAddress) + { + return BaseDal.QueryFirst(x => x.TaskNum == taskNum && x.NextAddress == nextAddress && (x.TaskState == (int)TaskInStatusEnum.Line_InExecuting || x.TaskState == (int)TaskOutStatusEnum.Line_OutExecuting), TaskOrderBy); + } + + /// <summary> + /// 鏍规嵁浠诲姟鍙枫�佸綋鍓嶅湴鍧�鏌ヨ杈撻�佺嚎瀹屾垚鐨勪换鍔� + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <param name="currentAddress">褰撳墠鍦板潃</param> + /// <returns></returns> + public Dt_Task QueryCompletedConveyorLineTask(int taskNum, string currentAddress) + { + return BaseDal.QueryFirst(x => x.TaskNum == taskNum && x.CurrentAddress == currentAddress && (x.TaskState == (int)TaskInStatusEnum.Line_InFinish || x.TaskState == (int)TaskOutStatusEnum.Line_OutFinish), TaskOrderBy); + } + + /// <summary> + /// 鏍规嵁璁惧缂栧彿銆佷换鍔$被鍨嬪垎缁�(鍙��)鎸夌収浼樺厛绾т互鍙婂垱寤烘椂闂存帓搴忔煡璇换鍔℃睜鏂板鐨勪换鍔� + /// </summary> + /// <param name="deviceNo">璁惧缂栧彿</param> + /// <param name="taskTypeGroup">浠诲姟绫诲瀷鍒嗙粍(鍙��)</param> + /// <returns></returns> + public Dt_Task? QuertStackerCraneTask(string deviceNo, TaskTypeGroup? taskTypeGroup = null) + { + if (taskTypeGroup == null) + return BaseDal.QueryFirst(x => x.DeviceCode == deviceNo && x.TaskState == (int)TaskInStatusEnum.InNew, TaskOrderBy); + if (taskTypeGroup.Value == TaskTypeGroup.InboundGroup) + return BaseDal.QueryFirst(x => x.DeviceCode == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == (int)TaskInStatusEnum.SC_Execute, TaskOrderBy); + if (taskTypeGroup.Value == TaskTypeGroup.OutbondGroup) + return BaseDal.QueryFirst(x => x.DeviceCode == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == (int)TaskInStatusEnum.SC_Execute, TaskOrderBy); + return null; + } + /// <summary> + /// + /// </summary> + /// <param name="palletCode"></param> + /// <param name="sourceAddress"></param> + /// <returns></returns> + public WebResponseContent RequestWMSTaskSimple(string palletCode, string sourceAddress) + { + WebResponseContent content = new WebResponseContent(); + try + { + string address = AppSettings.Get("WMSApiAddress"); + if (string.IsNullOrEmpty(address)) + { + return WebResponseContent.Instance.Error($"鏈壘鍒癢MSApi鍦板潃"); + } + string responseStr = HttpHelper.Get($"{address}/api/Task/DeviceRequestInboundTaskSimple?stationCode={sourceAddress}&palletCode={palletCode}"); + WebResponseContent? responseContent = JsonConvert.DeserializeObject<WebResponseContent>(responseStr); + if (responseContent != null && responseContent.Status && responseContent.Data != null) + { + WMSTaskDTO? taskDTO = JsonConvert.DeserializeObject<WMSTaskDTO>(responseContent.Data.ToString()); + if (taskDTO != null) + { + content = ReceiveWMSTask(new List<WMSTaskDTO> { taskDTO }); + } + } + + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; + } + + /// <summary> + /// 鏍规嵁璁惧缂栧彿銆佸綋鍓嶅湴鍧�鎸夌収浼樺厛绾т互鍙婂垱寤烘椂闂存帓搴忔煡璇换鍔℃睜鏂板鐨勪换鍔� + /// </summary> + /// <param name="deviceNo">璁惧缂栧彿</param> + /// <param name="currentAddress">褰撳墠鍦板潃</param> + /// <returns>杩斿洖浠诲姟瀹炰綋瀵硅薄锛屽彲鑳戒负null</returns> + public Dt_Task QueryStackerCraneTask(string deviceNo, string currentAddress = "") + { + if (string.IsNullOrEmpty(currentAddress)) + return BaseDal.QueryFirst(x => x.Roadway == deviceNo && (TaskInboundTypes.Contains(x.TaskType) && x.TaskState == (int)TaskStatusEnum.Line_Finish || TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == (int)TaskOutStatusEnum.OutNew), TaskOrderBy); + else + return BaseDal.QueryFirst(x => x.Roadway == deviceNo && x.CurrentAddress == currentAddress && (TaskInboundTypes.Contains(x.TaskType) && x.TaskState == (int)TaskInStatusEnum.Line_InFinish || TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == (int)TaskOutStatusEnum.OutNew), TaskOrderBy); + } + + /// <summary> + /// 鏍规嵁璁惧缂栧彿銆佸綋鍓嶅湴鍧�鎸夌収浼樺厛绾т互鍙婂垱寤烘椂闂存帓搴忔煡璇换鍔℃睜鍏ュ簱绫诲瀷鐨勬柊澧炵殑浠诲姟 + /// </summary> + /// <param name="deviceNo">璁惧缂栧彿</param> + /// <param name="currentAddress">褰撳墠鍦板潃</param> + /// <returns>杩斿洖浠诲姟瀹炰綋瀵硅薄锛屽彲鑳戒负null</returns> + public Dt_Task QueryStackerCraneInTask(string deviceNo, string currentAddress = "") + { + if (string.IsNullOrEmpty(currentAddress)) + return BaseDal.QueryFirst(x => x.DeviceCode == deviceNo && x.TaskState == (int)TaskStatusEnum.SC_Execute, TaskOrderBy); + else + return BaseDal.QueryFirst(x => x.DeviceCode == deviceNo && TaskInboundTypes.Contains(x.TaskType) && x.TaskState == (int)TaskStatusEnum.SC_Execute && x.CurrentAddress == currentAddress, TaskOrderBy); + } + + /// <summary> + /// 鏍规嵁璁惧缂栧彿銆佸綋鍓嶅湴鍧�鎸夌収浼樺厛绾т互鍙婂垱寤烘椂闂存帓搴忔煡璇换鍔℃睜鍑哄簱绫诲瀷鐨勬柊澧炵殑浠诲姟 + /// </summary> + /// <param name="deviceNo">璁惧缂栧彿</param> + /// <param name="currentAddress">褰撳墠鍦板潃</param> + /// <returns>杩斿洖浠诲姟瀹炰綋瀵硅薄锛屽彲鑳戒负null</returns> + public Dt_Task QueryStackerCraneOutTask(string deviceNo, string currentAddress = "") + { + if (string.IsNullOrEmpty(currentAddress)) + return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == (int)TaskOutStatusEnum.OutNew, TaskOrderBy); + else + return BaseDal.QueryFirst(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == (int)TaskOutStatusEnum.OutNew && x.CurrentAddress == currentAddress, TaskOrderBy); + } + + /// <summary> + /// 鏍规嵁璁惧缂栧彿銆佸綋鍓嶅湴鍧�鎸夌収浼樺厛绾т互鍙婂垱寤烘椂闂存帓搴忔煡璇换鍔℃睜鍑哄簱绫诲瀷鐨勬柊澧炵殑浠诲姟 + /// </summary> + /// <param name="deviceNo">璁惧缂栧彿</param> + /// <param name="currentAddress">褰撳墠鍦板潃</param> + /// <returns>杩斿洖浠诲姟瀹炰綋瀵硅薄闆嗗悎锛屽彲鑳戒负null</returns> + public List<Dt_Task> QueryStackerCraneOutTasks(string deviceNo, List<string> outStationCodes) + { + return BaseDal.QueryData(x => x.Roadway == deviceNo && TaskOutboundTypes.Contains(x.TaskType) && x.TaskState == (int)TaskOutStatusEnum.OutNew && outStationCodes.Contains(x.CurrentAddress), TaskOrderBy); + } + + /// <summary> + /// 鏇存柊浠诲姟寮傚父淇℃伅鏄剧ず + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <param name="message">寮傚父淇℃伅</param> + public WebResponseContent UpdateTaskExceptionMessage(int taskNum, string message) + { + WebResponseContent content = new WebResponseContent(); + try + { + Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); + if (task == null) return WebResponseContent.Instance.Error($"鏈壘鍒拌浠诲姟淇℃伅,浠诲姟鍙�:銆恵taskNum}銆�"); + if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup) + { + task.TaskState = (int)TaskOutStatusEnum.OutPending; + } + else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup) + { + task.TaskState = (int)TaskInStatusEnum.InPending; + } + task.ExceptionMessage = message; + task.ModifyDate = DateTime.Now; + BaseDal.UpdateData(task); + + _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, task.ExceptionMessage); + + content = WebResponseContent.Instance.OK(); + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; + } + + /// <summary> + /// 鏇存柊浠诲姟鐘舵�佷俊鎭紝骞跺悓姝ヨ嚦WMS + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <param name="status">浠诲姟鐘舵��</param> + public void UpdateTaskStatus(int taskNum, int status) + { + Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); + if (task == null) return; + task.TaskState = status; + task.ModifyDate = DateTime.Now; + BaseDal.UpdateData(task); + } + + /// <summary> + /// 灏嗕换鍔$姸鎬佷慨鏀逛负涓嬩竴涓姸鎬� + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + public WebResponseContent UpdateTaskStatusToNext(int taskNum) + { + WebResponseContent content = new WebResponseContent(); + try + { + Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); + if (task == null) return WebResponseContent.Instance.Error($"鏈壘鍒拌浠诲姟淇℃伅,浠诲姟鍙�:銆恵taskNum}銆�"); + return UpdateTaskStatusToNext(task); + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; + } + + /// <summary> + /// 灏嗕换鍔$姸鎬佷慨鏀逛负涓嬩竴涓姸鎬� + /// </summary> + /// <param name="task">浠诲姟瀹炰綋瀵硅薄</param> + /// <returns></returns> + public WebResponseContent UpdateTaskStatusToNext([NotNull] Dt_Task task) + { + WebResponseContent content = new WebResponseContent(); + try + { + int oldState = task.TaskState; + if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup) + { + if (task.TaskState >= (int)TaskOutStatusEnum.OutFinish) + { + return content = WebResponseContent.Instance.Error($"璇ヤ换鍔$姸鎬佷笉鍙烦杞埌涓嬩竴姝�,浠诲姟鍙�:銆恵task.TaskNum}銆�,浠诲姟鐘舵��:銆恵task.TaskState}銆�"); + } + + int nextStatus = task.TaskState.GetNextNotCompletedStatus<TaskOutStatusEnum>(); + + task.TaskState = nextStatus; + } + else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup) + { + if (task.TaskState >= (int)TaskInStatusEnum.InFinish) + { + return content = WebResponseContent.Instance.Error($"璇ヤ换鍔$姸鎬佷笉鍙烦杞埌涓嬩竴姝�,浠诲姟鍙�:銆恵task.TaskNum}銆�,浠诲姟鐘舵��:銆恵task.TaskState}銆�"); + } + + int nextStatus = task.TaskState.GetNextNotCompletedStatus<TaskInStatusEnum>(); + task.TaskState = nextStatus; + + if (task.TaskState == (int)TaskInStatusEnum.Line_InFinish) + { + Random random = new Random(); + task.CurrentAddress = task.NextAddress; + task.NextAddress = $"{random.Next(1, 100).ToString().PadLeft(3, '0')}-{random.Next(1, 100).ToString().PadLeft(3, '0')}-{random.Next(1, 100).ToString().PadLeft(3, '0')}"; + task.TargetAddress = task.NextAddress; + } + } + else + { + throw new Exception($"浠诲姟绫诲瀷閿欒,鏈壘鍒拌浠诲姟绫诲瀷,浠诲姟鍙�:銆恵task.TaskNum}銆�,浠诲姟绫诲瀷:銆恵task.TaskType}銆�"); + } + + if (task.TaskState <= 0) + { + return content = WebResponseContent.Instance.Error($"璇ヤ换鍔$姸鎬佷笉鍙烦杞埌涓嬩竴姝�,浠诲姟鍙�:銆恵task.TaskNum}銆�,浠诲姟鐘舵��:銆恵task.TaskState}銆�"); + } + + task.ModifyDate = DateTime.Now; + task.Modifier = "System"; + BaseDal.UpdateData(task); + + _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, App.User.UserId > 0 ? $"浜哄伐鎵嬪姩灏嗕换鍔$姸鎬佷粠銆恵oldState}銆戣烦杞埌銆恵task.TaskState}銆�" : $"绯荤粺鑷姩娴佺▼锛屼换鍔$姸鎬佷粠銆恵oldState}銆戣浆鍒般�恵task.TaskState}銆�"); + + content = WebResponseContent.Instance.OK(); + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; + } + + /// <summary> + /// 鏍规嵁浠诲姟鍙枫�佸綋鍓嶅湴鍧�鏇存柊浠诲姟浣嶇疆淇℃伅 + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <param name="currentAddress">褰撳墠鍦板潃</param> + /// <returns></returns> + public Dt_Task? UpdatePosition(int taskNum, string currentAddress) + { + try + { + Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum && x.CurrentAddress == currentAddress); + if (task == null) throw new Exception($"鏈壘鍒拌浠诲姟淇℃伅,浠诲姟鍙�:銆恵taskNum}銆�"); + + string oldCurrentPos = task.CurrentAddress; + string oldNextPos = task.NextAddress; + + List<Dt_Router> routers = _routerService.QueryNextRoutes(task.NextAddress, task.TargetAddress); + if (!routers.Any()) throw new Exception($"鏈壘鍒拌澶囪矾鐢变俊鎭�"); + + task.CurrentAddress = task.NextAddress; + task.NextAddress = routers.FirstOrDefault().ChildPosi; + + task.ModifyDate = DateTime.Now; + task.Modifier = "System"; + BaseDal.UpdateData(task); + + _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"绯荤粺鑷姩娴佺▼锛屾洿鏂板綋鍓嶄綅缃�恵oldCurrentPos} ----> {task.CurrentAddress}銆戝拰涓嬩竴浣嶇疆銆恵oldNextPos} ----> {task.NextAddress}銆�"); + return task; + } + catch (Exception ex) + { + } + return null; + } + + + + /// <summary> + /// 浠诲姟瀹屾垚 + /// </summary> + /// <param name="taskNum">浠诲姟缂栧彿</param> + /// <returns>杩斿洖澶勭悊缁撴灉</returns> + public WebResponseContent StackCraneTaskCompleted(int taskNum) + { + WebResponseContent content = new WebResponseContent(); + try + { + Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); + if (task == null) return WebResponseContent.Instance.Error($"鏈壘鍒拌浠诲姟淇℃伅,浠诲姟鍙�:銆恵taskNum}銆�"); + + if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup && task.TaskState == (int)TaskOutStatusEnum.SC_OutExecuting) + { + List<Dt_Router> routers = _routerService.QueryNextRoutes(task.NextAddress, task.TargetAddress); + if (!routers.Any()) return WebResponseContent.Instance.Error($"鏈壘鍒拌澶囪矾鐢变俊鎭�"); + int nextStatus = task.TaskState.GetNextNotCompletedStatus<TaskOutStatusEnum>(); + task.TaskState = nextStatus; + task.CurrentAddress = task.NextAddress; + task.NextAddress = routers.FirstOrDefault().ChildPosi; + task.ModifyDate = DateTime.Now; + task.Modifier = "System"; + BaseDal.UpdateData(task); + + _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"鍫嗗灈鏈哄嚭搴撳畬鎴�"); + //todo 鍚屾鍒癢MS + WMSTaskDTO WMStask = _mapper.Map<WMSTaskDTO>(task); + HttpHelper.PostAsync(WMSInterfaceAddress.UpdateTaskStatus, WMStask.ToJson(), headers: new Dictionary<string, string>()); + //鏆備笉鑰冭檻澶氫釜鍑哄簱鍙� + } + else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup && task.TaskState == (int)TaskInStatusEnum.SC_InExecuting) + { + //todo + int nextStatus = task.TaskState.GetNextNotCompletedStatus<TaskInStatusEnum>(); + task.TaskState = nextStatus; + task.ModifyDate = DateTime.Now; + task.Modifier = "System"; + BaseDal.UpdateData(task); + _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"鍫嗗灈鏈哄叆搴撳畬鎴�"); + + WMSTaskDTO WMStask = _mapper.Map<WMSTaskDTO>(task); + + HttpHelper.PostAsync(WMSInterfaceAddress.UpdateTaskStatus, WMStask.ToJson(), headers: new Dictionary<string, string>()); + } + else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.RelocationGroup && task.TaskState == (int)TaskRelocationStatusEnum.SC_RelocationFinish) + { + int nextStatus = task.TaskState.GetNextNotCompletedStatus<TaskRelocationStatusEnum>(); + task.CurrentAddress = task.NextAddress; + task.NextAddress = string.Empty; + task.TaskState = nextStatus; + task.ModifyDate = DateTime.Now; + task.Modifier = "System"; + BaseDal.UpdateData(task); + _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"鍫嗗灈鏈虹Щ搴撳畬鎴�"); + WMSTaskDTO WMStask = _mapper.Map<WMSTaskDTO>(task); + //todo 璋冪敤WMS绉诲簱瀹屾垚 + HttpHelper.PostAsync(WMSInterfaceAddress.UpdateTaskStatus, WMStask.ToJson(), headers: new Dictionary<string, string>()); + } + else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OtherGroup) + { + + } + else + { + throw new Exception($"浠诲姟绫诲瀷閿欒,鏈壘鍒拌浠诲姟绫诲瀷,浠诲姟鍙�:銆恵taskNum}銆�,浠诲姟绫诲瀷:銆恵task.TaskType}銆�"); + } + content = WebResponseContent.Instance.OK(); + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error($"浠诲姟瀹屾垚寮傚父,浠诲姟鍙�:銆恵taskNum}銆�"); + } + return content; + } + + /// <summary> + /// 鎭㈠鎸傝捣浠诲姟 + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <returns>杩斿洖澶勭悊缁撴灉</returns> + public WebResponseContent TaskStatusRecovery(int taskNum) + { + WebResponseContent content = new WebResponseContent(); + try + { + Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); + if (task == null) return WebResponseContent.Instance.Error($"鏈壘鍒拌浠诲姟淇℃伅,浠诲姟鍙�:銆恵taskNum}銆�"); + if (task.TaskState != (int)TaskInStatusEnum.InPending && task.TaskState != (int)TaskOutStatusEnum.OutPending) + { + return content = WebResponseContent.Instance.Error($"璇ヤ换鍔$姸鎬佷笉鍙仮澶�,浠诲姟鍙�:銆恵taskNum}銆�,浠诲姟鐘舵��:銆恵task.TaskState}銆�"); + } + + Dt_TaskExecuteDetail taskExecuteDetail = _taskExecuteDetailRepository.QueryFirst(x => x.TaskId == task.TaskId && x.IsNormal, new Dictionary<string, OrderByType> { { nameof(Dt_TaskExecuteDetail.TaskDetailId), OrderByType.Desc } }); + if (taskExecuteDetail != null) + { + task.TaskState = taskExecuteDetail.TaskState; + } + else + { + if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup) + { + task.TaskState = (int)TaskOutStatusEnum.OutNew; + } + else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup) + { + task.TaskState = (int)TaskInStatusEnum.InNew; + } + //todo + } + + task.ExceptionMessage = string.Empty; + + BaseDal.UpdateData(task); + + _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"浜哄伐鎭㈠鎸傝捣浠诲姟,鎭㈠鎸傝捣鏃朵换鍔$姸鎬併�恵task.TaskState}銆�"); + + content = WebResponseContent.Instance.OK(); + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; + } + + /// <summary> + /// 鍥炴粴浠诲姟鐘舵�� + /// </summary> + /// <param name="taskNum">浠诲姟鍙�</param> + /// <returns>杩斿洖澶勭悊缁撴灉</returns> + public WebResponseContent RollbackTaskStatusToLast(int taskNum) + { + WebResponseContent content = new(); + try + { + Dt_Task task = BaseDal.QueryFirst(x => x.TaskNum == taskNum); + if (task == null) return WebResponseContent.Instance.Error($"鏈壘鍒拌浠诲姟淇℃伅,浠诲姟鍙�:銆恵taskNum}銆�"); + + int oldState = task.TaskState; + Dt_TaskExecuteDetail taskExecuteDetail = _taskExecuteDetailRepository.QueryFirst(x => x.TaskId == task.TaskId && x.TaskState < task.TaskState && x.TaskState > 0, new Dictionary<string, OrderByType> { { nameof(Dt_TaskExecuteDetail.TaskDetailId), OrderByType.Desc } }); + if (taskExecuteDetail != null) + { + task.TaskState = taskExecuteDetail.TaskState; + task.CurrentAddress = taskExecuteDetail.CurrentAddress; + task.NextAddress = taskExecuteDetail.NextAddress; + } + else + { + return content = WebResponseContent.Instance.Error($"鏈壘鍒颁换鍔℃槑缁嗕俊鎭�,璇ヤ换鍔$姸鎬佷笉鍙洖婊氬埌涓婁竴姝�,浠诲姟鍙�:銆恵taskNum}銆�,浠诲姟鐘舵��:銆恵task.TaskState}銆�"); + } + + task.ExceptionMessage = string.Empty; + + BaseDal.UpdateData(task); + + _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskId, $"浜哄伐灏嗕换鍔$姸鎬佷粠銆恵oldState}銆戝洖婊氬埌銆恵task.TaskState}銆�"); + + content = WebResponseContent.Instance.OK(); + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService_Operate.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService_Operate.cs" new file mode 100644 index 0000000..f8c5015 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService_Operate.cs" @@ -0,0 +1,106 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Reflection; +using System.Text; +using WIDESEAWCS_Common.TaskEnum; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.Enums; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_Model.Models; + +namespace WIDESEAWCS_TaskInfoService +{ + public partial class TaskService + { + /// <summary> + /// 鏇存柊浠诲姟淇℃伅鍙婃坊鍔犱换鍔℃槑缁嗚褰� + /// </summary> + /// <param name="task">浠诲姟鍘熷璞″疄渚�(鏈慨鏀圭殑鏁版嵁瀵硅薄)</param> + /// <param name="taskStatus">淇敼鍚庣殑浠诲姟鐘舵��</param> + /// <param name="deviceCode">淇敼鍚庣殑璁惧缂栧彿</param> + /// <param name="sourceAddress">淇敼鍚庣殑璧峰鍦板潃</param> + /// <param name="targetAddress">淇敼鍚庣殑鐩爣鍦板潃</param> + /// <param name="currentAddress">淇敼鍚庣殑褰撳墠鍦板潃</param> + /// <param name="nextAddress">淇敼鍚庣殑涓嬩竴鍦板潃</param> + public void UpdateTask(Dt_Task task, TaskStatusEnum taskStatus, string deviceCode = "", string sourceAddress = "", string targetAddress = "", string currentAddress = "", string nextAddress = "", string roadwayNo = "", int heightType = 0) + { + StringBuilder stringBuilder = new StringBuilder(App.User?.UserId == 0 ? $"绯荤粺鑷姩娴佺▼" : "浜哄伐鎵嬪姩娴佺▼"); + if (task.DeviceCode != deviceCode && !string.IsNullOrEmpty(deviceCode)) + { + stringBuilder.Append($",璁惧缂栧彿鐢眥task.DeviceCode}鍙樻洿涓簕deviceCode}"); + task.DeviceCode = deviceCode; + } + if (task.SourceAddress != sourceAddress && !string.IsNullOrEmpty(sourceAddress)) + { + stringBuilder.Append($",璧峰鍦板潃鐢眥task.SourceAddress}鍙樻洿涓簕sourceAddress}"); + task.SourceAddress = sourceAddress; + } + if (task.TargetAddress != targetAddress && !string.IsNullOrEmpty(targetAddress)) + { + stringBuilder.Append($",鐩爣鍦板潃鐢眥task.TargetAddress}鍙樻洿涓簕targetAddress}"); + task.TargetAddress = targetAddress; + } + if (task.CurrentAddress != currentAddress && !string.IsNullOrEmpty(currentAddress)) + { + stringBuilder.Append($",褰撳墠浣嶇疆鐢眥task.CurrentAddress}鍙樻洿涓簕currentAddress}"); + task.CurrentAddress = currentAddress; + } + if (task.NextAddress != nextAddress && !string.IsNullOrEmpty(nextAddress)) + { + stringBuilder.Append($",涓嬩竴浣嶇疆鐢眥task.NextAddress}鍙樻洿涓簕nextAddress}"); + task.NextAddress = nextAddress; + } + if (task.Roadway != roadwayNo && !string.IsNullOrEmpty(roadwayNo)) + { + stringBuilder.Append($",宸烽亾鍙风敱{task.Roadway}鍙樻洿涓簕roadwayNo}"); + task.Roadway = roadwayNo; + } + if (task.TaskState != taskStatus.ObjToInt()) + { + string newStatus = $"{taskStatus}"; + try + { + List<int> enums = Enum.GetValues(typeof(TaskStatusEnum)).Cast<int>().ToList(); + FieldInfo? fieldInfo = typeof(TaskInStatusEnum).GetField((taskStatus).ToString()); + if (fieldInfo != null) + { + DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); + if (description != null) + { + newStatus = $"{description.Description}({taskStatus})"; + } + } + } + catch { } + string oldStatus = $"{task.TaskState}"; + try + { + FieldInfo? fieldInfo2 = typeof(RouterInOutType).GetField(((TaskStatusEnum)task.TaskState).ToString()); + if (fieldInfo2 != null) + { + DescriptionAttribute? description2 = fieldInfo2.GetCustomAttribute<DescriptionAttribute>(); + if (description2 != null) + { + oldStatus = $"{description2.Description}({task.TaskState})"; + } + } + } + catch { } + stringBuilder.Append($",浠诲姟鐘舵�佺敱{oldStatus}鍙樻洿涓簕newStatus}"); + + task.TaskState = taskStatus.ObjToInt(); + } + + BaseDal.UpdateData(task); + + string address = AppSettings.Get("WMSApiAddress"); + if (!string.IsNullOrEmpty(address)) + { + HttpHelper.Post($"{address}/api/Task/UpdateTaskInfo", task.Serialize()); + } + _taskExecuteDetailService.AddTaskExecuteDetail(task.TaskNum, stringBuilder.ToString()); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/WIDESEAWCS_TaskInfoService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/WIDESEAWCS_TaskInfoService.csproj" new file mode 100644 index 0000000..f1fe745 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/WIDESEAWCS_TaskInfoService.csproj" @@ -0,0 +1,14 @@ +锘�<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_BasicInfoService\WIDESEAWCS_BasicInfoService.csproj" /> + <ProjectReference Include="..\WIDESEAWCS_ITaskInfoService\WIDESEAWCS_ITaskInfoService.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs" new file mode 100644 index 0000000..426ae4d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs" @@ -0,0 +1,210 @@ +锘縰sing Microsoft.AspNetCore.Routing; +using Quartz; +using SqlSugar; +using WIDESEAWCS_Common; +using WIDESEAWCS_Common.Helper; +using WIDESEAWCS_Common.TaskEnum; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.BaseRepository; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_ITaskInfoService; +using WIDESEAWCS_Model.Models; +using WIDESEAWCS_QuartzJob; +using WIDESEAWCS_QuartzJob.ConveyorLine.Enum; +using WIDESEAWCS_QuartzJob.DTO; +using WIDESEAWCS_QuartzJob.Models; +using WIDESEAWCS_QuartzJob.Repository; +using WIDESEAWCS_QuartzJob.Service; +using WIDESEAWCS_Tasks.ConveyorLineJob; +using ICacheService = WIDESEAWCS_Core.Caches.ICacheService; + +namespace WIDESEAWCS_Tasks +{ + [DisallowConcurrentExecution] + public class CommonConveyorLineJob : JobBase, IJob + { + private readonly ICacheService _cacheService; + private readonly ITaskService _taskService; + private readonly ITaskExecuteDetailService _taskExecuteDetailService; + private readonly IRouterRepository _routerRepository; + private readonly IRouterService _routerService; + private readonly IRepository<Dt_Task> _taskRepository; + private readonly IRepository<Dt_StationManger> _stationMangerRepository; + + public CommonConveyorLineJob(ICacheService cacheService, ITaskService taskService, ITaskExecuteDetailService taskExecuteDetailService, IRepository<Dt_StationManger> stationMangerRepository, IRepository<Dt_Task> taskRepository, IRouterRepository routerRepository, IRouterService routerService) + { + _cacheService = cacheService; + _taskService = taskService; + _taskExecuteDetailService = taskExecuteDetailService; + _routerRepository = routerRepository; + _routerService = routerService; + _stationMangerRepository = stationMangerRepository; + _taskRepository = taskRepository; + } + + public Task Execute(IJobExecutionContext context) + { + bool flag = context.JobDetail.JobDataMap.TryGetValue("JobParams", out object? value); + if (flag && value != null) + { + OtherDevice device = (OtherDevice)value; + List<string> deviceStations = device.DeviceProDTOs.Select(x => x.DeviceChildCode).Distinct().ToList(); + List<Dt_StationManger> stationMangers = _stationMangerRepository.QueryData(x => x.StationDeviceCode == device.DeviceCode); + try + { + foreach (var item in stationMangers.Where(x => deviceStations.Contains(x.StationCode))) + { + DeviceProDTO? deviceProRead = device.DeviceProDTOs.Where(x => x.DeviceChildCode == item.StationCode && x.DeviceProParamType == nameof(R_ConveyorLineDB)).OrderBy(x => x.DeviceProOffset).FirstOrDefault(); + + DeviceProDTO? deviceProWrite = device.DeviceProDTOs.Where(x => x.DeviceChildCode == item.StationCode && x.DeviceProParamType == nameof(W_ConveyorLineDB)).OrderBy(x => x.DeviceProOffset).FirstOrDefault(); + + if (deviceProRead != null && deviceProWrite != null) + { + R_ConveyorLineInfo conveyorLineInfoRead = device.Communicator.ReadCustomer<R_ConveyorLineInfo>(deviceProRead.DeviceProAddress); + + W_ConveyorLineInfo conveyorLineInfoWrite = device.Communicator.ReadCustomer<W_ConveyorLineInfo>(deviceProWrite.DeviceProAddress); + if (conveyorLineInfoRead == null || conveyorLineInfoWrite == null) + { + continue; + } + + R_ConveyorLineStatus conveyorLineStatus = conveyorLineInfoRead.Status.ByteToBoolObject<R_ConveyorLineStatus>(); + + ConveyorLineSignal conveyorLineSignalRead = conveyorLineInfoRead.Signal.ByteToBoolObject<ConveyorLineSignal>(); + bool ACK = device.GetValue<W_ConveyorLineDB, bool>(W_ConveyorLineDB.ACK, item.StationCode); + + bool STB = device.GetValue<W_ConveyorLineDB, bool>(W_ConveyorLineDB.STB, item.StationCode); + //ConveyorLineSignal conveyorLineSignalWrite = conveyorLineInfoWrite.Signal.ByteToBoolObject<ConveyorLineSignal>(); + //鍑哄簱绔欏彴 + if (item.StationType == StationTypeEnum.StationType_OnlyOutbound.ObjToInt()) + { + // 鍑哄簱 + if (conveyorLineSignalRead.STB && !conveyorLineSignalRead.ACK && conveyorLineStatus.Online && conveyorLineStatus.Goods && !conveyorLineStatus.Alarm && !STB && !ACK)//鍑哄簱 + { + if (!string.IsNullOrEmpty(conveyorLineInfoRead.Barcode))//閲囪喘鍏ュ簱 + { + device.SetValue(W_ConveyorLineDB.ACK, true, item.StationCode); + device.SetValue(W_ConveyorLineDB.EndPos, 2011, item.StationCode); + device.SetValue(W_ConveyorLineDB.TaskNo, 1111, item.StationCode); + } + } + else if (!conveyorLineSignalRead.STB && !conveyorLineSignalRead.ACK && conveyorLineStatus.Online && conveyorLineStatus.Goods && !conveyorLineStatus.Alarm && !STB && ACK) + { + device.SetValue(W_ConveyorLineDB.ACK, false, item.StationCode); + } + } + //鍑哄叆搴撶珯鍙� + if (item.StationType == StationTypeEnum.StationType_InboundAndOutbound.ObjToInt()) + { + //鍏ュ簱鐢熸垚鍫嗗灈鏈哄叆搴撲换鍔� + if (conveyorLineSignalRead.STB && conveyorLineStatus.Online && conveyorLineStatus.Goods && !conveyorLineStatus.Alarm && !ACK) + { + if (conveyorLineInfoRead.TaskNo == 0 && !string.IsNullOrEmpty(conveyorLineInfoRead.Barcode))//閲囪喘鍏ュ簱 + { + WebResponseContent content = _taskService.RequestWMSTaskSimple(conveyorLineInfoRead.Barcode, item.StationCode); + if (content.Status) + { + Dt_Task task = _taskRepository.QueryFirst(x => x.PalletCode == conveyorLineInfoRead.Barcode && x.CurrentAddress == item.StationCode && x.DeviceCode == device.DeviceCode && x.TaskState == TaskStatusEnum.New.ObjToInt()); + if (task != null) + { + _taskService.UpdateTask(task, TaskStatusEnum.SC_Execute, deviceCode: item.StackerCraneCode, sourceAddress: item.StackerCraneStationCode); + device.SetValue(W_ConveyorLineDB.ACK, true, item.StationCode); + device.SetValue(W_ConveyorLineDB.TaskNo, 1111, item.StationCode); + //_taskService.UpdateTask(task, TaskStatusEnum.RGV_NEW); + } + + } + } + + } + else if (!conveyorLineSignalRead.STB && conveyorLineStatus.Online && conveyorLineStatus.Goods && !conveyorLineStatus.Alarm && ACK) + { + device.SetValue(W_ConveyorLineDB.ACK, false, item.StationCode); + } + else if (!conveyorLineSignalRead.STB && !conveyorLineSignalRead.ACK && conveyorLineStatus.Online && conveyorLineStatus.Free && !conveyorLineStatus.Goods && !conveyorLineStatus.Alarm && !STB && !ACK && conveyorLineInfoRead.TaskNo == 0)//鍑哄簱 + { + Dt_Task task = _taskRepository.QueryFirst(x => x.CurrentAddress == item.StationCode && x.TaskState == TaskStatusEnum.New.ObjToInt() && x.DeviceCode == item.StationDeviceCode && _taskService.TaskOutboundTypes.Contains(x.TaskType)); + if (task != null ) + { + Dt_Router routers = _routerRepository.QueryFirst(x => x.StartPosi == item.StationCode); + if (routers != null) + { + deviceProRead = device.DeviceProDTOs.Where(x => x.DeviceChildCode == routers.NextPosi && x.DeviceProParamType == nameof(R_ConveyorLineDB)).OrderBy(x => x.DeviceProOffset).FirstOrDefault(); + if (deviceProRead != null) + { + R_ConveyorLineInfo conveyorLineInfoRead2 = device.Communicator.ReadCustomer<R_ConveyorLineInfo>(deviceProRead.DeviceProAddress); + + ConveyorLineSignal conveyorLineSignalRead2 = conveyorLineInfoRead2.Signal.ByteToBoolObject<ConveyorLineSignal>(); + + R_ConveyorLineStatus conveyorLineStatus2 = conveyorLineInfoRead2.Status.ByteToBoolObject<R_ConveyorLineStatus>(); + + if (!conveyorLineSignalRead2.STB && !conveyorLineSignalRead2.ACK && conveyorLineStatus.Online && conveyorLineStatus2.Free && !conveyorLineStatus2.Goods && !conveyorLineStatus2.Alarm && !STB && !ACK)//鍒ゆ柇鍑哄簱鍙f槸鍚︾┖闂� + { + Dt_StationManger? stationManger = stationMangers.FirstOrDefault(x => x.StationCode == item.StationCode); + if (stationManger == null) + { + WriteError(item.StationName, $"鏈壘鍒板搴旂珯鍙颁俊鎭�,璁惧缂栧彿:{item.StationCode},浠诲姟鍙�:{task.TaskNum}"); + continue; + } + _taskService.UpdateTask(task, TaskStatusEnum.SC_Execute, nextAddress: routers.NextPosi, targetAddress: routers.NextPosi); + } + } + } + } + } + else if (!conveyorLineSignalRead.STB && !conveyorLineSignalRead.ACK && conveyorLineStatus.Online && conveyorLineStatus.Goods && !conveyorLineStatus.Alarm && !STB && !ACK && conveyorLineInfoRead.TaskNo == 0)//鍑哄簱 + { + Dt_Task task = _taskRepository.QueryFirst(x => x.CurrentAddress == item.StationCode && _taskService.TaskOutboundTypes.Contains(x.TaskType) && x.DeviceCode == item.StationDeviceCode && x.TaskState == TaskStatusEnum.Line_Execute.ObjToInt()); + if (task != null) + { + //鍫嗗灈鏈轰换鍔″畬鎴愪笅涓�鍦板潃鏀规垚杈撻�佺嚎涓嬩竴鍦板潃锛岃澶囩紪鍙锋敼鎴愯緭閫佺嚎 + _taskService.UpdateTask(task, TaskStatusEnum.Line_Executing); + + device.SetValue(W_ConveyorLineDB.TaskNo, task.TaskNum, item.StationCode); + device.SetValue(W_ConveyorLineDB.EndPos, task.NextAddress, item.StationCode); + device.SetValue(W_ConveyorLineDB.STB, true, item.StationCode); + } + + } + + else if (!conveyorLineSignalRead.STB && conveyorLineSignalRead.ACK && conveyorLineStatus.Online && conveyorLineStatus.Goods && !conveyorLineStatus.Alarm && STB && !ACK) + { + device.SetValue(W_ConveyorLineDB.STB, false, item.StationCode); + } + + } + //鍏ュ簱绔欏彴 + if (item.StationType == StationTypeEnum.StationType_OnlyInbound.ObjToInt()) + { + if (conveyorLineSignalRead.STB && conveyorLineStatus.Online && conveyorLineStatus.Goods && !conveyorLineStatus.Alarm && !ACK) + { + if (conveyorLineInfoRead.TaskNo == 0 && !string.IsNullOrEmpty(conveyorLineInfoRead.Barcode))//閲囪喘鍏ュ簱 + { + device.SetValue(W_ConveyorLineDB.ACK, true, item.StationCode); + device.SetValue(W_ConveyorLineDB.EndPos, 2020, item.StationCode); + device.SetValue(W_ConveyorLineDB.TaskNo, 1111, item.StationCode); + } + + + } + if (!conveyorLineSignalRead.STB && conveyorLineStatus.Online && conveyorLineStatus.Goods && !conveyorLineStatus.Alarm && ACK) + { + device.SetValue(W_ConveyorLineDB.ACK, false, item.StationCode); + } + } + } + } + + } + } + catch (Exception) + { + } + + + + } + return Task.CompletedTask; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/ConveyorLineDBName.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/ConveyorLineDBName.cs" new file mode 100644 index 0000000..9ab2c8e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/ConveyorLineDBName.cs" @@ -0,0 +1,40 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_Tasks.ConveyorLineJob + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Tasks.ConveyorLineJob +{ + public enum ConveyorLineDBName + { + InteractiveSignal, + ConveyorLineBarcode, + ConveyorLineTargetAddress, + ConveyorLineTaskNum, + ConveyorLineTrayType, + + WriteInteractiveSignal, + WriteConveyorLineBarcode, + WriteConveyorLineTargetAddress, + WriteConveyorLineTaskNum, + WriteConveyorLineTrayType + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/ConveyorLineTaskCommand.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/ConveyorLineTaskCommand.cs" new file mode 100644 index 0000000..3af5dc7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/ConveyorLineTaskCommand.cs" @@ -0,0 +1,317 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_Tasks.ConveyorLineJob + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Common.Attributes; +using WIDESEAWCS_QuartzJob.DeviceBase; + +namespace WIDESEAWCS_Tasks.ConveyorLineJob +{ + public class ConveyorLineTaskCommand : DeviceCommand + { + public ushort InteractiveSignal { get; set; } + + [DataLength(25)] + public string Barcode { get; set; } + + public int TargetAddress { get; set; } + + public int TaskNo { get; set; } + } + + + public class R_ConveyorLineInfo : DeviceCommand + { + /// <summary> + /// 绔欏彴缂栧彿 + /// </summary> + public short CovNO { get; set; } + + /// <summary> + /// 鐘舵�� + /// </summary> + public byte Status { get; set; } + + /// <summary> + /// 棰勭暀 + /// </summary> + public byte Undefined { get; set; } + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + public int TaskNo { get; set; } + + /// <summary> + /// 璧峰鍦板潃 + /// </summary> + public short StartPos { get; set; } + + /// <summary> + /// 鐩爣鍦板潃 + /// </summary> + public short EndPos { get; set; } + + /// <summary> + /// 閲嶉噺 + /// </summary> + public short GoodsWeight { get; set; } + + /// <summary> + /// 璐х墿绫诲瀷 + /// </summary> + public short GoodsType { get; set; } + + /// <summary> + /// 0闈欐1鍓嶈繘2鍚庨��3涓婂崌/椤烘椂閽堟棆杞�4涓嬮檷/閫嗘椂閽堟棆杞� + /// </summary> + public short RunStatus { get; set; } + + private string _barcode; + /// <summary> + /// 鏉$爜 + /// </summary> + [DataLength(20)] + public string Barcode + { + get { return _barcode; } + set { _barcode = value.Replace("\0", "").Replace("\\0", ""); } + } + + /// <summary> + /// 棰勭暀 + /// </summary> + public short Spare1 { get; set; } + + /// <summary> + /// 棰勭暀 + /// </summary> + public short Spare2 { get; set; } + + /// <summary> + /// 浜や簰淇″彿 + /// </summary> + public byte Signal { get; set; } + + + /// <summary> + /// 棰勭暀 + /// </summary> + public byte Undefined2 { get; set; } + } + + public class R_ConveyorLineCPInfo : DeviceCommand + { + /// <summary> + /// 鍒颁綅鎸囦护 + /// </summary> + public short ConveyArrivaled { get; set; } + + /// <summary> + /// 璧峰鍦板潃 + /// </summary> + public short StartPos { get; set; } + + /// <summary> + /// 缁堢偣鍦板潃 + /// </summary> + public short EndPos { get; set; } + + /// <summary> + /// 鎵樼洏鍙� + /// </summary> + /// <summary> + + [DataLength(20)] + public string Barcode { get; set; } + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + [DataLength(20)] + public string TaskNo { get; set; } + + /// <summary> + /// 绫诲瀷 + /// </summary> + public short WorkType { get; set; } + + /// <summary> + /// 妯″紡 + /// </summary> + public short WorkMode { get; set; } + + /// <summary> + /// 鏍¢獙浣� + /// </summary> + public short CheckPos { get; set; } + } + public class R_ConveyorLineGMInfo : DeviceCommand + { + /// <summary> + /// 绠卞彿 + /// </summary> + /// <summary> + [DataLength(120)] + public string Boxcode { get; set; } + } + public class R_ConveyorLineFLInfo : DeviceCommand + { + /// <summary> + /// 鎵樼洏鍙� + /// </summary> + /// <summary> + + [DataLength(20)] + public string Barcode { get; set; } + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + [DataLength(20)] + public string TaskNum { get; set; } + } + public class R_ConveyorLineStatus + { + /// <summary> + /// 鎻℃墜淇″彿 + /// </summary> + [BoolIndex(0)] + public bool HandShake { get; set; } + + /// <summary> + /// 1鑱旀満 0鑴辨満 + /// </summary> + [BoolIndex(1)] + public bool Online { get; set; } + + /// <summary> + /// 1绌洪棽 0绻佸繖 + /// </summary> + [BoolIndex(2)] + public bool Free { get; set; } + + /// <summary> + /// 1鏈夎揣 0鏃犺揣 + /// </summary> + [BoolIndex(3)] + public bool Goods { get; set; } + + /// <summary> + /// 1鏁呴殰 0姝e父 + /// </summary> + [BoolIndex(4)] + public bool Alarm { get; set; } + + /// <summary> + /// 1璇锋眰琛ョ洏 0鏃� + /// </summary> + [BoolIndex(5)] + public bool RequestPakcPallet { get; set; } + + /// <summary> + /// 1璇锋眰鎷嗙洏 0鏃� + /// </summary> + [BoolIndex(6)] + public bool RequestUnpackPellet { get; set; } + } + + public class ConveyorLineSignal + { + /// <summary> + /// 璇锋眰淇″彿 + /// </summary> + [BoolIndex(0)] + public bool STB { get; set; } + + /// <summary> + /// 鍝嶅簲淇″彿 + /// </summary> + [BoolIndex(1)] + public bool ACK { get; set; } + } + + public class W_ConveyorLineInfo : DeviceCommand + { + + /// <summary> + /// 绔欏彴缂栧彿 + /// </summary> + public short CovNO { get; set; } + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + public int TaskNo { get; set; } + + /// <summary> + /// 璧峰鍦板潃 + /// </summary> + public short StartPos { get; set; } + + /// <summary> + /// 鐩爣鍦板潃 + /// </summary> + public short EndPos { get; set; } + + /// <summary> + /// 璐х墿绫诲瀷 + /// </summary> + public short GoodsType { get; set; } + + /// <summary> + /// 棰勭暀 + /// </summary> + public short Spare1 { get; set; } + + /// <summary> + /// 棰勭暀 + /// </summary> + public short Spare2 { get; set; } + + /// <summary> + /// 浜や簰淇″彿 + /// </summary> + public byte Signal { get; set; } + + } + + public class W_ConveyorLineOperate + { + /// <summary> + /// 鎻℃墜淇″彿 + /// </summary> + [BoolIndex(0)] + public bool HandShake { get; set; } + + /// <summary> + /// 澶嶄綅鎶ヨ + /// </summary> + [BoolIndex(1)] + public bool ClearAlarm { get; set; } + + /// <summary> + /// 閫�鍥� + /// </summary> + [BoolIndex(2)] + public bool Return { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/R_ConveyorLineDBName.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/R_ConveyorLineDBName.cs" new file mode 100644 index 0000000..e70911c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/R_ConveyorLineDBName.cs" @@ -0,0 +1,142 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_Tasks.ConveyorLineJob + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Tasks.ConveyorLineJob +{ + public enum R_ConveyorLineDB + { + /// <summary> + /// 绔欏彴缂栧彿 + /// </summary> + ConveyorNo, + + /// <summary> + /// 鎻℃墜淇″彿 + /// </summary> + HandShake, + + /// <summary> + /// 1鑱旀満 0鑴辨満 + /// </summary> + Online, + + /// <summary> + /// 1绌洪棽 0绻佸繖 + /// </summary> + Free, + + /// <summary> + /// 1鏈夎揣 0鏃犺揣 + /// </summary> + Goods, + + /// <summary> + /// 1鏁呴殰 0姝e父 + /// </summary> + Alarm, + + /// <summary> + /// 鍙栬揣瀹屾垚 + /// </summary> + Pcikfinish, + + /// <summary> + /// 鏀捐揣瀹屾垚 + /// </summary> + TaskFinish, + + /// <summary> + /// 1璇锋眰琛ョ洏 0鏃� + /// </summary> + RequestPakcPallet, + + /// <summary> + /// 1璇锋眰鎷嗙洏 0鏃� + /// </summary> + RequestUnpackPellet, + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + TaskNum, + + /// <summary> + /// 璧峰鍦板潃 + /// </summary> + StartPos, + + /// <summary> + /// 鐩爣鍦板潃 + /// </summary> + EndPos, + + /// <summary> + /// 閲嶉噺 + /// </summary> + GoodsWeight, + + /// <summary> + /// 璐х墿绫诲瀷 + /// </summary> + GoodsType, + + /// <summary> + /// 0闈欐1鍓嶈繘2鍚庨��3涓婂崌/椤烘椂閽堟棆杞�4涓嬮檷/閫嗘椂閽堟棆杞� + /// </summary> + RunStatus, + + /// <summary> + /// 鏉$爜 + /// </summary> + Barcode, + + /// <summary> + /// 棰勭暀 + /// </summary> + Sapre1, + + /// <summary> + /// 棰勭暀 + /// </summary> + Sapre2, + + /// <summary> + /// 璇锋眰淇″彿 + /// </summary> + STB, + + /// <summary> + /// 鍝嶅簲淇″彿 + /// </summary> + ACK, + /// <summary> + /// 鏉$爜 + /// </summary> + Boxcode + } + + public enum R_ConveyorLineWorkType + { + ConveyorLineWorkType + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/W_ConveyorLineDBName.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/W_ConveyorLineDBName.cs" new file mode 100644 index 0000000..b49e937 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/W_ConveyorLineDBName.cs" @@ -0,0 +1,76 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Tasks.ConveyorLineJob +{ + public enum W_ConveyorLineDB + { + /// <summary> + /// 绔欏彴缂栧彿 + /// </summary> + CovNo, + + /// <summary> + /// 鎻℃墜淇″彿 + /// </summary> + HandShake, + + /// <summary> + /// 澶嶄綅鎶ヨ + /// </summary> + ClearAlarm, + + /// <summary> + /// 閫�鍥� + /// </summary> + Return, + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + TaskNo, + + /// <summary> + /// 璧峰鍦板潃 + /// </summary> + StartPos, + + /// <summary> + /// 鐩爣鍦板潃 + /// </summary> + EndPos, + + /// <summary> + /// 璐х墿绫诲瀷 + /// </summary> + GoodsType, + /// <summary> + /// 浠诲姟绫诲瀷 + /// </summary> + TaskType, + + /// <summary> + /// 棰勭暀1 + /// </summary> + Spare1, + + /// <summary> + /// 棰勭暀2 + /// </summary> + Spare2, + + /// <summary> + /// 璇锋眰淇″彿 + /// </summary> + STB, + + /// <summary> + /// 鍝嶅簲淇″彿 + /// </summary> + ACK + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/CommonStackerCraneJob.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/CommonStackerCraneJob.cs" new file mode 100644 index 0000000..91fe2b7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/CommonStackerCraneJob.cs" @@ -0,0 +1,357 @@ +锘縰sing Microsoft.AspNetCore.Components.Routing; +using Newtonsoft.Json; +using Quartz; +using System; +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using System.Linq; +using System.Net.Http.Json; +using System.Net.NetworkInformation; +using System.Reflection; +using System.Reflection.Metadata; +using System.Reflection.PortableExecutable; +using System.Text; +using System.Text.Json.Nodes; +using System.Threading.Tasks; +using WIDESEAWCS_Common.TaskEnum; +using WIDESEAWCS_Core; +using WIDESEAWCS_Core.Caches; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_ITaskInfoService; +using WIDESEAWCS_Model.Models; +using WIDESEAWCS_QuartzJob; +using WIDESEAWCS_QuartzJob.DeviceBase; +using WIDESEAWCS_QuartzJob.DTO; +using WIDESEAWCS_QuartzJob.Models; +using WIDESEAWCS_QuartzJob.Service; +using WIDESEAWCS_TaskInfoService; +using WIDESEAWCS_Tasks.StackerCraneJob; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using WIDESEAWCS_QuartzJob.StackerCrane; +using WIDESEAWCS_Core.BaseRepository; + +namespace WIDESEAWCS_Tasks +{ + [DisallowConcurrentExecution] + public partial class CommonStackerCraneJob : JobBase, IJob + { + private readonly ITaskService _taskService; + private readonly IRouterService _routerService; + private readonly ICacheService _cacheService; private readonly IRepository<Dt_Router> _routerRepository; + private readonly IRepository<Dt_StationManger> _stationMangerRepository; + private readonly IRepository<Dt_Task> _taskRepository; + + public CommonStackerCraneJob(ITaskService taskService, ITaskExecuteDetailService taskExecuteDetailService, IRouterService routerService, ICacheService cacheService, IRepository<Dt_Router> routerRepository, IRepository<Dt_StationManger> stationMangerRepository, IRepository<Dt_Task> taskRepository) + { + _taskService = taskService; + _routerService = routerService; + _cacheService = cacheService; + _routerService = routerService; + _stationMangerRepository = stationMangerRepository; + _taskRepository = taskRepository; + } + + public Task Execute(IJobExecutionContext context) + { + try + { + SpeStackerCrane speStackerCrane = (SpeStackerCrane)context.JobDetail.JobDataMap.Get("JobParams"); + if (speStackerCrane != null) + { + GetStackerObject getStackerObject = new GetStackerObject(speStackerCrane); + if (!getStackerObject.IsEventSubscribed) + { + getStackerObject.StackerCraneTaskCompletedEventHandler += CommonStackerCrane_StackerCraneTaskCompletedEventHandler; + } + getStackerObject.CheckStackerCraneTaskCompleted(); + if (getStackerObject.StackerCraneStatusValue == StackerCraneStatus.Normal) + { + Dt_Task? task = GetTasks(speStackerCrane); + if (task != null) + { + bool sendFlag = true; + if (sendFlag) + { + StackerCraneTaskCommand? stackerCraneTaskCommand = ConvertToStackerCraneTaskCommand(task); + if (stackerCraneTaskCommand != null) + { + sendFlag = getStackerObject.SendCommand(stackerCraneTaskCommand); + if (sendFlag) + { + speStackerCrane.SetValue(StackerCraneDBName.CommandSend, 1);//鍚姩鍛戒护 + speStackerCrane.LastTaskType = task.TaskType; + task.Dispatchertime = DateTime.Now; + task.ExceptionMessage = ""; + _taskService.UpdateTask(task, TaskStatusEnum.SC_Executing); + //寤舵椂1s + Thread.Sleep(1000); + } + } + } + } + } + } + } + catch (Exception) + { + + throw; + } + return Task.CompletedTask; + } + + + private void CommonStackerCrane_StackerCraneTaskCompletedEventHandler(object? sender, StackerCraneTaskCompletedEventArgs e) + { + SpeStackerCrane? speStackerCrane = sender as SpeStackerCrane; + if (speStackerCrane != null) + { + if (speStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.WorkType) != 5) + { + StackerCraneTaskCompleted(e.TaskNum, speStackerCrane.DeviceCode); + speStackerCrane.SetValue(StackerCraneDBName.WorkType, 5); + } + } + } + public WebResponseContent StackerCraneTaskCompleted(int taskNum, string deviceCode) + { + try + { + Dt_Task task = _taskRepository.QueryFirst(x => x.TaskNum == taskNum); + if (task != null) + { + if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup) + { + Dt_StationManger stationManger = _stationMangerRepository.QueryFirst(x => x.StackerCraneStationCode == task.NextAddress && x.StackerCraneCode == deviceCode); + if (stationManger == null) + { + //_taskExecuteDetailService.AddTaskExecuteDetail(taskNum, $"杈撻�佺嚎鍑哄簱绔欑偣鏈厤缃�,{task.NextAddress}"); + _taskService.UpdateTaskExceptionMessage(taskNum, $"杈撻�佺嚎鍑哄簱绔欑偣鏈厤缃�,{task.NextAddress}"); + WriteError(deviceCode, $"杈撻�佺嚎鍑哄簱绔欑偣鏈厤缃�,{task.NextAddress}"); + return WebResponseContent.Instance.Error($"杈撻�佺嚎鍑哄簱绔欑偣鏈厤缃�,{task.NextAddress}"); + } + Dt_Router router = _routerRepository.QueryFirst(x => x.InOutType == task.TaskType && x.StartPosi == stationManger.StationCode); + if (router == null) + { + router = _routerRepository.QueryFirst(x => x.ChildPosi == deviceCode && x.ChildPosiDeviceCode == stationManger.StationDeviceCode && x.NextPosi == stationManger.StationCode && x.InOutType == task.TaskType && x.IsEnd); + if (router != null && router.IsEnd) + { + _taskService.TaskCompleted(taskNum); + } + else + { + _taskService.UpdateTaskExceptionMessage(taskNum, $"鏈壘鍒拌矾鐢变俊鎭�,{task.NextAddress}"); + WriteError(deviceCode, $"鏈壘鍒拌矾鐢变俊鎭�,{task.NextAddress}"); + return WebResponseContent.Instance.Error($"鏈壘鍒拌矾鐢变俊鎭�,{task.NextAddress}"); + } + } + if (task.TargetAddress.Contains("1030") || task.TargetAddress.Contains("1026")) //鑷姩涓�绾� + { + _taskService.UpdateTask(task, TaskStatusEnum.Line_Execute, deviceCode: stationManger.StationDeviceCode, currentAddress: router.NextPosi); + } + + } + else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup || task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.RelocationGroup) + { + _taskService.TaskCompleted(taskNum); + } + else + { + WriteError(deviceCode, $"鏈壘鍒拌浠诲姟绫诲瀷鍥炶皟WMS浠诲姟瀹屾垚鎺ュ彛,{task.TaskType}"); + _taskService.UpdateTaskExceptionMessage(taskNum, $"鏈壘鍒拌浠诲姟绫诲瀷鍥炶皟WMS浠诲姟瀹屾垚鎺ュ彛,{task.TaskType}"); + } + + } + else + { + WriteError(deviceCode, $"鏈壘鍒颁换鍔′俊鎭�,浠诲姟鍙�:{taskNum}"); + return WebResponseContent.Instance.Error($"鏈壘鍒颁换鍔′俊鎭�,浠诲姟鍙�:{taskNum}"); + } + + return WebResponseContent.Instance.OK(); + } + catch (Exception ex) + { + WriteError(deviceCode, $"浠诲姟瀹屾垚閿欒", ex); + return WebResponseContent.Instance.Error(ex.Message); + } + } + /// <summary> + /// 鑾峰彇浠诲姟 + /// </summary> + /// <param name="commonStackerCrane"></param> + /// <returns></returns> + private Dt_Task? GetTasks(SpeStackerCrane commonStackerCrane) + { + Dt_Task? task; + + if (commonStackerCrane.LastTaskType.GetValueOrDefault().GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup) + { + task = _taskService.QueryStackerCraneInTask(commonStackerCrane.DeviceCode); + if (task == null) + { + task = _taskService.QueryStackerCraneOutTask(commonStackerCrane.DeviceCode); + } + } + else + { + task = _taskService.QueryStackerCraneOutTask(commonStackerCrane.DeviceCode); + if (task == null) + { + task = _taskService.QueryStackerCraneInTask(commonStackerCrane.DeviceCode); + } + } + + + if (task != null && task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup) + { + if (OutTaskStationIsOccupied(task) != null || true) + { + return task; + } + else + { + List<string> otherOutStaionCodes = _routerService.QueryNextRoutes(commonStackerCrane.DeviceCode, task.NextAddress).Select(x => x.ChildPosi).ToList(); + List<Dt_Task> tasks = _taskService.QueryStackerCraneOutTasks(commonStackerCrane.DeviceCode, otherOutStaionCodes); + foreach (var item in tasks) + { + if (OutTaskStationIsOccupied(task) != null) + { + return task; + } + } + task = _taskService.QueryStackerCraneInTask(commonStackerCrane.DeviceCode); + } + } + + return task; + } + /// <summary> + /// 鍑哄簱浠诲姟鍒ゆ柇鍑哄簱绔欏彴鏄惁琚崰鐢� + /// </summary> + /// <param name="task">浠诲姟瀹炰綋</param> + /// <returns>濡傛灉鏈鍗犵敤锛岃繑鍥炰紶鍏ョ殑浠诲姟淇℃伅锛屽惁鍒欙紝杩斿洖null</returns> + private Dt_Task? OutTaskStationIsOccupied([NotNull] Dt_Task task) + { + Dt_Router? router = _routerService.QueryNextRoutes(task.Roadway, task.NextAddress).FirstOrDefault(); + if (router != null) + { + IDevice? device = Storage.Devices.FirstOrDefault(x => x.DeviceCode == router.ChildPosiDeviceCode); + if (device != null) + { + CommonConveyorLine conveyorLine = (CommonConveyorLine)device; + if (conveyorLine.IsOccupied(router.ChildPosi))//鍑哄簱绔欏彴鏈鍗犵敤 + { + return task; + } + } + else + { + _taskService.UpdateTaskExceptionMessage(task.TaskNum, $"鏈壘鍒板嚭搴撶珯鍙般�恵router.ChildPosiDeviceCode}銆戝搴旂殑閫氳瀵硅薄锛屾棤娉曞垽鏂嚭搴撶珯鍙版槸鍚﹁鍗犵敤"); + } + } + else + { + _taskService.UpdateTaskExceptionMessage(task.TaskNum, $"鏈壘鍒扮珯鍙般�恵task.NextAddress}銆戜俊鎭紝鏃犳硶鏍¢獙绔欏彴"); + } + return null; + } + + /// <summary> + /// 浠诲姟瀹炰綋杞崲鎴愬懡浠odel + /// </summary> + /// <param name="task">浠诲姟瀹炰綋</param> + /// <returns></returns> + /// <exception cref="Exception"></exception> + public StackerCraneTaskCommand? ConvertToStackerCraneTaskCommand([NotNull] Dt_Task task) + { + StackerCraneTaskCommand stackerCraneTaskCommand = new StackerCraneTaskCommand(); + + stackerCraneTaskCommand.Barcode = task.PalletCode; + stackerCraneTaskCommand.TaskNum = task.TaskNum; + stackerCraneTaskCommand.WorkType = 1; + stackerCraneTaskCommand.TrayType = 1; + if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup)//鍒ゆ柇鏄惁鏄叆搴撲换鍔� + { + + string[] startCodes = task.SourceAddress.Split("-"); + + stackerCraneTaskCommand.StartRow = Convert.ToInt16(startCodes[0]); + stackerCraneTaskCommand.StartColumn = Convert.ToInt16(startCodes[1]); + stackerCraneTaskCommand.StartLayer = Convert.ToInt16(startCodes[2]); + + string[] targetCodes = task.TargetAddress.Split("-"); + if (targetCodes.Length == 3) + { + stackerCraneTaskCommand.EndRow = Convert.ToInt16(targetCodes[0]); + stackerCraneTaskCommand.EndColumn = Convert.ToInt16(targetCodes[1]); + stackerCraneTaskCommand.EndLayer = Convert.ToInt16(targetCodes[2]); + } + else + { + //鏁版嵁閰嶇疆閿欒 + _taskService.UpdateTaskExceptionMessage(task.TaskNum, $"鍏ュ簱浠诲姟缁堢偣閿欒锛岃捣鐐癸細銆恵task.NextAddress}銆�"); + return null; + } + + } + else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.OutbondGroup) + { + + string[] targetCodes = task.TargetAddress.Split("-"); + + stackerCraneTaskCommand.EndRow = Convert.ToInt16(targetCodes[0]); + stackerCraneTaskCommand.EndColumn = Convert.ToInt16(targetCodes[1]); + stackerCraneTaskCommand.EndLayer = Convert.ToInt16(targetCodes[2]); + + string[] sourceCodes = task.SourceAddress.Split("-"); + if (sourceCodes.Length == 3) + { + stackerCraneTaskCommand.StartRow = Convert.ToInt16(sourceCodes[0]); + stackerCraneTaskCommand.StartColumn = Convert.ToInt16(sourceCodes[1]); + stackerCraneTaskCommand.StartLayer = Convert.ToInt16(sourceCodes[2]); + } + else + { + //鏁版嵁閰嶇疆閿欒 + _taskService.UpdateTaskExceptionMessage(task.TaskNum, $"鍑哄簱浠诲姟璧风偣閿欒锛岃捣鐐癸細銆恵task.CurrentAddress}銆�"); + return null; + } + + } + else if (task.TaskType.GetTaskTypeGroup() == TaskTypeGroup.RelocationGroup) + { + string[] targetCodes = task.NextAddress.Split("-"); + if (targetCodes.Length == 3) + { + stackerCraneTaskCommand.EndRow = Convert.ToInt16(targetCodes[0]); + stackerCraneTaskCommand.EndColumn = Convert.ToInt16(targetCodes[1]); + stackerCraneTaskCommand.EndLayer = Convert.ToInt16(targetCodes[2]); + } + else + { + //鏁版嵁閰嶇疆閿欒 + _taskService.UpdateTaskExceptionMessage(task.TaskNum, $"绉诲簱浠诲姟缁堢偣閿欒锛岃捣鐐癸細銆恵task.NextAddress}銆�"); + return null; + } + string[] sourceCodes = task.CurrentAddress.Split("-"); + if (sourceCodes.Length == 3) + { + stackerCraneTaskCommand.StartRow = Convert.ToInt16(sourceCodes[0]); + stackerCraneTaskCommand.StartColumn = Convert.ToInt16(sourceCodes[1]); + stackerCraneTaskCommand.StartLayer = Convert.ToInt16(sourceCodes[2]); + } + else + { + //鏁版嵁閰嶇疆閿欒 + _taskService.UpdateTaskExceptionMessage(task.TaskNum, $"绉诲簱浠诲姟璧风偣閿欒锛岃捣鐐癸細銆恵task.CurrentAddress}銆�"); + return null; + } + } + return stackerCraneTaskCommand; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/GetStackerObject.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/GetStackerObject.cs" new file mode 100644 index 0000000..05a7e22 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/GetStackerObject.cs" @@ -0,0 +1,228 @@ +锘縰sing HslCommunication; +using System.ComponentModel; +using System.Reflection; +using WIDESEAWCS_Communicator; +using WIDESEAWCS_QuartzJob; +using WIDESEAWCS_QuartzJob.DTO; +using WIDESEAWCS_QuartzJob.StackerCrane; + +namespace WIDESEAWCS_Tasks.StackerCraneJob +{ + public class GetStackerObject + { + private SpeStackerCrane _speStackerCrane; + + public GetStackerObject(SpeStackerCrane speStackerCrane) + { + _speStackerCrane = speStackerCrane; + } + /// <summary> + /// 璁惧鐘舵�� + /// </summary> + /// <param name="speStackerCrane"></param> + /// <returns></returns> + public StackerCraneStatus StackerCraneStatusValue => GetStackerCraneStatus(); + + /// <summary> + /// 宸ヤ綔妯″紡 + /// </summary> + /// <param name="speStackerCrane"></param> + /// <returns></returns> + public StackerCraneAutoStatus StackerCraneAutoStatusValue => GetStackerCraneAutoStatus(); + + /// <summary> + /// 宸ヤ綔鐘舵�� + /// </summary> + /// <param name="speStackerCrane"></param> + /// <returns></returns> + public StackerCraneWorkStatus StackerCraneWorkStatusValue => GetStackerCraneWorkStatus(); + + /// <summary> + /// 浠诲姟瀹屾垚 + /// </summary> + /// <param name="speStackerCrane"></param> + /// <returns></returns> + public StackerCraneTaskCompleted StackerCraneTaskCompletedValue => GetStackerCraneTaskCompleted(); + + /// <summary> + /// 浣滀笟鍛戒护 + /// </summary> + /// <param name="speStackerCrane"></param> + /// <returns></returns> + //public int WorkCommandValue() => _speStackerCrane.GetValue<StackerCraneDBName, short>(StackerCraneDBName.WorkCommand); + + /// <summary> + /// 鑾峰彇鍫嗗灈鏈鸿澶囩姸鎬� + /// </summary> + /// <returns></returns> + private StackerCraneStatus GetStackerCraneStatus() + { + return Enum.Parse<StackerCraneStatus>(GetStatus(nameof(StackerCraneStatus))); + } + + /// <summary> + /// 鑾峰彇鍫嗗灈鏈烘墜鑷姩鐘舵�� + /// </summary> + /// <returns></returns> + private StackerCraneAutoStatus GetStackerCraneAutoStatus() + { + return Enum.Parse<StackerCraneAutoStatus>(GetStatus(nameof(StackerCraneAutoStatus))); + } + + /// <summary> + /// 鑾峰彇鍫嗗灈鏈哄伐浣滅姸鎬� + /// </summary> + /// <returns></returns> + private StackerCraneWorkStatus GetStackerCraneWorkStatus() + { + return Enum.Parse<StackerCraneWorkStatus>(GetStatus(nameof(StackerCraneWorkStatus))); + } + + /// <summary> + /// 鑾峰彇鍫嗗灈鏈轰换鍔$姸鎬� + /// </summary> + /// <returns></returns> + private StackerCraneTaskCompleted GetStackerCraneTaskCompleted() + { + return Enum.Parse<StackerCraneTaskCompleted>(GetStatus(nameof(StackerCraneTaskCompleted))); + } + + private string GetEnumDes<T>(T value) where T : Enum + { + FieldInfo? fieldInfo = typeof(T).GetField(value.ToString()); + if (fieldInfo != null) + { + DescriptionAttribute? descriptionAttribute = fieldInfo.GetCustomAttribute<DescriptionAttribute>(); + if (descriptionAttribute != null) + { + return descriptionAttribute.Description; + } + return "鏈畾涔�"; + } + return "鏈煡"; + } + + private string GetStatus(string protocolParamType) + { + List<DeviceProDTO> devicePros = _speStackerCrane.DeviceProDTOs.Where(x => x.DeviceProParamName == protocolParamType).ToList(); + if (devicePros.Count == 0) + { + throw new Exception("鏈幏鍙栧埌鍗忚淇℃伅"); + } + for (int i = 0; i < devicePros.Count; i++) + { + object readStatus = _speStackerCrane.Communicator.ReadAsObj(devicePros[i].DeviceProAddress, devicePros[i].DeviceDataType); + DeviceProtocolDetailDTO? deviceProtocolDetail = _speStackerCrane.DeviceProtocolDetailDTOs.FirstOrDefault(x => x.DeviceProParamName == devicePros[i].DeviceProParamName) ?? throw new Exception(); + deviceProtocolDetail = _speStackerCrane.DeviceProtocolDetailDTOs.FirstOrDefault(x => x.DeviceProParamName == devicePros[i].DeviceProParamName && x.ProtocalDetailValue.Equals(readStatus.ToString())); + if (deviceProtocolDetail != null) + { + return deviceProtocolDetail.ProtocolDetailType; + } + return StackerCraneStatus.Unkonw.ToString(); + } + return StackerCraneStatus.Unkonw.ToString(); + } + + /// <summary> + /// 鍫嗗灈鏈轰换鍔″畬鎴愪簨浠� + /// </summary> + public event EventHandler<StackerCraneTaskCompletedEventArgs> StackerCraneTaskCompletedEventHandler; + + + /// <summary> + /// 鍫嗗灈鏈哄畬鎴愪簨浠舵槸鍚﹀凡璁㈤槄 + /// </summary> + public bool IsEventSubscribed => StackerCraneTaskCompletedEventHandler != null; + + + private bool _isChecked = false; + + /// <summary> + /// 鐩戞祴鍫嗗灈鏈轰换鍔℃槸鍚﹀畬鎴� + /// </summary> + public void CheckStackerCraneTaskCompleted() + { + if (_isChecked) + return; + + Task.Run(() => + { + _isChecked = true; + try + { + DeviceProDTO? devicePro = _speStackerCrane.DeviceProDTOs.FirstOrDefault(x => x.DeviceProParamName == "StackerCraneWorkStatus"); + if (devicePro != null) + { + DeviceProtocolDetailDTO? deviceProtocolDetail = _speStackerCrane.DeviceProtocolDetailDTOs.FirstOrDefault(x => x.DeviceProParamName == devicePro.DeviceProParamName && x.ProtocolDetailType == StackerCraneTaskCompleted.WorkCompleted.ToString()); + if (deviceProtocolDetail != null) + { + OperateResult<TimeSpan> operateResult = new OperateResult<TimeSpan>(); + switch (SiemensDBDataType.GetTypeCode(devicePro.DeviceDataType)) + { + case TypeCode.Boolean: + operateResult = _speStackerCrane.Communicator.Wait(devicePro.DeviceProAddress, 500, 60000, Convert.ToBoolean(deviceProtocolDetail.ProtocalDetailValue)); + break; + case TypeCode.Byte: + operateResult = _speStackerCrane.Communicator.Wait(devicePro.DeviceProAddress, 500, 60000, Convert.ToByte(deviceProtocolDetail.ProtocalDetailValue)); + break; + case TypeCode.Int16: + operateResult = _speStackerCrane.Communicator.Wait(devicePro.DeviceProAddress, 500, 60000, Convert.ToInt16(deviceProtocolDetail.ProtocalDetailValue)); + break; + case TypeCode.Int32: + operateResult = _speStackerCrane.Communicator.Wait(devicePro.DeviceProAddress, 500, 60000, Convert.ToInt32(deviceProtocolDetail.ProtocalDetailValue)); + break; + case TypeCode.UInt16: + operateResult = _speStackerCrane.Communicator.Wait(devicePro.DeviceProAddress, 500, 60000, Convert.ToUInt16(deviceProtocolDetail.ProtocalDetailValue)); + break; + case TypeCode.UInt32: + operateResult = _speStackerCrane.Communicator.Wait(devicePro.DeviceProAddress, 500, 60000, Convert.ToUInt32(deviceProtocolDetail.ProtocalDetailValue)); + break; + } + int taskNum = _speStackerCrane.CurrentTaskNum; + if (operateResult.IsSuccess) + { + StackerCraneTaskCompletedEventArgs args = new(taskNum); + StackerCraneTaskCompletedEventHandler?.Invoke(_speStackerCrane, args); + } + } + } + } + catch (Exception ex) + { + + } + finally + { + _isChecked = false; + } + }); + } + + public bool SendCommand(StackerCraneTaskCommand command) + { + try + { + if(_speStackerCrane.IsConnected) + { + _speStackerCrane.SetValue(StackerCraneDBName.TaskNum, command.TaskNum); + _speStackerCrane.SetValue(StackerCraneDBName.StartRow, command.StartRow); + _speStackerCrane.SetValue(StackerCraneDBName.StartColumn, command.StartColumn); + _speStackerCrane.SetValue(StackerCraneDBName.StartLayer, command.StartLayer); + _speStackerCrane.SetValue(StackerCraneDBName.EndRow, command.EndRow); + _speStackerCrane.SetValue(StackerCraneDBName.EndColumn, command.EndColumn); + _speStackerCrane.SetValue(StackerCraneDBName.EndLayer, command.EndLayer); + //_speStackerCrane.SetValue(StackerCraneDBName.Barcode, command.Barcode); + _speStackerCrane.SetValue(StackerCraneDBName.WorkType, command.WorkType); + //_speStackerCrane.SetValue(StackerCraneDBName.WorkType, command.TrayType); + return true; + } + return false; + + } + catch (Exception ex) + { + return false; + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneDBName.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneDBName.cs" new file mode 100644 index 0000000..9c1397a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneDBName.cs" @@ -0,0 +1,134 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_Tasks.StackerCraneJob + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_QuartzJob; + +namespace WIDESEAWCS_Tasks.StackerCraneJob +{ + public enum StackerCraneDBName + { + #region WCS==銆嬪爢鍨涙満 + /// <summary> + /// 浠诲姟鍙� + /// </summary> + TaskNum, + + /// <summary> + /// 浣滀笟绫诲瀷<br/> + /// 1鍏�2鍑�3绉诲簱 + /// </summary> + WorkType, + + /// <summary> + /// 璧峰琛� + /// </summary> + StartRow, + + /// <summary> + /// 璧峰鍒� + /// </summary> + StartColumn, + + /// <summary> + /// 璧峰灞� + /// </summary> + StartLayer, + + /// <summary> + /// 鐩爣琛� + /// </summary> + EndRow, + + /// <summary> + /// 鐩爣鍒� + /// </summary> + EndColumn, + + /// <summary> + /// 鐩爣灞� + /// </summary> + EndLayer, + + /// <summary> + /// 鍚姩鍛戒护<br/> + /// 1涓哄惎鍔�,鏀跺埌MW1512=1瀹屾垚淇″彿鍚庡紑鍚俊鍙风粰2鍙嶉缁橮LC,PLC娓呭畬鎴愪俊鍙�1--0 + /// </summary> + CommandSend, + #endregion + + #region 鍫嗗灈鏈�==銆媁CS + + /// <summary> + /// 鍫嗗灈鏈哄彿 + /// </summary> + DeviceName, + + /// <summary> + /// 璁惧鐘舵��<br/> + /// 5锛氳仈鏈鸿嚜鍔�4锛氭湰鏈鸿嚜鍔�/鍗婅嚜鍔�3锛氭墜鍔�2锛氳皟璇�1锛氳嚜瀛︿範 + /// </summary> + DeviceStatus, + + /// <summary> + /// 杩愯鐘舵��<br/> + /// 1绌洪棽锛�2鎺ユ敹鎸囦护锛�3绌鸿浇绉诲姩,4鍙栬揣锛�5鍙栬揣瀹屾垚<br/> + /// 6婊¤浇绉诲姩锛�7鍗歌揣锛�8鍏ュ簱瀹屾垚锛�9鍑哄簱瀹屾垚锛�10鎵嬪姩鍒犻櫎浠诲姟 + /// </summary> + RunStatus, + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + CurrentTaskNum, + + /// <summary> + /// 浠诲姟瀹屾垚<br/> + /// 1瀹屾垚,2鍙栨秷銆� + /// </summary> + StackerCraneTaskCompleted, + + /// <summary> + /// 褰撳墠鎺� + /// </summary> + AccuRow, + /// <summary> + /// 褰撳墠鍒� + /// </summary> + AccuColumn, + /// <summary> + /// 褰撳墠灞� + /// </summary> + AccuLayer, + + /// <summary> + /// 璁惧鐘舵��<br/> + /// 1鍑嗗灏辩华0鏈氨缁紱鍑嗗灏辩华鍙笅鍙戝爢鍨涙満浠诲姟 + /// </summary> + StackerCraneStatus, + + /// <summary> + /// 鏁呴殰浠g爜 + /// </summary> + Err_Status, + #endregion + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneTaskCommand.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneTaskCommand.cs" new file mode 100644 index 0000000..468fd74 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerCraneTaskCommand.cs" @@ -0,0 +1,83 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEAWCS_Tasks.StackerCraneJob + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Model.Models; +using WIDESEAWCS_QuartzJob.DeviceBase; + +namespace WIDESEAWCS_Tasks.StackerCraneJob +{ + public class StackerCraneTaskCommand : DeviceCommand + { + #region <Public Menber> + /// <summary> + /// 浠诲姟鍙� + /// </summary> + public int TaskNum { get; set; } + + /// <summary> + /// 浣滀笟绫诲瀷 + /// </summary> + public short WorkType { get; set; } + + /// <summary> + /// 鎵樼洏绫诲瀷 + /// </summary> + public short TrayType { get; set; } + + /// <summary> + /// 璧峰琛� + /// </summary> + public short StartRow { get; set; } + + /// <summary> + /// 璧峰鍒� + /// </summary> + public short StartColumn { get; set; } + + /// <summary> + /// 璧峰灞� + /// </summary> + public short StartLayer { get; set; } + + /// <summary> + /// 鐩爣琛� + /// </summary> + public short EndRow { get; set; } + + /// <summary> + /// 鐩爣鍒� + /// </summary> + public short EndColumn { get; set; } + + /// <summary> + /// 鐩爣灞� + /// </summary> + public short EndLayer { get; set; } + + /// <summary> + /// 鎵樼洏鍙� + /// </summary> + [DataLength(30)] + public string Barcode { get; set; } + #endregion <Public Menber> + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerStatusEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerStatusEnum.cs" new file mode 100644 index 0000000..d25322e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/StackerCraneJob/StackerStatusEnum.cs" @@ -0,0 +1,151 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_Tasks.StackerCraneJob +{ + public enum StackerCraneStatus + { + + // + // 鎽樿: + // 姝e父 + [Description("姝e父")] + Normal, + // + // 鎽樿: + // 鏁呴殰 + [Description("鏁呴殰")] + Fault, + // + // 鎽樿: + // 鎬ュ仠 + [Description("鎬ュ仠")] + EmergencyStop, + // + // 鎽樿: + // 鏈煡 + [Description("鏈煡")] + Unkonw + } + + public enum StackerCraneAutoStatus + { + /// <summary> + /// 鑷涔� + /// </summary> + [Description("鑷涔�")] + SelfStudy =1, + /// <summary> + /// 缁翠慨/缁存姢/淇濆吇<br/> + /// 璋冭瘯 + /// </summary> + [Description("璋冭瘯")] + Maintenance = 2, + + /// <summary> + /// 鎵嬪姩 + /// </summary> + [Description("鎵嬪姩")] + Manual = 3, + + /// <summary> + /// 鏈満鑷姩/鍗婅嚜鍔� + /// </summary> + [Description("鍗婅嚜鍔�")] + SemiAutomatic = 4, + + /// <summary> + /// 鑱旀満 + /// </summary> + [Description("鑱旀満")] + Automatic = 5, + + /// <summary> + /// 鏈煡 + /// </summary> + [Description("鏈煡")] + Unkonw = 6 + } + + public enum StackerCraneWorkStatus + { + // + // 鎽樿: + // 寰呮満 + [Description("寰呮満")] + Standby, + // + // 鎽樿: + // 鍙栬揣涓� + [Description("鍙栬揣涓�")] + PickUp, + // + // 鎽樿: + // 鍙栬揣瀹屾垚 + [Description("鍙栬揣瀹屾垚")] + PickUpCompleted, + // + // 鎽樿: + // 鏀捐揣涓� + [Description("鏀捐揣涓�")] + Putting, + // + // 鎽樿: + // 鏀捐揣瀹屾垚 + [Description("鏀捐揣瀹屾垚")] + PutCompleted, + // + // 鎽樿: + // 浠诲姟瀹屾垚 + [Description("浠诲姟瀹屾垚")] + WorkCompleted, + // + // 鎽樿: + // 浠诲姟鎵ц閿欒 + [Description("浠诲姟鎵ц閿欒")] + WorkError, + // + // 鎽樿: + // 鏈煡 + [Description("鏈煡")] + Unkonw + } + public enum StackerCraneTaskCompleted + { + /// <summary> + /// 鏈煡 + /// </summary> + [Description("寰呮満")] + Standby, + /// <summary> + /// 浠诲姟瀹屾垚 + /// </summary> + [Description("鍙栬揣涓�")] + PickUp, + /// <summary> + /// 浠诲姟鍙栨秷 + /// </summary> + [Description("鍙栬揣瀹屾垚")] + PickUpCompleted, + /// <summary> + /// 鏈煡 + /// </summary> + [Description("鏀捐揣涓�")] + Putting, + /// <summary> + /// 浠诲姟瀹屾垚 + /// </summary> + [Description("鏀捐揣瀹屾垚")] + PutCompleted, + /// <summary> + /// 浠诲姟鍙栨秷 + /// </summary> + [Description("浠诲姟瀹屾垚")] + WorkCompleted, + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/TestJob.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/TestJob.cs" new file mode 100644 index 0000000..a5cfe94 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/TestJob.cs" @@ -0,0 +1,66 @@ +锘縰sing Autofac.Core; +using HslCommunication; +using HslCommunication.Core; +using Microsoft.VisualBasic.FileIO; +using Quartz; +using SixLabors.ImageSharp.PixelFormats; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEAWCS_Communicator; +using WIDESEAWCS_Core.Helper; +using WIDESEAWCS_ITaskInfoService; +using WIDESEAWCS_QuartzJob; +using WIDESEAWCS_QuartzJob.DeviceBase; +using WIDESEAWCS_QuartzJob.StackerCrane.Enum; + +namespace WIDESEAWCS_Tasks +{ + [DisallowConcurrentExecution] + public class TestJob : JobBase, IJob + { + private readonly ITaskService _taskService; + public TestJob(ITaskService taskService) + { + _taskService = taskService;//娉ㄥ叆 + } + + public Task Execute(IJobExecutionContext context) + { + + bool flag = context.JobDetail.JobDataMap.TryGetValue("JobParams", out object? value); + if (flag && value != null) + { + OtherDevice device = (OtherDevice)value; + try + { + //Example + //device.GetValue 璇诲彇 + //device.SetValue 鍐欏叆 + // _taskService.Repository 浠撳偍灞傦紝杩涜鏁版嵁搴撹闂� + + WriteInfo(device.DeviceName, "infoLog"); + + WriteDebug(device.DeviceName, "debugLog"); + } + catch (Exception ex) + { + WriteError(device.DeviceName, "閿欒", ex); + } + } + else + { + WriteError(nameof(TestJob), "鍙傛暟閿欒,鏈紶閫掕澶囧弬鏁版垨璁惧绫诲瀷閿欒"); + } + + + return Task.CompletedTask; + } + } + + +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/WIDESEAWCS_Tasks.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/WIDESEAWCS_Tasks.csproj" new file mode 100644 index 0000000..701f3bb --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/WIDESEAWCS_Tasks.csproj" @@ -0,0 +1,18 @@ +锘�<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <PackageReference Include="WIDESEAWCS_Communicator" Version="2.2.8" /> + <PackageReference Include="WIDESEAWCS_QuartzJob" Version="3.0.9" /> + </ItemGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEAWCS_TaskInfoService\WIDESEAWCS_TaskInfoService.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.editorconfig" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.editorconfig" new file mode 100644 index 0000000..45e8d88 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.editorconfig" @@ -0,0 +1,4 @@ +锘縖*.cs] + +# CS8618: 鍦ㄩ��鍑烘瀯閫犲嚱鏁版椂锛屼笉鍙负 null 鐨勫瓧娈靛繀椤诲寘鍚潪 null 鍊笺�傝鑰冭檻澹版槑涓哄彲浠ヤ负 null銆� +dotnet_diagnostic.CS8618.severity = silent diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1091.29919/CodeChunks.db" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1091.29919/CodeChunks.db" new file mode 100644 index 0000000..c6161d3 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1091.29919/CodeChunks.db" Binary files differ diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1091.29919/SemanticSymbols.db" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1091.29919/SemanticSymbols.db" new file mode 100644 index 0000000..a4f209c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/CopilotIndices/17.14.1091.29919/SemanticSymbols.db" Binary files differ diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/config/applicationhost.config" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/config/applicationhost.config" new file mode 100644 index 0000000..269dc55 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/config/applicationhost.config" @@ -0,0 +1,1021 @@ +锘�<?xml version="1.0" encoding="UTF-8"?> +<!-- + + IIS configuration sections. + + For schema documentation, see + %IIS_BIN%\config\schema\IIS_schema.xml. + + Please make a backup of this file before making any changes to it. + + NOTE: The following environment variables are available to be used + within this file and are understood by the IIS Express. + + %IIS_USER_HOME% - The IIS Express home directory for the user + %IIS_SITES_HOME% - The default home directory for sites + %IIS_BIN% - The location of the IIS Express binaries + %SYSTEMDRIVE% - The drive letter of %IIS_BIN% + +--> + +<configuration> + + <!-- + + The <configSections> section controls the registration of sections. + Section is the basic unit of deployment, locking, searching and + containment for configuration settings. + + Every section belongs to one section group. + A section group is a container of logically-related sections. + + Sections cannot be nested. + Section groups may be nested. + + <section + name="" [Required, Collection Key] [XML name of the section] + allowDefinition="Everywhere" [MachineOnly|MachineToApplication|AppHostOnly|Everywhere] [Level where it can be set] + overrideModeDefault="Allow" [Allow|Deny] [Default delegation mode] + allowLocation="true" [true|false] [Allowed in location tags] + /> + + The recommended way to unlock sections is by using a location tag: + <location path="Default Web Site" overrideMode="Allow"> + <system.webServer> + <asp /> + </system.webServer> + </location> + + --> + <configSections> + <sectionGroup name="system.applicationHost"> + <section name="applicationPools" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="configHistory" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="customMetadata" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="listenerAdapters" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="log" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="serviceAutoStartProviders" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="sites" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="webLimits" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + </sectionGroup> + + <sectionGroup name="system.webServer"> + <section name="asp" overrideModeDefault="Deny" /> + <section name="caching" overrideModeDefault="Allow" /> + <section name="cgi" overrideModeDefault="Deny" /> + <section name="defaultDocument" overrideModeDefault="Allow" /> + <section name="directoryBrowse" overrideModeDefault="Allow" /> + <section name="fastCgi" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="globalModules" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="handlers" overrideModeDefault="Deny" /> + <section name="httpCompression" overrideModeDefault="Allow" allowDefinition="Everywhere" /> + <section name="httpErrors" overrideModeDefault="Allow" /> + <section name="httpLogging" overrideModeDefault="Deny" /> + <section name="httpProtocol" overrideModeDefault="Allow" /> + <section name="httpRedirect" overrideModeDefault="Allow" /> + <section name="httpTracing" overrideModeDefault="Deny" /> + <section name="isapiFilters" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /> + <section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" /> + <section name="applicationInitialization" allowDefinition="MachineToApplication" overrideModeDefault="Allow" /> + <section name="odbcLogging" overrideModeDefault="Deny" /> + <sectionGroup name="security"> + <section name="access" overrideModeDefault="Deny" /> + <section name="applicationDependencies" overrideModeDefault="Deny" /> + <sectionGroup name="authentication"> + <section name="anonymousAuthentication" overrideModeDefault="Deny" /> + <section name="basicAuthentication" overrideModeDefault="Deny" /> + <section name="clientCertificateMappingAuthentication" overrideModeDefault="Deny" /> + <section name="digestAuthentication" overrideModeDefault="Deny" /> + <section name="iisClientCertificateMappingAuthentication" overrideModeDefault="Deny" /> + <section name="windowsAuthentication" overrideModeDefault="Deny" /> + </sectionGroup> + <section name="authorization" overrideModeDefault="Allow" /> + <section name="ipSecurity" overrideModeDefault="Deny" /> + <section name="dynamicIpSecurity" overrideModeDefault="Deny" /> + <section name="isapiCgiRestriction" allowDefinition="AppHostOnly" overrideModeDefault="Deny" /> + <section name="requestFiltering" overrideModeDefault="Allow" /> + </sectionGroup> + <section name="serverRuntime" overrideModeDefault="Deny" /> + <section name="serverSideInclude" overrideModeDefault="Deny" /> + <section name="staticContent" overrideModeDefault="Allow" /> + <sectionGroup name="tracing"> + <section name="traceFailedRequests" overrideModeDefault="Allow" /> + <section name="traceProviderDefinitions" overrideModeDefault="Deny" /> + </sectionGroup> + <section name="urlCompression" overrideModeDefault="Allow" /> + <section name="validation" overrideModeDefault="Allow" /> + <sectionGroup name="webdav"> + <section name="globalSettings" overrideModeDefault="Deny" /> + <section name="authoring" overrideModeDefault="Deny" /> + <section name="authoringRules" overrideModeDefault="Deny" /> + </sectionGroup> + <sectionGroup name="rewrite"> + <section name="allowedServerVariables" overrideModeDefault="Deny" /> + <section name="rules" overrideModeDefault="Allow" /> + <section name="outboundRules" overrideModeDefault="Allow" /> + <section name="globalRules" overrideModeDefault="Deny" allowDefinition="AppHostOnly" /> + <section name="providers" overrideModeDefault="Allow" /> + <section name="rewriteMaps" overrideModeDefault="Allow" /> + </sectionGroup> + <section name="webSocket" overrideModeDefault="Deny" /> + </sectionGroup> + </configSections> + + <configProtectedData> + <providers> + <add name="IISWASOnlyRsaProvider" type="" description="Uses RsaCryptoServiceProvider to encrypt and decrypt" keyContainerName="iisWasKey" cspProviderName="" useMachineContainer="true" useOAEP="false" /> + <add name="AesProvider" type="Microsoft.ApplicationHost.AesProtectedConfigurationProvider" description="Uses an AES session key to encrypt and decrypt" keyContainerName="iisConfigurationKey" cspProviderName="" useOAEP="false" useMachineContainer="true" sessionKey="AQIAAA5mAAAApAAA/HKxkz6alrlAPez0IUgujj/6k3WxCDriHp6jvpv3yEZmo7h6SMzGLxo4mTrIQVHSkB7tmElHKfUFTzE2BWF7nFWHY6Z6qmGBauFzwJMwESjril7Gjz69RBFH259HQ6aRDq9Xfx7U7H4HtdmnKNqGjgl/hwPQBGeIlWiDh+sYv3vKB0QU971tjX6H2B+9armlnC8UOuA6JYMDMI/VLLL16sng0fWAy5JYe0YVABVjiAWDW264RZW9Tr1Oax4qHZKg+SdjULxeOc2YmpX+d0yeITo1HkPF1hN1gHpIPIUDo05ilHUNfR3OkjVCIQK4cFKCq1s8NH+y+13MxUC4Fn1AlQ==" /> + <add name="IISWASOnlyAesProvider" type="Microsoft.ApplicationHost.AesProtectedConfigurationProvider" description="Uses an AES session key to encrypt and decrypt" keyContainerName="iisWasKey" cspProviderName="" useOAEP="false" useMachineContainer="true" sessionKey="AQIAAA5mAAAApAAALmU8lTC+v2qtfQiiiquvvLpUQqKLEXs+jSKoWCM/uPhyB++k4dwug19mGidNK5FYiWK2KYE1yhjVJcbp12E98Q0R2nT7eBiCMY2JairxQ591rqABK7keGaIjwH7PwGzSpILl3RJ4YFvJ/7ZXEJxeDZIjW8ZxWVXx+/VyHs9U3WguLEkgMUX3jrxJi8LouxaIVPJAv/YQ1ZCWs8zImitxX/C/7o7yaIxznfsN5nGQzQfpUDPeby99aw2zPVTtZI2LaWIBON8guABvZ6JtJVDWmfdK6sodbnwdZkr6/Z2rfvamT1dC1SpQrGG7ulR/f9/GXvCaW10ZVKxekBF/CYlNMg==" /> + </providers> + </configProtectedData> + + <system.applicationHost> + + <applicationPools> + <add name="Clr4IntegratedAppPool" managedRuntimeVersion="v4.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> + <add name="Clr4ClassicAppPool" managedRuntimeVersion="v4.0" managedPipelineMode="Classic" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> + <add name="Clr2IntegratedAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> + <add name="Clr2ClassicAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Classic" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" /> + <add name="UnmanagedClassicAppPool" managedRuntimeVersion="" managedPipelineMode="Classic" autoStart="true" /> + <applicationPoolDefaults managedRuntimeVersion="v4.0"> + <processModel loadUserProfile="true" setProfileEnvironment="false" /> + </applicationPoolDefaults> + </applicationPools> + + <!-- + + The <listenerAdapters> section defines the protocols with which the + Windows Process Activation Service (WAS) binds. + + --> + <listenerAdapters> + <add name="http" /> + </listenerAdapters> + + <sites> + <site name="WebSite1" id="1" serverAutoStart="true"> + <application path="/"> + <virtualDirectory path="/" physicalPath="%IIS_SITES_HOME%\WebSite1" /> + </application> + <bindings> + <binding protocol="http" bindingInformation=":8080:localhost" /> + </bindings> + </site> + <siteDefaults> + <!-- To enable logging, please change the below attribute "enabled" to "true" --> + <logFile logFormat="W3C" directory="%AppData%\Microsoft\IISExpressLogs" enabled="false"/> + <traceFailedRequestsLogging directory="%AppData%\Microsoft" enabled="false" maxLogFileSizeKB="1024" /> + </siteDefaults> + <applicationDefaults applicationPool="Clr4IntegratedAppPool" /> + <virtualDirectoryDefaults allowSubDirConfig="true" /> + </sites> + + <webLimits /> + + </system.applicationHost> + + <system.webServer> + + <serverRuntime /> + + <asp scriptErrorSentToBrowser="true"> + <cache diskTemplateCacheDirectory="%TEMP%\iisexpress\ASP Compiled Templates" /> + <limits /> + </asp> + + <caching enabled="true" enableKernelCache="true"> + </caching> + + <cgi /> + + <defaultDocument enabled="true"> + <files> + <add value="Default.htm" /> + <add value="Default.asp" /> + <add value="index.htm" /> + <add value="index.html" /> + <add value="iisstart.htm" /> + <add value="default.aspx" /> + </files> + </defaultDocument> + + <directoryBrowse enabled="false" /> + + <fastCgi /> + + <!-- + + The <globalModules> section defines all native-code modules. + To enable a module, specify it in the <modules> section. + + --> + <globalModules> + <add name="HttpLoggingModule" image="%IIS_BIN%\loghttp.dll" /> + <add name="UriCacheModule" image="%IIS_BIN%\cachuri.dll" /> + <add name="TokenCacheModule" image="%IIS_BIN%\cachtokn.dll" /> + <add name="DynamicCompressionModule" image="%IIS_BIN%\compdyn.dll" /> + <add name="StaticCompressionModule" image="%IIS_BIN%\compstat.dll" /> + <add name="DefaultDocumentModule" image="%IIS_BIN%\defdoc.dll" /> + <add name="DirectoryListingModule" image="%IIS_BIN%\dirlist.dll" /> + <add name="ProtocolSupportModule" image="%IIS_BIN%\protsup.dll" /> + <add name="HttpRedirectionModule" image="%IIS_BIN%\redirect.dll" /> + <add name="ServerSideIncludeModule" image="%IIS_BIN%\iis_ssi.dll" /> + <add name="StaticFileModule" image="%IIS_BIN%\static.dll" /> + <add name="AnonymousAuthenticationModule" image="%IIS_BIN%\authanon.dll" /> + <add name="CertificateMappingAuthenticationModule" image="%IIS_BIN%\authcert.dll" /> + <add name="UrlAuthorizationModule" image="%IIS_BIN%\urlauthz.dll" /> + <add name="BasicAuthenticationModule" image="%IIS_BIN%\authbas.dll" /> + <add name="WindowsAuthenticationModule" image="%IIS_BIN%\authsspi.dll" /> + <add name="IISCertificateMappingAuthenticationModule" image="%IIS_BIN%\authmap.dll" /> + <add name="IpRestrictionModule" image="%IIS_BIN%\iprestr.dll" /> + <add name="DynamicIpRestrictionModule" image="%IIS_BIN%\diprestr.dll" /> + <add name="RequestFilteringModule" image="%IIS_BIN%\modrqflt.dll" /> + <add name="CustomLoggingModule" image="%IIS_BIN%\logcust.dll" /> + <add name="CustomErrorModule" image="%IIS_BIN%\custerr.dll" /> + <add name="FailedRequestsTracingModule" image="%IIS_BIN%\iisfreb.dll" /> + <add name="RequestMonitorModule" image="%IIS_BIN%\iisreqs.dll" /> + <add name="IsapiModule" image="%IIS_BIN%\isapi.dll" /> + <add name="IsapiFilterModule" image="%IIS_BIN%\filter.dll" /> + <add name="CgiModule" image="%IIS_BIN%\cgi.dll" /> + <add name="FastCgiModule" image="%IIS_BIN%\iisfcgi.dll" /> +<!-- <add name="WebDAVModule" image="%IIS_BIN%\webdav.dll" /> --> + <add name="RewriteModule" image="%IIS_BIN%\rewrite.dll" /> + <add name="ConfigurationValidationModule" image="%IIS_BIN%\validcfg.dll" /> + <add name="WebSocketModule" image="%IIS_BIN%\iiswsock.dll" /> + <add name="WebMatrixSupportModule" image="%IIS_BIN%\webmatrixsup.dll" /> + <add name="ManagedEngine" image="%windir%\Microsoft.NET\Framework\v2.0.50727\webengine.dll" preCondition="integratedMode,runtimeVersionv2.0,bitness32" /> + <add name="ManagedEngine64" image="%windir%\Microsoft.NET\Framework64\v2.0.50727\webengine.dll" preCondition="integratedMode,runtimeVersionv2.0,bitness64" /> + <add name="ManagedEngineV4.0_32bit" image="%windir%\Microsoft.NET\Framework\v4.0.30319\webengine4.dll" preCondition="integratedMode,runtimeVersionv4.0,bitness32" /> + <add name="ManagedEngineV4.0_64bit" image="%windir%\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll" preCondition="integratedMode,runtimeVersionv4.0,bitness64" /> + <add name="ApplicationInitializationModule" image="%IIS_BIN%\warmup.dll" /> + </globalModules> + + <httpCompression directory="%TEMP%"> + <scheme name="gzip" dll="%IIS_BIN%\gzip.dll" /> + <dynamicTypes> + <add mimeType="text/*" enabled="true" /> + <add mimeType="message/*" enabled="true" /> + <add mimeType="application/x-javascript" enabled="true" /> + <add mimeType="application/javascript" enabled="true" /> + <add mimeType="*/*" enabled="false" /> + </dynamicTypes> + <staticTypes> + <add mimeType="text/*" enabled="true" /> + <add mimeType="message/*" enabled="true" /> + <add mimeType="application/javascript" enabled="true" /> + <add mimeType="application/atom+xml" enabled="true" /> + <add mimeType="application/xaml+xml" enabled="true" /> + <add mimeType="image/svg+xml" enabled="true" /> + <add mimeType="*/*" enabled="false" /> + </staticTypes> + </httpCompression> + + <httpErrors lockAttributes="allowAbsolutePathsWhenDelegated,defaultPath"> + <error statusCode="401" prefixLanguageFilePath="%IIS_BIN%\custerr" path="401.htm" /> + <error statusCode="403" prefixLanguageFilePath="%IIS_BIN%\custerr" path="403.htm" /> + <error statusCode="404" prefixLanguageFilePath="%IIS_BIN%\custerr" path="404.htm" /> + <error statusCode="405" prefixLanguageFilePath="%IIS_BIN%\custerr" path="405.htm" /> + <error statusCode="406" prefixLanguageFilePath="%IIS_BIN%\custerr" path="406.htm" /> + <error statusCode="412" prefixLanguageFilePath="%IIS_BIN%\custerr" path="412.htm" /> + <error statusCode="500" prefixLanguageFilePath="%IIS_BIN%\custerr" path="500.htm" /> + <error statusCode="501" prefixLanguageFilePath="%IIS_BIN%\custerr" path="501.htm" /> + <error statusCode="502" prefixLanguageFilePath="%IIS_BIN%\custerr" path="502.htm" /> + </httpErrors> + + <httpLogging dontLog="false" /> + + <httpProtocol> + <customHeaders> + <clear /> + <add name="X-Powered-By" value="ASP.NET" /> + </customHeaders> + <redirectHeaders> + <clear /> + </redirectHeaders> + </httpProtocol> + + <httpRedirect enabled="false" /> + + <httpTracing /> + + <isapiFilters> + <filter name="ASP.Net_2.0.50727-64" path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv2.0" /> + <filter name="ASP.Net_2.0.50727.0" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv2.0" /> + <filter name="ASP.Net_2.0_for_v1.1" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="runtimeVersionv1.1" /> + <filter name="ASP.Net_4.0_32bit" path="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv4.0" /> + <filter name="ASP.Net_4.0_64bit" path="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv4.0" /> + </isapiFilters> + + <odbcLogging /> + + <security> + + <access sslFlags="None" /> + + <applicationDependencies> + <application name="Active Server Pages" groupId="ASP" /> + </applicationDependencies> + + <authentication> + + <anonymousAuthentication enabled="true" userName="" /> + + <basicAuthentication enabled="false" /> + + <clientCertificateMappingAuthentication enabled="false" /> + + <digestAuthentication enabled="false" /> + + <iisClientCertificateMappingAuthentication enabled="false"> + </iisClientCertificateMappingAuthentication> + + <windowsAuthentication enabled="false"> + <providers> + <add value="Negotiate" /> + <add value="NTLM" /> + </providers> + </windowsAuthentication> + + </authentication> + + <authorization> + <add accessType="Allow" users="*" /> + </authorization> + + <ipSecurity allowUnlisted="true" /> + + <isapiCgiRestriction notListedIsapisAllowed="true" notListedCgisAllowed="true"> + <add path="%windir%\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll" allowed="true" groupId="ASP.NET_v4.0" description="ASP.NET_v4.0" /> + <add path="%windir%\Microsoft.NET\Framework\v4.0.30319\webengine4.dll" allowed="true" groupId="ASP.NET_v4.0" description="ASP.NET_v4.0" /> + <add path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" allowed="true" groupId="ASP.NET v2.0.50727" description="ASP.NET v2.0.50727" /> + <add path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" allowed="true" groupId="ASP.NET v2.0.50727" description="ASP.NET v2.0.50727" /> + </isapiCgiRestriction> + + <requestFiltering> + <fileExtensions allowUnlisted="true" applyToWebDAV="true"> + <add fileExtension=".asa" allowed="false" /> + <add fileExtension=".asax" allowed="false" /> + <add fileExtension=".ascx" allowed="false" /> + <add fileExtension=".master" allowed="false" /> + <add fileExtension=".skin" allowed="false" /> + <add fileExtension=".browser" allowed="false" /> + <add fileExtension=".sitemap" allowed="false" /> + <add fileExtension=".config" allowed="false" /> + <add fileExtension=".cs" allowed="false" /> + <add fileExtension=".csproj" allowed="false" /> + <add fileExtension=".vb" allowed="false" /> + <add fileExtension=".vbproj" allowed="false" /> + <add fileExtension=".webinfo" allowed="false" /> + <add fileExtension=".licx" allowed="false" /> + <add fileExtension=".resx" allowed="false" /> + <add fileExtension=".resources" allowed="false" /> + <add fileExtension=".mdb" allowed="false" /> + <add fileExtension=".vjsproj" allowed="false" /> + <add fileExtension=".java" allowed="false" /> + <add fileExtension=".jsl" allowed="false" /> + <add fileExtension=".ldb" allowed="false" /> + <add fileExtension=".dsdgm" allowed="false" /> + <add fileExtension=".ssdgm" allowed="false" /> + <add fileExtension=".lsad" allowed="false" /> + <add fileExtension=".ssmap" allowed="false" /> + <add fileExtension=".cd" allowed="false" /> + <add fileExtension=".dsprototype" allowed="false" /> + <add fileExtension=".lsaprototype" allowed="false" /> + <add fileExtension=".sdm" allowed="false" /> + <add fileExtension=".sdmDocument" allowed="false" /> + <add fileExtension=".mdf" allowed="false" /> + <add fileExtension=".ldf" allowed="false" /> + <add fileExtension=".ad" allowed="false" /> + <add fileExtension=".dd" allowed="false" /> + <add fileExtension=".ldd" allowed="false" /> + <add fileExtension=".sd" allowed="false" /> + <add fileExtension=".adprototype" allowed="false" /> + <add fileExtension=".lddprototype" allowed="false" /> + <add fileExtension=".exclude" allowed="false" /> + <add fileExtension=".refresh" allowed="false" /> + <add fileExtension=".compiled" allowed="false" /> + <add fileExtension=".msgx" allowed="false" /> + <add fileExtension=".vsdisco" allowed="false" /> + <add fileExtension=".rules" allowed="false" /> + </fileExtensions> + <verbs allowUnlisted="true" applyToWebDAV="true" /> + <hiddenSegments applyToWebDAV="true"> + <add segment="web.config" /> + <add segment="bin" /> + <add segment="App_code" /> + <add segment="App_GlobalResources" /> + <add segment="App_LocalResources" /> + <add segment="App_WebReferences" /> + <add segment="App_Data" /> + <add segment="App_Browsers" /> + </hiddenSegments> + </requestFiltering> + + </security> + + <serverSideInclude ssiExecDisable="false" /> + + <staticContent lockAttributes="isDocFooterFileName"> + <mimeMap fileExtension=".323" mimeType="text/h323" /> + <mimeMap fileExtension=".3g2" mimeType="video/3gpp2" /> + <mimeMap fileExtension=".3gp2" mimeType="video/3gpp2" /> + <mimeMap fileExtension=".3gp" mimeType="video/3gpp" /> + <mimeMap fileExtension=".3gpp" mimeType="video/3gpp" /> + <mimeMap fileExtension=".aac" mimeType="audio/aac" /> + <mimeMap fileExtension=".aaf" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".aca" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".accdb" mimeType="application/msaccess" /> + <mimeMap fileExtension=".accde" mimeType="application/msaccess" /> + <mimeMap fileExtension=".accdt" mimeType="application/msaccess" /> + <mimeMap fileExtension=".acx" mimeType="application/internet-property-stream" /> + <mimeMap fileExtension=".adt" mimeType="audio/vnd.dlna.adts" /> + <mimeMap fileExtension=".adts" mimeType="audio/vnd.dlna.adts" /> + <mimeMap fileExtension=".afm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ai" mimeType="application/postscript" /> + <mimeMap fileExtension=".aif" mimeType="audio/x-aiff" /> + <mimeMap fileExtension=".aifc" mimeType="audio/aiff" /> + <mimeMap fileExtension=".aiff" mimeType="audio/aiff" /> + <mimeMap fileExtension=".appcache" mimeType="text/cache-manifest" /> + <mimeMap fileExtension=".application" mimeType="application/x-ms-application" /> + <mimeMap fileExtension=".art" mimeType="image/x-jg" /> + <mimeMap fileExtension=".asd" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".asf" mimeType="video/x-ms-asf" /> + <mimeMap fileExtension=".asi" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".asm" mimeType="text/plain" /> + <mimeMap fileExtension=".asr" mimeType="video/x-ms-asf" /> + <mimeMap fileExtension=".asx" mimeType="video/x-ms-asf" /> + <mimeMap fileExtension=".atom" mimeType="application/atom+xml" /> + <mimeMap fileExtension=".au" mimeType="audio/basic" /> + <mimeMap fileExtension=".avi" mimeType="video/avi" /> + <mimeMap fileExtension=".axs" mimeType="application/olescript" /> + <mimeMap fileExtension=".bas" mimeType="text/plain" /> + <mimeMap fileExtension=".bcpio" mimeType="application/x-bcpio" /> + <mimeMap fileExtension=".bin" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".bmp" mimeType="image/bmp" /> + <mimeMap fileExtension=".c" mimeType="text/plain" /> + <mimeMap fileExtension=".cab" mimeType="application/vnd.ms-cab-compressed" /> + <mimeMap fileExtension=".calx" mimeType="application/vnd.ms-office.calx" /> + <mimeMap fileExtension=".cat" mimeType="application/vnd.ms-pki.seccat" /> + <mimeMap fileExtension=".cdf" mimeType="application/x-cdf" /> + <mimeMap fileExtension=".chm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".class" mimeType="application/x-java-applet" /> + <mimeMap fileExtension=".clp" mimeType="application/x-msclip" /> + <mimeMap fileExtension=".cmx" mimeType="image/x-cmx" /> + <mimeMap fileExtension=".cnf" mimeType="text/plain" /> + <mimeMap fileExtension=".cod" mimeType="image/cis-cod" /> + <mimeMap fileExtension=".cpio" mimeType="application/x-cpio" /> + <mimeMap fileExtension=".cpp" mimeType="text/plain" /> + <mimeMap fileExtension=".crd" mimeType="application/x-mscardfile" /> + <mimeMap fileExtension=".crl" mimeType="application/pkix-crl" /> + <mimeMap fileExtension=".crt" mimeType="application/x-x509-ca-cert" /> + <mimeMap fileExtension=".csh" mimeType="application/x-csh" /> + <mimeMap fileExtension=".css" mimeType="text/css" /> + <mimeMap fileExtension=".csv" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".cur" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".dcr" mimeType="application/x-director" /> + <mimeMap fileExtension=".deploy" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".der" mimeType="application/x-x509-ca-cert" /> + <mimeMap fileExtension=".dib" mimeType="image/bmp" /> + <mimeMap fileExtension=".dir" mimeType="application/x-director" /> + <mimeMap fileExtension=".disco" mimeType="text/xml" /> + <mimeMap fileExtension=".dll" mimeType="application/x-msdownload" /> + <mimeMap fileExtension=".dll.config" mimeType="text/xml" /> + <mimeMap fileExtension=".dlm" mimeType="text/dlm" /> + <mimeMap fileExtension=".doc" mimeType="application/msword" /> + <mimeMap fileExtension=".docm" mimeType="application/vnd.ms-word.document.macroEnabled.12" /> + <mimeMap fileExtension=".docx" mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" /> + <mimeMap fileExtension=".dot" mimeType="application/msword" /> + <mimeMap fileExtension=".dotm" mimeType="application/vnd.ms-word.template.macroEnabled.12" /> + <mimeMap fileExtension=".dotx" mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.template" /> + <mimeMap fileExtension=".dsp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".dtd" mimeType="text/xml" /> + <mimeMap fileExtension=".dvi" mimeType="application/x-dvi" /> + <mimeMap fileExtension=".dvr-ms" mimeType="video/x-ms-dvr" /> + <mimeMap fileExtension=".dwf" mimeType="drawing/x-dwf" /> + <mimeMap fileExtension=".dwp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".dxr" mimeType="application/x-director" /> + <mimeMap fileExtension=".eml" mimeType="message/rfc822" /> + <mimeMap fileExtension=".emz" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" /> + <mimeMap fileExtension=".eps" mimeType="application/postscript" /> + <mimeMap fileExtension=".esd" mimeType="application/vnd.ms-cab-compressed" /> + <mimeMap fileExtension=".etx" mimeType="text/x-setext" /> + <mimeMap fileExtension=".evy" mimeType="application/envoy" /> + <mimeMap fileExtension=".exe" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".exe.config" mimeType="text/xml" /> + <mimeMap fileExtension=".fdf" mimeType="application/vnd.fdf" /> + <mimeMap fileExtension=".fif" mimeType="application/fractals" /> + <mimeMap fileExtension=".fla" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".flr" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".flv" mimeType="video/x-flv" /> + <mimeMap fileExtension=".gif" mimeType="image/gif" /> + <mimeMap fileExtension=".glb" mimeType="model/gltf-binary" /> + <mimeMap fileExtension=".gtar" mimeType="application/x-gtar" /> + <mimeMap fileExtension=".gz" mimeType="application/x-gzip" /> + <mimeMap fileExtension=".h" mimeType="text/plain" /> + <mimeMap fileExtension=".hdf" mimeType="application/x-hdf" /> + <mimeMap fileExtension=".hdml" mimeType="text/x-hdml" /> + <mimeMap fileExtension=".hhc" mimeType="application/x-oleobject" /> + <mimeMap fileExtension=".hhk" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".hhp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".hlp" mimeType="application/winhlp" /> + <mimeMap fileExtension=".hqx" mimeType="application/mac-binhex40" /> + <mimeMap fileExtension=".hta" mimeType="application/hta" /> + <mimeMap fileExtension=".htc" mimeType="text/x-component" /> + <mimeMap fileExtension=".htm" mimeType="text/html" /> + <mimeMap fileExtension=".html" mimeType="text/html" /> + <mimeMap fileExtension=".htt" mimeType="text/webviewhtml" /> + <mimeMap fileExtension=".hxt" mimeType="text/html" /> + <mimeMap fileExtension=".ico" mimeType="image/x-icon" /> + <mimeMap fileExtension=".ics" mimeType="text/calendar" /> + <mimeMap fileExtension=".ief" mimeType="image/ief" /> + <mimeMap fileExtension=".iii" mimeType="application/x-iphone" /> + <mimeMap fileExtension=".inf" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ins" mimeType="application/x-internet-signup" /> + <mimeMap fileExtension=".isp" mimeType="application/x-internet-signup" /> + <mimeMap fileExtension=".IVF" mimeType="video/x-ivf" /> + <mimeMap fileExtension=".jar" mimeType="application/java-archive" /> + <mimeMap fileExtension=".java" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".jck" mimeType="application/liquidmotion" /> + <mimeMap fileExtension=".jcz" mimeType="application/liquidmotion" /> + <mimeMap fileExtension=".jfif" mimeType="image/pjpeg" /> + <mimeMap fileExtension=".jpb" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".jpe" mimeType="image/jpeg" /> + <mimeMap fileExtension=".jpeg" mimeType="image/jpeg" /> + <mimeMap fileExtension=".jpg" mimeType="image/jpeg" /> + <mimeMap fileExtension=".js" mimeType="application/javascript" /> + <mimeMap fileExtension=".json" mimeType="application/json" /> + <mimeMap fileExtension=".jsonld" mimeType="application/ld+json" /> + <mimeMap fileExtension=".jsx" mimeType="text/jscript" /> + <mimeMap fileExtension=".latex" mimeType="application/x-latex" /> + <mimeMap fileExtension=".less" mimeType="text/css" /> + <mimeMap fileExtension=".lit" mimeType="application/x-ms-reader" /> + <mimeMap fileExtension=".lpk" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".lsf" mimeType="video/x-la-asf" /> + <mimeMap fileExtension=".lsx" mimeType="video/x-la-asf" /> + <mimeMap fileExtension=".lzh" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".m13" mimeType="application/x-msmediaview" /> + <mimeMap fileExtension=".m14" mimeType="application/x-msmediaview" /> + <mimeMap fileExtension=".m1v" mimeType="video/mpeg" /> + <mimeMap fileExtension=".m2ts" mimeType="video/vnd.dlna.mpeg-tts" /> + <mimeMap fileExtension=".m3u" mimeType="audio/x-mpegurl" /> + <mimeMap fileExtension=".m4a" mimeType="audio/mp4" /> + <mimeMap fileExtension=".m4v" mimeType="video/mp4" /> + <mimeMap fileExtension=".man" mimeType="application/x-troff-man" /> + <mimeMap fileExtension=".manifest" mimeType="application/x-ms-manifest" /> + <mimeMap fileExtension=".map" mimeType="text/plain" /> + <mimeMap fileExtension=".mdb" mimeType="application/x-msaccess" /> + <mimeMap fileExtension=".mdp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".me" mimeType="application/x-troff-me" /> + <mimeMap fileExtension=".mht" mimeType="message/rfc822" /> + <mimeMap fileExtension=".mhtml" mimeType="message/rfc822" /> + <mimeMap fileExtension=".mid" mimeType="audio/mid" /> + <mimeMap fileExtension=".midi" mimeType="audio/mid" /> + <mimeMap fileExtension=".mix" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".mmf" mimeType="application/x-smaf" /> + <mimeMap fileExtension=".mno" mimeType="text/xml" /> + <mimeMap fileExtension=".mny" mimeType="application/x-msmoney" /> + <mimeMap fileExtension=".mov" mimeType="video/quicktime" /> + <mimeMap fileExtension=".movie" mimeType="video/x-sgi-movie" /> + <mimeMap fileExtension=".mp2" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mp3" mimeType="audio/mpeg" /> + <mimeMap fileExtension=".mp4" mimeType="video/mp4" /> + <mimeMap fileExtension=".mp4v" mimeType="video/mp4" /> + <mimeMap fileExtension=".mpa" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mpe" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mpeg" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mpg" mimeType="video/mpeg" /> + <mimeMap fileExtension=".mpp" mimeType="application/vnd.ms-project" /> + <mimeMap fileExtension=".mpv2" mimeType="video/mpeg" /> + <mimeMap fileExtension=".ms" mimeType="application/x-troff-ms" /> + <mimeMap fileExtension=".msi" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".mso" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".mvb" mimeType="application/x-msmediaview" /> + <mimeMap fileExtension=".mvc" mimeType="application/x-miva-compiled" /> + <mimeMap fileExtension=".nc" mimeType="application/x-netcdf" /> + <mimeMap fileExtension=".nsc" mimeType="video/x-ms-asf" /> + <mimeMap fileExtension=".nws" mimeType="message/rfc822" /> + <mimeMap fileExtension=".ocx" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".oda" mimeType="application/oda" /> + <mimeMap fileExtension=".odc" mimeType="text/x-ms-odc" /> + <mimeMap fileExtension=".ods" mimeType="application/oleobject" /> + <mimeMap fileExtension=".oga" mimeType="audio/ogg" /> + <mimeMap fileExtension=".ogg" mimeType="video/ogg" /> + <mimeMap fileExtension=".ogv" mimeType="video/ogg" /> + <mimeMap fileExtension=".one" mimeType="application/onenote" /> + <mimeMap fileExtension=".onea" mimeType="application/onenote" /> + <mimeMap fileExtension=".onetoc" mimeType="application/onenote" /> + <mimeMap fileExtension=".onetoc2" mimeType="application/onenote" /> + <mimeMap fileExtension=".onetmp" mimeType="application/onenote" /> + <mimeMap fileExtension=".onepkg" mimeType="application/onenote" /> + <mimeMap fileExtension=".osdx" mimeType="application/opensearchdescription+xml" /> + <mimeMap fileExtension=".otf" mimeType="font/otf" /> + <mimeMap fileExtension=".p10" mimeType="application/pkcs10" /> + <mimeMap fileExtension=".p12" mimeType="application/x-pkcs12" /> + <mimeMap fileExtension=".p7b" mimeType="application/x-pkcs7-certificates" /> + <mimeMap fileExtension=".p7c" mimeType="application/pkcs7-mime" /> + <mimeMap fileExtension=".p7m" mimeType="application/pkcs7-mime" /> + <mimeMap fileExtension=".p7r" mimeType="application/x-pkcs7-certreqresp" /> + <mimeMap fileExtension=".p7s" mimeType="application/pkcs7-signature" /> + <mimeMap fileExtension=".pbm" mimeType="image/x-portable-bitmap" /> + <mimeMap fileExtension=".pcx" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pcz" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pdf" mimeType="application/pdf" /> + <mimeMap fileExtension=".pfb" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pfm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pfx" mimeType="application/x-pkcs12" /> + <mimeMap fileExtension=".pgm" mimeType="image/x-portable-graymap" /> + <mimeMap fileExtension=".pko" mimeType="application/vnd.ms-pki.pko" /> + <mimeMap fileExtension=".pma" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".pmc" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".pml" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".pmr" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".pmw" mimeType="application/x-perfmon" /> + <mimeMap fileExtension=".png" mimeType="image/png" /> + <mimeMap fileExtension=".pnm" mimeType="image/x-portable-anymap" /> + <mimeMap fileExtension=".pnz" mimeType="image/png" /> + <mimeMap fileExtension=".pot" mimeType="application/vnd.ms-powerpoint" /> + <mimeMap fileExtension=".potm" mimeType="application/vnd.ms-powerpoint.template.macroEnabled.12" /> + <mimeMap fileExtension=".potx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.template" /> + <mimeMap fileExtension=".ppam" mimeType="application/vnd.ms-powerpoint.addin.macroEnabled.12" /> + <mimeMap fileExtension=".ppm" mimeType="image/x-portable-pixmap" /> + <mimeMap fileExtension=".pps" mimeType="application/vnd.ms-powerpoint" /> + <mimeMap fileExtension=".ppsm" mimeType="application/vnd.ms-powerpoint.slideshow.macroEnabled.12" /> + <mimeMap fileExtension=".ppsx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.slideshow" /> + <mimeMap fileExtension=".ppt" mimeType="application/vnd.ms-powerpoint" /> + <mimeMap fileExtension=".pptm" mimeType="application/vnd.ms-powerpoint.presentation.macroEnabled.12" /> + <mimeMap fileExtension=".pptx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" /> + <mimeMap fileExtension=".prf" mimeType="application/pics-rules" /> + <mimeMap fileExtension=".prm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".prx" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ps" mimeType="application/postscript" /> + <mimeMap fileExtension=".psd" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".psm" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".psp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".pub" mimeType="application/x-mspublisher" /> + <mimeMap fileExtension=".qt" mimeType="video/quicktime" /> + <mimeMap fileExtension=".qtl" mimeType="application/x-quicktimeplayer" /> + <mimeMap fileExtension=".qxd" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ra" mimeType="audio/x-pn-realaudio" /> + <mimeMap fileExtension=".ram" mimeType="audio/x-pn-realaudio" /> + <mimeMap fileExtension=".rar" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".ras" mimeType="image/x-cmu-raster" /> + <mimeMap fileExtension=".rf" mimeType="image/vnd.rn-realflash" /> + <mimeMap fileExtension=".rgb" mimeType="image/x-rgb" /> + <mimeMap fileExtension=".rm" mimeType="application/vnd.rn-realmedia" /> + <mimeMap fileExtension=".rmi" mimeType="audio/mid" /> + <mimeMap fileExtension=".roff" mimeType="application/x-troff" /> + <mimeMap fileExtension=".rpm" mimeType="audio/x-pn-realaudio-plugin" /> + <mimeMap fileExtension=".rtf" mimeType="application/rtf" /> + <mimeMap fileExtension=".rtx" mimeType="text/richtext" /> + <mimeMap fileExtension=".scd" mimeType="application/x-msschedule" /> + <mimeMap fileExtension=".sct" mimeType="text/scriptlet" /> + <mimeMap fileExtension=".sea" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".setpay" mimeType="application/set-payment-initiation" /> + <mimeMap fileExtension=".setreg" mimeType="application/set-registration-initiation" /> + <mimeMap fileExtension=".sgml" mimeType="text/sgml" /> + <mimeMap fileExtension=".sh" mimeType="application/x-sh" /> + <mimeMap fileExtension=".shar" mimeType="application/x-shar" /> + <mimeMap fileExtension=".sit" mimeType="application/x-stuffit" /> + <mimeMap fileExtension=".sldm" mimeType="application/vnd.ms-powerpoint.slide.macroEnabled.12" /> + <mimeMap fileExtension=".sldx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.slide" /> + <mimeMap fileExtension=".smd" mimeType="audio/x-smd" /> + <mimeMap fileExtension=".smi" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".smx" mimeType="audio/x-smd" /> + <mimeMap fileExtension=".smz" mimeType="audio/x-smd" /> + <mimeMap fileExtension=".snd" mimeType="audio/basic" /> + <mimeMap fileExtension=".snp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".spc" mimeType="application/x-pkcs7-certificates" /> + <mimeMap fileExtension=".spl" mimeType="application/futuresplash" /> + <mimeMap fileExtension=".spx" mimeType="audio/ogg" /> + <mimeMap fileExtension=".src" mimeType="application/x-wais-source" /> + <mimeMap fileExtension=".ssm" mimeType="application/streamingmedia" /> + <mimeMap fileExtension=".sst" mimeType="application/vnd.ms-pki.certstore" /> + <mimeMap fileExtension=".stl" mimeType="application/vnd.ms-pki.stl" /> + <mimeMap fileExtension=".sv4cpio" mimeType="application/x-sv4cpio" /> + <mimeMap fileExtension=".sv4crc" mimeType="application/x-sv4crc" /> + <mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> + <mimeMap fileExtension=".svgz" mimeType="image/svg+xml" /> + <mimeMap fileExtension=".swf" mimeType="application/x-shockwave-flash" /> + <mimeMap fileExtension=".t" mimeType="application/x-troff" /> + <mimeMap fileExtension=".tar" mimeType="application/x-tar" /> + <mimeMap fileExtension=".tcl" mimeType="application/x-tcl" /> + <mimeMap fileExtension=".tex" mimeType="application/x-tex" /> + <mimeMap fileExtension=".texi" mimeType="application/x-texinfo" /> + <mimeMap fileExtension=".texinfo" mimeType="application/x-texinfo" /> + <mimeMap fileExtension=".tgz" mimeType="application/x-compressed" /> + <mimeMap fileExtension=".thmx" mimeType="application/vnd.ms-officetheme" /> + <mimeMap fileExtension=".thn" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".tif" mimeType="image/tiff" /> + <mimeMap fileExtension=".tiff" mimeType="image/tiff" /> + <mimeMap fileExtension=".toc" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".tr" mimeType="application/x-troff" /> + <mimeMap fileExtension=".trm" mimeType="application/x-msterminal" /> + <mimeMap fileExtension=".ts" mimeType="video/vnd.dlna.mpeg-tts" /> + <mimeMap fileExtension=".tsv" mimeType="text/tab-separated-values" /> + <mimeMap fileExtension=".ttf" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".tts" mimeType="video/vnd.dlna.mpeg-tts" /> + <mimeMap fileExtension=".txt" mimeType="text/plain" /> + <mimeMap fileExtension=".u32" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".uls" mimeType="text/iuls" /> + <mimeMap fileExtension=".ustar" mimeType="application/x-ustar" /> + <mimeMap fileExtension=".vbs" mimeType="text/vbscript" /> + <mimeMap fileExtension=".vcf" mimeType="text/x-vcard" /> + <mimeMap fileExtension=".vcs" mimeType="text/plain" /> + <mimeMap fileExtension=".vdx" mimeType="application/vnd.ms-visio.viewer" /> + <mimeMap fileExtension=".vml" mimeType="text/xml" /> + <mimeMap fileExtension=".vsd" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vss" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vst" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vsto" mimeType="application/x-ms-vsto" /> + <mimeMap fileExtension=".vsw" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vsx" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".vtx" mimeType="application/vnd.visio" /> + <mimeMap fileExtension=".wasm" mimeType="application/wasm" /> + <mimeMap fileExtension=".wav" mimeType="audio/wav" /> + <mimeMap fileExtension=".wax" mimeType="audio/x-ms-wax" /> + <mimeMap fileExtension=".wbmp" mimeType="image/vnd.wap.wbmp" /> + <mimeMap fileExtension=".wcm" mimeType="application/vnd.ms-works" /> + <mimeMap fileExtension=".wdb" mimeType="application/vnd.ms-works" /> + <mimeMap fileExtension=".webm" mimeType="video/webm" /> + <mimeMap fileExtension=".wks" mimeType="application/vnd.ms-works" /> + <mimeMap fileExtension=".wm" mimeType="video/x-ms-wm" /> + <mimeMap fileExtension=".wma" mimeType="audio/x-ms-wma" /> + <mimeMap fileExtension=".wmd" mimeType="application/x-ms-wmd" /> + <mimeMap fileExtension=".wmf" mimeType="application/x-msmetafile" /> + <mimeMap fileExtension=".wml" mimeType="text/vnd.wap.wml" /> + <mimeMap fileExtension=".wmlc" mimeType="application/vnd.wap.wmlc" /> + <mimeMap fileExtension=".wmls" mimeType="text/vnd.wap.wmlscript" /> + <mimeMap fileExtension=".wmlsc" mimeType="application/vnd.wap.wmlscriptc" /> + <mimeMap fileExtension=".wmp" mimeType="video/x-ms-wmp" /> + <mimeMap fileExtension=".wmv" mimeType="video/x-ms-wmv" /> + <mimeMap fileExtension=".wmx" mimeType="video/x-ms-wmx" /> + <mimeMap fileExtension=".wmz" mimeType="application/x-ms-wmz" /> + <mimeMap fileExtension=".woff" mimeType="font/x-woff" /> + <mimeMap fileExtension=".woff2" mimeType="application/font-woff2" /> + <mimeMap fileExtension=".wps" mimeType="application/vnd.ms-works" /> + <mimeMap fileExtension=".wri" mimeType="application/x-mswrite" /> + <mimeMap fileExtension=".wrl" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".wrz" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".wsdl" mimeType="text/xml" /> + <mimeMap fileExtension=".wtv" mimeType="video/x-ms-wtv" /> + <mimeMap fileExtension=".wvx" mimeType="video/x-ms-wvx" /> + <mimeMap fileExtension=".x" mimeType="application/directx" /> + <mimeMap fileExtension=".xaf" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".xaml" mimeType="application/xaml+xml" /> + <mimeMap fileExtension=".xap" mimeType="application/x-silverlight-app" /> + <mimeMap fileExtension=".xbap" mimeType="application/x-ms-xbap" /> + <mimeMap fileExtension=".xbm" mimeType="image/x-xbitmap" /> + <mimeMap fileExtension=".xdr" mimeType="text/plain" /> + <mimeMap fileExtension=".xht" mimeType="application/xhtml+xml" /> + <mimeMap fileExtension=".xhtml" mimeType="application/xhtml+xml" /> + <mimeMap fileExtension=".xla" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xlam" mimeType="application/vnd.ms-excel.addin.macroEnabled.12" /> + <mimeMap fileExtension=".xlc" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xlm" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xls" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xlsb" mimeType="application/vnd.ms-excel.sheet.binary.macroEnabled.12" /> + <mimeMap fileExtension=".xlsm" mimeType="application/vnd.ms-excel.sheet.macroEnabled.12" /> + <mimeMap fileExtension=".xlsx" mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" /> + <mimeMap fileExtension=".xlt" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xltm" mimeType="application/vnd.ms-excel.template.macroEnabled.12" /> + <mimeMap fileExtension=".xltx" mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.template" /> + <mimeMap fileExtension=".xlw" mimeType="application/vnd.ms-excel" /> + <mimeMap fileExtension=".xml" mimeType="text/xml" /> + <mimeMap fileExtension=".xof" mimeType="x-world/x-vrml" /> + <mimeMap fileExtension=".xpm" mimeType="image/x-xpixmap" /> + <mimeMap fileExtension=".xps" mimeType="application/vnd.ms-xpsdocument" /> + <mimeMap fileExtension=".xsd" mimeType="text/xml" /> + <mimeMap fileExtension=".xsf" mimeType="text/xml" /> + <mimeMap fileExtension=".xsl" mimeType="text/xml" /> + <mimeMap fileExtension=".xslt" mimeType="text/xml" /> + <mimeMap fileExtension=".xsn" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".xtp" mimeType="application/octet-stream" /> + <mimeMap fileExtension=".xwd" mimeType="image/x-xwindowdump" /> + <mimeMap fileExtension=".z" mimeType="application/x-compress" /> + <mimeMap fileExtension=".zip" mimeType="application/x-zip-compressed" /> + </staticContent> + + <tracing> + + <traceFailedRequests> + <add path="*"> + <traceAreas> + <add provider="ASP" verbosity="Verbose" /> + <add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" /> + <add provider="ISAPI Extension" verbosity="Verbose" /> + <add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,Rewrite,WebSocket" verbosity="Verbose" /> + </traceAreas> + <failureDefinitions statusCodes="200-999" /> + </add> + </traceFailedRequests> + + <traceProviderDefinitions> + <add name="WWW Server" guid="{3a2a4e84-4c21-4981-ae10-3fda0d9b0f83}"> + <areas> + <clear /> + <add name="Authentication" value="2" /> + <add name="Security" value="4" /> + <add name="Filter" value="8" /> + <add name="StaticFile" value="16" /> + <add name="CGI" value="32" /> + <add name="Compression" value="64" /> + <add name="Cache" value="128" /> + <add name="RequestNotifications" value="256" /> + <add name="Module" value="512" /> + <add name="Rewrite" value="1024" /> + <add name="FastCGI" value="4096" /> + <add name="WebSocket" value="16384" /> + </areas> + </add> + <add name="ASP" guid="{06b94d9a-b15e-456e-a4ef-37c984a2cb4b}"> + <areas> + <clear /> + </areas> + </add> + <add name="ISAPI Extension" guid="{a1c2040e-8840-4c31-ba11-9871031a19ea}"> + <areas> + <clear /> + </areas> + </add> + <add name="ASPNET" guid="{AFF081FE-0247-4275-9C4E-021F3DC1DA35}"> + <areas> + <add name="Infrastructure" value="1" /> + <add name="Module" value="2" /> + <add name="Page" value="4" /> + <add name="AppServices" value="8" /> + </areas> + </add> + </traceProviderDefinitions> + + </tracing> + + <urlCompression /> + + <validation /> + <webdav> + <globalSettings> + <propertyStores> + <add name="webdav_simple_prop" image="%IIS_BIN%\webdav_simple_prop.dll" image32="%IIS_BIN%\webdav_simple_prop.dll" /> + </propertyStores> + <lockStores> + <add name="webdav_simple_lock" image="%IIS_BIN%\webdav_simple_lock.dll" image32="%IIS_BIN%\webdav_simple_lock.dll" /> + </lockStores> + + </globalSettings> + <authoring> + <locks enabled="true" lockStore="webdav_simple_lock" /> + </authoring> + <authoringRules /> + </webdav> + <webSocket /> + <applicationInitialization /> + + </system.webServer> + <location path="" overrideMode="Allow"> + <system.webServer> + <modules> + <add name="IsapiFilterModule" lockItem="true" /> + <add name="BasicAuthenticationModule" lockItem="true" /> + <add name="IsapiModule" lockItem="true" /> + <add name="HttpLoggingModule" lockItem="true" /> + <add name="DynamicCompressionModule" lockItem="true" /> + <add name="StaticCompressionModule" lockItem="true" /> + <add name="DefaultDocumentModule" lockItem="true" /> + <add name="DirectoryListingModule" lockItem="true" /> + <add name="ProtocolSupportModule" lockItem="true" /> + <add name="HttpRedirectionModule" lockItem="true" /> + <add name="ServerSideIncludeModule" lockItem="true" /> + <add name="StaticFileModule" lockItem="true" /> + <add name="AnonymousAuthenticationModule" lockItem="true" /> + <add name="CertificateMappingAuthenticationModule" lockItem="true" /> + <add name="UrlAuthorizationModule" lockItem="true" /> + <add name="WindowsAuthenticationModule" lockItem="true" /> + <add name="IISCertificateMappingAuthenticationModule" lockItem="true" /> + <add name="WebMatrixSupportModule" lockItem="true" /> + <add name="IpRestrictionModule" lockItem="true" /> + <add name="DynamicIpRestrictionModule" lockItem="true" /> + <add name="RequestFilteringModule" lockItem="true" /> + <add name="CustomLoggingModule" lockItem="true" /> + <add name="CustomErrorModule" lockItem="true" /> + <add name="FailedRequestsTracingModule" lockItem="true" /> + <add name="CgiModule" lockItem="true" /> + <add name="FastCgiModule" lockItem="true" /> +<!-- <add name="WebDAVModule" /> --> + <add name="RewriteModule" /> + <add name="OutputCache" type="System.Web.Caching.OutputCacheModule" preCondition="managedHandler" /> + <add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="managedHandler" /> + <add name="WindowsAuthentication" type="System.Web.Security.WindowsAuthenticationModule" preCondition="managedHandler" /> + <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" preCondition="managedHandler" /> + <add name="DefaultAuthentication" type="System.Web.Security.DefaultAuthenticationModule" preCondition="managedHandler" /> + <add name="RoleManager" type="System.Web.Security.RoleManagerModule" preCondition="managedHandler" /> + <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule" preCondition="managedHandler" /> + <add name="FileAuthorization" type="System.Web.Security.FileAuthorizationModule" preCondition="managedHandler" /> + <add name="AnonymousIdentification" type="System.Web.Security.AnonymousIdentificationModule" preCondition="managedHandler" /> + <add name="Profile" type="System.Web.Profile.ProfileModule" preCondition="managedHandler" /> + <add name="UrlMappingsModule" type="System.Web.UrlMappingsModule" preCondition="managedHandler" /> + <add name="ApplicationInitializationModule" lockItem="true" /> + <add name="WebSocketModule" lockItem="true" /> + <add name="ServiceModel-4.0" type="System.ServiceModel.Activation.ServiceHttpModule,System.ServiceModel.Activation,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv4.0" /> + <add name="ConfigurationValidationModule" lockItem="true" /> + <add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="managedHandler,runtimeVersionv4.0" /> + <add name="ScriptModule-4.0" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv4.0" /> + <add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler,runtimeVersionv2.0" /> + </modules> + <handlers accessPolicy="Read, Script"> +<!-- <add name="WebDAV" path="*" verb="PROPFIND,PROPPATCH,MKCOL,PUT,COPY,DELETE,MOVE,LOCK,UNLOCK" modules="WebDAVModule" resourceType="Unspecified" requireAccess="None" /> --> + <add name="AXD-ISAPI-4.0_64bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="PageHandlerFactory-ISAPI-4.0_64bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="SimpleHandlerFactory-ISAPI-4.0_64bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="WebServiceHandlerFactory-ISAPI-4.0_64bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_64bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_64bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="svc-ISAPI-4.0_64bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> + <add name="rules-ISAPI-4.0_64bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> + <add name="xoml-ISAPI-4.0_64bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> + <add name="xamlx-ISAPI-4.0_64bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" /> + <add name="aspq-ISAPI-4.0_64bit" path="*.aspq" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="cshtm-ISAPI-4.0_64bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="cshtml-ISAPI-4.0_64bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="vbhtm-ISAPI-4.0_64bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="vbhtml-ISAPI-4.0_64bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="svc-ISAPI-2.0" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> + <add name="xoml-Integrated" path="*.xoml" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="xoml-ISAPI-2.0" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> + <add name="rules-Integrated" path="*.rules" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="rules-ISAPI-2.0" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" /> + <add name="AXD-ISAPI-4.0_32bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="PageHandlerFactory-ISAPI-4.0_32bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="SimpleHandlerFactory-ISAPI-4.0_32bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="WebServiceHandlerFactory-ISAPI-4.0_32bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_32bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_32bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="svc-ISAPI-4.0_32bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> + <add name="rules-ISAPI-4.0_32bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> + <add name="xoml-ISAPI-4.0_32bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> + <add name="xamlx-ISAPI-4.0_32bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" /> + <add name="aspq-ISAPI-4.0_32bit" path="*.aspq" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="cshtm-ISAPI-4.0_32bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="cshtml-ISAPI-4.0_32bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="vbhtm-ISAPI-4.0_32bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="vbhtml-ISAPI-4.0_32bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="TraceHandler-Integrated-4.0" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="WebAdminHandler-Integrated-4.0" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="AssemblyResourceLoader-Integrated-4.0" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="PageHandlerFactory-Integrated-4.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="SimpleHandlerFactory-Integrated-4.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="WebServiceHandlerFactory-Integrated-4.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="HttpRemotingHandlerFactory-rem-Integrated-4.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="HttpRemotingHandlerFactory-soap-Integrated-4.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="svc-Integrated-4.0" path="*.svc" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="rules-Integrated-4.0" path="*.rules" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="xoml-Integrated-4.0" path="*.xoml" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="xamlx-Integrated-4.0" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" type="System.Xaml.Hosting.XamlHttpHandlerFactory, System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="aspq-Integrated-4.0" path="*.aspq" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="cshtm-Integrated-4.0" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="cshtml-Integrated-4.0" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="vbhtm-Integrated-4.0" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="vbhtml-Integrated-4.0" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="ScriptHandlerFactoryAppServices-Integrated-4.0" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="ScriptResourceIntegrated-4.0" path="*ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" /> + <add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%IIS_BIN%\asp.dll" resourceType="File" /> + <add name="SecurityCertificate" path="*.cer" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%IIS_BIN%\asp.dll" resourceType="File" /> + <add name="ISAPI-dll" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" /> + <add name="TraceHandler-Integrated" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="WebAdminHandler-Integrated" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="AssemblyResourceLoader-Integrated" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory,System.Web.Services,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="HttpRemotingHandlerFactory-rem-Integrated" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory,System.Runtime.Remoting,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="HttpRemotingHandlerFactory-soap-Integrated" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory,System.Runtime.Remoting,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" /> + <add name="AXD-ISAPI-2.0" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="PageHandlerFactory-ISAPI-2.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="SimpleHandlerFactory-ISAPI-2.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="WebServiceHandlerFactory-ISAPI-2.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" /> + <add name="svc-ISAPI-2.0-64" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> + <add name="AXD-ISAPI-2.0-64" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="PageHandlerFactory-ISAPI-2.0-64" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="SimpleHandlerFactory-ISAPI-2.0-64" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="WebServiceHandlerFactory-ISAPI-2.0-64" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0-64" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0-64" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" /> + <add name="rules-64-ISAPI-2.0" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> + <add name="xoml-64-ISAPI-2.0" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" /> + <add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" /> + <add name="SSINC-stm" path="*.stm" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> + <add name="SSINC-shtm" path="*.shtm" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> + <add name="SSINC-shtml" path="*.shtml" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" /> + <add name="TRACEVerbHandler" path="*" verb="TRACE" modules="ProtocolSupportModule" requireAccess="None" /> + <add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" modules="ProtocolSupportModule" requireAccess="None" /> + <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" /> + <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" /> + <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" /> + <add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" /> + </handlers> + </system.webServer> + </location> +</configuration> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/v17/DocumentLayout.backup.json" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/v17/DocumentLayout.backup.json" new file mode 100644 index 0000000..bfda61d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/v17/DocumentLayout.backup.json" @@ -0,0 +1,2614 @@ +{ + "Version": 1, + "WorkspaceRootPath": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}|WIDESEA_Common\\WIDESEA_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_common\\taskenum\\tasktypeenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}|WIDESEA_Common\\WIDESEA_Common.csproj|solutionrelative:widesea_common\\taskenum\\tasktypeenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7D7534D4-51D9-46DC-A6B7-6430042F4E12}|WIDESEA_TaskInfoService\\WIDESEA_TaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_taskinfoservice\\taskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7D7534D4-51D9-46DC-A6B7-6430042F4E12}|WIDESEA_TaskInfoService\\WIDESEA_TaskInfoService.csproj|solutionrelative:widesea_taskinfoservice\\taskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7D7534D4-51D9-46DC-A6B7-6430042F4E12}|WIDESEA_TaskInfoService\\WIDESEA_TaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_taskinfoservice\\partialtaskservice_inbound.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7D7534D4-51D9-46DC-A6B7-6430042F4E12}|WIDESEA_TaskInfoService\\WIDESEA_TaskInfoService.csproj|solutionrelative:widesea_taskinfoservice\\partialtaskservice_inbound.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\task\\wmstaskdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\task\\wmstaskdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\taskinfo\\taskcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\taskinfo\\taskcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\pdacontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\pdacontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}|WIDESEA_Common\\WIDESEA_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_common\\stockenum\\stockstatusemun.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}|WIDESEA_Common\\WIDESEA_Common.csproj|solutionrelative:widesea_common\\stockenum\\stockstatusemun.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ibasicservice\\ibasicservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|solutionrelative:widesea_ibasicservice\\ibasicservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7D7534D4-51D9-46DC-A6B7-6430042F4E12}|WIDESEA_TaskInfoService\\WIDESEA_TaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_taskinfoservice\\task_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7D7534D4-51D9-46DC-A6B7-6430042F4E12}|WIDESEA_TaskInfoService\\WIDESEA_TaskInfoService.csproj|solutionrelative:widesea_taskinfoservice\\task_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{CE0DB91F-5A68-448E-A419-4C26B5039F51}|WIDESEA_ITaskInfoService\\WIDESEA_ITaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_itaskinfoservice\\itaskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{CE0DB91F-5A68-448E-A419-4C26B5039F51}|WIDESEA_ITaskInfoService\\WIDESEA_ITaskInfoService.csproj|solutionrelative:widesea_itaskinfoservice\\itaskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\swaggersetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\swaggersetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\middlewares\\swaggermiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\middlewares\\swaggermiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\taskinfo\\task_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\taskinfo\\task_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_usercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_usercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_tenantcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_tenantcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\index.html||{40D31677-CBC0-4297-A9EF-89D907823A98}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\index.html||{40D31677-CBC0-4297-A9EF-89D907823A98}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_rolecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_rolecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_menucontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_menucontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_logcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_logcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_dictionarylistcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_dictionarylistcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_dictionarycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_dictionarycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\stock\\stockviewcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\stock\\stockviewcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\stock\\stockinfodetailcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\stock\\stockinfodetailcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\stock\\stockinfodetail_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\stock\\stockinfodetail_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\stock\\stockinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\stock\\stockinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\stock\\stockinfo_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\stock\\stockinfo_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\record\\stockquantitychangerecordcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\record\\stockquantitychangerecordcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\record\\locationstatuschangerecordcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\record\\locationstatuschangerecordcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\outbound\\outstocklockinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\outbound\\outstocklockinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\outbound\\outboundorderdetailcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\outbound\\outboundorderdetailcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\outbound\\outboundorderdetail_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\outbound\\outboundorderdetail_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\outbound\\outboundordercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\outbound\\outboundordercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\outbound\\outboundorder_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\outbound\\outboundorder_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\inbound\\inboundorderdetailcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\inbound\\inboundorderdetailcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\inbound\\inboundorderdetail_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\inbound\\inboundorderdetail_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\inbound\\inboundordercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\inbound\\inboundordercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\inbound\\inboundorder_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\inbound\\inboundorder_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\check\\checkorderresultcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\check\\checkorderresultcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\check\\checkordercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\check\\checkordercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\basic\\warehousecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\basic\\warehousecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\basic\\palletcodeinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\basic\\palletcodeinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\basic\\materielinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\basic\\materielinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\basic\\materielcodeinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\basic\\materielcodeinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\basic\\locationinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\basic\\locationinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_userservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_userservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_roleservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_roleservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\stockviewservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\stockviewservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\baseservices\\servicebase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\baseservices\\servicebase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\hostedservice\\permissiondatahostservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\hostedservice\\permissiondatahostservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\seed\\dbseed.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\seed\\dbseed.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\hostedservice\\seeddatahostedservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\hostedservice\\seeddatahostedservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_model\\models\\system\\sys_roledatapermission.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|solutionrelative:widesea_model\\models\\system\\sys_roledatapermission.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\swaggercontextextension.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\swaggercontextextension.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\middlewares\\swaggerauthmiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\middlewares\\swaggerauthmiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\widesea_wmsserver.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\widesea_core.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\widesea_core.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\httpcontextuser\\aspnetuser.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\httpcontextuser\\aspnetuser.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\caches\\memorycacheservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\caches\\memorycacheservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\filter\\apiauthorizefilter.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\filter\\apiauthorizefilter.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\websocketsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\websocketsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\sqlsugarsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\sqlsugarsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\miniprofilersetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\miniprofilersetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\memorycachesetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\memorycachesetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\autofacmoduleregister.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\autofacmoduleregister.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\aop\\sqlsugaraop.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\aop\\sqlsugaraop.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\aop\\logaop.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\aop\\logaop.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\middlewares\\apilogmiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\middlewares\\apilogmiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\loghelper\\logger.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\loghelper\\logger.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_model\\models\\system\\sys_log.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|solutionrelative:widesea_model\\models\\system\\sys_log.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\baseservices\\servicefunfilter.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\baseservices\\servicefunfilter.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\widesea_basicservice.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\widesea_basicservice.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\warehouseservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\warehouseservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\palletcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\palletcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\materielinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\materielinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\materielcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\materielcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\locationinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\locationinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\basicservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\basicservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\dbsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\dbsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\seed\\dbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\seed\\dbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ibasicservice\\ilocationinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|solutionrelative:widesea_ibasicservice\\ilocationinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_model\\models\\stock\\dt_stockinfo_hty.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|solutionrelative:widesea_model\\models\\stock\\dt_stockinfo_hty.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_model\\models\\stock\\dt_stockinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|solutionrelative:widesea_model\\models\\stock\\dt_stockinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\stock\\stockviewdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\stock\\stockviewdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\stock\\stockselectviewdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\stock\\stockselectviewdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A343A2C5-995D-45F1-A3E5-20495DD3F615}|WIDESEA_RecordService\\WIDESEA_RecordService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_recordservice\\stockquantitychangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A343A2C5-995D-45F1-A3E5-20495DD3F615}|WIDESEA_RecordService\\WIDESEA_RecordService.csproj|solutionrelative:widesea_recordservice\\stockquantitychangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\stockinfo_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\stockinfo_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_istockservice\\istockinfo_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|solutionrelative:widesea_istockservice\\istockinfo_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{6E0E5856-A399-4791-9EAD-84ABC43F35AA}|WIDESEA_IRecordService\\WIDESEA_IRecordService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_irecordservice\\ilocationstatuschangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{6E0E5856-A399-4791-9EAD-84ABC43F35AA}|WIDESEA_IRecordService\\WIDESEA_IRecordService.csproj|solutionrelative:widesea_irecordservice\\ilocationstatuschangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_dictionarylistservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_dictionarylistservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_roleauthservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_roleauthservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_tenantservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_tenantservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_menuservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_menuservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_logservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_logservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_dictionaryservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_dictionaryservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_outboundservice\\outstocklockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|solutionrelative:widesea_outboundservice\\outstocklockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{82EBBC95-FD6E-4E30-9F21-625DE1991C2C}|WIDESEA_ICheckService\\WIDESEA_ICheckService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_icheckservice\\icheckorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{82EBBC95-FD6E-4E30-9F21-625DE1991C2C}|WIDESEA_ICheckService\\WIDESEA_ICheckService.csproj|solutionrelative:widesea_icheckservice\\icheckorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{C57C16CE-88A7-499A-8CE1-855D55482891}|WIDESEA_CheckService\\WIDESEA_CheckService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_checkservice\\checkorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{C57C16CE-88A7-499A-8CE1-855D55482891}|WIDESEA_CheckService\\WIDESEA_CheckService.csproj|solutionrelative:widesea_checkservice\\checkorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{C57C16CE-88A7-499A-8CE1-855D55482891}|WIDESEA_CheckService\\WIDESEA_CheckService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_checkservice\\checkorderresultservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{C57C16CE-88A7-499A-8CE1-855D55482891}|WIDESEA_CheckService\\WIDESEA_CheckService.csproj|solutionrelative:widesea_checkservice\\checkorderresultservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{82EBBC95-FD6E-4E30-9F21-625DE1991C2C}|WIDESEA_ICheckService\\WIDESEA_ICheckService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_icheckservice\\icheckorderresultservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{82EBBC95-FD6E-4E30-9F21-625DE1991C2C}|WIDESEA_ICheckService\\WIDESEA_ICheckService.csproj|solutionrelative:widesea_icheckservice\\icheckorderresultservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ioutboundservice\\ioutboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|solutionrelative:widesea_ioutboundservice\\ioutboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ibasicservice\\imaterielinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|solutionrelative:widesea_ibasicservice\\imaterielinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{CE0DB91F-5A68-448E-A419-4C26B5039F51}|WIDESEA_ITaskInfoService\\WIDESEA_ITaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_itaskinfoservice\\itask_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{CE0DB91F-5A68-448E-A419-4C26B5039F51}|WIDESEA_ITaskInfoService\\WIDESEA_ITaskInfoService.csproj|solutionrelative:widesea_itaskinfoservice\\itask_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_menuservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_menuservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_userservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_userservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_tenantservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_tenantservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_roleservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_roleservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_roleauthservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_roleauthservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_logservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_logservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_dictionaryservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_dictionaryservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_dictionarylistservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_dictionarylistservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\stockserivce.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\stockserivce.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\stockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\stockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\stockinfodetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\stockinfodetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\stockinfodetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\stockinfodetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_istockservice\\istockviewservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|solutionrelative:widesea_istockservice\\istockviewservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\widesea_stockservice.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\widesea_stockservice.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" + }, + { + "AbsoluteMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_istockservice\\istockservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|solutionrelative:widesea_istockservice\\istockservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_istockservice\\istockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|solutionrelative:widesea_istockservice\\istockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_istockservice\\istockinfodetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|solutionrelative:widesea_istockservice\\istockinfodetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_istockservice\\istockinfodetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|solutionrelative:widesea_istockservice\\istockinfodetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A343A2C5-995D-45F1-A3E5-20495DD3F615}|WIDESEA_RecordService\\WIDESEA_RecordService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_recordservice\\locationstatuschangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A343A2C5-995D-45F1-A3E5-20495DD3F615}|WIDESEA_RecordService\\WIDESEA_RecordService.csproj|solutionrelative:widesea_recordservice\\locationstatuschangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A343A2C5-995D-45F1-A3E5-20495DD3F615}|WIDESEA_RecordService\\WIDESEA_RecordService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_recordservice\\widesea_recordservice.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|", + "RelativeMoniker": "D:0:0:{A343A2C5-995D-45F1-A3E5-20495DD3F615}|WIDESEA_RecordService\\WIDESEA_RecordService.csproj|solutionrelative:widesea_recordservice\\widesea_recordservice.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" + }, + { + "AbsoluteMoniker": "D:0:0:{6E0E5856-A399-4791-9EAD-84ABC43F35AA}|WIDESEA_IRecordService\\WIDESEA_IRecordService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_irecordservice\\istockquantitychangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{6E0E5856-A399-4791-9EAD-84ABC43F35AA}|WIDESEA_IRecordService\\WIDESEA_IRecordService.csproj|solutionrelative:widesea_irecordservice\\istockquantitychangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{6E0E5856-A399-4791-9EAD-84ABC43F35AA}|WIDESEA_IRecordService\\WIDESEA_IRecordService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_irecordservice\\irecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{6E0E5856-A399-4791-9EAD-84ABC43F35AA}|WIDESEA_IRecordService\\WIDESEA_IRecordService.csproj|solutionrelative:widesea_irecordservice\\irecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_outboundservice\\outboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|solutionrelative:widesea_outboundservice\\outboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_outboundservice\\outboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|solutionrelative:widesea_outboundservice\\outboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_outboundservice\\outboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|solutionrelative:widesea_outboundservice\\outboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ioutboundservice\\ioutboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|solutionrelative:widesea_ioutboundservice\\ioutboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_outboundservice\\outboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|solutionrelative:widesea_outboundservice\\outboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_outboundservice\\outboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|solutionrelative:widesea_outboundservice\\outboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ioutboundservice\\ioutstocklockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|solutionrelative:widesea_ioutboundservice\\ioutstocklockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ioutboundservice\\ioutboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|solutionrelative:widesea_ioutboundservice\\ioutboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ioutboundservice\\ioutboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|solutionrelative:widesea_ioutboundservice\\ioutboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ioutboundservice\\ioutboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|solutionrelative:widesea_ioutboundservice\\ioutboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_inboundservice\\inboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|solutionrelative:widesea_inboundservice\\inboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_inboundservice\\inboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|solutionrelative:widesea_inboundservice\\inboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_inboundservice\\inboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|solutionrelative:widesea_inboundservice\\inboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_inboundservice\\inboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|solutionrelative:widesea_inboundservice\\inboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_inboundservice\\inboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|solutionrelative:widesea_inboundservice\\inboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_iinboundservice\\iinboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|solutionrelative:widesea_iinboundservice\\iinboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_iinboundservice\\iinboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|solutionrelative:widesea_iinboundservice\\iinboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_iinboundservice\\iinboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|solutionrelative:widesea_iinboundservice\\iinboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_iinboundservice\\iinboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|solutionrelative:widesea_iinboundservice\\iinboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_iinboundservice\\iinboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|solutionrelative:widesea_iinboundservice\\iinboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ibasicservice\\ipalletcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|solutionrelative:widesea_ibasicservice\\ipalletcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ibasicservice\\iwarehouseservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|solutionrelative:widesea_ibasicservice\\iwarehouseservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ibasicservice\\imaterielcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|solutionrelative:widesea_ibasicservice\\imaterielcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\loghelper\\requestlogmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\loghelper\\requestlogmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\12825\\AppData\\Roaming\\NuGet\\NuGet.Config||{FA3CD31E-987B-443A-9B81-186104E8DAC1}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\filter\\globalexceptionsfilter.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\filter\\globalexceptionsfilter.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\helper\\httphelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\helper\\httphelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\helper\\httpmeshelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\helper\\httpmeshelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\httpcontextuser\\iuser.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\httpcontextuser\\iuser.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\basic\\matsernumanalysismodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\basic\\matsernumanalysismodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}|WIDESEA_Common\\WIDESEA_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_common\\orderenum\\mesoutboundordertype.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}|WIDESEA_Common\\WIDESEA_Common.csproj|solutionrelative:widesea_common\\orderenum\\mesoutboundordertype.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\inbound\\inboundorderadddto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\inbound\\inboundorderadddto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\inbound\\inboundorderdetailadddto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\inbound\\inboundorderdetailadddto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\inbound\\inboundordergetdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\inbound\\inboundordergetdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\inbound\\materielgroupdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\inbound\\materielgroupdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 8, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}" + }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}" + }, + { + "$type": "Document", + "DocumentIndex": 8, + "Title": "StockStatusEmun.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Common\\StockEnum\\StockStatusEmun.cs", + "RelativeDocumentMoniker": "WIDESEA_Common\\StockEnum\\StockStatusEmun.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Common\\StockEnum\\StockStatusEmun.cs", + "RelativeToolTip": "WIDESEA_Common\\StockEnum\\StockStatusEmun.cs", + "ViewState": "AgIAAAEAAAAAAAAAAADgvxoAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T09:32:00.636Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "PDAController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\PDAController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\PDAController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\PDAController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\PDAController.cs", + "ViewState": "AgIAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:29:11.584Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 18, + "Title": "Sys_RoleController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_RoleController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_RoleController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_RoleController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_RoleController.cs", + "ViewState": "AgIAAAcAAAAAAAAAAIAwwFAAAAAxAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-16T06:26:42.935Z" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "appsettings.json", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\appsettings.json", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\appsettings.json", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\appsettings.json", + "RelativeToolTip": "WIDESEA_WMSServer\\appsettings.json", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAaAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|", + "WhenOpened": "2025-01-15T07:26:59.115Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "PartialTaskService_Inbound.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_TaskInfoService\\PartialTaskService_Inbound.cs", + "RelativeDocumentMoniker": "WIDESEA_TaskInfoService\\PartialTaskService_Inbound.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_TaskInfoService\\PartialTaskService_Inbound.cs", + "RelativeToolTip": "WIDESEA_TaskInfoService\\PartialTaskService_Inbound.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAD0AAAAuAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T03:08:11.31Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "TaskService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_TaskInfoService\\TaskService.cs", + "RelativeDocumentMoniker": "WIDESEA_TaskInfoService\\TaskService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_TaskInfoService\\TaskService.cs", + "RelativeToolTip": "WIDESEA_TaskInfoService\\TaskService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAADwAAAAxAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T10:58:52.441Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "TaskTypeEnum.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Common\\TaskEnum\\TaskTypeEnum.cs", + "RelativeDocumentMoniker": "WIDESEA_Common\\TaskEnum\\TaskTypeEnum.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Common\\TaskEnum\\TaskTypeEnum.cs", + "RelativeToolTip": "WIDESEA_Common\\TaskEnum\\TaskTypeEnum.cs", + "ViewState": "AgIAAAkAAAAAAAAAAAAAAHwAAAAFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T05:50:16.067Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 9, + "Title": "IBasicService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IBasicService.cs", + "RelativeDocumentMoniker": "WIDESEA_IBasicService\\IBasicService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IBasicService.cs", + "RelativeToolTip": "WIDESEA_IBasicService\\IBasicService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAuwAkAAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:00:25.939Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "Program.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Program.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Program.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Program.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Program.cs", + "ViewState": "AgIAAHcAAAAAAAAAAAAAwIoAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T09:29:58.249Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "WMSTaskDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Task\\WMSTaskDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Task\\WMSTaskDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Task\\WMSTaskDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Task\\WMSTaskDTO.cs", + "ViewState": "AgIAAFYAAAAAAAAAAAAswGYAAAAFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T07:13:41.74Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 11, + "Title": "ITaskService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ITaskInfoService\\ITaskService.cs", + "RelativeDocumentMoniker": "WIDESEA_ITaskInfoService\\ITaskService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ITaskInfoService\\ITaskService.cs", + "RelativeToolTip": "WIDESEA_ITaskInfoService\\ITaskService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAACcAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T05:51:59.074Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "TaskController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\TaskInfo\\TaskController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\TaskInfo\\TaskController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\TaskInfo\\TaskController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\TaskInfo\\TaskController.cs", + "ViewState": "AgIAAA8AAAAAAAAAAAAAACAAAAAMAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T11:29:18.173Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 12, + "Title": "SwaggerSetup.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\SwaggerSetup.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\SwaggerSetup.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\SwaggerSetup.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\SwaggerSetup.cs", + "ViewState": "AgIAADcAAAAAAAAAAAAQwC8AAAAOAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:56:59.004Z" + }, + { + "$type": "Document", + "DocumentIndex": 13, + "Title": "SwaggerMiddleware.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Middlewares\\SwaggerMiddleware.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Middlewares\\SwaggerMiddleware.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Middlewares\\SwaggerMiddleware.cs", + "RelativeToolTip": "WIDESEA_Core\\Middlewares\\SwaggerMiddleware.cs", + "ViewState": "AgIAAAoAAAAAAAAAAAAswDsAAAAJAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:53:10.466Z" + }, + { + "$type": "Document", + "DocumentIndex": 10, + "Title": "Task_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_TaskInfoService\\Task_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_TaskInfoService\\Task_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_TaskInfoService\\Task_HtyService.cs", + "RelativeToolTip": "WIDESEA_TaskInfoService\\Task_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAzAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:34:11.533Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 14, + "Title": "Task_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\TaskInfo\\Task_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\TaskInfo\\Task_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\TaskInfo\\Task_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\TaskInfo\\Task_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:59.782Z" + }, + { + "$type": "Document", + "DocumentIndex": 15, + "Title": "Sys_UserController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_UserController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_UserController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_UserController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_UserController.cs", + "ViewState": "AgIAAAgAAAAAAAAAAAAEwDoAAAAnAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T07:04:09.301Z" + }, + { + "$type": "Document", + "DocumentIndex": 16, + "Title": "Sys_TenantController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_TenantController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_TenantController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_TenantController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_TenantController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:57.481Z" + }, + { + "$type": "Document", + "DocumentIndex": 17, + "Title": "index.html", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\index.html", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\index.html", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\index.html", + "RelativeToolTip": "WIDESEA_WMSServer\\index.html", + "ViewState": "AgIAABkAAAAAAAAAAAAAALIAAAAZAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001512|", + "WhenOpened": "2025-08-26T06:14:53.07Z" + }, + { + "$type": "Document", + "DocumentIndex": 19, + "Title": "Sys_MenuController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_MenuController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_MenuController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_MenuController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_MenuController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:56.612Z" + }, + { + "$type": "Document", + "DocumentIndex": 20, + "Title": "Sys_LogController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_LogController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_LogController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_LogController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_LogController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAsAAAAXAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:55.206Z" + }, + { + "$type": "Document", + "DocumentIndex": 21, + "Title": "Sys_DictionaryListController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryListController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryListController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryListController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryListController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:54.541Z" + }, + { + "$type": "Document", + "DocumentIndex": 22, + "Title": "Sys_DictionaryController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:53.594Z" + }, + { + "$type": "Document", + "DocumentIndex": 23, + "Title": "StockViewController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockViewController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Stock\\StockViewController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockViewController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Stock\\StockViewController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:50.521Z" + }, + { + "$type": "Document", + "DocumentIndex": 24, + "Title": "StockInfoDetailController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetailController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetailController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetailController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetailController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:48.484Z" + }, + { + "$type": "Document", + "DocumentIndex": 25, + "Title": "StockInfoDetail_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetail_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetail_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetail_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetail_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAAYAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:44.542Z" + }, + { + "$type": "Document", + "DocumentIndex": 26, + "Title": "StockInfoController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABYAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:35.806Z" + }, + { + "$type": "Document", + "DocumentIndex": 27, + "Title": "StockInfo_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfo_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfo_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfo_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfo_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAAYAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:31.101Z" + }, + { + "$type": "Document", + "DocumentIndex": 28, + "Title": "StockQuantityChangeRecordController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Record\\StockQuantityChangeRecordController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Record\\StockQuantityChangeRecordController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Record\\StockQuantityChangeRecordController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Record\\StockQuantityChangeRecordController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:28.418Z" + }, + { + "$type": "Document", + "DocumentIndex": 29, + "Title": "LocationStatusChangeRecordController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Record\\LocationStatusChangeRecordController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Record\\LocationStatusChangeRecordController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Record\\LocationStatusChangeRecordController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Record\\LocationStatusChangeRecordController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAHAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:23.613Z" + }, + { + "$type": "Document", + "DocumentIndex": 30, + "Title": "OutStockLockInfoController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutStockLockInfoController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutStockLockInfoController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutStockLockInfoController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutStockLockInfoController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T06:25:41.606Z" + }, + { + "$type": "Document", + "DocumentIndex": 31, + "Title": "OutboundOrderDetailController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetailController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetailController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetailController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetailController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABUAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:13.207Z" + }, + { + "$type": "Document", + "DocumentIndex": 32, + "Title": "OutboundOrderDetail_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetail_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetail_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetail_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetail_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:11.524Z" + }, + { + "$type": "Document", + "DocumentIndex": 33, + "Title": "OutboundOrderController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABkAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T06:03:40.012Z" + }, + { + "$type": "Document", + "DocumentIndex": 34, + "Title": "OutboundOrder_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrder_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrder_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrder_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrder_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T06:03:50.115Z" + }, + { + "$type": "Document", + "DocumentIndex": 35, + "Title": "InboundOrderDetailController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetailController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetailController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetailController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetailController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABMAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:53.095Z" + }, + { + "$type": "Document", + "DocumentIndex": 36, + "Title": "InboundOrderDetail_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetail_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetail_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetail_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetail_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:50.816Z" + }, + { + "$type": "Document", + "DocumentIndex": 37, + "Title": "InboundOrderController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABUAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:42.993Z" + }, + { + "$type": "Document", + "DocumentIndex": 38, + "Title": "InboundOrder_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrder_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrder_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrder_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrder_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T06:07:46.698Z" + }, + { + "$type": "Document", + "DocumentIndex": 39, + "Title": "CheckOrderResultController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderResultController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderResultController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderResultController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderResultController.cs", + "ViewState": "AgIAAAEAAAAAAAAAAAAAwAwAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:37.507Z" + }, + { + "$type": "Document", + "DocumentIndex": 40, + "Title": "CheckOrderController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAaAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:38.775Z" + }, + { + "$type": "Document", + "DocumentIndex": 41, + "Title": "WarehouseController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\WarehouseController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Basic\\WarehouseController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\WarehouseController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Basic\\WarehouseController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABMAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:30.913Z" + }, + { + "$type": "Document", + "DocumentIndex": 42, + "Title": "PalletCodeInfoController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\PalletCodeInfoController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Basic\\PalletCodeInfoController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\PalletCodeInfoController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Basic\\PalletCodeInfoController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAeAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:19.274Z" + }, + { + "$type": "Document", + "DocumentIndex": 43, + "Title": "MaterielInfoController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\MaterielInfoController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Basic\\MaterielInfoController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\MaterielInfoController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Basic\\MaterielInfoController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T03:18:17.379Z" + }, + { + "$type": "Document", + "DocumentIndex": 44, + "Title": "MaterielCodeInfoController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\MaterielCodeInfoController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Basic\\MaterielCodeInfoController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\MaterielCodeInfoController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Basic\\MaterielCodeInfoController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAQAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:08.709Z" + }, + { + "$type": "Document", + "DocumentIndex": 45, + "Title": "LocationInfoController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\LocationInfoController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Basic\\LocationInfoController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\LocationInfoController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Basic\\LocationInfoController.cs", + "ViewState": "AgIAAAMAAAAAAAAAAAAswBUAAABFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-19T05:57:08.292Z" + }, + { + "$type": "Document", + "DocumentIndex": 46, + "Title": "Sys_UserService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_UserService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_UserService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_UserService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_UserService.cs", + "ViewState": "AgIAABgAAAAAAAAAAAA3wD0AAAAQAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T07:03:01.11Z" + }, + { + "$type": "Document", + "DocumentIndex": 47, + "Title": "Sys_RoleService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_RoleService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_RoleService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_RoleService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_RoleService.cs", + "ViewState": "AgIAABkAAAAAAAAAAAAqwCIAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T07:53:40.363Z" + }, + { + "$type": "Document", + "DocumentIndex": 48, + "Title": "StockViewService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockViewService.cs", + "RelativeDocumentMoniker": "WIDESEA_StockService\\StockViewService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockViewService.cs", + "RelativeToolTip": "WIDESEA_StockService\\StockViewService.cs", + "ViewState": "AgIAACQAAAAAAAAAAADwvzIAAAANAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-16T06:25:05.884Z" + }, + { + "$type": "Document", + "DocumentIndex": 49, + "Title": "ServiceBase.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\BaseServices\\ServiceBase.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\BaseServices\\ServiceBase.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\BaseServices\\ServiceBase.cs", + "RelativeToolTip": "WIDESEA_Core\\BaseServices\\ServiceBase.cs", + "ViewState": "AgIAADkBAAAAAAAAAAAEwGEBAAALAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T03:01:01.27Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 50, + "Title": "PermissionDataHostService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HostedService\\PermissionDataHostService.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\HostedService\\PermissionDataHostService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HostedService\\PermissionDataHostService.cs", + "RelativeToolTip": "WIDESEA_Core\\HostedService\\PermissionDataHostService.cs", + "ViewState": "AgIAAJMAAAAAAAAAAAAAwMcAAAADAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T06:01:46.001Z" + }, + { + "$type": "Document", + "DocumentIndex": 52, + "Title": "SeedDataHostedService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HostedService\\SeedDataHostedService.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\HostedService\\SeedDataHostedService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HostedService\\SeedDataHostedService.cs", + "RelativeToolTip": "WIDESEA_Core\\HostedService\\SeedDataHostedService.cs", + "ViewState": "AgIAAAwAAAAAAAAAAAAiwCoAAAAfAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-20T07:59:07.035Z" + }, + { + "$type": "Document", + "DocumentIndex": 51, + "Title": "DBSeed.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Seed\\DBSeed.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Seed\\DBSeed.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Seed\\DBSeed.cs", + "RelativeToolTip": "WIDESEA_Core\\Seed\\DBSeed.cs", + "ViewState": "AgIAAIYAAAAAAAAAAAAAwFYAAAAeAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-20T07:44:53.659Z" + }, + { + "$type": "Document", + "DocumentIndex": 53, + "Title": "Sys_RoleDataPermission.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\System\\Sys_RoleDataPermission.cs", + "RelativeDocumentMoniker": "WIDESEA_Model\\Models\\System\\Sys_RoleDataPermission.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\System\\Sys_RoleDataPermission.cs", + "RelativeToolTip": "WIDESEA_Model\\Models\\System\\Sys_RoleDataPermission.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABoAAAADAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T05:49:00.151Z" + }, + { + "$type": "Document", + "DocumentIndex": 55, + "Title": "SwaggerAuthMiddleware.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Middlewares\\SwaggerAuthMiddleware.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Middlewares\\SwaggerAuthMiddleware.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Middlewares\\SwaggerAuthMiddleware.cs", + "RelativeToolTip": "WIDESEA_Core\\Middlewares\\SwaggerAuthMiddleware.cs", + "ViewState": "AgIAAAMAAAAAAAAAAAAAACMAAAAlAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:53:29.065Z" + }, + { + "$type": "Document", + "DocumentIndex": 57, + "Title": "WIDESEA_Core.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\WIDESEA_Core.csproj", + "RelativeDocumentMoniker": "WIDESEA_Core\\WIDESEA_Core.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\WIDESEA_Core.csproj", + "RelativeToolTip": "WIDESEA_Core\\WIDESEA_Core.csproj", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAAAmAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-01-24T03:50:44.938Z" + }, + { + "$type": "Document", + "DocumentIndex": 58, + "Title": "AspNetUser.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HttpContextUser\\AspNetUser.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\HttpContextUser\\AspNetUser.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HttpContextUser\\AspNetUser.cs", + "RelativeToolTip": "WIDESEA_Core\\HttpContextUser\\AspNetUser.cs", + "ViewState": "AgIAAJAAAAAAAAAAAAAuwFQAAAAnAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T06:46:49.797Z" + }, + { + "$type": "Document", + "DocumentIndex": 54, + "Title": "SwaggerContextExtension.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\SwaggerContextExtension.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\SwaggerContextExtension.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\SwaggerContextExtension.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\SwaggerContextExtension.cs", + "ViewState": "AgIAACYAAAAAAAAAAAAjwEEAAAAbAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:56:54.767Z" + }, + { + "$type": "Document", + "DocumentIndex": 56, + "Title": "WIDESEA_WMSServer.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj", + "RelativeToolTip": "WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj", + "ViewState": "AgIAAAwAAAAAAAAAAAAAACgAAAANAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-08-26T05:42:28.324Z" + }, + { + "$type": "Document", + "DocumentIndex": 60, + "Title": "ApiAuthorizeFilter.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Filter\\ApiAuthorizeFilter.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Filter\\ApiAuthorizeFilter.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Filter\\ApiAuthorizeFilter.cs", + "RelativeToolTip": "WIDESEA_Core\\Filter\\ApiAuthorizeFilter.cs", + "ViewState": "AgIAACoAAAAAAAAAAAAYwDAAAAAQAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T06:49:29.093Z" + }, + { + "$type": "Document", + "DocumentIndex": 61, + "Title": "WebSocketSetup.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\WebSocketSetup.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\WebSocketSetup.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\WebSocketSetup.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\WebSocketSetup.cs", + "ViewState": "AgIAAAEAAAAAAAAAAAAMwBkAAAAzAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T09:05:32.995Z" + }, + { + "$type": "Document", + "DocumentIndex": 59, + "Title": "MemoryCacheService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Caches\\MemoryCacheService.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Caches\\MemoryCacheService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Caches\\MemoryCacheService.cs", + "RelativeToolTip": "WIDESEA_Core\\Caches\\MemoryCacheService.cs", + "ViewState": "AgIAADYAAAAAAAAAAIAxwE8AAAAWAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T05:38:02.456Z" + }, + { + "$type": "Document", + "DocumentIndex": 63, + "Title": "MiniProfilerSetup.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\MiniProfilerSetup.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\MiniProfilerSetup.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\MiniProfilerSetup.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\MiniProfilerSetup.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:56:28.895Z" + }, + { + "$type": "Document", + "DocumentIndex": 64, + "Title": "MemoryCacheSetup.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\MemoryCacheSetup.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\MemoryCacheSetup.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\MemoryCacheSetup.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\MemoryCacheSetup.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:56:24.461Z" + }, + { + "$type": "Document", + "DocumentIndex": 67, + "Title": "LogAOP.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\AOP\\LogAOP.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\AOP\\LogAOP.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\AOP\\LogAOP.cs", + "RelativeToolTip": "WIDESEA_Core\\AOP\\LogAOP.cs", + "ViewState": "AgIAAEsAAAAAAAAAAAAYwAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:54:07.47Z" + }, + { + "$type": "Document", + "DocumentIndex": 70, + "Title": "Sys_Log.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\System\\Sys_Log.cs", + "RelativeDocumentMoniker": "WIDESEA_Model\\Models\\System\\Sys_Log.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\System\\Sys_Log.cs", + "RelativeToolTip": "WIDESEA_Model\\Models\\System\\Sys_Log.cs", + "ViewState": "AgIAACAAAAAAAAAAAAA3wD0AAAA1AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:50:59.421Z" + }, + { + "$type": "Document", + "DocumentIndex": 66, + "Title": "SqlSugarAop.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\AOP\\SqlSugarAop.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\AOP\\SqlSugarAop.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\AOP\\SqlSugarAop.cs", + "RelativeToolTip": "WIDESEA_Core\\AOP\\SqlSugarAop.cs", + "ViewState": "AgIAADkAAAAAAAAAAAAQwAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-20T07:54:43.998Z" + }, + { + "$type": "Document", + "DocumentIndex": 62, + "Title": "SqlsugarSetup.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\SqlsugarSetup.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\SqlsugarSetup.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\SqlsugarSetup.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\SqlsugarSetup.cs", + "ViewState": "AgIAABIAAAAAAAAAAAAAABQAAAAlAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-20T07:55:21.04Z" + }, + { + "$type": "Document", + "DocumentIndex": 65, + "Title": "AutofacModuleRegister.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\AutofacModuleRegister.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\AutofacModuleRegister.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\AutofacModuleRegister.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\AutofacModuleRegister.cs", + "ViewState": "AgIAAAsAAAAAAAAAAAAQwEsAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-09T10:26:29.649Z" + }, + { + "$type": "Document", + "DocumentIndex": 72, + "Title": "WIDESEA_BasicService.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\WIDESEA_BasicService.csproj", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\WIDESEA_BasicService.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\WIDESEA_BasicService.csproj", + "RelativeToolTip": "WIDESEA_BasicService\\WIDESEA_BasicService.csproj", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-02-15T08:57:56.211Z" + }, + { + "$type": "Document", + "DocumentIndex": 73, + "Title": "WarehouseService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\WarehouseService.cs", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\WarehouseService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\WarehouseService.cs", + "RelativeToolTip": "WIDESEA_BasicService\\WarehouseService.cs", + "ViewState": "AgIAABsAAAAAAAAAAAAYwBoAAAAoAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:24:06.301Z" + }, + { + "$type": "Document", + "DocumentIndex": 77, + "Title": "LocationInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\LocationInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\LocationInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\LocationInfoService.cs", + "RelativeToolTip": "WIDESEA_BasicService\\LocationInfoService.cs", + "ViewState": "AgIAABoAAAAAAAAAAAAnwBsAAAAZAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:02:59.786Z" + }, + { + "$type": "Document", + "DocumentIndex": 69, + "Title": "Logger.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\LogHelper\\Logger.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\LogHelper\\Logger.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\LogHelper\\Logger.cs", + "RelativeToolTip": "WIDESEA_Core\\LogHelper\\Logger.cs", + "ViewState": "AgIAADwAAAAAAAAAAAAYwAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-09T10:20:13.189Z" + }, + { + "$type": "Document", + "DocumentIndex": 68, + "Title": "ApiLogMiddleware.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Middlewares\\ApiLogMiddleware.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Middlewares\\ApiLogMiddleware.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Middlewares\\ApiLogMiddleware.cs", + "RelativeToolTip": "WIDESEA_Core\\Middlewares\\ApiLogMiddleware.cs", + "ViewState": "AgIAADwAAAAAAAAAAADwv3IAAAAJAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-16T01:30:16.274Z" + }, + { + "$type": "Document", + "DocumentIndex": 74, + "Title": "PalletCodeInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\PalletCodeInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\PalletCodeInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\PalletCodeInfoService.cs", + "RelativeToolTip": "WIDESEA_BasicService\\PalletCodeInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABkAAABDAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:18:21.462Z" + }, + { + "$type": "Document", + "DocumentIndex": 75, + "Title": "MaterielInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\MaterielInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\MaterielInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\MaterielInfoService.cs", + "RelativeToolTip": "WIDESEA_BasicService\\MaterielInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAB6AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:17:33.186Z" + }, + { + "$type": "Document", + "DocumentIndex": 71, + "Title": "ServiceFunFilter.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\BaseServices\\ServiceFunFilter.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\BaseServices\\ServiceFunFilter.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\BaseServices\\ServiceFunFilter.cs", + "RelativeToolTip": "WIDESEA_Core\\BaseServices\\ServiceFunFilter.cs", + "ViewState": "AgIAAK8AAAAAAAAAAADwv+sAAAAtAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T09:18:07.251Z" + }, + { + "$type": "Document", + "DocumentIndex": 76, + "Title": "MaterielCodeInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\MaterielCodeInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\MaterielCodeInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\MaterielCodeInfoService.cs", + "RelativeToolTip": "WIDESEA_BasicService\\MaterielCodeInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABcAAAAaAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:15:46.135Z" + }, + { + "$type": "Document", + "DocumentIndex": 78, + "Title": "BasicService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\BasicService.cs", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\BasicService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\BasicService.cs", + "RelativeToolTip": "WIDESEA_BasicService\\BasicService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAuwAQAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:02:30.75Z" + }, + { + "$type": "Document", + "DocumentIndex": 80, + "Title": "DBContext.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Seed\\DBContext.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Seed\\DBContext.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Seed\\DBContext.cs", + "RelativeToolTip": "WIDESEA_Core\\Seed\\DBContext.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABsAAAAzAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-20T07:47:01.691Z" + }, + { + "$type": "Document", + "DocumentIndex": 79, + "Title": "DbSetup.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\DbSetup.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\DbSetup.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\DbSetup.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\DbSetup.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAfAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-20T08:05:37.365Z" + }, + { + "$type": "Document", + "DocumentIndex": 86, + "Title": "StockQuantityChangeRecordService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_RecordService\\StockQuantityChangeRecordService.cs", + "RelativeDocumentMoniker": "WIDESEA_RecordService\\StockQuantityChangeRecordService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_RecordService\\StockQuantityChangeRecordService.cs", + "RelativeToolTip": "WIDESEA_RecordService\\StockQuantityChangeRecordService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAA4AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:46:27.897Z" + }, + { + "$type": "Document", + "DocumentIndex": 89, + "Title": "ILocationStatusChangeRecordService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IRecordService\\ILocationStatusChangeRecordService.cs", + "RelativeDocumentMoniker": "WIDESEA_IRecordService\\ILocationStatusChangeRecordService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IRecordService\\ILocationStatusChangeRecordService.cs", + "RelativeToolTip": "WIDESEA_IRecordService\\ILocationStatusChangeRecordService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAABGAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:44:57.22Z" + }, + { + "$type": "Document", + "DocumentIndex": 81, + "Title": "ILocationInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\ILocationInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_IBasicService\\ILocationInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\ILocationInfoService.cs", + "RelativeToolTip": "WIDESEA_IBasicService\\ILocationInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:00:38.358Z" + }, + { + "$type": "Document", + "DocumentIndex": 87, + "Title": "StockInfo_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfo_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_StockService\\StockInfo_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfo_HtyService.cs", + "RelativeToolTip": "WIDESEA_StockService\\StockInfo_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAsAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:50:42.971Z" + }, + { + "$type": "Document", + "DocumentIndex": 88, + "Title": "IStockInfo_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfo_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_IStockService\\IStockInfo_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfo_HtyService.cs", + "RelativeToolTip": "WIDESEA_IStockService\\IStockInfo_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAkAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:48:06.157Z" + }, + { + "$type": "Document", + "DocumentIndex": 82, + "Title": "Dt_StockInfo_Hty.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\Stock\\Dt_StockInfo_Hty.cs", + "RelativeDocumentMoniker": "WIDESEA_Model\\Models\\Stock\\Dt_StockInfo_Hty.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\Stock\\Dt_StockInfo_Hty.cs", + "RelativeToolTip": "WIDESEA_Model\\Models\\Stock\\Dt_StockInfo_Hty.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAABEAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-18T03:20:48.843Z" + }, + { + "$type": "Document", + "DocumentIndex": 83, + "Title": "Dt_StockInfo.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\Stock\\Dt_StockInfo.cs", + "RelativeDocumentMoniker": "WIDESEA_Model\\Models\\Stock\\Dt_StockInfo.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\Stock\\Dt_StockInfo.cs", + "RelativeToolTip": "WIDESEA_Model\\Models\\Stock\\Dt_StockInfo.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-18T03:16:11.082Z" + }, + { + "$type": "Document", + "DocumentIndex": 85, + "Title": "StockSelectViewDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Stock\\StockSelectViewDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Stock\\StockSelectViewDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Stock\\StockSelectViewDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Stock\\StockSelectViewDTO.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:34.567Z" + }, + { + "$type": "Document", + "DocumentIndex": 84, + "Title": "StockViewDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Stock\\StockViewDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Stock\\StockViewDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Stock\\StockViewDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Stock\\StockViewDTO.cs", + "ViewState": "AgIAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:32.542Z" + }, + { + "$type": "Document", + "DocumentIndex": 90, + "Title": "Sys_DictionaryListService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_DictionaryListService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_DictionaryListService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_DictionaryListService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_DictionaryListService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABIAAABFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:08:30.765Z" + }, + { + "$type": "Document", + "DocumentIndex": 92, + "Title": "Sys_TenantService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_TenantService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_TenantService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_TenantService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_TenantService.cs", + "ViewState": "AgIAACYAAAAAAAAAAAAgwBgAAAA4AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:23:13.136Z" + }, + { + "$type": "Document", + "DocumentIndex": 91, + "Title": "Sys_RoleAuthService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_RoleAuthService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_RoleAuthService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_RoleAuthService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_RoleAuthService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABIAAAAoAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:19:42.486Z" + }, + { + "$type": "Document", + "DocumentIndex": 93, + "Title": "Sys_MenuService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_MenuService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_MenuService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_MenuService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_MenuService.cs", + "ViewState": "AgIAAIMAAAAAAAAAAAAwwKkAAAApAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:13:07.892Z" + }, + { + "$type": "Document", + "DocumentIndex": 94, + "Title": "Sys_LogService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_LogService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_LogService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_LogService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_LogService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAyAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:12:50.523Z" + }, + { + "$type": "Document", + "DocumentIndex": 95, + "Title": "Sys_DictionaryService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_DictionaryService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_DictionaryService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_DictionaryService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_DictionaryService.cs", + "ViewState": "AgIAAKcAAAAAAAAAAAAcwFgAAAAeAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:08:50.938Z" + }, + { + "$type": "Document", + "DocumentIndex": 97, + "Title": "ICheckOrderService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ICheckService\\ICheckOrderService.cs", + "RelativeDocumentMoniker": "WIDESEA_ICheckService\\ICheckOrderService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ICheckService\\ICheckOrderService.cs", + "RelativeToolTip": "WIDESEA_ICheckService\\ICheckOrderService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAAAFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:33:43.511Z" + }, + { + "$type": "Document", + "DocumentIndex": 99, + "Title": "CheckOrderResultService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_CheckService\\CheckOrderResultService.cs", + "RelativeDocumentMoniker": "WIDESEA_CheckService\\CheckOrderResultService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_CheckService\\CheckOrderResultService.cs", + "RelativeToolTip": "WIDESEA_CheckService\\CheckOrderResultService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAuwBIAAABzAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:30:33.271Z" + }, + { + "$type": "Document", + "DocumentIndex": 100, + "Title": "ICheckOrderResultService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ICheckService\\ICheckOrderResultService.cs", + "RelativeDocumentMoniker": "WIDESEA_ICheckService\\ICheckOrderResultService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ICheckService\\ICheckOrderResultService.cs", + "RelativeToolTip": "WIDESEA_ICheckService\\ICheckOrderResultService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAuwAsAAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:31:13.075Z" + }, + { + "$type": "Document", + "DocumentIndex": 98, + "Title": "CheckOrderService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_CheckService\\CheckOrderService.cs", + "RelativeDocumentMoniker": "WIDESEA_CheckService\\CheckOrderService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_CheckService\\CheckOrderService.cs", + "RelativeToolTip": "WIDESEA_CheckService\\CheckOrderService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAABsAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:31:45.764Z" + }, + { + "$type": "Document", + "DocumentIndex": 96, + "Title": "OutStockLockInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutStockLockInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_OutboundService\\OutStockLockInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutStockLockInfoService.cs", + "RelativeToolTip": "WIDESEA_OutboundService\\OutStockLockInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAAaAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T06:25:17.427Z" + }, + { + "$type": "Document", + "DocumentIndex": 102, + "Title": "IMaterielInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IMaterielInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_IBasicService\\IMaterielInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IMaterielInfoService.cs", + "RelativeToolTip": "WIDESEA_IBasicService\\IMaterielInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAYAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:01:22.789Z" + }, + { + "$type": "Document", + "DocumentIndex": 101, + "Title": "IOutboundOrderService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrderService.cs", + "RelativeDocumentMoniker": "WIDESEA_IOutboundService\\IOutboundOrderService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrderService.cs", + "RelativeToolTip": "WIDESEA_IOutboundService\\IOutboundOrderService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAcAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:34:47.47Z" + }, + { + "$type": "Document", + "DocumentIndex": 103, + "Title": "ITask_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ITaskInfoService\\ITask_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_ITaskInfoService\\ITask_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ITaskInfoService\\ITask_HtyService.cs", + "RelativeToolTip": "WIDESEA_ITaskInfoService\\ITask_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAAYAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:24:18.898Z" + }, + { + "$type": "Document", + "DocumentIndex": 105, + "Title": "ISys_UserService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_UserService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_UserService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_UserService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_UserService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAAcAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:08:13.595Z" + }, + { + "$type": "Document", + "DocumentIndex": 104, + "Title": "ISys_MenuService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_MenuService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_MenuService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_MenuService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_MenuService.cs", + "ViewState": "AgIAAA0AAAAAAAAAAIA6wCQAAAA1AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T02:44:40.001Z" + }, + { + "$type": "Document", + "DocumentIndex": 106, + "Title": "ISys_TenantService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_TenantService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_TenantService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_TenantService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_TenantService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAeAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:08:00.357Z" + }, + { + "$type": "Document", + "DocumentIndex": 108, + "Title": "ISys_RoleAuthService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_RoleAuthService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_RoleAuthService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_RoleAuthService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_RoleAuthService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:07:28.629Z" + }, + { + "$type": "Document", + "DocumentIndex": 109, + "Title": "ISys_LogService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_LogService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_LogService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_LogService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_LogService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T02:44:39.199Z" + }, + { + "$type": "Document", + "DocumentIndex": 110, + "Title": "ISys_DictionaryService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_DictionaryService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_DictionaryService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_DictionaryService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_DictionaryService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAcAAAAZAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T02:44:37.941Z" + }, + { + "$type": "Document", + "DocumentIndex": 111, + "Title": "ISys_DictionaryListService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_DictionaryListService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_DictionaryListService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_DictionaryListService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_DictionaryListService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAmAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:57:23.039Z" + }, + { + "$type": "Document", + "DocumentIndex": 112, + "Title": "StockSerivce.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockSerivce.cs", + "RelativeDocumentMoniker": "WIDESEA_StockService\\StockSerivce.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockSerivce.cs", + "RelativeToolTip": "WIDESEA_StockService\\StockSerivce.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:56:37.728Z" + }, + { + "$type": "Document", + "DocumentIndex": 113, + "Title": "StockInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_StockService\\StockInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfoService.cs", + "RelativeToolTip": "WIDESEA_StockService\\StockInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAAaAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:55:25.052Z" + }, + { + "$type": "Document", + "DocumentIndex": 107, + "Title": "ISys_RoleService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_RoleService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_RoleService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_RoleService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_RoleService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAAcAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-16T06:37:36.058Z" + }, + { + "$type": "Document", + "DocumentIndex": 114, + "Title": "StockInfoDetailService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfoDetailService.cs", + "RelativeDocumentMoniker": "WIDESEA_StockService\\StockInfoDetailService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfoDetailService.cs", + "RelativeToolTip": "WIDESEA_StockService\\StockInfoDetailService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAuAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:53:51.723Z" + }, + { + "$type": "Document", + "DocumentIndex": 115, + "Title": "StockInfoDetail_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfoDetail_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_StockService\\StockInfoDetail_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfoDetail_HtyService.cs", + "RelativeToolTip": "WIDESEA_StockService\\StockInfoDetail_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAAAyAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:53:14.563Z" + }, + { + "$type": "Document", + "DocumentIndex": 116, + "Title": "IStockViewService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockViewService.cs", + "RelativeDocumentMoniker": "WIDESEA_IStockService\\IStockViewService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockViewService.cs", + "RelativeToolTip": "WIDESEA_IStockService\\IStockViewService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:50:37.133Z" + }, + { + "$type": "Document", + "DocumentIndex": 117, + "Title": "WIDESEA_StockService.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\WIDESEA_StockService.csproj", + "RelativeDocumentMoniker": "WIDESEA_StockService\\WIDESEA_StockService.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\WIDESEA_StockService.csproj", + "RelativeToolTip": "WIDESEA_StockService\\WIDESEA_StockService.csproj", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-02-15T09:50:36.478Z" + }, + { + "$type": "Document", + "DocumentIndex": 118, + "Title": "IStockService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockService.cs", + "RelativeDocumentMoniker": "WIDESEA_IStockService\\IStockService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockService.cs", + "RelativeToolTip": "WIDESEA_IStockService\\IStockService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:50:31.009Z" + }, + { + "$type": "Document", + "DocumentIndex": 119, + "Title": "IStockInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_IStockService\\IStockInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfoService.cs", + "RelativeToolTip": "WIDESEA_IStockService\\IStockInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:50:14.089Z" + }, + { + "$type": "Document", + "DocumentIndex": 120, + "Title": "IStockInfoDetailService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfoDetailService.cs", + "RelativeDocumentMoniker": "WIDESEA_IStockService\\IStockInfoDetailService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfoDetailService.cs", + "RelativeToolTip": "WIDESEA_IStockService\\IStockInfoDetailService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAmAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:49:50.324Z" + }, + { + "$type": "Document", + "DocumentIndex": 121, + "Title": "IStockInfoDetail_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfoDetail_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_IStockService\\IStockInfoDetail_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfoDetail_HtyService.cs", + "RelativeToolTip": "WIDESEA_IStockService\\IStockInfoDetail_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAqAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:48:44.469Z" + }, + { + "$type": "Document", + "DocumentIndex": 123, + "Title": "WIDESEA_RecordService.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_RecordService\\WIDESEA_RecordService.csproj", + "RelativeDocumentMoniker": "WIDESEA_RecordService\\WIDESEA_RecordService.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_RecordService\\WIDESEA_RecordService.csproj", + "RelativeToolTip": "WIDESEA_RecordService\\WIDESEA_RecordService.csproj", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-02-15T09:46:33.692Z" + }, + { + "$type": "Document", + "DocumentIndex": 122, + "Title": "LocationStatusChangeRecordService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_RecordService\\LocationStatusChangeRecordService.cs", + "RelativeDocumentMoniker": "WIDESEA_RecordService\\LocationStatusChangeRecordService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_RecordService\\LocationStatusChangeRecordService.cs", + "RelativeToolTip": "WIDESEA_RecordService\\LocationStatusChangeRecordService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAA5AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:46:28.858Z" + }, + { + "$type": "Document", + "DocumentIndex": 124, + "Title": "IStockQuantityChangeRecordService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IRecordService\\IStockQuantityChangeRecordService.cs", + "RelativeDocumentMoniker": "WIDESEA_IRecordService\\IStockQuantityChangeRecordService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IRecordService\\IStockQuantityChangeRecordService.cs", + "RelativeToolTip": "WIDESEA_IRecordService\\IStockQuantityChangeRecordService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAABFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:45:51.873Z" + }, + { + "$type": "Document", + "DocumentIndex": 125, + "Title": "IRecordService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IRecordService\\IRecordService.cs", + "RelativeDocumentMoniker": "WIDESEA_IRecordService\\IRecordService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IRecordService\\IRecordService.cs", + "RelativeToolTip": "WIDESEA_IRecordService\\IRecordService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:45:49.32Z" + }, + { + "$type": "Document", + "DocumentIndex": 126, + "Title": "OutboundService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundService.cs", + "RelativeDocumentMoniker": "WIDESEA_OutboundService\\OutboundService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundService.cs", + "RelativeToolTip": "WIDESEA_OutboundService\\OutboundService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:41:34.647Z" + }, + { + "$type": "Document", + "DocumentIndex": 127, + "Title": "OutboundOrderService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrderService.cs", + "RelativeDocumentMoniker": "WIDESEA_OutboundService\\OutboundOrderService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrderService.cs", + "RelativeToolTip": "WIDESEA_OutboundService\\OutboundOrderService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:39:48.522Z" + }, + { + "$type": "Document", + "DocumentIndex": 128, + "Title": "OutboundOrderDetailService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrderDetailService.cs", + "RelativeDocumentMoniker": "WIDESEA_OutboundService\\OutboundOrderDetailService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrderDetailService.cs", + "RelativeToolTip": "WIDESEA_OutboundService\\OutboundOrderDetailService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:38:35.34Z" + }, + { + "$type": "Document", + "DocumentIndex": 130, + "Title": "OutboundOrderDetail_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrderDetail_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_OutboundService\\OutboundOrderDetail_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrderDetail_HtyService.cs", + "RelativeToolTip": "WIDESEA_OutboundService\\OutboundOrderDetail_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAABVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:37:27.059Z" + }, + { + "$type": "Document", + "DocumentIndex": 131, + "Title": "OutboundOrder_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrder_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_OutboundService\\OutboundOrder_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrder_HtyService.cs", + "RelativeToolTip": "WIDESEA_OutboundService\\OutboundOrder_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:35:55.333Z" + }, + { + "$type": "Document", + "DocumentIndex": 132, + "Title": "IOutStockLockInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutStockLockInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_IOutboundService\\IOutStockLockInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutStockLockInfoService.cs", + "RelativeToolTip": "WIDESEA_IOutboundService\\IOutStockLockInfoService.cs", + "ViewState": "AgIAAAIAAAAAAAAAAAAuwBQAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:35:12.766Z" + }, + { + "$type": "Document", + "DocumentIndex": 133, + "Title": "IOutboundService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundService.cs", + "RelativeDocumentMoniker": "WIDESEA_IOutboundService\\IOutboundService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundService.cs", + "RelativeToolTip": "WIDESEA_IOutboundService\\IOutboundService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAAFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:35:06.231Z" + }, + { + "$type": "Document", + "DocumentIndex": 129, + "Title": "IOutboundOrder_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrder_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_IOutboundService\\IOutboundOrder_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrder_HtyService.cs", + "RelativeToolTip": "WIDESEA_IOutboundService\\IOutboundOrder_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:34:12.741Z" + }, + { + "$type": "Document", + "DocumentIndex": 134, + "Title": "IOutboundOrderDetailService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrderDetailService.cs", + "RelativeDocumentMoniker": "WIDESEA_IOutboundService\\IOutboundOrderDetailService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrderDetailService.cs", + "RelativeToolTip": "WIDESEA_IOutboundService\\IOutboundOrderDetailService.cs", + "ViewState": "AgIAAAcAAAAAAAAAAAAuwBMAAAAHAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:34:22.989Z" + }, + { + "$type": "Document", + "DocumentIndex": 135, + "Title": "IOutboundOrderDetail_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrderDetail_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_IOutboundService\\IOutboundOrderDetail_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrderDetail_HtyService.cs", + "RelativeToolTip": "WIDESEA_IOutboundService\\IOutboundOrderDetail_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAYAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:34:20.472Z" + }, + { + "$type": "Document", + "DocumentIndex": 136, + "Title": "InboundService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundService.cs", + "RelativeDocumentMoniker": "WIDESEA_InboundService\\InboundService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundService.cs", + "RelativeToolTip": "WIDESEA_InboundService\\InboundService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAAdAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:33:50.046Z" + }, + { + "$type": "Document", + "DocumentIndex": 140, + "Title": "InboundOrder_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrder_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_InboundService\\InboundOrder_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrder_HtyService.cs", + "RelativeToolTip": "WIDESEA_InboundService\\InboundOrder_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABkAAABHAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:28:10.437Z" + }, + { + "$type": "Document", + "DocumentIndex": 139, + "Title": "InboundOrderDetail_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrderDetail_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_InboundService\\InboundOrderDetail_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrderDetail_HtyService.cs", + "RelativeToolTip": "WIDESEA_InboundService\\InboundOrderDetail_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABIAAABTAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:29:55.515Z" + }, + { + "$type": "Document", + "DocumentIndex": 138, + "Title": "InboundOrderDetailService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrderDetailService.cs", + "RelativeDocumentMoniker": "WIDESEA_InboundService\\InboundOrderDetailService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrderDetailService.cs", + "RelativeToolTip": "WIDESEA_InboundService\\InboundOrderDetailService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAAABAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:30:16.98Z" + }, + { + "$type": "Document", + "DocumentIndex": 137, + "Title": "InboundOrderService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrderService.cs", + "RelativeDocumentMoniker": "WIDESEA_InboundService\\InboundOrderService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrderService.cs", + "RelativeToolTip": "WIDESEA_InboundService\\InboundOrderService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAxAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T08:56:40.184Z" + }, + { + "$type": "Document", + "DocumentIndex": 141, + "Title": "IInboundOrder_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrder_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_IInboundService\\IInboundOrder_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrder_HtyService.cs", + "RelativeToolTip": "WIDESEA_IInboundService\\IInboundOrder_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAcAAAAaAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:25:30.461Z" + }, + { + "$type": "Document", + "DocumentIndex": 142, + "Title": "IInboundService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundService.cs", + "RelativeDocumentMoniker": "WIDESEA_IInboundService\\IInboundService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundService.cs", + "RelativeToolTip": "WIDESEA_IInboundService\\IInboundService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAA4AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:26:38.802Z" + }, + { + "$type": "Document", + "DocumentIndex": 143, + "Title": "IInboundOrderService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrderService.cs", + "RelativeDocumentMoniker": "WIDESEA_IInboundService\\IInboundOrderService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrderService.cs", + "RelativeToolTip": "WIDESEA_IInboundService\\IInboundOrderService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T09:00:35.407Z" + }, + { + "$type": "Document", + "DocumentIndex": 144, + "Title": "IInboundOrderDetailService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrderDetailService.cs", + "RelativeDocumentMoniker": "WIDESEA_IInboundService\\IInboundOrderDetailService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrderDetailService.cs", + "RelativeToolTip": "WIDESEA_IInboundService\\IInboundOrderDetailService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAA+AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:25:37.994Z" + }, + { + "$type": "Document", + "DocumentIndex": 145, + "Title": "IInboundOrderDetail_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrderDetail_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_IInboundService\\IInboundOrderDetail_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrderDetail_HtyService.cs", + "RelativeToolTip": "WIDESEA_IInboundService\\IInboundOrderDetail_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:25:34.426Z" + }, + { + "$type": "Document", + "DocumentIndex": 146, + "Title": "IPalletCodeInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IPalletCodeInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_IBasicService\\IPalletCodeInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IPalletCodeInfoService.cs", + "RelativeToolTip": "WIDESEA_IBasicService\\IPalletCodeInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAuwAwAAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:01:22.068Z" + }, + { + "$type": "Document", + "DocumentIndex": 148, + "Title": "IMaterielCodeInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IMaterielCodeInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_IBasicService\\IMaterielCodeInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IMaterielCodeInfoService.cs", + "RelativeToolTip": "WIDESEA_IBasicService\\IMaterielCodeInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAABDAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:00:55.892Z" + }, + { + "$type": "Document", + "DocumentIndex": 147, + "Title": "IWarehouseService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IWarehouseService.cs", + "RelativeDocumentMoniker": "WIDESEA_IBasicService\\IWarehouseService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IWarehouseService.cs", + "RelativeToolTip": "WIDESEA_IBasicService\\IWarehouseService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T08:59:58.174Z" + }, + { + "$type": "Document", + "DocumentIndex": 150, + "Title": "NuGet.Config", + "DocumentMoniker": "C:\\Users\\12825\\AppData\\Roaming\\NuGet\\NuGet.Config", + "ToolTip": "C:\\Users\\12825\\AppData\\Roaming\\NuGet\\NuGet.Config", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAQAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000601|", + "WhenOpened": "2025-01-24T03:54:10.976Z" + }, + { + "$type": "Document", + "DocumentIndex": 149, + "Title": "RequestLogModel.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\LogHelper\\RequestLogModel.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\LogHelper\\RequestLogModel.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\LogHelper\\RequestLogModel.cs", + "RelativeToolTip": "WIDESEA_Core\\LogHelper\\RequestLogModel.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-09T10:21:08.214Z" + }, + { + "$type": "Document", + "DocumentIndex": 151, + "Title": "GlobalExceptionsFilter.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Filter\\GlobalExceptionsFilter.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Filter\\GlobalExceptionsFilter.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Filter\\GlobalExceptionsFilter.cs", + "RelativeToolTip": "WIDESEA_Core\\Filter\\GlobalExceptionsFilter.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABYAAAA1AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-16T01:34:04.4Z" + }, + { + "$type": "Document", + "DocumentIndex": 152, + "Title": "HttpHelper.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Helper\\HttpHelper.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Helper\\HttpHelper.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Helper\\HttpHelper.cs", + "RelativeToolTip": "WIDESEA_Core\\Helper\\HttpHelper.cs", + "ViewState": "AgIAAB8AAAAAAAAAAAAAwAsAAAAdAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-17T06:03:08.857Z" + }, + { + "$type": "Document", + "DocumentIndex": 153, + "Title": "HttpMesHelper.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Helper\\HttpMesHelper.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Helper\\HttpMesHelper.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Helper\\HttpMesHelper.cs", + "RelativeToolTip": "WIDESEA_Core\\Helper\\HttpMesHelper.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAABAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-17T06:03:23.061Z" + }, + { + "$type": "Document", + "DocumentIndex": 154, + "Title": "IUser.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HttpContextUser\\IUser.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\HttpContextUser\\IUser.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HttpContextUser\\IUser.cs", + "RelativeToolTip": "WIDESEA_Core\\HttpContextUser\\IUser.cs", + "ViewState": "AgIAAAwAAAAAAAAAAAAtwCIAAAAyAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T07:01:29.879Z" + }, + { + "$type": "Document", + "DocumentIndex": 155, + "Title": "MatSerNumAnalysisModel.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Basic\\MatSerNumAnalysisModel.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Basic\\MatSerNumAnalysisModel.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Basic\\MatSerNumAnalysisModel.cs", + "RelativeToolTip": "WIDESEA_DTO\\Basic\\MatSerNumAnalysisModel.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAARAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:39.637Z" + }, + { + "$type": "Document", + "DocumentIndex": 156, + "Title": "MesOutboundOrderType.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Common\\OrderEnum\\MesOutboundOrderType.cs", + "RelativeDocumentMoniker": "WIDESEA_Common\\OrderEnum\\MesOutboundOrderType.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Common\\OrderEnum\\MesOutboundOrderType.cs", + "RelativeToolTip": "WIDESEA_Common\\OrderEnum\\MesOutboundOrderType.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABoAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T05:42:27.034Z" + }, + { + "$type": "Document", + "DocumentIndex": 157, + "Title": "InboundOrderAddDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\InboundOrderAddDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Inbound\\InboundOrderAddDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\InboundOrderAddDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Inbound\\InboundOrderAddDTO.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:29.252Z" + }, + { + "$type": "Document", + "DocumentIndex": 158, + "Title": "InboundOrderDetailAddDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\InboundOrderDetailAddDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Inbound\\InboundOrderDetailAddDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\InboundOrderDetailAddDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Inbound\\InboundOrderDetailAddDTO.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:28.688Z" + }, + { + "$type": "Document", + "DocumentIndex": 159, + "Title": "InboundOrderGetDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\InboundOrderGetDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Inbound\\InboundOrderGetDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\InboundOrderGetDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Inbound\\InboundOrderGetDTO.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:27.652Z" + }, + { + "$type": "Document", + "DocumentIndex": 160, + "Title": "MaterielGroupDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\MaterielGroupDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Inbound\\MaterielGroupDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\MaterielGroupDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Inbound\\MaterielGroupDTO.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:23.553Z" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/v17/DocumentLayout.json" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/v17/DocumentLayout.json" new file mode 100644 index 0000000..ae6bd03 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/v17/DocumentLayout.json" @@ -0,0 +1,2614 @@ +{ + "Version": 1, + "WorkspaceRootPath": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{7D7534D4-51D9-46DC-A6B7-6430042F4E12}|WIDESEA_TaskInfoService\\WIDESEA_TaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_taskinfoservice\\partialtaskservice_inbound.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7D7534D4-51D9-46DC-A6B7-6430042F4E12}|WIDESEA_TaskInfoService\\WIDESEA_TaskInfoService.csproj|solutionrelative:widesea_taskinfoservice\\partialtaskservice_inbound.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}|WIDESEA_Common\\WIDESEA_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_common\\taskenum\\tasktypeenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}|WIDESEA_Common\\WIDESEA_Common.csproj|solutionrelative:widesea_common\\taskenum\\tasktypeenum.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7D7534D4-51D9-46DC-A6B7-6430042F4E12}|WIDESEA_TaskInfoService\\WIDESEA_TaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_taskinfoservice\\taskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7D7534D4-51D9-46DC-A6B7-6430042F4E12}|WIDESEA_TaskInfoService\\WIDESEA_TaskInfoService.csproj|solutionrelative:widesea_taskinfoservice\\taskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\task\\wmstaskdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\task\\wmstaskdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\taskinfo\\taskcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\taskinfo\\taskcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\appsettings.json||{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\pdacontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\pdacontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}|WIDESEA_Common\\WIDESEA_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_common\\stockenum\\stockstatusemun.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}|WIDESEA_Common\\WIDESEA_Common.csproj|solutionrelative:widesea_common\\stockenum\\stockstatusemun.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ibasicservice\\ibasicservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|solutionrelative:widesea_ibasicservice\\ibasicservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7D7534D4-51D9-46DC-A6B7-6430042F4E12}|WIDESEA_TaskInfoService\\WIDESEA_TaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_taskinfoservice\\task_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7D7534D4-51D9-46DC-A6B7-6430042F4E12}|WIDESEA_TaskInfoService\\WIDESEA_TaskInfoService.csproj|solutionrelative:widesea_taskinfoservice\\task_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{CE0DB91F-5A68-448E-A419-4C26B5039F51}|WIDESEA_ITaskInfoService\\WIDESEA_ITaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_itaskinfoservice\\itaskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{CE0DB91F-5A68-448E-A419-4C26B5039F51}|WIDESEA_ITaskInfoService\\WIDESEA_ITaskInfoService.csproj|solutionrelative:widesea_itaskinfoservice\\itaskservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\swaggersetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\swaggersetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\middlewares\\swaggermiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\middlewares\\swaggermiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\taskinfo\\task_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\taskinfo\\task_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_usercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_usercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_tenantcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_tenantcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\index.html||{40D31677-CBC0-4297-A9EF-89D907823A98}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\index.html||{40D31677-CBC0-4297-A9EF-89D907823A98}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_rolecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_rolecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_menucontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_menucontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_logcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_logcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_dictionarylistcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_dictionarylistcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\system\\sys_dictionarycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\system\\sys_dictionarycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\stock\\stockviewcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\stock\\stockviewcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\stock\\stockinfodetailcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\stock\\stockinfodetailcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\stock\\stockinfodetail_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\stock\\stockinfodetail_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\stock\\stockinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\stock\\stockinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\stock\\stockinfo_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\stock\\stockinfo_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\record\\stockquantitychangerecordcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\record\\stockquantitychangerecordcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\record\\locationstatuschangerecordcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\record\\locationstatuschangerecordcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\outbound\\outstocklockinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\outbound\\outstocklockinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\outbound\\outboundorderdetailcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\outbound\\outboundorderdetailcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\outbound\\outboundorderdetail_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\outbound\\outboundorderdetail_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\outbound\\outboundordercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\outbound\\outboundordercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\outbound\\outboundorder_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\outbound\\outboundorder_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\inbound\\inboundorderdetailcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\inbound\\inboundorderdetailcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\inbound\\inboundorderdetail_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\inbound\\inboundorderdetail_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\inbound\\inboundordercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\inbound\\inboundordercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\inbound\\inboundorder_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\inbound\\inboundorder_htycontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\check\\checkorderresultcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\check\\checkorderresultcontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\check\\checkordercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\check\\checkordercontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\basic\\warehousecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\basic\\warehousecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\basic\\palletcodeinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\basic\\palletcodeinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\basic\\materielinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\basic\\materielinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\basic\\materielcodeinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\basic\\materielcodeinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\controllers\\basic\\locationinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\controllers\\basic\\locationinfocontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_userservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_userservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_roleservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_roleservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\stockviewservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\stockviewservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\baseservices\\servicebase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\baseservices\\servicebase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\hostedservice\\permissiondatahostservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\hostedservice\\permissiondatahostservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\seed\\dbseed.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\seed\\dbseed.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\hostedservice\\seeddatahostedservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\hostedservice\\seeddatahostedservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_model\\models\\system\\sys_roledatapermission.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|solutionrelative:widesea_model\\models\\system\\sys_roledatapermission.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\swaggercontextextension.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\swaggercontextextension.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\middlewares\\swaggerauthmiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\middlewares\\swaggerauthmiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver\\widesea_wmsserver.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|", + "RelativeMoniker": "D:0:0:{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}|WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj|solutionrelative:widesea_wmsserver\\widesea_wmsserver.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\widesea_core.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\widesea_core.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\httpcontextuser\\aspnetuser.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\httpcontextuser\\aspnetuser.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\caches\\memorycacheservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\caches\\memorycacheservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\filter\\apiauthorizefilter.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\filter\\apiauthorizefilter.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\websocketsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\websocketsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\sqlsugarsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\sqlsugarsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\miniprofilersetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\miniprofilersetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\memorycachesetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\memorycachesetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\autofacmoduleregister.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\autofacmoduleregister.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\aop\\sqlsugaraop.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\aop\\sqlsugaraop.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\aop\\logaop.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\aop\\logaop.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\middlewares\\apilogmiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\middlewares\\apilogmiddleware.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\loghelper\\logger.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\loghelper\\logger.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_model\\models\\system\\sys_log.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|solutionrelative:widesea_model\\models\\system\\sys_log.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\baseservices\\servicefunfilter.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\baseservices\\servicefunfilter.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\widesea_basicservice.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\widesea_basicservice.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\warehouseservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\warehouseservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\palletcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\palletcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\materielinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\materielinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\materielcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\materielcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\locationinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\locationinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_basicservice\\basicservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}|WIDESEA_BasicService\\WIDESEA_BasicService.csproj|solutionrelative:widesea_basicservice\\basicservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\extensions\\dbsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\extensions\\dbsetup.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\seed\\dbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\seed\\dbcontext.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ibasicservice\\ilocationinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|solutionrelative:widesea_ibasicservice\\ilocationinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_model\\models\\stock\\dt_stockinfo_hty.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|solutionrelative:widesea_model\\models\\stock\\dt_stockinfo_hty.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_model\\models\\stock\\dt_stockinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}|WIDESEA_Model\\WIDESEA_Model.csproj|solutionrelative:widesea_model\\models\\stock\\dt_stockinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\stock\\stockviewdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\stock\\stockviewdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\stock\\stockselectviewdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\stock\\stockselectviewdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A343A2C5-995D-45F1-A3E5-20495DD3F615}|WIDESEA_RecordService\\WIDESEA_RecordService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_recordservice\\stockquantitychangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A343A2C5-995D-45F1-A3E5-20495DD3F615}|WIDESEA_RecordService\\WIDESEA_RecordService.csproj|solutionrelative:widesea_recordservice\\stockquantitychangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\stockinfo_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\stockinfo_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_istockservice\\istockinfo_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|solutionrelative:widesea_istockservice\\istockinfo_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{6E0E5856-A399-4791-9EAD-84ABC43F35AA}|WIDESEA_IRecordService\\WIDESEA_IRecordService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_irecordservice\\ilocationstatuschangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{6E0E5856-A399-4791-9EAD-84ABC43F35AA}|WIDESEA_IRecordService\\WIDESEA_IRecordService.csproj|solutionrelative:widesea_irecordservice\\ilocationstatuschangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_dictionarylistservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_dictionarylistservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_roleauthservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_roleauthservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_tenantservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_tenantservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_menuservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_menuservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_logservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_logservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_systemservice\\sys_dictionaryservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{D8C9593B-B31C-4650-8F44-962E9096A0CF}|WIDESEA_SystemService\\WIDESEA_SystemService.csproj|solutionrelative:widesea_systemservice\\sys_dictionaryservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_outboundservice\\outstocklockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|solutionrelative:widesea_outboundservice\\outstocklockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{82EBBC95-FD6E-4E30-9F21-625DE1991C2C}|WIDESEA_ICheckService\\WIDESEA_ICheckService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_icheckservice\\icheckorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{82EBBC95-FD6E-4E30-9F21-625DE1991C2C}|WIDESEA_ICheckService\\WIDESEA_ICheckService.csproj|solutionrelative:widesea_icheckservice\\icheckorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{C57C16CE-88A7-499A-8CE1-855D55482891}|WIDESEA_CheckService\\WIDESEA_CheckService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_checkservice\\checkorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{C57C16CE-88A7-499A-8CE1-855D55482891}|WIDESEA_CheckService\\WIDESEA_CheckService.csproj|solutionrelative:widesea_checkservice\\checkorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{C57C16CE-88A7-499A-8CE1-855D55482891}|WIDESEA_CheckService\\WIDESEA_CheckService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_checkservice\\checkorderresultservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{C57C16CE-88A7-499A-8CE1-855D55482891}|WIDESEA_CheckService\\WIDESEA_CheckService.csproj|solutionrelative:widesea_checkservice\\checkorderresultservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{82EBBC95-FD6E-4E30-9F21-625DE1991C2C}|WIDESEA_ICheckService\\WIDESEA_ICheckService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_icheckservice\\icheckorderresultservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{82EBBC95-FD6E-4E30-9F21-625DE1991C2C}|WIDESEA_ICheckService\\WIDESEA_ICheckService.csproj|solutionrelative:widesea_icheckservice\\icheckorderresultservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ioutboundservice\\ioutboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|solutionrelative:widesea_ioutboundservice\\ioutboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ibasicservice\\imaterielinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|solutionrelative:widesea_ibasicservice\\imaterielinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{CE0DB91F-5A68-448E-A419-4C26B5039F51}|WIDESEA_ITaskInfoService\\WIDESEA_ITaskInfoService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_itaskinfoservice\\itask_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{CE0DB91F-5A68-448E-A419-4C26B5039F51}|WIDESEA_ITaskInfoService\\WIDESEA_ITaskInfoService.csproj|solutionrelative:widesea_itaskinfoservice\\itask_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_menuservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_menuservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_userservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_userservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_tenantservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_tenantservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_roleservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_roleservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_roleauthservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_roleauthservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_logservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_logservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_dictionaryservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_dictionaryservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_isystemservice\\isys_dictionarylistservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{00A5A08A-8A36-4972-8863-7DCF8DBC7978}|WIDESEA_ISystemService\\WIDESEA_ISystemService.csproj|solutionrelative:widesea_isystemservice\\isys_dictionarylistservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\stockserivce.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\stockserivce.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\stockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\stockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\stockinfodetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\stockinfodetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\stockinfodetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\stockinfodetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_istockservice\\istockviewservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|solutionrelative:widesea_istockservice\\istockviewservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_stockservice\\widesea_stockservice.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|", + "RelativeMoniker": "D:0:0:{7DC26D42-D8EE-46F0-BA66-A13457086885}|WIDESEA_StockService\\WIDESEA_StockService.csproj|solutionrelative:widesea_stockservice\\widesea_stockservice.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" + }, + { + "AbsoluteMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_istockservice\\istockservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|solutionrelative:widesea_istockservice\\istockservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_istockservice\\istockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|solutionrelative:widesea_istockservice\\istockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_istockservice\\istockinfodetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|solutionrelative:widesea_istockservice\\istockinfodetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_istockservice\\istockinfodetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{49716D78-720D-475D-948C-0FC6C5F079E5}|WIDESEA_IStockService\\WIDESEA_IStockService.csproj|solutionrelative:widesea_istockservice\\istockinfodetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A343A2C5-995D-45F1-A3E5-20495DD3F615}|WIDESEA_RecordService\\WIDESEA_RecordService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_recordservice\\locationstatuschangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A343A2C5-995D-45F1-A3E5-20495DD3F615}|WIDESEA_RecordService\\WIDESEA_RecordService.csproj|solutionrelative:widesea_recordservice\\locationstatuschangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A343A2C5-995D-45F1-A3E5-20495DD3F615}|WIDESEA_RecordService\\WIDESEA_RecordService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_recordservice\\widesea_recordservice.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|", + "RelativeMoniker": "D:0:0:{A343A2C5-995D-45F1-A3E5-20495DD3F615}|WIDESEA_RecordService\\WIDESEA_RecordService.csproj|solutionrelative:widesea_recordservice\\widesea_recordservice.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|" + }, + { + "AbsoluteMoniker": "D:0:0:{6E0E5856-A399-4791-9EAD-84ABC43F35AA}|WIDESEA_IRecordService\\WIDESEA_IRecordService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_irecordservice\\istockquantitychangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{6E0E5856-A399-4791-9EAD-84ABC43F35AA}|WIDESEA_IRecordService\\WIDESEA_IRecordService.csproj|solutionrelative:widesea_irecordservice\\istockquantitychangerecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{6E0E5856-A399-4791-9EAD-84ABC43F35AA}|WIDESEA_IRecordService\\WIDESEA_IRecordService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_irecordservice\\irecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{6E0E5856-A399-4791-9EAD-84ABC43F35AA}|WIDESEA_IRecordService\\WIDESEA_IRecordService.csproj|solutionrelative:widesea_irecordservice\\irecordservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_outboundservice\\outboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|solutionrelative:widesea_outboundservice\\outboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_outboundservice\\outboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|solutionrelative:widesea_outboundservice\\outboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_outboundservice\\outboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|solutionrelative:widesea_outboundservice\\outboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ioutboundservice\\ioutboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|solutionrelative:widesea_ioutboundservice\\ioutboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_outboundservice\\outboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|solutionrelative:widesea_outboundservice\\outboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_outboundservice\\outboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{1B884AD3-7E67-44CD-B182-DEECDD671DD2}|WIDESEA_OutboundService\\WIDESEA_OutboundService.csproj|solutionrelative:widesea_outboundservice\\outboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ioutboundservice\\ioutstocklockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|solutionrelative:widesea_ioutboundservice\\ioutstocklockinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ioutboundservice\\ioutboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|solutionrelative:widesea_ioutboundservice\\ioutboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ioutboundservice\\ioutboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|solutionrelative:widesea_ioutboundservice\\ioutboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ioutboundservice\\ioutboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{69C05DDB-1AA6-4090-9916-029CD0E95B10}|WIDESEA_IOutboundService\\WIDESEA_IOutboundService.csproj|solutionrelative:widesea_ioutboundservice\\ioutboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_inboundservice\\inboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|solutionrelative:widesea_inboundservice\\inboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_inboundservice\\inboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|solutionrelative:widesea_inboundservice\\inboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_inboundservice\\inboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|solutionrelative:widesea_inboundservice\\inboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_inboundservice\\inboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|solutionrelative:widesea_inboundservice\\inboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_inboundservice\\inboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}|WIDESEA_InboundService\\WIDESEA_InboundService.csproj|solutionrelative:widesea_inboundservice\\inboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_iinboundservice\\iinboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|solutionrelative:widesea_iinboundservice\\iinboundorder_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_iinboundservice\\iinboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|solutionrelative:widesea_iinboundservice\\iinboundservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_iinboundservice\\iinboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|solutionrelative:widesea_iinboundservice\\iinboundorderservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_iinboundservice\\iinboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|solutionrelative:widesea_iinboundservice\\iinboundorderdetailservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_iinboundservice\\iinboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}|WIDESEA_IInboundService\\WIDESEA_IInboundService.csproj|solutionrelative:widesea_iinboundservice\\iinboundorderdetail_htyservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ibasicservice\\ipalletcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|solutionrelative:widesea_ibasicservice\\ipalletcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ibasicservice\\iwarehouseservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|solutionrelative:widesea_ibasicservice\\iwarehouseservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_ibasicservice\\imaterielcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{5F260E03-095A-4870-8419-5B72CB62929E}|WIDESEA_IBasicService\\WIDESEA_IBasicService.csproj|solutionrelative:widesea_ibasicservice\\imaterielcodeinfoservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\loghelper\\requestlogmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\loghelper\\requestlogmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\12825\\AppData\\Roaming\\NuGet\\NuGet.Config||{FA3CD31E-987B-443A-9B81-186104E8DAC1}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\filter\\globalexceptionsfilter.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\filter\\globalexceptionsfilter.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\helper\\httphelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\helper\\httphelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\helper\\httpmeshelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\helper\\httpmeshelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_core\\httpcontextuser\\iuser.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{111BD7AA-9749-4506-9772-79F9EF14754C}|WIDESEA_Core\\WIDESEA_Core.csproj|solutionrelative:widesea_core\\httpcontextuser\\iuser.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\basic\\matsernumanalysismodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\basic\\matsernumanalysismodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}|WIDESEA_Common\\WIDESEA_Common.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_common\\orderenum\\mesoutboundordertype.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}|WIDESEA_Common\\WIDESEA_Common.csproj|solutionrelative:widesea_common\\orderenum\\mesoutboundordertype.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\inbound\\inboundorderadddto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\inbound\\inboundorderadddto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\inbound\\inboundorderdetailadddto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\inbound\\inboundorderdetailadddto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\inbound\\inboundordergetdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\inbound\\inboundordergetdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|e:\\khgithub\\shenyangliku\\\u9879\u76EE\u4EE3\u7801\\wms\\widesea_wmsserver\\widesea_wmsserver\\widesea_dto\\inbound\\materielgroupdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{929DF936-042C-4EEC-8722-A831FC2F0AEA}|WIDESEA_DTO\\WIDESEA_DTO.csproj|solutionrelative:widesea_dto\\inbound\\materielgroupdto.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 6, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}" + }, + { + "$type": "Bookmark", + "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}" + }, + { + "$type": "Document", + "DocumentIndex": 8, + "Title": "StockStatusEmun.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Common\\StockEnum\\StockStatusEmun.cs", + "RelativeDocumentMoniker": "WIDESEA_Common\\StockEnum\\StockStatusEmun.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Common\\StockEnum\\StockStatusEmun.cs", + "RelativeToolTip": "WIDESEA_Common\\StockEnum\\StockStatusEmun.cs", + "ViewState": "AgIAAAEAAAAAAAAAAADgvxoAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T09:32:00.636Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "PDAController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\PDAController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\PDAController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\PDAController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\PDAController.cs", + "ViewState": "AgIAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:29:11.584Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 18, + "Title": "Sys_RoleController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_RoleController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_RoleController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_RoleController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_RoleController.cs", + "ViewState": "AgIAAAcAAAAAAAAAAIAwwFAAAAAxAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-16T06:26:42.935Z" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "appsettings.json", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\appsettings.json", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\appsettings.json", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\appsettings.json", + "RelativeToolTip": "WIDESEA_WMSServer\\appsettings.json", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAaAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001642|", + "WhenOpened": "2025-01-15T07:26:59.115Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "PartialTaskService_Inbound.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_TaskInfoService\\PartialTaskService_Inbound.cs", + "RelativeDocumentMoniker": "WIDESEA_TaskInfoService\\PartialTaskService_Inbound.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_TaskInfoService\\PartialTaskService_Inbound.cs", + "RelativeToolTip": "WIDESEA_TaskInfoService\\PartialTaskService_Inbound.cs", + "ViewState": "AgIAABwAAAAAAAAAAADwvy8AAAAzAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T03:08:11.31Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "TaskService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_TaskInfoService\\TaskService.cs", + "RelativeDocumentMoniker": "WIDESEA_TaskInfoService\\TaskService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_TaskInfoService\\TaskService.cs", + "RelativeToolTip": "WIDESEA_TaskInfoService\\TaskService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAADwAAAAxAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T10:58:52.441Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "TaskTypeEnum.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Common\\TaskEnum\\TaskTypeEnum.cs", + "RelativeDocumentMoniker": "WIDESEA_Common\\TaskEnum\\TaskTypeEnum.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Common\\TaskEnum\\TaskTypeEnum.cs", + "RelativeToolTip": "WIDESEA_Common\\TaskEnum\\TaskTypeEnum.cs", + "ViewState": "AgIAAAkAAAAAAAAAAAAAABAAAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T05:50:16.067Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 9, + "Title": "IBasicService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IBasicService.cs", + "RelativeDocumentMoniker": "WIDESEA_IBasicService\\IBasicService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IBasicService.cs", + "RelativeToolTip": "WIDESEA_IBasicService\\IBasicService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAuwAkAAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:00:25.939Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "Program.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Program.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Program.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Program.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Program.cs", + "ViewState": "AgIAAHcAAAAAAAAAAAAAwIoAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T09:29:58.249Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "WMSTaskDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Task\\WMSTaskDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Task\\WMSTaskDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Task\\WMSTaskDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Task\\WMSTaskDTO.cs", + "ViewState": "AgIAAFYAAAAAAAAAAAAswGYAAAAFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-09-18T07:13:41.74Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 11, + "Title": "ITaskService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ITaskInfoService\\ITaskService.cs", + "RelativeDocumentMoniker": "WIDESEA_ITaskInfoService\\ITaskService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ITaskInfoService\\ITaskService.cs", + "RelativeToolTip": "WIDESEA_ITaskInfoService\\ITaskService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAACcAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T05:51:59.074Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "TaskController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\TaskInfo\\TaskController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\TaskInfo\\TaskController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\TaskInfo\\TaskController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\TaskInfo\\TaskController.cs", + "ViewState": "AgIAAA8AAAAAAAAAAAAAACAAAAAMAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T11:29:18.173Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 12, + "Title": "SwaggerSetup.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\SwaggerSetup.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\SwaggerSetup.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\SwaggerSetup.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\SwaggerSetup.cs", + "ViewState": "AgIAADcAAAAAAAAAAAAQwC8AAAAOAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:56:59.004Z" + }, + { + "$type": "Document", + "DocumentIndex": 13, + "Title": "SwaggerMiddleware.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Middlewares\\SwaggerMiddleware.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Middlewares\\SwaggerMiddleware.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Middlewares\\SwaggerMiddleware.cs", + "RelativeToolTip": "WIDESEA_Core\\Middlewares\\SwaggerMiddleware.cs", + "ViewState": "AgIAAAoAAAAAAAAAAAAswDsAAAAJAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:53:10.466Z" + }, + { + "$type": "Document", + "DocumentIndex": 10, + "Title": "Task_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_TaskInfoService\\Task_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_TaskInfoService\\Task_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_TaskInfoService\\Task_HtyService.cs", + "RelativeToolTip": "WIDESEA_TaskInfoService\\Task_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAzAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:34:11.533Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 14, + "Title": "Task_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\TaskInfo\\Task_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\TaskInfo\\Task_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\TaskInfo\\Task_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\TaskInfo\\Task_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:59.782Z" + }, + { + "$type": "Document", + "DocumentIndex": 15, + "Title": "Sys_UserController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_UserController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_UserController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_UserController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_UserController.cs", + "ViewState": "AgIAAAgAAAAAAAAAAAAEwDoAAAAnAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T07:04:09.301Z" + }, + { + "$type": "Document", + "DocumentIndex": 16, + "Title": "Sys_TenantController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_TenantController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_TenantController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_TenantController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_TenantController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:57.481Z" + }, + { + "$type": "Document", + "DocumentIndex": 17, + "Title": "index.html", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\index.html", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\index.html", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\index.html", + "RelativeToolTip": "WIDESEA_WMSServer\\index.html", + "ViewState": "AgIAABkAAAAAAAAAAAAAALIAAAAZAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001512|", + "WhenOpened": "2025-08-26T06:14:53.07Z" + }, + { + "$type": "Document", + "DocumentIndex": 19, + "Title": "Sys_MenuController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_MenuController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_MenuController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_MenuController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_MenuController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:56.612Z" + }, + { + "$type": "Document", + "DocumentIndex": 20, + "Title": "Sys_LogController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_LogController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_LogController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_LogController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_LogController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAsAAAAXAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:55.206Z" + }, + { + "$type": "Document", + "DocumentIndex": 21, + "Title": "Sys_DictionaryListController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryListController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryListController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryListController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryListController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:54.541Z" + }, + { + "$type": "Document", + "DocumentIndex": 22, + "Title": "Sys_DictionaryController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\System\\Sys_DictionaryController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:53.594Z" + }, + { + "$type": "Document", + "DocumentIndex": 23, + "Title": "StockViewController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockViewController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Stock\\StockViewController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockViewController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Stock\\StockViewController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:50.521Z" + }, + { + "$type": "Document", + "DocumentIndex": 24, + "Title": "StockInfoDetailController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetailController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetailController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetailController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetailController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:48.484Z" + }, + { + "$type": "Document", + "DocumentIndex": 25, + "Title": "StockInfoDetail_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetail_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetail_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetail_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoDetail_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAAYAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:44.542Z" + }, + { + "$type": "Document", + "DocumentIndex": 26, + "Title": "StockInfoController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfoController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABYAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:35.806Z" + }, + { + "$type": "Document", + "DocumentIndex": 27, + "Title": "StockInfo_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfo_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfo_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Stock\\StockInfo_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Stock\\StockInfo_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAAYAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:31.101Z" + }, + { + "$type": "Document", + "DocumentIndex": 28, + "Title": "StockQuantityChangeRecordController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Record\\StockQuantityChangeRecordController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Record\\StockQuantityChangeRecordController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Record\\StockQuantityChangeRecordController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Record\\StockQuantityChangeRecordController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:28.418Z" + }, + { + "$type": "Document", + "DocumentIndex": 29, + "Title": "LocationStatusChangeRecordController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Record\\LocationStatusChangeRecordController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Record\\LocationStatusChangeRecordController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Record\\LocationStatusChangeRecordController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Record\\LocationStatusChangeRecordController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAHAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:23.613Z" + }, + { + "$type": "Document", + "DocumentIndex": 30, + "Title": "OutStockLockInfoController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutStockLockInfoController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutStockLockInfoController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutStockLockInfoController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutStockLockInfoController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T06:25:41.606Z" + }, + { + "$type": "Document", + "DocumentIndex": 31, + "Title": "OutboundOrderDetailController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetailController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetailController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetailController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetailController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABUAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:13.207Z" + }, + { + "$type": "Document", + "DocumentIndex": 32, + "Title": "OutboundOrderDetail_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetail_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetail_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetail_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderDetail_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:28:11.524Z" + }, + { + "$type": "Document", + "DocumentIndex": 33, + "Title": "OutboundOrderController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrderController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABkAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T06:03:40.012Z" + }, + { + "$type": "Document", + "DocumentIndex": 34, + "Title": "OutboundOrder_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrder_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrder_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrder_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Outbound\\OutboundOrder_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T06:03:50.115Z" + }, + { + "$type": "Document", + "DocumentIndex": 35, + "Title": "InboundOrderDetailController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetailController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetailController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetailController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetailController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABMAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:53.095Z" + }, + { + "$type": "Document", + "DocumentIndex": 36, + "Title": "InboundOrderDetail_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetail_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetail_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetail_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderDetail_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:50.816Z" + }, + { + "$type": "Document", + "DocumentIndex": 37, + "Title": "InboundOrderController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrderController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABUAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:42.993Z" + }, + { + "$type": "Document", + "DocumentIndex": 38, + "Title": "InboundOrder_HtyController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrder_HtyController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrder_HtyController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrder_HtyController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Inbound\\InboundOrder_HtyController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T06:07:46.698Z" + }, + { + "$type": "Document", + "DocumentIndex": 39, + "Title": "CheckOrderResultController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderResultController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderResultController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderResultController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderResultController.cs", + "ViewState": "AgIAAAEAAAAAAAAAAAAAwAwAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:37.507Z" + }, + { + "$type": "Document", + "DocumentIndex": 40, + "Title": "CheckOrderController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Check\\CheckOrderController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAaAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:38.775Z" + }, + { + "$type": "Document", + "DocumentIndex": 41, + "Title": "WarehouseController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\WarehouseController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Basic\\WarehouseController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\WarehouseController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Basic\\WarehouseController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABMAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:30.913Z" + }, + { + "$type": "Document", + "DocumentIndex": 42, + "Title": "PalletCodeInfoController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\PalletCodeInfoController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Basic\\PalletCodeInfoController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\PalletCodeInfoController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Basic\\PalletCodeInfoController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAeAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:19.274Z" + }, + { + "$type": "Document", + "DocumentIndex": 43, + "Title": "MaterielInfoController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\MaterielInfoController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Basic\\MaterielInfoController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\MaterielInfoController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Basic\\MaterielInfoController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T03:18:17.379Z" + }, + { + "$type": "Document", + "DocumentIndex": 44, + "Title": "MaterielCodeInfoController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\MaterielCodeInfoController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Basic\\MaterielCodeInfoController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\MaterielCodeInfoController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Basic\\MaterielCodeInfoController.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAQAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:27:08.709Z" + }, + { + "$type": "Document", + "DocumentIndex": 45, + "Title": "LocationInfoController.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\LocationInfoController.cs", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\Controllers\\Basic\\LocationInfoController.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\Controllers\\Basic\\LocationInfoController.cs", + "RelativeToolTip": "WIDESEA_WMSServer\\Controllers\\Basic\\LocationInfoController.cs", + "ViewState": "AgIAAAMAAAAAAAAAAAAswBUAAABFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-19T05:57:08.292Z" + }, + { + "$type": "Document", + "DocumentIndex": 46, + "Title": "Sys_UserService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_UserService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_UserService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_UserService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_UserService.cs", + "ViewState": "AgIAABgAAAAAAAAAAAA3wD0AAAAQAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T07:03:01.11Z" + }, + { + "$type": "Document", + "DocumentIndex": 47, + "Title": "Sys_RoleService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_RoleService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_RoleService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_RoleService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_RoleService.cs", + "ViewState": "AgIAABkAAAAAAAAAAAAqwCIAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T07:53:40.363Z" + }, + { + "$type": "Document", + "DocumentIndex": 48, + "Title": "StockViewService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockViewService.cs", + "RelativeDocumentMoniker": "WIDESEA_StockService\\StockViewService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockViewService.cs", + "RelativeToolTip": "WIDESEA_StockService\\StockViewService.cs", + "ViewState": "AgIAACQAAAAAAAAAAADwvzIAAAANAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-16T06:25:05.884Z" + }, + { + "$type": "Document", + "DocumentIndex": 49, + "Title": "ServiceBase.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\BaseServices\\ServiceBase.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\BaseServices\\ServiceBase.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\BaseServices\\ServiceBase.cs", + "RelativeToolTip": "WIDESEA_Core\\BaseServices\\ServiceBase.cs", + "ViewState": "AgIAADkBAAAAAAAAAAAEwGEBAAALAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T03:01:01.27Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 50, + "Title": "PermissionDataHostService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HostedService\\PermissionDataHostService.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\HostedService\\PermissionDataHostService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HostedService\\PermissionDataHostService.cs", + "RelativeToolTip": "WIDESEA_Core\\HostedService\\PermissionDataHostService.cs", + "ViewState": "AgIAAJMAAAAAAAAAAAAAwMcAAAADAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T06:01:46.001Z" + }, + { + "$type": "Document", + "DocumentIndex": 52, + "Title": "SeedDataHostedService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HostedService\\SeedDataHostedService.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\HostedService\\SeedDataHostedService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HostedService\\SeedDataHostedService.cs", + "RelativeToolTip": "WIDESEA_Core\\HostedService\\SeedDataHostedService.cs", + "ViewState": "AgIAAAwAAAAAAAAAAAAiwCoAAAAfAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-20T07:59:07.035Z" + }, + { + "$type": "Document", + "DocumentIndex": 51, + "Title": "DBSeed.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Seed\\DBSeed.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Seed\\DBSeed.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Seed\\DBSeed.cs", + "RelativeToolTip": "WIDESEA_Core\\Seed\\DBSeed.cs", + "ViewState": "AgIAAIYAAAAAAAAAAAAAwFYAAAAeAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-20T07:44:53.659Z" + }, + { + "$type": "Document", + "DocumentIndex": 53, + "Title": "Sys_RoleDataPermission.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\System\\Sys_RoleDataPermission.cs", + "RelativeDocumentMoniker": "WIDESEA_Model\\Models\\System\\Sys_RoleDataPermission.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\System\\Sys_RoleDataPermission.cs", + "RelativeToolTip": "WIDESEA_Model\\Models\\System\\Sys_RoleDataPermission.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABoAAAADAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T05:49:00.151Z" + }, + { + "$type": "Document", + "DocumentIndex": 55, + "Title": "SwaggerAuthMiddleware.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Middlewares\\SwaggerAuthMiddleware.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Middlewares\\SwaggerAuthMiddleware.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Middlewares\\SwaggerAuthMiddleware.cs", + "RelativeToolTip": "WIDESEA_Core\\Middlewares\\SwaggerAuthMiddleware.cs", + "ViewState": "AgIAAAMAAAAAAAAAAAAAACMAAAAlAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:53:29.065Z" + }, + { + "$type": "Document", + "DocumentIndex": 57, + "Title": "WIDESEA_Core.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\WIDESEA_Core.csproj", + "RelativeDocumentMoniker": "WIDESEA_Core\\WIDESEA_Core.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\WIDESEA_Core.csproj", + "RelativeToolTip": "WIDESEA_Core\\WIDESEA_Core.csproj", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAAAmAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-01-24T03:50:44.938Z" + }, + { + "$type": "Document", + "DocumentIndex": 58, + "Title": "AspNetUser.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HttpContextUser\\AspNetUser.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\HttpContextUser\\AspNetUser.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HttpContextUser\\AspNetUser.cs", + "RelativeToolTip": "WIDESEA_Core\\HttpContextUser\\AspNetUser.cs", + "ViewState": "AgIAAJAAAAAAAAAAAAAuwFQAAAAnAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T06:46:49.797Z" + }, + { + "$type": "Document", + "DocumentIndex": 54, + "Title": "SwaggerContextExtension.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\SwaggerContextExtension.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\SwaggerContextExtension.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\SwaggerContextExtension.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\SwaggerContextExtension.cs", + "ViewState": "AgIAACYAAAAAAAAAAAAjwEEAAAAbAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:56:54.767Z" + }, + { + "$type": "Document", + "DocumentIndex": 56, + "Title": "WIDESEA_WMSServer.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj", + "RelativeDocumentMoniker": "WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj", + "RelativeToolTip": "WIDESEA_WMSServer\\WIDESEA_WMSServer.csproj", + "ViewState": "AgIAAAwAAAAAAAAAAAAAACgAAAANAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-08-26T05:42:28.324Z" + }, + { + "$type": "Document", + "DocumentIndex": 60, + "Title": "ApiAuthorizeFilter.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Filter\\ApiAuthorizeFilter.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Filter\\ApiAuthorizeFilter.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Filter\\ApiAuthorizeFilter.cs", + "RelativeToolTip": "WIDESEA_Core\\Filter\\ApiAuthorizeFilter.cs", + "ViewState": "AgIAACoAAAAAAAAAAAAYwDAAAAAQAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T06:49:29.093Z" + }, + { + "$type": "Document", + "DocumentIndex": 61, + "Title": "WebSocketSetup.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\WebSocketSetup.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\WebSocketSetup.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\WebSocketSetup.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\WebSocketSetup.cs", + "ViewState": "AgIAAAEAAAAAAAAAAAAMwBkAAAAzAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T09:05:32.995Z" + }, + { + "$type": "Document", + "DocumentIndex": 59, + "Title": "MemoryCacheService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Caches\\MemoryCacheService.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Caches\\MemoryCacheService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Caches\\MemoryCacheService.cs", + "RelativeToolTip": "WIDESEA_Core\\Caches\\MemoryCacheService.cs", + "ViewState": "AgIAADYAAAAAAAAAAIAxwE8AAAAWAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T05:38:02.456Z" + }, + { + "$type": "Document", + "DocumentIndex": 63, + "Title": "MiniProfilerSetup.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\MiniProfilerSetup.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\MiniProfilerSetup.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\MiniProfilerSetup.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\MiniProfilerSetup.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:56:28.895Z" + }, + { + "$type": "Document", + "DocumentIndex": 64, + "Title": "MemoryCacheSetup.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\MemoryCacheSetup.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\MemoryCacheSetup.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\MemoryCacheSetup.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\MemoryCacheSetup.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:56:24.461Z" + }, + { + "$type": "Document", + "DocumentIndex": 67, + "Title": "LogAOP.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\AOP\\LogAOP.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\AOP\\LogAOP.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\AOP\\LogAOP.cs", + "RelativeToolTip": "WIDESEA_Core\\AOP\\LogAOP.cs", + "ViewState": "AgIAAEsAAAAAAAAAAAAYwAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:54:07.47Z" + }, + { + "$type": "Document", + "DocumentIndex": 70, + "Title": "Sys_Log.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\System\\Sys_Log.cs", + "RelativeDocumentMoniker": "WIDESEA_Model\\Models\\System\\Sys_Log.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\System\\Sys_Log.cs", + "RelativeToolTip": "WIDESEA_Model\\Models\\System\\Sys_Log.cs", + "ViewState": "AgIAACAAAAAAAAAAAAA3wD0AAAA1AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-08-26T03:50:59.421Z" + }, + { + "$type": "Document", + "DocumentIndex": 66, + "Title": "SqlSugarAop.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\AOP\\SqlSugarAop.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\AOP\\SqlSugarAop.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\AOP\\SqlSugarAop.cs", + "RelativeToolTip": "WIDESEA_Core\\AOP\\SqlSugarAop.cs", + "ViewState": "AgIAADkAAAAAAAAAAAAQwAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-20T07:54:43.998Z" + }, + { + "$type": "Document", + "DocumentIndex": 62, + "Title": "SqlsugarSetup.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\SqlsugarSetup.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\SqlsugarSetup.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\SqlsugarSetup.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\SqlsugarSetup.cs", + "ViewState": "AgIAABIAAAAAAAAAAAAAABQAAAAlAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-20T07:55:21.04Z" + }, + { + "$type": "Document", + "DocumentIndex": 65, + "Title": "AutofacModuleRegister.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\AutofacModuleRegister.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\AutofacModuleRegister.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\AutofacModuleRegister.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\AutofacModuleRegister.cs", + "ViewState": "AgIAAAsAAAAAAAAAAAAQwEsAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-09T10:26:29.649Z" + }, + { + "$type": "Document", + "DocumentIndex": 72, + "Title": "WIDESEA_BasicService.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\WIDESEA_BasicService.csproj", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\WIDESEA_BasicService.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\WIDESEA_BasicService.csproj", + "RelativeToolTip": "WIDESEA_BasicService\\WIDESEA_BasicService.csproj", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-02-15T08:57:56.211Z" + }, + { + "$type": "Document", + "DocumentIndex": 73, + "Title": "WarehouseService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\WarehouseService.cs", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\WarehouseService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\WarehouseService.cs", + "RelativeToolTip": "WIDESEA_BasicService\\WarehouseService.cs", + "ViewState": "AgIAABsAAAAAAAAAAAAYwBoAAAAoAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:24:06.301Z" + }, + { + "$type": "Document", + "DocumentIndex": 77, + "Title": "LocationInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\LocationInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\LocationInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\LocationInfoService.cs", + "RelativeToolTip": "WIDESEA_BasicService\\LocationInfoService.cs", + "ViewState": "AgIAABoAAAAAAAAAAAAnwBsAAAAZAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:02:59.786Z" + }, + { + "$type": "Document", + "DocumentIndex": 69, + "Title": "Logger.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\LogHelper\\Logger.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\LogHelper\\Logger.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\LogHelper\\Logger.cs", + "RelativeToolTip": "WIDESEA_Core\\LogHelper\\Logger.cs", + "ViewState": "AgIAADwAAAAAAAAAAAAYwAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-09T10:20:13.189Z" + }, + { + "$type": "Document", + "DocumentIndex": 68, + "Title": "ApiLogMiddleware.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Middlewares\\ApiLogMiddleware.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Middlewares\\ApiLogMiddleware.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Middlewares\\ApiLogMiddleware.cs", + "RelativeToolTip": "WIDESEA_Core\\Middlewares\\ApiLogMiddleware.cs", + "ViewState": "AgIAADwAAAAAAAAAAADwv3IAAAAJAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-16T01:30:16.274Z" + }, + { + "$type": "Document", + "DocumentIndex": 74, + "Title": "PalletCodeInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\PalletCodeInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\PalletCodeInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\PalletCodeInfoService.cs", + "RelativeToolTip": "WIDESEA_BasicService\\PalletCodeInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABkAAABDAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:18:21.462Z" + }, + { + "$type": "Document", + "DocumentIndex": 75, + "Title": "MaterielInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\MaterielInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\MaterielInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\MaterielInfoService.cs", + "RelativeToolTip": "WIDESEA_BasicService\\MaterielInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAB6AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:17:33.186Z" + }, + { + "$type": "Document", + "DocumentIndex": 71, + "Title": "ServiceFunFilter.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\BaseServices\\ServiceFunFilter.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\BaseServices\\ServiceFunFilter.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\BaseServices\\ServiceFunFilter.cs", + "RelativeToolTip": "WIDESEA_Core\\BaseServices\\ServiceFunFilter.cs", + "ViewState": "AgIAAK8AAAAAAAAAAADwv+sAAAAtAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T09:18:07.251Z" + }, + { + "$type": "Document", + "DocumentIndex": 76, + "Title": "MaterielCodeInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\MaterielCodeInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\MaterielCodeInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\MaterielCodeInfoService.cs", + "RelativeToolTip": "WIDESEA_BasicService\\MaterielCodeInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABcAAAAaAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:15:46.135Z" + }, + { + "$type": "Document", + "DocumentIndex": 78, + "Title": "BasicService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\BasicService.cs", + "RelativeDocumentMoniker": "WIDESEA_BasicService\\BasicService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_BasicService\\BasicService.cs", + "RelativeToolTip": "WIDESEA_BasicService\\BasicService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAuwAQAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:02:30.75Z" + }, + { + "$type": "Document", + "DocumentIndex": 80, + "Title": "DBContext.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Seed\\DBContext.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Seed\\DBContext.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Seed\\DBContext.cs", + "RelativeToolTip": "WIDESEA_Core\\Seed\\DBContext.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABsAAAAzAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-20T07:47:01.691Z" + }, + { + "$type": "Document", + "DocumentIndex": 79, + "Title": "DbSetup.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\DbSetup.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Extensions\\DbSetup.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Extensions\\DbSetup.cs", + "RelativeToolTip": "WIDESEA_Core\\Extensions\\DbSetup.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAfAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-20T08:05:37.365Z" + }, + { + "$type": "Document", + "DocumentIndex": 86, + "Title": "StockQuantityChangeRecordService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_RecordService\\StockQuantityChangeRecordService.cs", + "RelativeDocumentMoniker": "WIDESEA_RecordService\\StockQuantityChangeRecordService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_RecordService\\StockQuantityChangeRecordService.cs", + "RelativeToolTip": "WIDESEA_RecordService\\StockQuantityChangeRecordService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAA4AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:46:27.897Z" + }, + { + "$type": "Document", + "DocumentIndex": 89, + "Title": "ILocationStatusChangeRecordService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IRecordService\\ILocationStatusChangeRecordService.cs", + "RelativeDocumentMoniker": "WIDESEA_IRecordService\\ILocationStatusChangeRecordService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IRecordService\\ILocationStatusChangeRecordService.cs", + "RelativeToolTip": "WIDESEA_IRecordService\\ILocationStatusChangeRecordService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAABGAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:44:57.22Z" + }, + { + "$type": "Document", + "DocumentIndex": 81, + "Title": "ILocationInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\ILocationInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_IBasicService\\ILocationInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\ILocationInfoService.cs", + "RelativeToolTip": "WIDESEA_IBasicService\\ILocationInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:00:38.358Z" + }, + { + "$type": "Document", + "DocumentIndex": 87, + "Title": "StockInfo_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfo_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_StockService\\StockInfo_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfo_HtyService.cs", + "RelativeToolTip": "WIDESEA_StockService\\StockInfo_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAsAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:50:42.971Z" + }, + { + "$type": "Document", + "DocumentIndex": 88, + "Title": "IStockInfo_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfo_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_IStockService\\IStockInfo_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfo_HtyService.cs", + "RelativeToolTip": "WIDESEA_IStockService\\IStockInfo_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAkAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:48:06.157Z" + }, + { + "$type": "Document", + "DocumentIndex": 82, + "Title": "Dt_StockInfo_Hty.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\Stock\\Dt_StockInfo_Hty.cs", + "RelativeDocumentMoniker": "WIDESEA_Model\\Models\\Stock\\Dt_StockInfo_Hty.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\Stock\\Dt_StockInfo_Hty.cs", + "RelativeToolTip": "WIDESEA_Model\\Models\\Stock\\Dt_StockInfo_Hty.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAABEAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-18T03:20:48.843Z" + }, + { + "$type": "Document", + "DocumentIndex": 83, + "Title": "Dt_StockInfo.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\Stock\\Dt_StockInfo.cs", + "RelativeDocumentMoniker": "WIDESEA_Model\\Models\\Stock\\Dt_StockInfo.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Model\\Models\\Stock\\Dt_StockInfo.cs", + "RelativeToolTip": "WIDESEA_Model\\Models\\Stock\\Dt_StockInfo.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-18T03:16:11.082Z" + }, + { + "$type": "Document", + "DocumentIndex": 85, + "Title": "StockSelectViewDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Stock\\StockSelectViewDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Stock\\StockSelectViewDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Stock\\StockSelectViewDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Stock\\StockSelectViewDTO.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:34.567Z" + }, + { + "$type": "Document", + "DocumentIndex": 84, + "Title": "StockViewDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Stock\\StockViewDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Stock\\StockViewDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Stock\\StockViewDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Stock\\StockViewDTO.cs", + "ViewState": "AgIAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:32.542Z" + }, + { + "$type": "Document", + "DocumentIndex": 90, + "Title": "Sys_DictionaryListService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_DictionaryListService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_DictionaryListService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_DictionaryListService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_DictionaryListService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABIAAABFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:08:30.765Z" + }, + { + "$type": "Document", + "DocumentIndex": 92, + "Title": "Sys_TenantService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_TenantService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_TenantService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_TenantService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_TenantService.cs", + "ViewState": "AgIAACYAAAAAAAAAAAAgwBgAAAA4AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:23:13.136Z" + }, + { + "$type": "Document", + "DocumentIndex": 91, + "Title": "Sys_RoleAuthService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_RoleAuthService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_RoleAuthService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_RoleAuthService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_RoleAuthService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABIAAAAoAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:19:42.486Z" + }, + { + "$type": "Document", + "DocumentIndex": 93, + "Title": "Sys_MenuService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_MenuService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_MenuService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_MenuService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_MenuService.cs", + "ViewState": "AgIAAIMAAAAAAAAAAAAwwKkAAAApAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:13:07.892Z" + }, + { + "$type": "Document", + "DocumentIndex": 94, + "Title": "Sys_LogService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_LogService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_LogService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_LogService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_LogService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAyAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:12:50.523Z" + }, + { + "$type": "Document", + "DocumentIndex": 95, + "Title": "Sys_DictionaryService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_DictionaryService.cs", + "RelativeDocumentMoniker": "WIDESEA_SystemService\\Sys_DictionaryService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_SystemService\\Sys_DictionaryService.cs", + "RelativeToolTip": "WIDESEA_SystemService\\Sys_DictionaryService.cs", + "ViewState": "AgIAAKcAAAAAAAAAAAAcwFgAAAAeAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:08:50.938Z" + }, + { + "$type": "Document", + "DocumentIndex": 97, + "Title": "ICheckOrderService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ICheckService\\ICheckOrderService.cs", + "RelativeDocumentMoniker": "WIDESEA_ICheckService\\ICheckOrderService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ICheckService\\ICheckOrderService.cs", + "RelativeToolTip": "WIDESEA_ICheckService\\ICheckOrderService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAAAFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:33:43.511Z" + }, + { + "$type": "Document", + "DocumentIndex": 99, + "Title": "CheckOrderResultService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_CheckService\\CheckOrderResultService.cs", + "RelativeDocumentMoniker": "WIDESEA_CheckService\\CheckOrderResultService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_CheckService\\CheckOrderResultService.cs", + "RelativeToolTip": "WIDESEA_CheckService\\CheckOrderResultService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAuwBIAAABzAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:30:33.271Z" + }, + { + "$type": "Document", + "DocumentIndex": 100, + "Title": "ICheckOrderResultService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ICheckService\\ICheckOrderResultService.cs", + "RelativeDocumentMoniker": "WIDESEA_ICheckService\\ICheckOrderResultService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ICheckService\\ICheckOrderResultService.cs", + "RelativeToolTip": "WIDESEA_ICheckService\\ICheckOrderResultService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAuwAsAAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:31:13.075Z" + }, + { + "$type": "Document", + "DocumentIndex": 98, + "Title": "CheckOrderService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_CheckService\\CheckOrderService.cs", + "RelativeDocumentMoniker": "WIDESEA_CheckService\\CheckOrderService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_CheckService\\CheckOrderService.cs", + "RelativeToolTip": "WIDESEA_CheckService\\CheckOrderService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAABsAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:31:45.764Z" + }, + { + "$type": "Document", + "DocumentIndex": 96, + "Title": "OutStockLockInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutStockLockInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_OutboundService\\OutStockLockInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutStockLockInfoService.cs", + "RelativeToolTip": "WIDESEA_OutboundService\\OutStockLockInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAAaAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T06:25:17.427Z" + }, + { + "$type": "Document", + "DocumentIndex": 102, + "Title": "IMaterielInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IMaterielInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_IBasicService\\IMaterielInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IMaterielInfoService.cs", + "RelativeToolTip": "WIDESEA_IBasicService\\IMaterielInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAYAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:01:22.789Z" + }, + { + "$type": "Document", + "DocumentIndex": 101, + "Title": "IOutboundOrderService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrderService.cs", + "RelativeDocumentMoniker": "WIDESEA_IOutboundService\\IOutboundOrderService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrderService.cs", + "RelativeToolTip": "WIDESEA_IOutboundService\\IOutboundOrderService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAcAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:34:47.47Z" + }, + { + "$type": "Document", + "DocumentIndex": 103, + "Title": "ITask_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ITaskInfoService\\ITask_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_ITaskInfoService\\ITask_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ITaskInfoService\\ITask_HtyService.cs", + "RelativeToolTip": "WIDESEA_ITaskInfoService\\ITask_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAAYAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:24:18.898Z" + }, + { + "$type": "Document", + "DocumentIndex": 105, + "Title": "ISys_UserService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_UserService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_UserService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_UserService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_UserService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAAcAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:08:13.595Z" + }, + { + "$type": "Document", + "DocumentIndex": 104, + "Title": "ISys_MenuService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_MenuService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_MenuService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_MenuService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_MenuService.cs", + "ViewState": "AgIAAA0AAAAAAAAAAIA6wCQAAAA1AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T02:44:40.001Z" + }, + { + "$type": "Document", + "DocumentIndex": 106, + "Title": "ISys_TenantService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_TenantService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_TenantService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_TenantService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_TenantService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAeAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:08:00.357Z" + }, + { + "$type": "Document", + "DocumentIndex": 108, + "Title": "ISys_RoleAuthService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_RoleAuthService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_RoleAuthService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_RoleAuthService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_RoleAuthService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T03:07:28.629Z" + }, + { + "$type": "Document", + "DocumentIndex": 109, + "Title": "ISys_LogService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_LogService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_LogService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_LogService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_LogService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T02:44:39.199Z" + }, + { + "$type": "Document", + "DocumentIndex": 110, + "Title": "ISys_DictionaryService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_DictionaryService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_DictionaryService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_DictionaryService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_DictionaryService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAcAAAAZAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-17T02:44:37.941Z" + }, + { + "$type": "Document", + "DocumentIndex": 111, + "Title": "ISys_DictionaryListService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_DictionaryListService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_DictionaryListService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_DictionaryListService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_DictionaryListService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAmAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:57:23.039Z" + }, + { + "$type": "Document", + "DocumentIndex": 112, + "Title": "StockSerivce.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockSerivce.cs", + "RelativeDocumentMoniker": "WIDESEA_StockService\\StockSerivce.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockSerivce.cs", + "RelativeToolTip": "WIDESEA_StockService\\StockSerivce.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:56:37.728Z" + }, + { + "$type": "Document", + "DocumentIndex": 113, + "Title": "StockInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_StockService\\StockInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfoService.cs", + "RelativeToolTip": "WIDESEA_StockService\\StockInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAAaAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:55:25.052Z" + }, + { + "$type": "Document", + "DocumentIndex": 107, + "Title": "ISys_RoleService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_RoleService.cs", + "RelativeDocumentMoniker": "WIDESEA_ISystemService\\ISys_RoleService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_ISystemService\\ISys_RoleService.cs", + "RelativeToolTip": "WIDESEA_ISystemService\\ISys_RoleService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABAAAAAcAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-16T06:37:36.058Z" + }, + { + "$type": "Document", + "DocumentIndex": 114, + "Title": "StockInfoDetailService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfoDetailService.cs", + "RelativeDocumentMoniker": "WIDESEA_StockService\\StockInfoDetailService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfoDetailService.cs", + "RelativeToolTip": "WIDESEA_StockService\\StockInfoDetailService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAAuAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:53:51.723Z" + }, + { + "$type": "Document", + "DocumentIndex": 115, + "Title": "StockInfoDetail_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfoDetail_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_StockService\\StockInfoDetail_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\StockInfoDetail_HtyService.cs", + "RelativeToolTip": "WIDESEA_StockService\\StockInfoDetail_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAwAAAAyAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:53:14.563Z" + }, + { + "$type": "Document", + "DocumentIndex": 116, + "Title": "IStockViewService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockViewService.cs", + "RelativeDocumentMoniker": "WIDESEA_IStockService\\IStockViewService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockViewService.cs", + "RelativeToolTip": "WIDESEA_IStockService\\IStockViewService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:50:37.133Z" + }, + { + "$type": "Document", + "DocumentIndex": 117, + "Title": "WIDESEA_StockService.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\WIDESEA_StockService.csproj", + "RelativeDocumentMoniker": "WIDESEA_StockService\\WIDESEA_StockService.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_StockService\\WIDESEA_StockService.csproj", + "RelativeToolTip": "WIDESEA_StockService\\WIDESEA_StockService.csproj", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-02-15T09:50:36.478Z" + }, + { + "$type": "Document", + "DocumentIndex": 118, + "Title": "IStockService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockService.cs", + "RelativeDocumentMoniker": "WIDESEA_IStockService\\IStockService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockService.cs", + "RelativeToolTip": "WIDESEA_IStockService\\IStockService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:50:31.009Z" + }, + { + "$type": "Document", + "DocumentIndex": 119, + "Title": "IStockInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_IStockService\\IStockInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfoService.cs", + "RelativeToolTip": "WIDESEA_IStockService\\IStockInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:50:14.089Z" + }, + { + "$type": "Document", + "DocumentIndex": 120, + "Title": "IStockInfoDetailService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfoDetailService.cs", + "RelativeDocumentMoniker": "WIDESEA_IStockService\\IStockInfoDetailService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfoDetailService.cs", + "RelativeToolTip": "WIDESEA_IStockService\\IStockInfoDetailService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAmAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:49:50.324Z" + }, + { + "$type": "Document", + "DocumentIndex": 121, + "Title": "IStockInfoDetail_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfoDetail_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_IStockService\\IStockInfoDetail_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IStockService\\IStockInfoDetail_HtyService.cs", + "RelativeToolTip": "WIDESEA_IStockService\\IStockInfoDetail_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAgAAAAqAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:48:44.469Z" + }, + { + "$type": "Document", + "DocumentIndex": 123, + "Title": "WIDESEA_RecordService.csproj", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_RecordService\\WIDESEA_RecordService.csproj", + "RelativeDocumentMoniker": "WIDESEA_RecordService\\WIDESEA_RecordService.csproj", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_RecordService\\WIDESEA_RecordService.csproj", + "RelativeToolTip": "WIDESEA_RecordService\\WIDESEA_RecordService.csproj", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|", + "WhenOpened": "2025-02-15T09:46:33.692Z" + }, + { + "$type": "Document", + "DocumentIndex": 122, + "Title": "LocationStatusChangeRecordService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_RecordService\\LocationStatusChangeRecordService.cs", + "RelativeDocumentMoniker": "WIDESEA_RecordService\\LocationStatusChangeRecordService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_RecordService\\LocationStatusChangeRecordService.cs", + "RelativeToolTip": "WIDESEA_RecordService\\LocationStatusChangeRecordService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAA5AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:46:28.858Z" + }, + { + "$type": "Document", + "DocumentIndex": 124, + "Title": "IStockQuantityChangeRecordService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IRecordService\\IStockQuantityChangeRecordService.cs", + "RelativeDocumentMoniker": "WIDESEA_IRecordService\\IStockQuantityChangeRecordService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IRecordService\\IStockQuantityChangeRecordService.cs", + "RelativeToolTip": "WIDESEA_IRecordService\\IStockQuantityChangeRecordService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAABFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:45:51.873Z" + }, + { + "$type": "Document", + "DocumentIndex": 125, + "Title": "IRecordService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IRecordService\\IRecordService.cs", + "RelativeDocumentMoniker": "WIDESEA_IRecordService\\IRecordService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IRecordService\\IRecordService.cs", + "RelativeToolTip": "WIDESEA_IRecordService\\IRecordService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:45:49.32Z" + }, + { + "$type": "Document", + "DocumentIndex": 126, + "Title": "OutboundService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundService.cs", + "RelativeDocumentMoniker": "WIDESEA_OutboundService\\OutboundService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundService.cs", + "RelativeToolTip": "WIDESEA_OutboundService\\OutboundService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:41:34.647Z" + }, + { + "$type": "Document", + "DocumentIndex": 127, + "Title": "OutboundOrderService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrderService.cs", + "RelativeDocumentMoniker": "WIDESEA_OutboundService\\OutboundOrderService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrderService.cs", + "RelativeToolTip": "WIDESEA_OutboundService\\OutboundOrderService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:39:48.522Z" + }, + { + "$type": "Document", + "DocumentIndex": 128, + "Title": "OutboundOrderDetailService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrderDetailService.cs", + "RelativeDocumentMoniker": "WIDESEA_OutboundService\\OutboundOrderDetailService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrderDetailService.cs", + "RelativeToolTip": "WIDESEA_OutboundService\\OutboundOrderDetailService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:38:35.34Z" + }, + { + "$type": "Document", + "DocumentIndex": 130, + "Title": "OutboundOrderDetail_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrderDetail_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_OutboundService\\OutboundOrderDetail_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrderDetail_HtyService.cs", + "RelativeToolTip": "WIDESEA_OutboundService\\OutboundOrderDetail_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAABVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:37:27.059Z" + }, + { + "$type": "Document", + "DocumentIndex": 131, + "Title": "OutboundOrder_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrder_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_OutboundService\\OutboundOrder_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_OutboundService\\OutboundOrder_HtyService.cs", + "RelativeToolTip": "WIDESEA_OutboundService\\OutboundOrder_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:35:55.333Z" + }, + { + "$type": "Document", + "DocumentIndex": 132, + "Title": "IOutStockLockInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutStockLockInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_IOutboundService\\IOutStockLockInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutStockLockInfoService.cs", + "RelativeToolTip": "WIDESEA_IOutboundService\\IOutStockLockInfoService.cs", + "ViewState": "AgIAAAIAAAAAAAAAAAAuwBQAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:35:12.766Z" + }, + { + "$type": "Document", + "DocumentIndex": 133, + "Title": "IOutboundService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundService.cs", + "RelativeDocumentMoniker": "WIDESEA_IOutboundService\\IOutboundService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundService.cs", + "RelativeToolTip": "WIDESEA_IOutboundService\\IOutboundService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAAFAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:35:06.231Z" + }, + { + "$type": "Document", + "DocumentIndex": 129, + "Title": "IOutboundOrder_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrder_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_IOutboundService\\IOutboundOrder_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrder_HtyService.cs", + "RelativeToolTip": "WIDESEA_IOutboundService\\IOutboundOrder_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:34:12.741Z" + }, + { + "$type": "Document", + "DocumentIndex": 134, + "Title": "IOutboundOrderDetailService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrderDetailService.cs", + "RelativeDocumentMoniker": "WIDESEA_IOutboundService\\IOutboundOrderDetailService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrderDetailService.cs", + "RelativeToolTip": "WIDESEA_IOutboundService\\IOutboundOrderDetailService.cs", + "ViewState": "AgIAAAcAAAAAAAAAAAAuwBMAAAAHAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:34:22.989Z" + }, + { + "$type": "Document", + "DocumentIndex": 135, + "Title": "IOutboundOrderDetail_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrderDetail_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_IOutboundService\\IOutboundOrderDetail_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IOutboundService\\IOutboundOrderDetail_HtyService.cs", + "RelativeToolTip": "WIDESEA_IOutboundService\\IOutboundOrderDetail_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAkAAAAYAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:34:20.472Z" + }, + { + "$type": "Document", + "DocumentIndex": 136, + "Title": "InboundService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundService.cs", + "RelativeDocumentMoniker": "WIDESEA_InboundService\\InboundService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundService.cs", + "RelativeToolTip": "WIDESEA_InboundService\\InboundService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAQAAAAdAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:33:50.046Z" + }, + { + "$type": "Document", + "DocumentIndex": 140, + "Title": "InboundOrder_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrder_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_InboundService\\InboundOrder_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrder_HtyService.cs", + "RelativeToolTip": "WIDESEA_InboundService\\InboundOrder_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABkAAABHAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:28:10.437Z" + }, + { + "$type": "Document", + "DocumentIndex": 139, + "Title": "InboundOrderDetail_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrderDetail_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_InboundService\\InboundOrderDetail_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrderDetail_HtyService.cs", + "RelativeToolTip": "WIDESEA_InboundService\\InboundOrderDetail_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABIAAABTAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:29:55.515Z" + }, + { + "$type": "Document", + "DocumentIndex": 138, + "Title": "InboundOrderDetailService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrderDetailService.cs", + "RelativeDocumentMoniker": "WIDESEA_InboundService\\InboundOrderDetailService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrderDetailService.cs", + "RelativeToolTip": "WIDESEA_InboundService\\InboundOrderDetailService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAAABAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:30:16.98Z" + }, + { + "$type": "Document", + "DocumentIndex": 137, + "Title": "InboundOrderService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrderService.cs", + "RelativeDocumentMoniker": "WIDESEA_InboundService\\InboundOrderService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_InboundService\\InboundOrderService.cs", + "RelativeToolTip": "WIDESEA_InboundService\\InboundOrderService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAxAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T08:56:40.184Z" + }, + { + "$type": "Document", + "DocumentIndex": 141, + "Title": "IInboundOrder_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrder_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_IInboundService\\IInboundOrder_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrder_HtyService.cs", + "RelativeToolTip": "WIDESEA_IInboundService\\IInboundOrder_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAcAAAAaAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:25:30.461Z" + }, + { + "$type": "Document", + "DocumentIndex": 142, + "Title": "IInboundService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundService.cs", + "RelativeDocumentMoniker": "WIDESEA_IInboundService\\IInboundService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundService.cs", + "RelativeToolTip": "WIDESEA_IInboundService\\IInboundService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAAA4AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:26:38.802Z" + }, + { + "$type": "Document", + "DocumentIndex": 143, + "Title": "IInboundOrderService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrderService.cs", + "RelativeDocumentMoniker": "WIDESEA_IInboundService\\IInboundOrderService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrderService.cs", + "RelativeToolTip": "WIDESEA_IInboundService\\IInboundOrderService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T09:00:35.407Z" + }, + { + "$type": "Document", + "DocumentIndex": 144, + "Title": "IInboundOrderDetailService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrderDetailService.cs", + "RelativeDocumentMoniker": "WIDESEA_IInboundService\\IInboundOrderDetailService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrderDetailService.cs", + "RelativeToolTip": "WIDESEA_IInboundService\\IInboundOrderDetailService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAA+AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:25:37.994Z" + }, + { + "$type": "Document", + "DocumentIndex": 145, + "Title": "IInboundOrderDetail_HtyService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrderDetail_HtyService.cs", + "RelativeDocumentMoniker": "WIDESEA_IInboundService\\IInboundOrderDetail_HtyService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IInboundService\\IInboundOrderDetail_HtyService.cs", + "RelativeToolTip": "WIDESEA_IInboundService\\IInboundOrderDetail_HtyService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAUAAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:25:34.426Z" + }, + { + "$type": "Document", + "DocumentIndex": 146, + "Title": "IPalletCodeInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IPalletCodeInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_IBasicService\\IPalletCodeInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IPalletCodeInfoService.cs", + "RelativeToolTip": "WIDESEA_IBasicService\\IPalletCodeInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAuwAwAAAAVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:01:22.068Z" + }, + { + "$type": "Document", + "DocumentIndex": 148, + "Title": "IMaterielCodeInfoService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IMaterielCodeInfoService.cs", + "RelativeDocumentMoniker": "WIDESEA_IBasicService\\IMaterielCodeInfoService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IMaterielCodeInfoService.cs", + "RelativeToolTip": "WIDESEA_IBasicService\\IMaterielCodeInfoService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA0AAABDAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T09:00:55.892Z" + }, + { + "$type": "Document", + "DocumentIndex": 147, + "Title": "IWarehouseService.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IWarehouseService.cs", + "RelativeDocumentMoniker": "WIDESEA_IBasicService\\IWarehouseService.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_IBasicService\\IWarehouseService.cs", + "RelativeToolTip": "WIDESEA_IBasicService\\IWarehouseService.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAgAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-15T08:59:58.174Z" + }, + { + "$type": "Document", + "DocumentIndex": 150, + "Title": "NuGet.Config", + "DocumentMoniker": "C:\\Users\\12825\\AppData\\Roaming\\NuGet\\NuGet.Config", + "ToolTip": "C:\\Users\\12825\\AppData\\Roaming\\NuGet\\NuGet.Config", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABQAAAAQAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000601|", + "WhenOpened": "2025-01-24T03:54:10.976Z" + }, + { + "$type": "Document", + "DocumentIndex": 149, + "Title": "RequestLogModel.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\LogHelper\\RequestLogModel.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\LogHelper\\RequestLogModel.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\LogHelper\\RequestLogModel.cs", + "RelativeToolTip": "WIDESEA_Core\\LogHelper\\RequestLogModel.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-02-09T10:21:08.214Z" + }, + { + "$type": "Document", + "DocumentIndex": 151, + "Title": "GlobalExceptionsFilter.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Filter\\GlobalExceptionsFilter.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Filter\\GlobalExceptionsFilter.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Filter\\GlobalExceptionsFilter.cs", + "RelativeToolTip": "WIDESEA_Core\\Filter\\GlobalExceptionsFilter.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABYAAAA1AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-16T01:34:04.4Z" + }, + { + "$type": "Document", + "DocumentIndex": 152, + "Title": "HttpHelper.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Helper\\HttpHelper.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Helper\\HttpHelper.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Helper\\HttpHelper.cs", + "RelativeToolTip": "WIDESEA_Core\\Helper\\HttpHelper.cs", + "ViewState": "AgIAAB8AAAAAAAAAAAAAwAsAAAAdAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-17T06:03:08.857Z" + }, + { + "$type": "Document", + "DocumentIndex": 153, + "Title": "HttpMesHelper.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Helper\\HttpMesHelper.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\Helper\\HttpMesHelper.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\Helper\\HttpMesHelper.cs", + "RelativeToolTip": "WIDESEA_Core\\Helper\\HttpMesHelper.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAABAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-17T06:03:23.061Z" + }, + { + "$type": "Document", + "DocumentIndex": 154, + "Title": "IUser.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HttpContextUser\\IUser.cs", + "RelativeDocumentMoniker": "WIDESEA_Core\\HttpContextUser\\IUser.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Core\\HttpContextUser\\IUser.cs", + "RelativeToolTip": "WIDESEA_Core\\HttpContextUser\\IUser.cs", + "ViewState": "AgIAAAwAAAAAAAAAAAAtwCIAAAAyAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-15T07:01:29.879Z" + }, + { + "$type": "Document", + "DocumentIndex": 155, + "Title": "MatSerNumAnalysisModel.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Basic\\MatSerNumAnalysisModel.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Basic\\MatSerNumAnalysisModel.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Basic\\MatSerNumAnalysisModel.cs", + "RelativeToolTip": "WIDESEA_DTO\\Basic\\MatSerNumAnalysisModel.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAARAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:39.637Z" + }, + { + "$type": "Document", + "DocumentIndex": 156, + "Title": "MesOutboundOrderType.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Common\\OrderEnum\\MesOutboundOrderType.cs", + "RelativeDocumentMoniker": "WIDESEA_Common\\OrderEnum\\MesOutboundOrderType.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_Common\\OrderEnum\\MesOutboundOrderType.cs", + "RelativeToolTip": "WIDESEA_Common\\OrderEnum\\MesOutboundOrderType.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABoAAAAIAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-14T05:42:27.034Z" + }, + { + "$type": "Document", + "DocumentIndex": 157, + "Title": "InboundOrderAddDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\InboundOrderAddDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Inbound\\InboundOrderAddDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\InboundOrderAddDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Inbound\\InboundOrderAddDTO.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:29.252Z" + }, + { + "$type": "Document", + "DocumentIndex": 158, + "Title": "InboundOrderDetailAddDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\InboundOrderDetailAddDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Inbound\\InboundOrderDetailAddDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\InboundOrderDetailAddDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Inbound\\InboundOrderDetailAddDTO.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:28.688Z" + }, + { + "$type": "Document", + "DocumentIndex": 159, + "Title": "InboundOrderGetDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\InboundOrderGetDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Inbound\\InboundOrderGetDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\InboundOrderGetDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Inbound\\InboundOrderGetDTO.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:27.652Z" + }, + { + "$type": "Document", + "DocumentIndex": 160, + "Title": "MaterielGroupDTO.cs", + "DocumentMoniker": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\MaterielGroupDTO.cs", + "RelativeDocumentMoniker": "WIDESEA_DTO\\Inbound\\MaterielGroupDTO.cs", + "ToolTip": "E:\\KHGITHUB\\ShenYangLiku\\\u9879\u76EE\u4EE3\u7801\\WMS\\WIDESEA_WMSServer\\WIDESEA_WMSServer\\WIDESEA_DTO\\Inbound\\MaterielGroupDTO.cs", + "RelativeToolTip": "WIDESEA_DTO\\Inbound\\MaterielGroupDTO.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-01-13T14:23:23.553Z" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/BasicService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/BasicService.cs" new file mode 100644 index 0000000..ac56868 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/BasicService.cs" @@ -0,0 +1,26 @@ +锘縰sing WIDESEA_IBasicService; + +namespace WIDESEA_BasicService +{ + public class BasicService : IBasicService + { + public IPalletCodeInfoService PalletCodeInfoService { get; } + + public ILocationInfoService LocationInfoService { get; } + + public IMaterielInfoService MaterielInfoService { get; } + + public IWarehouseService WarehouseService { get; } + + public IMaterielCodeInfoService MaterielCodeInfoService { get; } + + public BasicService(ILocationInfoService locationInfoService, IMaterielInfoService materielInfoService, IWarehouseService warehouseService, IPalletCodeInfoService palletCodeInfoService, IMaterielCodeInfoService materielCodeInfoService) + { + LocationInfoService = locationInfoService; + MaterielInfoService = materielInfoService; + WarehouseService = warehouseService; + PalletCodeInfoService = palletCodeInfoService; + MaterielCodeInfoService = materielCodeInfoService; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/LocationInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/LocationInfoService.cs" new file mode 100644 index 0000000..16c743a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/LocationInfoService.cs" @@ -0,0 +1,157 @@ +锘縰sing HslCommunication.WebSocket; +using OfficeOpenXml.FormulaParsing.Excel.Functions.RefAndLookup; +using OfficeOpenXml.FormulaParsing.Excel.Functions.Text; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.CommonEnum; +using WIDESEA_Common.LocationEnum; +using WIDESEA_Common.StockEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Const; +using WIDESEA_Core.DB; +using WIDESEA_Core.Enums; +using WIDESEA_Core.Helper; +using WIDESEA_Core.Seed; +using WIDESEA_Core.Utilities; +using WIDESEA_DTO.Basic; +using WIDESEA_IBasicService; +using WIDESEA_Model.Models; + +namespace WIDESEA_BasicService +{ + public partial class LocationInfoService : ServiceBase<Dt_LocationInfo, IRepository<Dt_LocationInfo>>, ILocationInfoService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly IRepository<Dt_StockInfo> _stockInfoRepository; + public IRepository<Dt_LocationInfo> Repository => BaseDal; + + public LocationInfoService(IRepository<Dt_LocationInfo> BaseDal, IUnitOfWorkManage unitOfWorkManage, IRepository<Dt_StockInfo> stockInfoRepository) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + _stockInfoRepository = stockInfoRepository; + } + + /// <summary> + /// 鎵归噺鍚敤璐т綅 + /// </summary> + /// <param name="keys">璐т綅涓婚敭鏁扮粍</param> + /// <returns></returns> + public WebResponseContent LocationEnableStatus(int[] keys) + { + List<Dt_LocationInfo> locationInfos = Repository.QueryData(x => keys.Contains(x.Id)); + locationInfos.ForEach(x => + { + x.EnableStatus = EnableStatusEnum.Normal.ObjToInt(); + }); + Repository.UpdateData(locationInfos); + + return WebResponseContent.Instance.OK(); + } + + /// <summary> + /// 鎵归噺绂佺敤璐т綅 + /// </summary> + /// <param name="keys">璐т綅涓婚敭鏁扮粍</param> + /// <returns></returns> + public WebResponseContent LocationDisableStatus(int[] keys) + { + List<Dt_LocationInfo> locationInfos = Repository.QueryData(x => keys.Contains(x.Id)); + locationInfos.ForEach(x => + { + x.EnableStatus = EnableStatusEnum.Disable.ObjToInt(); + }); + Repository.UpdateData(locationInfos); + + return WebResponseContent.Instance.OK(); + } + + /// <summary> + /// 鍗曚釜鍚敤璐т綅 + /// </summary> + /// <param name="key">璐т綅涓婚敭</param> + /// <returns></returns> + public WebResponseContent LocationEnableStatus(int key) + { + return LocationEnableStatus(new int[] { key }); + } + + /// <summary> + /// 鍗曚釜绂佺敤璐т綅 + /// </summary> + /// <param name="key">璐т綅涓婚敭</param> + /// <returns></returns> + public WebResponseContent LocationDisableStatus(int key) + { + return LocationDisableStatus(new int[] { key }); + } + + /// <summary> + /// 鍒濆鍖栬揣浣� + /// </summary> + /// <param name="initializationLocationDTO"></param> + /// <returns></returns> + public WebResponseContent InitializationLocation(InitializationLocationDTO initializationLocationDTO) + { + try + { + (bool, string, object?) result = ModelValidate.ValidateModelData(initializationLocationDTO); + if (!result.Item1) return WebResponseContent.Instance.Error(result.Item2); + + int depth = initializationLocationDTO.Depth; + List<Dt_LocationInfo> locationInfos = new List<Dt_LocationInfo>(); + for (int i = 0; i < initializationLocationDTO.MaxRow; i++) + { + if ((i + 1) % initializationLocationDTO.MaxRow == 1) + { + depth = initializationLocationDTO.Depth; + } + else if ((i + 1) % initializationLocationDTO.MaxRow == initializationLocationDTO.Depth + 1) + { + depth = 1; + } + else if ((i + 1) % initializationLocationDTO.MaxRow > 1 && (i + 1) % initializationLocationDTO.MaxRow <= initializationLocationDTO.Depth) + { + depth -= 1; + } + else + { + depth += 1; + } + for (int j = 0; j < initializationLocationDTO.MaxColumn; j++) + { + for (int k = 0; k < initializationLocationDTO.MaxLayer; k++) + { + Dt_LocationInfo locationInfo = new Dt_LocationInfo() + { + WarehouseId = 0, + Column = j + 1, + EnableStatus = EnableStatusEnum.Normal.ObjToInt(), + Layer = k + 1, + LocationStatus = LocationStatusEnum.Free.ObjToInt(), + LocationType = LocationTypeEnum.Undefined.ObjToInt(), + RoadwayNo = $"{initializationLocationDTO.Roadway.ToString()}", + Row = i + 1, + Depth = depth, + }; + locationInfo.LocationCode = $"{locationInfo.RoadwayNo}-{locationInfo.Row.ToString().PadLeft(3, '0')}-{locationInfo.Column.ToString().PadLeft(3, '0')}-{locationInfo.Layer.ToString().PadLeft(3, '0')}-{locationInfo.Depth.ToString().PadLeft(2, '0')}"; + locationInfo.LocationName = $"{locationInfo.RoadwayNo}宸烽亾{locationInfo.Row.ToString().PadLeft(3, '0')}琛寋locationInfo.Column.ToString().PadLeft(3, '0')}鍒梴locationInfo.Layer.ToString().PadLeft(3, '0')}灞倇locationInfo.Depth.ToString().PadLeft(2, '0')}娣�"; + locationInfos.Add(locationInfo); + } + } + } + BaseDal.AddData(locationInfos); + return WebResponseContent.Instance.OK(); + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/MaterielCodeInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/MaterielCodeInfoService.cs" new file mode 100644 index 0000000..e9e64b3 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/MaterielCodeInfoService.cs" @@ -0,0 +1,26 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.WareHouseEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Helper; +using WIDESEA_IBasicService; +using WIDESEA_Model.Models; + +namespace WIDESEA_BasicService +{ + public class MaterielCodeInfoService : ServiceBase<Dt_MaterielCodeInfo, IRepository<Dt_MaterielCodeInfo>>, IMaterielCodeInfoService + { + + public MaterielCodeInfoService(IRepository<Dt_MaterielCodeInfo> BaseDal) : base(BaseDal) + { + } + + public IRepository<Dt_MaterielCodeInfo> Repository => BaseDal; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/MaterielInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/MaterielInfoService.cs" new file mode 100644 index 0000000..6e0fd69 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/MaterielInfoService.cs" @@ -0,0 +1,24 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_IBasicService; +using WIDESEA_Model.Models; + +namespace WIDESEA_BasicService +{ + public partial class MaterielInfoService : ServiceBase<Dt_MaterielInfo, IRepository<Dt_MaterielInfo>>, IMaterielInfoService + { + + public MaterielInfoService(IRepository<Dt_MaterielInfo> BaseDal) : base(BaseDal) + { + } + + public IRepository<Dt_MaterielInfo> Repository => BaseDal; + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/PalletCodeInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/PalletCodeInfoService.cs" new file mode 100644 index 0000000..3786220 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/PalletCodeInfoService.cs" @@ -0,0 +1,28 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.CommonEnum; +using WIDESEA_Common.WareHouseEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Helper; +using WIDESEA_IBasicService; +using WIDESEA_Model.Models; + +namespace WIDESEA_BasicService +{ + public class PalletCodeInfoService : ServiceBase<Dt_PalletCodeInfo, IRepository<Dt_PalletCodeInfo>>, IPalletCodeInfoService + { + + public PalletCodeInfoService(IRepository<Dt_PalletCodeInfo> BaseDal) : base(BaseDal) + { + + } + + public IRepository<Dt_PalletCodeInfo> Repository => BaseDal; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/WIDESEA_BasicService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/WIDESEA_BasicService.csproj" new file mode 100644 index 0000000..555f689 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/WIDESEA_BasicService.csproj" @@ -0,0 +1,14 @@ +锘�<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_IBasicService\WIDESEA_IBasicService.csproj" /> + <ProjectReference Include="..\WIDESEA_IRecordService\WIDESEA_IRecordService.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/WarehouseService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/WarehouseService.cs" new file mode 100644 index 0000000..d2ad594 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_BasicService/WarehouseService.cs" @@ -0,0 +1,85 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Enums; +using WIDESEA_IBasicService; +using WIDESEA_Model.Models; +using WIDESEA_Core.Helper; +using WIDESEA_Common.CommonEnum; +using WIDESEA_Core.Caches; +using WIDESEA_Core.BaseRepository; + +namespace WIDESEA_BasicService +{ + public partial class WarehouseService : ServiceBase<Dt_Warehouse, IRepository<Dt_Warehouse>>, IWarehouseService + { + private readonly ICacheService _cacheService; + + public WarehouseService(IRepository<Dt_Warehouse> BaseDal,ICacheService cacheService) : base(BaseDal) + { + _cacheService = cacheService; + } + + public IRepository<Dt_Warehouse> Repository => BaseDal; + + /// <summary> + /// 鎵归噺鍚敤浠撳簱 + /// </summary> + /// <param name="keys">浠撳簱涓婚敭鏁扮粍</param> + /// <returns></returns> + public WebResponseContent WarehouseEnableStatus(int[] keys) + { + List<Dt_Warehouse> warehouses = Repository.QueryData(x => keys.Contains(x.WarehouseId)); + warehouses.ForEach(x => + { + x.WarehouseStatus = EnableEnum.Enable.ObjToInt(); + }); + Repository.UpdateData(warehouses); + + return WebResponseContent.Instance.OK(); + } + + /// <summary> + /// 鎵归噺绂佺敤浠撳簱 + /// </summary> + /// <param name="keys">浠撳簱涓婚敭鏁扮粍</param> + /// <returns></returns> + public WebResponseContent WarehouseDisableStatus(int[] keys) + { + List<Dt_Warehouse> warehouses = Repository.QueryData(x => keys.Contains(x.WarehouseId)); + warehouses.ForEach(x => + { + x.WarehouseStatus = EnableEnum.Disable.ObjToInt(); + }); + Repository.UpdateData(warehouses); + + return WebResponseContent.Instance.OK(); + } + + /// <summary> + /// 鍗曚釜鍚敤浠撳簱 + /// </summary> + /// <param name="key">浠撳簱涓婚敭</param> + /// <returns></returns> + public WebResponseContent WarehouseEnableStatus(int key) + { + return WarehouseEnableStatus(new int[] { key }); + } + + /// <summary> + /// 鍗曚釜绂佺敤浠撳簱 + /// </summary> + /// <param name="key">浠撳簱涓婚敭</param> + /// <returns></returns> + public WebResponseContent WarehouseDisableStatus(int key) + { + return WarehouseDisableStatus(new int[] { key }); + } + + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_CheckService/CheckOrderResultService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_CheckService/CheckOrderResultService.cs" new file mode 100644 index 0000000..c33e285 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_CheckService/CheckOrderResultService.cs" @@ -0,0 +1,25 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.OrderEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Helper; +using WIDESEA_ICheckService; +using WIDESEA_Model.Models; + +namespace WIDESEA_CheckService +{ + public class CheckOrderResultService : ServiceBase<Dt_CheckOrderResult, IRepository<Dt_CheckOrderResult>>, ICheckOrderResultService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + public CheckOrderResultService(IRepository<Dt_CheckOrderResult> BaseDal, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_CheckService/CheckOrderService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_CheckService/CheckOrderService.cs" new file mode 100644 index 0000000..6e0006b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_CheckService/CheckOrderService.cs" @@ -0,0 +1,24 @@ +锘縰sing HslCommunication.WebSocket; +using WIDESEA_Common.CommonEnum; +using WIDESEA_Common.OrderEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Helper; +using WIDESEA_ICheckService; +using WIDESEA_Model.Models; + +namespace WIDESEA_CheckService +{ + public class CheckOrderService : ServiceBase<Dt_CheckOrder, IRepository<Dt_CheckOrder>>, ICheckOrderService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly WebSocketServer _webSocketServer; + + public CheckOrderService(IRepository<Dt_CheckOrder> BaseDal, IUnitOfWorkManage unitOfWorkManage, WebSocketServer webSocketServer) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + _webSocketServer = webSocketServer; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_CheckService/WIDESEA_CheckService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_CheckService/WIDESEA_CheckService.csproj" new file mode 100644 index 0000000..2adeca1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_CheckService/WIDESEA_CheckService.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_ICheckService\WIDESEA_ICheckService.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/APIEnum/APIEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/APIEnum/APIEnum.cs" new file mode 100644 index 0000000..63dc0e1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/APIEnum/APIEnum.cs" @@ -0,0 +1,41 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.APIEnum +{ + /// <summary> + /// + /// </summary> + public enum APIEnum + { + /// <summary> + /// AGV鍙戦�佷换鍔℃帴鍙� + /// </summary> + [Description("AGV鍙戦�佷换鍔℃帴鍙�")] + AgvSendTask, + /// <summary> + /// AGV瀹夊叏淇″彿鍥炲 + /// </summary> + [Description("AGV瀹夊叏淇″彿鍥炲")] + AgvSecureReply, + /// <summary> + /// ERP鎺ュ彛璋冪敤 + /// </summary> + [Description("ERP鎺ュ彛璋冪敤")] + InvokeErpApi, + /// <summary> + /// MES鍚屾娴嬭瘯鏋跺彴璐︿俊鎭� + /// </summary> + [Description("MES鍚屾娴嬭瘯鏋跺彴璐︿俊鎭�")] + WMS_MES_TestToolSync, + /// <summary> + /// MES鍚屾鏉挎枡鍑哄簱 + /// </summary> + [Description("MES鍚屾鏉挎枡鍑哄簱")] + WMS_MES_MaterialLotaAcept + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/AuditStatusEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/AuditStatusEnum.cs" new file mode 100644 index 0000000..ff76e24 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/AuditStatusEnum.cs" @@ -0,0 +1,36 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.CommonEnum +{ + public enum AuditStatusEnum + { + /// <summary> + /// 寰呮彁浜� + /// </summary> + [Description("寰呮彁浜�")] + NotCommited = 0, + + /// <summary> + /// 瀹℃壒涓� + /// </summary> + [Description("瀹℃壒涓�")] + Auditing = 1, + + /// <summary> + /// 鍚屾剰 + /// </summary> + [Description("鍚屾剰")] + Agree = 100, + + /// <summary> + /// 椹冲洖 + /// </summary> + [Description("椹冲洖")] + Reject = 101 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/EnableEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/EnableEnum.cs" new file mode 100644 index 0000000..e4d3718 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/EnableEnum.cs" @@ -0,0 +1,27 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.CommonEnum +{ + /// <summary> + /// 鍚鐘舵�� + /// </summary> + public enum EnableEnum + { + /// <summary> + /// 绂佺敤 + /// </summary> + [Description("绂佺敤")] + Disable = 0, + + /// <summary> + /// 鍚敤 + /// </summary> + [Description("鍚敤")] + Enable = 1, + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/PalletTypeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/PalletTypeEnum.cs" new file mode 100644 index 0000000..f9a2413 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/PalletTypeEnum.cs" @@ -0,0 +1,38 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.CommonEnum +{ + public enum PalletTypeEnum + { + /// <summary> + /// 绌虹 + /// </summary> + Empty = -1, + + None = 0, + + /// <summary> + /// 灏忔墭鐩� + /// </summary> + SmallPallet = 1, + + /// <summary> + /// 涓墭鐩� + /// </summary> + MediumPallet = 2, + + /// <summary> + /// 澶ф墭鐩� + /// </summary> + LargePallet = 3, + + /// <summary> + /// 鏈�澶ф墭鐩� + /// </summary> + LargestPallet = 4 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/PrintStatusEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/PrintStatusEnum.cs" new file mode 100644 index 0000000..87ab8c8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/PrintStatusEnum.cs" @@ -0,0 +1,23 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.CommonEnum +{ + public enum PrintStatusEnum + { + /// <summary> + /// 鏈墦鍗� + /// </summary> + [Description("鏈墦鍗�")] + UnPrinted = 0, + /// <summary> + /// 宸叉墦鍗� + /// </summary> + [Description("宸叉墦鍗�")] + Printed = 1 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/RecyclingEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/RecyclingEnum.cs" new file mode 100644 index 0000000..a2344cd --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/RecyclingEnum.cs" @@ -0,0 +1,31 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.CommonEnum +{ + /// <summary> + /// 鍥炴敹绫诲瀷 + /// </summary> + public enum RecyclingEnum + { + /// <summary> + /// 瀹緵 + /// </summary> + Return, + /// <summary> + /// 鍥炴敹 + /// </summary> + RepairStock, + /// <summary> + /// 鍥為�� + /// </summary> + CMStock, + /// <summary> + /// 缁翠慨鐗╂枡鍥炴敹 + /// </summary> + RMStock + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/UploadStatusEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/UploadStatusEnum.cs" new file mode 100644 index 0000000..931f6f9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/UploadStatusEnum.cs" @@ -0,0 +1,12 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.CommonEnum +{ + internal class UploadStatusEnum + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/WhetherEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/WhetherEnum.cs" new file mode 100644 index 0000000..8439809 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/WhetherEnum.cs" @@ -0,0 +1,24 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.CommonEnum +{ + /// <summary> + /// 鏄惁鍊� + /// </summary> + public enum WhetherEnum + { + /// <summary> + /// 鏄� + /// </summary> + True = 1, + + /// <summary> + /// 鍚� + /// </summary> + False = 0 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/EnableStatusEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/EnableStatusEnum.cs" new file mode 100644 index 0000000..c6ea2a7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/EnableStatusEnum.cs" @@ -0,0 +1,39 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.LocationEnum +{ + /// <summary> + /// 璐т綅绂佺敤鐘舵�� + /// </summary> + public enum EnableStatusEnum + { + /// <summary> + /// 姝e父 + /// </summary> + [Description("姝e父")] + Normal = 0, + + /// <summary> + /// 鍙叆 + /// </summary> + [Description("鍙叆")] + OnlyIn = 1, + + /// <summary> + /// 鍙嚭 + /// </summary> + [Description("鍙嚭")] + OnlyOut = 2, + + /// <summary> + /// 绂佺敤 + /// </summary> + [Description("绂佺敤")] + Disable = 3 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/LocationChangeType.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/LocationChangeType.cs" new file mode 100644 index 0000000..1ecb000 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/LocationChangeType.cs" @@ -0,0 +1,57 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.LocationEnum +{ + /// <summary> + /// 璐т綅鐘舵�佸彉鏇寸被鍨� + /// </summary> + public enum LocationChangeType + { + /// <summary> + /// 鍏ュ簱鍒嗛厤 + /// </summary> + [Description("鍏ュ簱鍒嗛厤")] + InboundAssignLocation, + + /// <summary> + /// 鍑哄簱鍒嗛厤 + /// </summary> + [Description("鍑哄簱鍒嗛厤")] + OutboundAssignLocation, + + /// <summary> + /// 绉诲簱鍒嗛厤 + /// </summary> + [Description("绉诲簱鍒嗛厤")] + RelocationAssignLocation, + + /// <summary> + /// 鍏ュ簱浠诲姟瀹屾垚 + /// </summary> + [Description("鍏ュ簱浠诲姟瀹屾垚")] + InboundCompleted, + + /// <summary> + /// 鍑哄簱浠诲姟瀹屾垚 + /// </summary> + [Description("鍑哄簱浠诲姟瀹屾垚")] + OutboundCompleted, + + /// <summary> + /// 绉诲簱浠诲姟瀹屾垚 + /// </summary> + [Description("绉诲簱浠诲姟瀹屾垚")] + RelocationCompleted, + + /// <summary> + /// 鎵嬪姩淇敼 + /// </summary> + [Description("鎵嬪姩淇敼")] + HandUpdate + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/LocationStatusEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/LocationStatusEnum.cs" new file mode 100644 index 0000000..dd54520 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/LocationStatusEnum.cs" @@ -0,0 +1,50 @@ +锘縰sing System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.LocationEnum +{ + /// <summary> + /// 璐т綅鐘舵�� + /// </summary> + public enum LocationStatusEnum + { + /// <summary> + /// 绌洪棽 + /// </summary> + [Description("绌洪棽")] + Free = 0, + + /// <summary> + /// 閿佸畾 + /// </summary> + [Description("閿佸畾")] + Lock = 1, + + /// <summary> + /// 鏈夎揣閿佸畾 + /// </summary> + [Description("鏈夎揣閿佸畾")] + InStockLock = 10, + + /// <summary> + /// + /// </summary> + [Description("绌洪棽閿佸畾")] + FreeLock = 20, + + /// <summary> + /// 鏈夎揣 + /// </summary> + [Description("鏈夎揣")] + InStock = 100, + + /// <summary> + /// 澶ф墭鐩橀攣瀹� + /// </summary> + [Description("澶ф墭鐩橀攣瀹�")] + PalletLock = 99 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/LocationTypeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/LocationTypeEnum.cs" new file mode 100644 index 0000000..67446d8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/LocationEnum/LocationTypeEnum.cs" @@ -0,0 +1,45 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.LocationEnum +{ + /// <summary> + /// 璐т綅绫诲瀷 + /// </summary> + public enum LocationTypeEnum + { + /// <summary> + /// 鏈畾涔� + /// </summary> + [Description("鏈畾涔�")] + Undefined = 0, + + /// <summary> + /// 灏忔墭鐩� + /// </summary> + [Description("灏忔墭鐩�")] + SmallPallet = 1, + + /// <summary> + /// 涓墭鐩� + /// </summary> + [Description("涓墭鐩�")] + MediumPallet = 2, + + /// <summary> + /// 澶ф墭鐩� + /// </summary> + [Description("澶ф墭鐩�")] + LargePallet = 3, + + /// <summary> + /// 鐗瑰ぇ鎵樼洏 + /// </summary> + [Description("鐗瑰ぇ鎵樼洏")] + ExtraPallet = 4, + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/MaterielEnum/MaterielSourceTypeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/MaterielEnum/MaterielSourceTypeEnum.cs" new file mode 100644 index 0000000..7cfbe87 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/MaterielEnum/MaterielSourceTypeEnum.cs" @@ -0,0 +1,26 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.MaterielEnum +{ + public enum MaterielSourceTypeEnum + { + /// <summary> + /// 閲囪喘浠� + /// </summary> + PurchasePart = 1, + + /// <summary> + /// 鑷埗浠� + /// </summary> + SelfMadePart = 2, + + /// <summary> + /// 閲囪喘&鑷埗浠� + /// </summary> + PurchaseAndSelf = 3 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/MaterielEnum/MaterielStateEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/MaterielEnum/MaterielStateEnum.cs" new file mode 100644 index 0000000..cf6b370 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/MaterielEnum/MaterielStateEnum.cs" @@ -0,0 +1,13 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.MaterielEnum +{ + public enum MaterielStateEnum + { + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/MaterielEnum/MaterielTypeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/MaterielEnum/MaterielTypeEnum.cs" new file mode 100644 index 0000000..6878539 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/MaterielEnum/MaterielTypeEnum.cs" @@ -0,0 +1,34 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.MaterielEnum +{ + /// <summary> + /// 鐗╂枡鍩烘湰鍒嗙被 + /// </summary> + public enum MaterielTypeEnum + { + /// <summary> + /// 鎴愬搧 + /// </summary> + FinishProduct = 1, + + /// <summary> + /// 鍗婃垚鍝� + /// </summary> + HalfProduct = 2, + + /// <summary> + /// 鍘熸潗鏂� + /// </summary> + RawMateriel = 3, + + /// <summary> + /// 澶囦欢 + /// </summary> + SpareParts = 4 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/CheckOrderEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/CheckOrderEnum.cs" new file mode 100644 index 0000000..ee801e7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/CheckOrderEnum.cs" @@ -0,0 +1,61 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.OrderEnum +{ + public enum CheckOrderStatusEnum + { + /// <summary> + /// 寰呮 + /// </summary> + [Description("寰呮")] + NotCheck = 0, + + /// <summary> + /// 宸叉 + /// </summary> + [Description("宸叉")] + Checked = 1 + } + + public enum CheckResultEnum + { + /// <summary> + /// 閫�璐� + /// </summary> + [Description("閫�璐�")] + Return, + + /// <summary> + /// 鐗归噰 + /// </summary> + [Description("鐗归噰")] + Defect, + + /// <summary> + /// 鎶ュ簾 + /// </summary> + [Description("鎶ュ簾")] + Scrapped + } + /// <summary> + /// 妫�楠屼笂浼犵姸鎬� + /// </summary> + public enum CheckUploadEnum + { + /// <summary> + /// 鏈笂浼� + /// </summary> + [Description("鏈笂浼�")] + UploadNo, + /// <summary> + /// 宸蹭笂浼� + /// </summary> + [Description("宸蹭笂浼�")] + UploadOk + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/InboundOrderMenu.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/InboundOrderMenu.cs" new file mode 100644 index 0000000..904222d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/InboundOrderMenu.cs" @@ -0,0 +1,93 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.OrderEnum +{ + /// <summary> + /// 鍏ュ簱鍗曟嵁鐘舵�� 0锛屾湭寮�濮� 1锛屽叆搴撲腑 2锛屽叆搴撳畬鎴� + /// </summary> + public enum InOrderStatusEnum + { + /// <summary> + /// 鏈紑濮� + /// </summary> + [Description("鏈紑濮�")] + 鏈紑濮� = 0, + + /// <summary> + /// 鍏ュ簱涓� + /// </summary> + [Description("鍏ュ簱涓�")] + 鍏ュ簱涓� = 1, + + /// <summary> + /// 鍏ュ簱瀹屾垚 + /// </summary> + [Description("鍏ュ簱瀹屾垚")] + 鍏ュ簱瀹屾垚 = 2, + + /// <summary> + /// 鍏抽棴 + /// </summary> + [Description("鍏抽棴")] + 鍏抽棴 = 99, + + /// <summary> + /// 鍙栨秷 + /// </summary> + [Description("鍙栨秷")] + 鍙栨秷 = 98 + } + + /// <summary> + /// 鍏ュ簱鍗曠被鍨� 100 鐢熶骇鍏ュ簱鍗�;200 鐢熶骇閫�鏂欏崟;300 閲囪喘鍏ュ簱鍗�;400 璋冩嫧鍏ュ簱鍗�;500 閿�鍞��璐у崟;600 绌虹洏鍏ュ簱鍗�;700 鍏朵粬鍏ュ簱鍗� + /// </summary> + public enum InOrderTypeEnum + { + /// <summary> + /// 鐢熶骇鍏ュ簱鍗� + /// </summary> + [Description("鐢熶骇鍏ュ簱鍗�")] + Product = 100, + + /// <summary> + /// 鐢熶骇閫�鏂欏崟 + /// </summary> + [Description("鐢熶骇閫�鏂欏崟")] + Return = 105, + + /// <summary> + /// 閲囪喘鍏ュ簱鍗� + /// </summary> + [Description("閲囪喘鍏ュ簱鍗�")] + Purchase = 110, + + /// <summary> + /// 璋冩嫧鍏ュ簱鍗� + /// </summary> + [Description("璋冩嫧鍏ュ簱鍗�")] + Allocat = 115, + + /// <summary> + /// 閿�鍞��璐у崟 + /// </summary> + [Description("閿�鍞��璐у崟")] + SaleReturn = 120, + + /// <summary> + /// 绌虹洏鍏ュ簱鍗� + /// </summary> + [Description("绌虹洏鍏ュ簱鍗�")] + EmptyDisk = 125, + + /// <summary> + /// 鍏朵粬鍏ュ簱鍗� + /// </summary> + [Description("鍏朵粬鍏ュ簱鍗�")] + Other = 130 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/MesOutboundOrderType.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/MesOutboundOrderType.cs" new file mode 100644 index 0000000..31f61eb --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/MesOutboundOrderType.cs" @@ -0,0 +1,39 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.OrderEnum +{ + /// <summary> + /// + /// </summary> + public enum MesOutboundOrderTypeEnum + { + /// <summary> + /// 鍩烘澘鍑哄簱 + /// </summary> + [Description("鍩烘澘鍑哄簱")] + SubstrateOut = 100, + + /// <summary> + /// 鍩烘澘浣欐枡閫�搴� + /// </summary> + [Description("鍩烘澘浣欐枡閫�搴�")] + SubstrateBack = 200, + + /// <summary> + /// 鎵嬪姩鍩烘澘鍑哄簱 + /// </summary> + [Description("鎵嬪姩鍩烘澘鍑哄簱")] + HandSubstrateOut = 300, + + /// <summary> + /// 鎵嬪姩鍩烘澘鍑哄簱鎷i�� + /// </summary> + [Description("鎵嬪姩鍩烘澘鍑哄簱鎷i��")] + HandSubstrateOutPick = 400, + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/OrderCreateTypeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/OrderCreateTypeEnum.cs" new file mode 100644 index 0000000..79c5516 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/OrderCreateTypeEnum.cs" @@ -0,0 +1,24 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.OrderEnum +{ + public enum OrderCreateTypeEnum + { + /// <summary> + /// 绯荤粺鍐呭垱寤� + /// </summary> + [Description("绯荤粺鍐呭垱寤�")] + CreateInSystem, + + /// <summary> + /// 涓婃父绯荤粺鎺ㄩ�� + /// </summary> + [Description("涓婃父绯荤粺鎺ㄩ��")] + UpperSystemPush + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/OrderDetailStatusEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/OrderDetailStatusEnum.cs" new file mode 100644 index 0000000..8e849dc --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/OrderDetailStatusEnum.cs" @@ -0,0 +1,52 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.OrderEnum +{ + public enum OrderDetailStatusEnum + { + /// <summary> + /// 鏂板缓 + /// </summary> + [Description("鏂板缓")] + New = 0, + + /// <summary> + /// 缁勭洏鍏ュ簱 + /// </summary> + [Description("缁勭洏鍏ュ簱")] + GroupAndInbound = 10, + /// <summary> + /// 鍏ュ簱涓� + /// </summary> + [Description("鍏ュ簱涓�")] + Inbounding = 20, + /// <summary> + /// 鍑哄簱閮ㄥ垎鍒嗛厤瀹屾垚 + /// </summary> + [Description("鍑哄簱閮ㄥ垎鍒嗛厤瀹屾垚")] + AssignOverPartial = 60, + + /// <summary> + /// 鍑哄簱鍒嗛厤瀹屾垚 + /// </summary> + [Description("鍑哄簱鍒嗛厤瀹屾垚")] + AssignOver = 70, + + /// <summary> + /// 鍑哄簱涓� + /// </summary> + [Description("鍑哄簱涓�")] + Outbound = 80, + + /// <summary> + /// 瀹屾垚 + /// </summary> + [Description("瀹屾垚")] + Over = 100 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/OutboundOrderEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/OutboundOrderEnum.cs" new file mode 100644 index 0000000..3b43f33 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/OutboundOrderEnum.cs" @@ -0,0 +1,96 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.OrderEnum +{ + public enum OutOrderStatusEnum + { + /// <summary> + /// 鏈紑濮� + /// </summary> + [Description("鏈紑濮�")] + 鏈紑濮� = 0, + + /// <summary> + /// 鍑哄簱涓� + /// </summary> + [Description("鍑哄簱涓�")] + 鍑哄簱涓� = 1, + + /// <summary> + /// 鍑哄簱瀹屾垚 + /// </summary> + [Description("鍑哄簱瀹屾垚")] + 鍑哄簱瀹屾垚 = 2, + + /// <summary> + /// 鍏抽棴 + /// </summary> + [Description("鍏抽棴")] + 鍏抽棴 = 99, + + /// <summary> + /// 鍙栨秷 + /// </summary> + [Description("鍙栨秷")] + 鍙栨秷 = 98 + } + + /// <summary> + /// 鍑哄簱鍗曠被鍨� + /// </summary> + public enum OutOrderTypeEnum + { + /// <summary> + /// 鐢熶骇杩斿伐鍗� + /// </summary> + [Description("鐢熶骇杩斿伐鍗�")] + Rework = 200, + + /// <summary> + /// 鐢熶骇鍙戞枡鍗� + /// </summary> + [Description("鐢熶骇鍙戞枡鍗�")] + Issue = 205, + + /// <summary> + /// 閲囪喘閫�璐у崟 + /// </summary> + [Description("閲囪喘閫�璐у崟")] + ProcureReturn = 210, + + /// <summary> + /// 璋冩嫧鍑哄簱鍗� + /// </summary> + [Description("璋冩嫧鍑哄簱鍗�")] + Allocate = 215, + + /// <summary> + /// 閿�鍞嚭搴撳崟 + /// </summary> + [Description("閿�鍞嚭搴撳崟")] + SaleOut = 220, + + /// <summary> + /// 绌虹洏鍑哄簱鍗� + /// </summary> + [Description("绌虹洏鍑哄簱鍗�")] + EmptyDisk = 225, + + /// <summary> + /// 璐ㄦ鍑哄簱鍗� + /// </summary> + [Description("璐ㄦ鍑哄簱鍗�")] + Quality = 230, + + /// <summary> + /// 鍏朵粬鍑哄簱鍗� + /// </summary> + [Description("鍏朵粬鍑哄簱鍗�")] + Other = 235 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/PurchaseOrderEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/PurchaseOrderEnum.cs" new file mode 100644 index 0000000..22e5586 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/PurchaseOrderEnum.cs" @@ -0,0 +1,64 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.OrderEnum +{ + public enum PurchaseOrderStatusEnum + { + /// <summary> + /// 鏈敹璐� + /// </summary> + [Description("鏈敹璐�")] + NotReceived = 0, + + /// <summary> + /// 鏀惰揣涓� + /// </summary> + [Description("鏀惰揣涓�")] + Receiving = 1, + + /// <summary> + /// 鏀惰揣瀹屾垚 + /// </summary> + [Description("鏀惰揣瀹屾垚")] + Received = 2 + } + + public enum PurchaseOrderDetailStatusEnum + { + /// <summary> + /// 鏈敹璐� + /// </summary> + [Description("鏀惰揣")] + NotReceived = 0, + /// <summary> + /// 鏀惰揣涓� + /// </summary> + [Description("鏀惰揣涓�")] + Receiving = 1, + /// <summary> + /// 鏀惰揣瀹屾垚 + /// </summary> + [Description("鏀惰揣瀹屾垚")] + Received = 2 + } + + public enum PurchaseOrderTypeEnum + { + /// <summary> + /// 鏍囧噯鍏ュ簱 + /// </summary> + [Description("鏍囧噯鍏ュ簱")] + S = 1, + + /// <summary> + /// 瀵勫敭琛ョ粰鍏ュ簱 + /// </summary> + [Description("瀵勫敭琛ョ粰鍏ュ簱")] + V = 2 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/ReceiveOrderEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/ReceiveOrderEnum.cs" new file mode 100644 index 0000000..3ac452b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OrderEnum/ReceiveOrderEnum.cs" @@ -0,0 +1,51 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.OrderEnum +{ + public enum ReceiveOrderTypeEnum + { + /// <summary> + /// 閲囪喘鎺ユ敹 + /// </summary> + [Description("閲囪喘鎺ユ敹")] + PO = 1, + + /// <summary> + /// 鏃犻噰璐帴鏀� + /// </summary> + [Description("鏃犻噰璐帴鏀�")] + NPO = 2, + + /// <summary> + /// 瀹緵鏂欐帴鏀� + /// </summary> + [Description("瀹緵鏂欐帴鏀�")] + CustomerSupply = 3 + } + + public enum ReceiveOrderStatusEnum + { + /// <summary> + /// 鏈紑濮� + /// </summary> + [Description("鏈紑濮�")] + NotStarted, + + /// <summary> + /// 鏀惰揣涓� + /// </summary> + [Description("鏀惰揣涓�")] + Receiving, + + /// <summary> + /// 鏀惰揣瀹屾垚 + /// </summary> + [Description("鏀惰揣瀹屾垚")] + Completed + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OtherEnum/SequenceEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OtherEnum/SequenceEnum.cs" new file mode 100644 index 0000000..27f4a53 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/OtherEnum/SequenceEnum.cs" @@ -0,0 +1,13 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.OtherEnum +{ + public enum SequenceEnum + { + SeqTaskNum + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/StockEnum/OutLockStockStatusEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/StockEnum/OutLockStockStatusEnum.cs" new file mode 100644 index 0000000..01dbf7c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/StockEnum/OutLockStockStatusEnum.cs" @@ -0,0 +1,27 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.StockEnum +{ + public enum OutLockStockStatusEnum + { + [Description("宸插垎閰�")] + 宸插垎閰� = 0, + + [Description("鍑哄簱涓�")] + 鍑哄簱涓� = 1, + + [Description("鍑哄簱瀹屾垚")] + 鍑哄簱瀹屾垚 = 2, + + [Description("鎷i�夊畬鎴�")] + 鎷i�夊畬鎴� = 3, + + [Description("鎾ら攢")] + 鎾ら攢 = 99 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/StockEnum/StockChangeTypeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/StockEnum/StockChangeTypeEnum.cs" new file mode 100644 index 0000000..63631fe --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/StockEnum/StockChangeTypeEnum.cs" @@ -0,0 +1,41 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.StockEnum +{ + public enum StockChangeTypeEnum + { + /// <summary> + /// 缁勭洏 + /// </summary> + [Description("缁勭洏")] + MaterielGroup, + + /// <summary> + /// 鍏ュ簱 + /// </summary> + [Description("鍏ュ簱")] + Inbound, + + /// <summary> + /// 鍑哄簱 + /// </summary> + [Description("鍑哄簱")] + Outbound, + /// <summary> + /// 绉诲簱 + /// </summary> + [Description("绉诲簱")] + Relocation, + + /// <summary> + /// 鍑哄簱閿佸畾 + /// </summary> + [Description("鍑哄簱閿佸畾")] + StockLock + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/StockEnum/StockStatusEmun.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/StockEnum/StockStatusEmun.cs" new file mode 100644 index 0000000..65ea267 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/StockEnum/StockStatusEmun.cs" @@ -0,0 +1,65 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.StockEnum +{ + /// <summary> + /// 搴撳瓨鐘舵�侊細 <br/> + /// 1锛岀粍鐩樻殏瀛�<br/> + /// 2锛岀粍鐩樻挙閿�<br/> + /// 3锛屽叆搴撶‘璁�<br/> + /// 4锛屽叆搴撴挙閿�<br/> + /// 6锛屽叆搴撳畬鎴�<br/> + /// 7锛屽嚭搴撻攣瀹�<br/> + /// 8锛屽嚭搴撳畬鎴�<br/> + /// 9锛岀Щ搴撻攣瀹�<br/> + /// </summary> + public enum StockStatusEmun + { + [Description("缁勭洏鏆傚瓨")] + 缁勭洏鏆傚瓨 = 1, + + [Description("鍏ュ簱纭")] + 鍏ュ簱纭 = 3, + + [Description("鍏ュ簱瀹屾垚")] + 鍏ュ簱瀹屾垚 = 6, + + [Description("鍑哄簱閿佸畾")] + 鍑哄簱閿佸畾 = 7, + + [Description("鍑哄簱瀹屾垚")] + 鍑哄簱瀹屾垚 = 8, + + [Description("绉诲簱閿佸畾")] + 绉诲簱閿佸畾 = 9, + + [Description("鍏ュ簱瀹屾垚鏈缓鍑哄簱鍗�")] + 鍏ュ簱瀹屾垚鏈缓鍑哄簱鍗� = 10, + + [Description("閫�搴�")] + 閫�搴� = 11, + + [Description("鎵嬪姩缁勭洏鏆傚瓨")] + 鎵嬪姩缁勭洏鏆傚瓨 = 12, + + [Description("鎵嬪姩缁勭洏鍏ュ簱纭")] + 鎵嬪姩缁勭洏鍏ュ簱纭 = 13, + + [Description("鎷i�夊畬鎴�")] + 鎷i�夊畬鎴� =14, + + [Description("閫�搴�")] + MES閫�搴� = 21, + + [Description("缁勭洏鎾ら攢")] + 缁勭洏鎾ら攢 = 99, + + [Description("鍏ュ簱鎾ら攢")] + 鍏ュ簱鎾ら攢 = 199, + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/TaskEnum/TaskEnumHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/TaskEnum/TaskEnumHelper.cs" new file mode 100644 index 0000000..711654b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/TaskEnum/TaskEnumHelper.cs" @@ -0,0 +1,38 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.TaskEnum +{ + public static class TaskEnumHelper + { + public static List<int> GetEnumIndexList(this Type type) + { + if (type is null) throw new ArgumentNullException("type"); + if (!type.IsEnum) return new List<int>(); + return Enum.GetValues(type).Cast<int>().ToList(); + } + + public static TaskTypeGroup GetTaskTypeGroup(this int taskType) + { + if (taskType >= 500 && taskType < 900) + { + return TaskTypeGroup.InboundGroup; + } + else if (taskType >= 100 && taskType < 500) + { + return TaskTypeGroup.OutbondGroup; + } + else if (taskType >= 900 && taskType < 1000) + { + return TaskTypeGroup.RelocationGroup; + } + else + { + return TaskTypeGroup.OtherGroup; + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/TaskEnum/TaskStatusEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/TaskEnum/TaskStatusEnum.cs" new file mode 100644 index 0000000..fdea881 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/TaskEnum/TaskStatusEnum.cs" @@ -0,0 +1,115 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.TaskEnum +{ + /// <summary> + /// 浠诲姟鐘舵�� + /// </summary> + public enum TaskStatusEnum + { + /// <summary> + /// 鏂板缓浠诲姟 + /// </summary> + [Description("鏂板缓")] + New = 100, + + /// <summary> + /// 鍫嗗灈鏈哄緟鎵ц + /// </summary> + [Description("鍫嗗灈鏈哄緟鎵ц")] + SC_Execute = 200, + + /// <summary> + /// 鍫嗗灈鏈烘墽琛屼腑 + /// </summary> + [Description("鍫嗗灈鏈烘墽琛屼腑")] + SC_Executing = 210, + + /// <summary> + /// 鍫嗗灈鏈哄畬鎴� + /// </summary> + [Description("鍫嗗灈鏈哄畬鎴�")] + SC_Finish = 220, + + /// <summary> + /// 杈撻�佺嚎寰呮墽琛� + /// </summary> + [Description("杈撻�佺嚎寰呮墽琛�")] + Line_Execute = 400, + + /// <summary> + /// 杈撻�佺嚎鎵ц涓� + /// </summary> + [Description("杈撻�佺嚎鎵ц涓�")] + Line_Executing = 410, + + /// <summary> + /// 杈撻�佺嚎瀹屾垚 + /// </summary> + [Description("杈撻�佺嚎瀹屾垚")] + Line_Finish = 420, + + /// <summary> + /// AGV寰呮墽琛� + /// </summary> + [Description("AGV寰呮墽琛�")] + AGV_Execute = 300, + + /// <summary> + /// AGV鎵ц涓� + /// </summary> + [Description("AGV鎵ц涓�")] + AGV_Executing = 310, + + /// <summary> + /// AGV寰呯户缁墽琛� + /// </summary> + [Description("AGV寰呯户缁墽琛�")] + AGV_WaitToExecute = 320, + /// <summary> + /// AGV鏀捐揣涓� + /// </summary> + [Description("AGV鏀捐揣涓�")] + AGV_Puting = 325, + + /// <summary> + /// AGV瀹屾垚 + /// </summary> + [Description("AGV瀹屾垚")] + AGV_Finish = 330, + + /// <summary> + /// 浠诲姟瀹屾垚 + /// </summary> + [Description("浠诲姟瀹屾垚")] + Finish = 900, + + /// <summary> + /// 浠诲姟鎸傝捣 + /// </summary> + [Description("浠诲姟鎸傝捣")] + Pending = 970, + + /// <summary> + /// 浠诲姟鍙栨秷 + /// </summary> + [Description("浠诲姟鍙栨秷")] + Cancel = 980, + + /// <summary> + /// 浠诲姟寮傚父 + /// </summary> + [Description("浠诲姟寮傚父")] + Exception = 990, + /// <summary> + /// 鎻愬崌鏈烘墽琛屼腑 + /// </summary> + [Description("鎻愬崌鏈烘墽琛屼腑")] + HT_Executing = 110, + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/TaskEnum/TaskTypeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/TaskEnum/TaskTypeEnum.cs" new file mode 100644 index 0000000..1013730 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/TaskEnum/TaskTypeEnum.cs" @@ -0,0 +1,126 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.TaskEnum +{ + public enum TaskTypeEnum + { + /// <summary> + /// 棰嗘枡鍑哄簱 + /// </summary> + [Description("棰嗘枡鍑哄簱")] + Outbound = 100, + /// <summary> + /// 鐩樼偣鍑哄簱 + /// </summary> + [Description("鐩樼偣鍑哄簱")] + OutInventory = 110, + /// <summary> + /// 鍒嗘嫞鍑哄簱 + /// </summary> + [Description("鍒嗘嫞鍑哄簱")] + OutPick = 120, + /// <summary> + /// 璐ㄦ鍑哄簱 + /// </summary> + [Description("璐ㄦ鍑哄簱")] + OutQuality = 130, + + /// <summary> + /// 绌虹鍑哄簱 + /// </summary> + [Description("绌虹鍑哄簱")] + OutEmpty = 140, + + /// <summary> + /// MES鍑哄簱 + /// </summary> + [Description("MES鍑哄簱")] + MesOutbound = 200, + + /// <summary> + /// MES鎵嬪姩鍑哄簱 + /// </summary> + [Description("MES鎵嬪姩鍑哄簱")] + MesHandOutbound = 210, + + /// <summary> + /// MES鎵嬪姩鎷i�夊嚭搴� + /// </summary> + [Description("MES鎵嬪姩鎷i�夊嚭搴�")] + MesHandPickOutbound = 220, + + /// <summary> + /// 閲囪喘鍏ュ簱 + /// </summary> + [Description("閲囪喘鍏ュ簱")] + Inbound = 510, + /// <summary> + /// 鐩樼偣鍏ュ簱 + /// </summary> + [Description("鐩樼偣鍏ュ簱")] + InInventory = 520, + /// <summary> + /// 鍒嗘嫞鍏ュ簱 + /// </summary> + [Description("鍒嗘嫞鍏ュ簱")] + InPick = 530, + /// <summary> + /// 璐ㄦ鍏ュ簱 + /// </summary> + [Description("璐ㄦ鍏ュ簱")] + InQuality = 540, + + /// <summary> + /// 鐢熶骇閫�鏂� + /// </summary> + [Description("鐢熶骇閫�鏂�")] + ProductionReturn = 550, + + /// <summary> + /// MES閫�鏂� + /// </summary> + [Description("MES閫�鏂�")] + MesMatReturn = 560, + + /// <summary> + /// 绌虹鍏ュ簱 + /// </summary> + [Description("绌虹鍏ュ簱")] + InEmpty = 600, + + /// <summary> + /// 宸烽亾鍐呯Щ搴� + /// </summary> + [Description("宸烽亾鍐呯Щ搴�")] + Relocation = 900 + + } + + public enum TaskTypeGroup + { + /// <summary> + /// + /// </summary> + InboundGroup, + + /// <summary> + /// + /// </summary> + OutbondGroup, + + /// <summary> + /// + /// </summary> + RelocationGroup, + + /// <summary> + /// + /// </summary> + OtherGroup + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/WIDESEA_Common.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/WIDESEA_Common.csproj" new file mode 100644 index 0000000..f14a168 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/WIDESEA_Common.csproj" @@ -0,0 +1,15 @@ +锘�<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <Compile Remove="Location\**" /> + <EmbeddedResource Remove="Location\**" /> + <None Remove="Location\**" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/WareHouseEnum/WarehouseEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/WareHouseEnum/WarehouseEnum.cs" new file mode 100644 index 0000000..7685dce --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Common/WareHouseEnum/WarehouseEnum.cs" @@ -0,0 +1,76 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Common.WareHouseEnum +{ + /// <summary> + /// 浠撳簱 + /// HA57 = 娣畨浜屽巶 - 鏉挎枡浠�<br/> + /// HA58 = 娣畨浜屽巶 - PP浠�<br/> + /// HA60 = 娣畨浜屽巶 - 杈呮枡浠�<br/> + /// HA64 = 娣畨浜屽巶 - 娴嬭瘯鏋朵粨<br/> + /// HA71 = 娣畨浜屽巶 - 鎴愬搧浠�<br/> + /// HA72 = 娣畨浜屽巶 - 灏炬暟浠�<br/> + /// HA73 = 娣畨浜屽巶 - 鐮斿彂浠�<br/> + /// HA101 = 娣畨浜屽巶 - 鎴愬搧浠撳钩搴�<br/> + /// HA152 = 娣畨浜屽巶 - 骞茶啘浠�<br/> + /// HA153 = 娣畨浜屽巶 - 娌瑰ⅷ浠�<br/> + /// </summary> + public enum WarehouseEnum + { + /// <summary> + /// 鏉挎枡浠� + /// </summary> + [Description("鏉挎枡浠�")] + HA57, + /// <summary> + /// PP浠� + /// </summary> + [Description("PP浠�")] + HA58, + /// <summary> + /// 杈呮枡浠� + /// </summary> + [Description("杈呮枡浠�")] + HA60, + /// <summary> + /// 娴嬭瘯鏋朵粨 + /// </summary> + [Description("娴嬭瘯鏋朵粨")] + HA64, + /// <summary> + /// 鎴愬搧浠� + /// </summary> + [Description("鎴愬搧浠�")] + HA71, + /// <summary> + /// 灏炬暟浠� + /// </summary> + [Description("灏炬暟浠�")] + HA72, + /// <summary> + /// 鐮斿彂浠� + /// </summary> + [Description("鐮斿彂浠�")] + HA73, + /// <summary> + /// 鎴愬搧浠撳钩搴� + /// </summary> + [Description("鎴愬搧浠撳钩搴�")] + HA101, + /// <summary> + /// 骞茶啘浠� + /// </summary> + [Description("骞茶啘浠�")] + HA152, + /// <summary> + /// 娌瑰ⅷ浠� + /// </summary> + [Description("娌瑰ⅷ浠�")] + HA153 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/AOP/LogAOP.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/AOP/LogAOP.cs" new file mode 100644 index 0000000..f86165d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/AOP/LogAOP.cs" @@ -0,0 +1,337 @@ +锘縰sing Castle.DynamicProxy; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.SignalR; +using Newtonsoft.Json; +using StackExchange.Profiling; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.Helper; +using WIDESEA_Core.LogHelper; + +namespace WIDESEA_Core.AOP +{ + /// <summary> + /// 鎷︽埅鍣↙ogAOP 缁ф壙IInterceptor鎺ュ彛 + /// </summary> + public class LogAOP : IInterceptor + { + private readonly IHttpContextAccessor _accessor; + + public LogAOP(IHttpContextAccessor accessor) + { + _accessor = accessor; + } + + /// <summary> + /// 瀹炰緥鍖朓Interceptor鍞竴鏂规硶 + /// </summary> + /// <param name="invocation">鍖呭惈琚嫤鎴柟娉曠殑淇℃伅</param> + public void Intercept(IInvocation invocation) + { + string UserName = _accessor.HttpContext?.User?.Identity?.Name; + string json; + try + { + if (invocation.Arguments.Any()) + { + json = JsonConvert.SerializeObject(invocation.Arguments); + } + else + { + json = "鏃犲弬鏁�"; + } + } + catch (Exception ex) + { + json = "鏃犳硶搴忓垪鍖栵紝鍙兘鏄叞濮嗚揪琛ㄨ揪寮忕瓑鍘熷洜閫犳垚锛屾寜鐓ф鏋朵紭鍖栦唬鐮�" + ex.ToString(); + } + + DateTime startTime = DateTime.Now; + AOPLogInfo apiLogAopInfo = new AOPLogInfo + { + RequestTime = startTime.ToString("yyyy-MM-dd hh:mm:ss fff"), + OpUserName = "銆愬綋鍓嶆搷浣滅敤鎴枫�戯細" + UserName, + RequestMethodName = "銆愬綋鍓嶆墽琛屾柟娉曘�戯細" + invocation.Method.Name, + RequestParamsName = "銆愭惡甯︾殑鍙傛暟鏈夈�戯細" + string.Join(", ", invocation.Arguments.Select(a => (a ?? "").ToString()).ToArray()), + RequestParamsData = json + }; + + var dataIntercept = $""; + + try + { + MiniProfiler.Current.Step($"鎵ц{invocation.InvocationTarget}.{invocation.Method.Name}()鏂规硶 -> "); + + //MethodParamsValidateAttribute? paramsValidateAttribute = invocation.Method.GetCustomAttribute<MethodParamsValidateAttribute>(); + //if (paramsValidateAttribute != null) + //{ + // foreach (var item in invocation.Arguments) + // { + + // } + //} + //鍦ㄨ鎷︽埅鐨勬柟娉曟墽琛屽畬姣曞悗 缁х画鎵ц褰撳墠鏂规硶锛屾敞鎰忔槸琚嫤鎴殑鏄紓姝ョ殑 + invocation.Proceed(); + // 寮傛鑾峰彇寮傚父锛屽厛鎵ц + if (IsAsyncMethod(invocation.Method)) + { + #region 鏂规涓� + + //Wait task execution and modify return value + if (invocation.Method.ReturnType == typeof(Task)) + { + invocation.ReturnValue = InternalAsyncHelper.AwaitTaskWithPostActionAndFinally( + (Task)invocation.ReturnValue, + async () => await SuccessAction(invocation, apiLogAopInfo, startTime), /*鎴愬姛鏃舵墽琛�*/ + ex => + { + LogEx(ex, apiLogAopInfo); + }); + } + //Task<TResult> + else + { + invocation.ReturnValue = InternalAsyncHelper.CallAwaitTaskWithPostActionAndFinallyAndGetResult( + invocation.Method.ReturnType.GenericTypeArguments[0], + invocation.ReturnValue, + //async () => await SuccessAction(invocation, dataIntercept),/*鎴愬姛鏃舵墽琛�*/ + async (o) => await SuccessAction(invocation, apiLogAopInfo, startTime, o), /*鎴愬姛鏃舵墽琛�*/ + ex => + { + LogEx(ex, apiLogAopInfo); + }); + } + + #endregion 鏂规涓� + + // 濡傛灉鏂规涓�涓嶈锛岃瘯璇曡繖涓柟妗� + //#region 鏂规浜� + + //var type = invocation.Method.ReturnType; + //var resultProperty = type.GetProperty("Result"); + //DateTime endTime = DateTime.Now; + //string ResponseTime = (endTime - startTime).Milliseconds.ToString(); + //apiLogAopInfo.ResponseTime = endTime.ToString("yyyy-MM-dd hh:mm:ss fff"); + //apiLogAopInfo.ResponseIntervalTime = ResponseTime + "ms"; + //apiLogAopInfo.ResponseJsonData = JsonConvert.SerializeObject(resultProperty.GetValue(invocation.ReturnValue)); + + ////dataIntercept += ($"銆愬搷搴旀椂闂淬�戯細{ResponseTime}ms\r\n"); + ////dataIntercept += ($"銆愭墽琛屽畬鎴愭椂闂淬�戯細{endTime.ToString("yyyy-MM-dd hh:mm:ss fff")}\r\n"); + ////dataIntercept += ($"銆愭墽琛屽畬鎴愮粨鏋溿�戯細{JsonConvert.SerializeObject(resultProperty.GetValue(invocation.ReturnValue))}\r\n"); + + //Parallel.For(0, 1, e => + //{ + // //LogLock.OutLogAOP("AOPLog", new string[] { dataIntercept }); + // LogLock.OutLogAOP("AOPLog", new string[] { apiLogAopInfo.GetType().ToString() + " - ResponseJsonDataType:" + type, JsonConvert.SerializeObject(apiLogAopInfo) }); + //}); + + //#endregion + } + else + { + // 鍚屾1 + string jsonResult; + try + { + jsonResult = JsonConvert.SerializeObject(invocation.ReturnValue); + } + catch (Exception ex) + { + jsonResult = "鏃犳硶搴忓垪鍖栵紝鍙兘鏄叞濮嗚揪琛ㄨ揪寮忕瓑鍘熷洜閫犳垚锛屾寜鐓ф鏋朵紭鍖栦唬鐮�" + ex.ToString(); + } + + var type = invocation.Method.ReturnType; + var resultProperty = type.GetProperty("Result"); + DateTime endTime = DateTime.Now; + string ResponseTime = (endTime - startTime).Milliseconds.ToString(); + apiLogAopInfo.ResponseTime = endTime.ToString("yyyy-MM-dd hh:mm:ss fff"); + apiLogAopInfo.ResponseIntervalTime = ResponseTime + "ms"; + apiLogAopInfo.ResponseJsonData = jsonResult; + Parallel.For(0, 1, e => + { + LogLock.OutLogAOP("鍏ㄥ眬鏃ュ織AOP", new string[] { apiLogAopInfo.GetType().ToString(), JsonConvert.SerializeObject(apiLogAopInfo) }); + }); + } + } + catch (Exception ex) // 鍚屾2 + { + LogEx(ex, apiLogAopInfo); + throw; + } + } + + private async Task SuccessAction(IInvocation invocation, AOPLogInfo apiLogAopInfo, DateTime startTime, object o = null) + { + DateTime endTime = DateTime.Now; + string ResponseTime = (endTime - startTime).Milliseconds.ToString(); + apiLogAopInfo.ResponseTime = endTime.ToString("yyyy-MM-dd hh:mm:ss fff"); + apiLogAopInfo.ResponseIntervalTime = ResponseTime + "ms"; + apiLogAopInfo.ResponseJsonData = JsonConvert.SerializeObject(o); + + await Task.Run(() => + { + Parallel.For(0, 1, e => + { + //LogLock.OutSql2Log("AOPLog", new string[] { JsonConvert.SerializeObject(apiLogAopInfo) }); + LogLock.OutLogAOP("鍏ㄥ眬鏃ュ織AOP", new string[] { apiLogAopInfo.GetType().ToString(), JsonConvert.SerializeObject(apiLogAopInfo) }); + }); + }); + } + + private void LogEx(Exception ex, AOPLogInfo dataIntercept) + { + if (ex != null) + { + //鎵ц鐨� service 涓紝鏀跺綍寮傚父 + MiniProfiler.Current.CustomTiming("Errors锛�", ex.Message); + //鎵ц鐨� service 涓紝鎹曡幏寮傚父 + AOPLogExInfo apiLogAopExInfo = new AOPLogExInfo + { + ExMessage = ex.Message, + InnerException = "InnerException-鍐呴儴寮傚父:\r\n" + (ex.InnerException == null ? "" : ex.InnerException.InnerException?.ToString()) + + "\r\nStackTrace-鍫嗘爤璺熻釜:\r\n" + (ex.StackTrace == null ? "" : ex.StackTrace.ToString()), + ApiLogAopInfo = dataIntercept + }; + // 寮傚父鏃ュ織閲屾湁璇︾粏鐨勫爢鏍堜俊鎭� + Parallel.For(0, 1, e => + { + LogLock.OutLogAOP("鍏ㄥ眬寮傚父閿欒鏃ュ織AOP", new string[] { apiLogAopExInfo.GetType().ToString(), JsonConvert.SerializeObject(apiLogAopExInfo) }); + }); + } + } + + public static bool IsAsyncMethod(MethodInfo method) + { + return + method.ReturnType == typeof(Task) || + method.ReturnType.IsGenericType && method.ReturnType.GetGenericTypeDefinition() == typeof(Task<>) + ; + } + } + + internal static class InternalAsyncHelper + { + public static async Task AwaitTaskWithPostActionAndFinally(Task actualReturnValue, Func<Task> postAction, Action<Exception> finalAction) + { + Exception exception = null; + + try + { + await actualReturnValue; + await postAction(); + } + catch (Exception ex) + { + exception = ex; + } + finally + { + finalAction(exception); + } + } + + public static async Task<T> AwaitTaskWithPostActionAndFinallyAndGetResult<T>(Task<T> actualReturnValue, Func<object, Task> postAction, + Action<Exception> finalAction) + { + Exception exception = null; + try + { + var result = await actualReturnValue; + await postAction(result); + return result; + } + catch (Exception ex) + { + exception = ex; + throw; + } + finally + { + finalAction(exception); + } + } + + public static object CallAwaitTaskWithPostActionAndFinallyAndGetResult(Type taskReturnType, object actualReturnValue, + Func<object, Task> action, Action<Exception> finalAction) + { + return typeof(InternalAsyncHelper) + .GetMethod("AwaitTaskWithPostActionAndFinallyAndGetResult", BindingFlags.Public | BindingFlags.Static) + .MakeGenericMethod(taskReturnType) + .Invoke(null, new object[] { actualReturnValue, action, finalAction }); + } + } + + public class AOPLogInfo + { + /// <summary> + /// 璇锋眰鏃堕棿 + /// </summary> + [Description("璇锋眰鏃堕棿")] + public string RequestTime { get; set; } = string.Empty; + + /// <summary> + /// 鎿嶄綔浜哄憳 + /// </summary> + [Description("鎿嶄綔浜哄憳")] + public string OpUserName { get; set; } = string.Empty; + + /// <summary> + /// 璇锋眰鏂规硶鍚� + /// </summary> + [Description("璇锋眰鏂规硶鍚�")] + public string RequestMethodName { get; set; } = string.Empty; + + /// <summary> + /// 璇锋眰鍙傛暟鍚� + /// </summary> + [Description("璇锋眰鍙傛暟鍚�")] + public string RequestParamsName { get; set; } = string.Empty; + + /// <summary> + /// 璇锋眰鍙傛暟鏁版嵁JSON + /// </summary> + [Description("璇锋眰鍙傛暟鏁版嵁JSON")] + public string RequestParamsData { get; set; } = string.Empty; + + /// <summary> + /// 璇锋眰鍝嶅簲闂撮殧鏃堕棿 + /// </summary> + [Description("璇锋眰鍝嶅簲闂撮殧鏃堕棿")] + public string ResponseIntervalTime { get; set; } = string.Empty; + + /// <summary> + /// 鍝嶅簲鏃堕棿 + /// </summary> + [Description("鍝嶅簲鏃堕棿")] + public string ResponseTime { get; set; } = string.Empty; + + /// <summary> + /// 鍝嶅簲缁撴灉 + /// </summary> + [Description("鍝嶅簲缁撴灉")] + public string ResponseJsonData { get; set; } = string.Empty; + } + + public class AOPLogExInfo + { + public AOPLogInfo ApiLogAopInfo { get; set; } + + /// <summary> + /// 寮傚父 + /// </summary> + [Description("寮傚父")] + public string InnerException { get; set; } = string.Empty; + + /// <summary> + /// 寮傚父淇℃伅 + /// </summary> + [Description("寮傚父淇℃伅")] + public string ExMessage { get; set; } = string.Empty; + } +} \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/AOP/SqlSugarAop.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/AOP/SqlSugarAop.cs" new file mode 100644 index 0000000..14b05f2 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/AOP/SqlSugarAop.cs" @@ -0,0 +1,158 @@ +锘縰sing OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime; +using SqlSugar; +using StackExchange.Profiling; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.CodeConfigEnum; +using WIDESEA_Core.Const; +using WIDESEA_Core.DB; +using WIDESEA_Core.DB.Models; +using WIDESEA_Core.Enums; +using WIDESEA_Core.Helper; +using WIDESEA_Core.Seed; +using WIDESEA_Core.Tenants; +using static Org.BouncyCastle.Math.EC.ECCurve; + +namespace WIDESEA_Core.AOP +{ + public static class SqlSugarAop + { + public static void DataExecuting(object oldValue, DataFilterModel entityInfo) + { + if (entityInfo.OperationType == DataFilterType.InsertByObject) + { + PropertyInfo propertyInfo = entityInfo.EntityColumnInfo.PropertyInfo; + CodeRuleAttribute? codeRuleAttribute = propertyInfo.GetCustomAttribute<CodeRuleAttribute>(); + if (codeRuleAttribute != null) + { + if (propertyInfo.GetValue(entityInfo.EntityValue) == null) + { + SqlSugarClient sugarClient = new SqlSugarClient(new ConnectionConfig + { + ConfigId = MainDb.CurrentDbConnId, + ConnectionString = DBContext.GetMainConnectionDb().Connection, + IsAutoCloseConnection = true, + DbType = MainDb.DbType, + }); + dynamic ruleConfig = sugarClient.Queryable(MainDb.CodeRuleConfig, "x").Where(nameof(CodeRuleAttribute.RuleCode), "=", codeRuleAttribute.RuleCode.ToString()).First(); + if (ruleConfig != null) + { + string code = CreateCodeByRule(ruleConfig, sugarClient); + propertyInfo.SetValue(entityInfo.EntityValue, code, null); + } + } + } + + SequenceAttribute? sequenceAttirbute = propertyInfo.GetCustomAttribute<SequenceAttribute>(); + if (sequenceAttirbute != null) + { + if (propertyInfo.GetValue(entityInfo.EntityValue)?.ObjToInt() <= 0) + { + SqlSugarClient sugarClient = new SqlSugarClient(new ConnectionConfig + { + ConfigId = MainDb.CurrentDbConnId, + ConnectionString = DBContext.GetMainConnectionDb().Connection, + IsAutoCloseConnection = true, + DbType = MainDb.DbType, + }); + int count = sugarClient.Ado.GetScalar($"SELECT COUNT(*) FROM sys.sequences WHERE name = '{sequenceAttirbute.SequenceName}'").ObjToInt(); + if (count == 0) + { + string sql = $"CREATE SEQUENCE {sequenceAttirbute.SequenceName} AS [int] START WITH {sequenceAttirbute.StartWith} INCREMENT BY {sequenceAttirbute.Increment} MINVALUE {sequenceAttirbute.SeqMinValue} MAXVALUE {sequenceAttirbute.SeqMaxValue} {(sequenceAttirbute.IsCycle ? "CYCLE" : "")} CACHE"; + sugarClient.Ado.ExecuteCommand(sql); + } + int seq = sugarClient.Ado.GetScalar($"SELECT NEXT VALUE FOR {sequenceAttirbute.SequenceName}").ObjToInt(); + propertyInfo.SetValue(entityInfo.EntityValue, seq, null); + } + } + } + + if (entityInfo.EntityValue is BaseEntity baseEntity) + { + // 鏂板鎿嶄綔 + if (entityInfo.OperationType == DataFilterType.InsertByObject && entityInfo.PropertyName == nameof(BaseEntity.CreateDate)) + { + baseEntity.CreateDate = DateTime.Now; + } + + if (entityInfo.OperationType == DataFilterType.UpdateByObject && entityInfo.PropertyName == nameof(BaseEntity.ModifyDate)) + { + baseEntity.ModifyDate = DateTime.Now; + } + + //if (App.User?.UserId > 0) + { + switch (entityInfo.OperationType) + { + case DataFilterType.UpdateByObject: + baseEntity.Modifier = App.User.UserName; + break; + case DataFilterType.InsertByObject: + baseEntity.Creater = App.User.UserName; + break; + } + } + } + + if (entityInfo.EntityValue is IBaseHistoryEntity baseHistoryEntity) + { + if (entityInfo.OperationType == DataFilterType.InsertByObject && entityInfo.PropertyName == nameof(IBaseHistoryEntity.InsertTime)) + { + baseHistoryEntity.InsertTime = DateTime.Now; + } + } + } + + private static string CreateCodeByRule(dynamic ruleConfig, SqlSugarClient sugarClient) + { + string code = string.Empty; + DateTime dataTime = DateTime.Now; + DateTime now = DateTime.Now; + try + { + if (ruleConfig.ModifyDate != null) + { + dataTime = Convert.ToDateTime(ruleConfig.ModifyDate); + } + else + { + dataTime = Convert.ToDateTime(ruleConfig.CreateDate); + } + + if (now.Year == dataTime.Year && now.Month == dataTime.Month && now.Day == dataTime.Day) + { + now = dataTime; + ruleConfig.CurrentVal = Convert.ToInt32(ruleConfig.CurrentVal) + 1; + } + else + { + ruleConfig.CurrentVal = 1; + } + + ruleConfig.ModifyDate = DateTime.Now; + + code = ruleConfig.Format; + code = code.Replace($"[{CodeFormatTypeEnum.YYYY}]", now.Year.ToString().PadLeft(4, '0')); + code = code.Replace($"[{CodeFormatTypeEnum.MM}]", now.Month.ToString().PadLeft(2, '0')); + code = code.Replace($"[{CodeFormatTypeEnum.DD}]", now.Day.ToString().PadLeft(2, '0')); + code = code.Replace($"[{CodeFormatTypeEnum.ST}]", ruleConfig.StartStr.ToString()); + code = code.Replace($"[{CodeFormatTypeEnum.NUM}]", ruleConfig.CurrentVal.ToString().PadLeft(ruleConfig.Length ?? 0, '0')); + } + catch (Exception ex) + { + + } + finally + { + Dictionary<string, object> keyValuePairs = new Dictionary<string, object>() { { nameof(ruleConfig.CurrentVal), ruleConfig.CurrentVal }, { nameof(ruleConfig.Id), ruleConfig.Id }, { nameof(ruleConfig.ModifyDate), DateTime.Now } }; + sugarClient.Updateable(keyValuePairs).AS(MainDb.CodeRuleConfig).WhereColumns(nameof(ruleConfig.Id)).ExecuteCommand(); + } + return code; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/App.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/App.cs" new file mode 100644 index 0000000..f15e9c1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/App.cs" @@ -0,0 +1,211 @@ +锘縰sing HslCommunication.WebSocket; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Http; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using Microsoft.Extensions.Options; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Core; +using WIDESEA_Core.Helper; +using WIDESEA_Core.HttpContextUser; + +namespace WIDESEA_Core +{ + public class App + { + static App() + { + EffectiveTypes = Assemblies.SelectMany(GetTypes); + //SocketServer = new WebSocketServer(); + //SocketServer.ServerStart(9295); + } + + private static bool _isRun; + + /// <summary>鏄惁姝e湪杩愯</summary> + public static bool IsBuild { get; set; } + + public static bool IsRun + { + get => _isRun; + set => _isRun = IsBuild = value; + } + + /// <summary> + /// 鏈夋晥鏈� + /// </summary> + public static DateTime? ExpDateTime = null; + + /// <summary>搴旂敤鏈夋晥绋嬪簭闆�</summary> + public static readonly IEnumerable<Assembly> Assemblies = RuntimeExtension.GetAllAssemblies(); + + /// <summary>鏈夋晥绋嬪簭闆嗙被鍨�</summary> + public static readonly IEnumerable<Type> EffectiveTypes; + + /// <summary>浼樺厛浣跨敤App.GetService()鎵嬪姩鑾峰彇鏈嶅姟</summary> + public static IServiceProvider RootServices => IsRun || IsBuild ? InternalApp.RootServices : null; + + /// <summary>鑾峰彇Web涓绘満鐜锛屽锛屾槸鍚︽槸寮�鍙戠幆澧冿紝鐢熶骇鐜绛�</summary> + public static IWebHostEnvironment WebHostEnvironment => InternalApp.WebHostEnvironment; + + /// <summary>鑾峰彇娉涘瀷涓绘満鐜锛屽锛屾槸鍚︽槸寮�鍙戠幆澧冿紝鐢熶骇鐜绛�</summary> + public static IHostEnvironment HostEnvironment => InternalApp.HostEnvironment; + + /// <summary>鍏ㄥ眬閰嶇疆閫夐」</summary> + public static IConfiguration Configuration => InternalApp.Configuration; + + /// <summary> + /// 鑾峰彇璇锋眰涓婁笅鏂� + /// </summary> + public static HttpContext HttpContext => RootServices?.GetService<IHttpContextAccessor>()?.HttpContext; + + public static IUser User => GetService<IUser>(); + + #region Service + + /// <summary>瑙f瀽鏈嶅姟鎻愪緵鍣�</summary> + /// <param name="serviceType"></param> + /// <param name="mustBuild"></param> + /// <param name="throwException"></param> + /// <returns></returns> + public static IServiceProvider GetServiceProvider(Type serviceType, bool mustBuild = false, bool throwException = true) + { + if (App.HostEnvironment == null || App.RootServices != null && + InternalApp.InternalServices + .Where((u => + u.ServiceType == + (serviceType.IsGenericType ? serviceType.GetGenericTypeDefinition() : serviceType))) + .Any((u => u.Lifetime == ServiceLifetime.Singleton))) + return App.RootServices; + + //鑾峰彇璇锋眰鐢熷瓨鍛ㄦ湡鐨勬湇鍔� + if (HttpContext?.RequestServices != null) + return HttpContext.RequestServices; + + if (App.RootServices != null) + { + IServiceScope scope = RootServices.CreateScope(); + return scope.ServiceProvider; + } + + if (mustBuild) + { + if (throwException) + { + throw new ApplicationException("褰撳墠涓嶅彲鐢紝蹇呴』瑕佺瓑鍒� WebApplication Build鍚�"); + } + + return default; + } + + ServiceProvider serviceProvider = InternalApp.InternalServices.BuildServiceProvider(); + return serviceProvider; + } + + public static TService GetService<TService>(bool mustBuild = true) where TService : class + { + TService test = App.GetService(typeof(TService), null, mustBuild) as TService; + return test; + } + + /// <summary>鑾峰彇璇锋眰鐢熷瓨鍛ㄦ湡鐨勬湇鍔�</summary> + /// <typeparam name="TService"></typeparam> + /// <param name="serviceProvider"></param> + /// <param name="mustBuild"></param> + /// <returns></returns> + public static TService GetService<TService>(IServiceProvider serviceProvider, bool mustBuild = true) + where TService : class => (serviceProvider ?? App.GetServiceProvider(typeof(TService), mustBuild, false))?.GetService<TService>(); + + /// <summary>鑾峰彇璇锋眰鐢熷瓨鍛ㄦ湡鐨勬湇鍔�</summary> + /// <param name="type"></param> + /// <param name="serviceProvider"></param> + /// <param name="mustBuild"></param> + /// <returns></returns> + public static object GetService(Type type, IServiceProvider serviceProvider = null, bool mustBuild = true) + { + IServiceProvider? obj2 = (serviceProvider ?? App.GetServiceProvider(type, mustBuild, false)); + object obj = obj2?.GetService(type); + return obj; + } + + + #endregion + + #region private + + /// <summary>鍔犺浇绋嬪簭闆嗕腑鐨勬墍鏈夌被鍨�</summary> + /// <param name="ass"></param> + /// <returns></returns> + private static IEnumerable<Type> GetTypes(Assembly ass) + { + Type[] source = Array.Empty<Type>(); + try + { + source = ass.GetTypes(); + } + catch + { + //$@"Error load `{ass.FullName}` assembly.".WriteErrorLine(); + } + + return source.Where(u => u.IsPublic); + } + + #endregion + + #region Options + + /// <summary>鑾峰彇閰嶇疆</summary> + /// <typeparam name="TOptions">寮虹被鍨嬮�夐」绫�</typeparam> + /// <returns>TOptions</returns> + public static TOptions GetConfig<TOptions>() + where TOptions : class, IConfigurableOptions + { + TOptions instance = App.Configuration + .GetSection(ConfigurableOptions.GetConfigurationPath(typeof(TOptions))) + .Get<TOptions>(); + return instance; + } + + /// <summary>鑾峰彇閫夐」</summary> + /// <typeparam name="TOptions">寮虹被鍨嬮�夐」绫�</typeparam> + /// <param name="serviceProvider"></param> + /// <returns>TOptions</returns> + public static TOptions GetOptions<TOptions>(IServiceProvider serviceProvider = null) where TOptions : class, new() + { + IOptions<TOptions> service = App.GetService<IOptions<TOptions>>(serviceProvider ?? App.RootServices, false); + return service?.Value; + } + + /// <summary>鑾峰彇閫夐」</summary> + /// <typeparam name="TOptions">寮虹被鍨嬮�夐」绫�</typeparam> + /// <param name="serviceProvider"></param> + /// <returns>TOptions</returns> + public static TOptions GetOptionsMonitor<TOptions>(IServiceProvider serviceProvider = null) + where TOptions : class, new() + { + IOptionsMonitor<TOptions> service = + App.GetService<IOptionsMonitor<TOptions>>(serviceProvider ?? App.RootServices, false); + return service?.CurrentValue; + } + + /// <summary>鑾峰彇閫夐」</summary> + /// <typeparam name="TOptions">寮虹被鍨嬮�夐」绫�</typeparam> + /// <param name="serviceProvider"></param> + /// <returns>TOptions</returns> + public static TOptions GetOptionsSnapshot<TOptions>(IServiceProvider serviceProvider = null) + where TOptions : class, new() + { + IOptionsSnapshot<TOptions> service = App.GetService<IOptionsSnapshot<TOptions>>(serviceProvider, false); + return service?.Value; + } + + #endregion + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/AnalysisRuleAttribute.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/AnalysisRuleAttribute.cs" new file mode 100644 index 0000000..94cdf32 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/AnalysisRuleAttribute.cs" @@ -0,0 +1,34 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.CodeConfigEnum; +using WIDESEA_Core.Enums; + +namespace WIDESEA_Core.Attributes +{ + [AttributeUsage(AttributeTargets.Property)] + public class AnalysisItemRuleAttribute : Attribute + { + public AnalysisFormatTypeEnum AnalysisFormaType { get; set; } + + public int Length { get; set; } + + public AnalysisItemRuleAttribute(AnalysisFormatTypeEnum analysisFormaType) + { + AnalysisFormaType = analysisFormaType; + } + } + + [AttributeUsage(AttributeTargets.Class)] + public class AnalysisRuleAttribute : Attribute + { + public AnalysisRuleEnum AnalysisRule { get; set; } = AnalysisRuleEnum.Split; + + public AnalysisRuleAttribute() + { + + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/CodeRuleAttribute.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/CodeRuleAttribute.cs" new file mode 100644 index 0000000..a64eb98 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/CodeRuleAttribute.cs" @@ -0,0 +1,20 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.CodeConfigEnum; +using WIDESEA_Core.Enums; + +namespace WIDESEA_Core.Attributes +{ + [AttributeUsage(AttributeTargets.Property)] + public class CodeRuleAttribute : Attribute + { + public RuleCodeEnum RuleCode { get; set; } + public CodeRuleAttribute(RuleCodeEnum ruleCode) + { + RuleCode = ruleCode; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/CustomValidationAttribute.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/CustomValidationAttribute.cs" new file mode 100644 index 0000000..bbb7f62 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/CustomValidationAttribute.cs" @@ -0,0 +1,25 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Attributes +{ + public class CustomValidationAttribute : ValidationAttribute + { + protected override ValidationResult? IsValid(object? value, ValidationContext validationContext) + { + if(value is string valueString) + { + if (string.IsNullOrEmpty(valueString)) + { + return new ValidationResult("閿欒"); + } + } + + return ValidationResult.Success; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/MethodParamsValidateAttribute.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/MethodParamsValidateAttribute.cs" new file mode 100644 index 0000000..e36ddf8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/MethodParamsValidateAttribute.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Attributes +{ + [AttributeUsage(AttributeTargets.Method)] + public class MethodParamsValidateAttribute : Attribute + { + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/ModelValidateAttribute.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/ModelValidateAttribute.cs" new file mode 100644 index 0000000..0f8b12b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/ModelValidateAttribute.cs" @@ -0,0 +1,109 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Attributes +{ + [AttributeUsage(AttributeTargets.Property)] + public class PropertyValidateAttribute : Attribute + { + /// <summary> + /// 鏈�澶у�� + /// </summary> + public int MaxValue { get; set; } = int.MaxValue; + + /// <summary> + /// 鏈�灏忓�� + /// </summary> + public int MinValue { get; set; } = int.MinValue; + + /// <summary> + /// 闈炵┖ + /// </summary> + public bool NotNullAndEmpty { get; set; } = true; + + /// <summary> + /// 鏄惁鍖呭惈鏈�澶у�� + /// </summary> + public bool IsContainMaxValue { get; set; } = false; + + /// <summary> + /// 鏄惁鍖呭惈鏈�灏忓�� + /// </summary> + public bool IsContainMinValue { get; set; } = false; + + /// <summary> + /// 鏍规嵁鍏朵粬灞炴�ч潪绌哄垽鏂綋鍓嶆槸鍚︿负闈炵┖ + /// </summary> + public string NotNullAndEmptyWithProperty { get; set; } + + /// <summary> + /// 鏍规嵁鍏朵粬灞炴�у�煎垽鏂綋鍓嶆槸鍚︿负闈炵┖(鏍煎紡銆恘ew string[]{ "灞炴�у悕绉�", "灞炴�у��" }銆�) + /// </summary> + public string[] NotNullAndEmptyWithPropertyAndValue { get; set; } + + /// <summary> + /// 璇存槑 + /// </summary> + public string Description { get; set; } + + /// <summary> + /// 妫�鏌ョ害鏉燂紝灞炴�у�煎彧鍏佽鏄暟缁勪腑鐨勫�� + /// </summary> + public object[] Check { get; set; } + + /// <summary> + /// 浠�...寮�澶� + /// </summary> + public string StartWith { get; set; } + + /// <summary> + /// 浠�...缁撳熬 + /// </summary> + public string EndWith { get; set; } + + /// <summary> + /// 鏈�灏忛暱搴� + /// </summary> + public int MinLength { get; set; } = 0; + + /// <summary> + /// 鏈�澶ч暱搴� + /// </summary> + public int MaxLength { get; set; } = int.MaxValue; + + public PropertyValidateAttribute(string description) + { + if (!string.IsNullOrEmpty(description)) + Description = description; + } + } + + [AttributeUsage(AttributeTargets.Class)] + public class ModelValidateAttribute : Attribute + { + public ModelValidateType ModelValidateType { get; } = ModelValidateType.SimpleValidate; + + public Func<object, (bool, string, object?)> CustomValidateMethod { get; set; } + + public object ErrorResponse { get; set; } + + public ModelValidateAttribute() + { + } + + public ModelValidateAttribute(Func<object, (bool, string, object?)> customValidateMethod) + { + CustomValidateMethod = customValidateMethod; + } + } + + public enum ModelValidateType + { + SimpleValidate, + CustomValidate, + SimpleAndCustom + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/SequenceAttirbute.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/SequenceAttirbute.cs" new file mode 100644 index 0000000..bee2047 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/SequenceAttirbute.cs" @@ -0,0 +1,30 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Attributes +{ + [AttributeUsage(AttributeTargets.Property)] + public class SequenceAttribute : Attribute + { + public string SequenceName { get; set; } + + public int SeqMaxValue { get; set; } = int.MaxValue; + + public int SeqMinValue { get; set; } = 1; + + public int StartWith { get; set; } = 1; + + public int Increment { get; set; } = 1; + + public bool IsCycle { get; set; } = true; + + public SequenceAttribute(string sequenceName, int seqMaxValue) + { + SequenceName = sequenceName; + SeqMaxValue = seqMaxValue; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/ValueChangeAttribute.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/ValueChangeAttribute.cs" new file mode 100644 index 0000000..0e73a58 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Attributes/ValueChangeAttribute.cs" @@ -0,0 +1,18 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Attributes +{ + [AttributeUsage(AttributeTargets.Property)] + public class ValueChangeAttribute : Attribute + { + public bool IsMinitor { get; set; } = true; + public ValueChangeAttribute() + { + + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Authorization/AuthorizationResponse.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Authorization/AuthorizationResponse.cs" new file mode 100644 index 0000000..3db0e6a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Authorization/AuthorizationResponse.cs" @@ -0,0 +1,46 @@ +锘縰sing Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc; +using System; +using System.Collections.Generic; +using System.IdentityModel.Tokens.Jwt; +using System.Linq; +using System.Net; +using System.Security.Claims; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; +using WIDESEA_Core.Const; + +namespace WIDESEA_Core.Authorization +{ + public static class AuthorizationResponse + { + public static AuthorizationFilterContext FilterResult( + this AuthorizationFilterContext context, + HttpStatusCode statusCode, + string message = null) + { + context.Result = new ContentResult() + { + Content = new { message, status = false, code = (int)statusCode }.Serialize(), + ContentType = "application/json", + StatusCode = (int)statusCode + }; + //Logger.Info(LoggerType.ApiAuthorize, message); + return context; + } + public static AuthorizationFilterContext Unauthorized(this AuthorizationFilterContext context, string message = null) + { + return context.FilterResult(HttpStatusCode.Unauthorized, message); + } + //涓嶉�氳繃JWT楠岃瘉鐨勶紝鐩存帴灏嗙敤鎴蜂俊鎭紦瀛樿捣鏉� + public static void AddIdentity(this AuthorizationFilterContext context, int? userId = null) + { + int _userId = userId ?? JwtHelper.GetUserId(context.HttpContext.Request.Headers[AppSecret.TokenHeaderName]); + if (_userId <= 0) return; + //灏嗙敤鎴稩d缂撳瓨鍒颁笂涓嬫枃(鎴栬�呰嚜瀹氫竴涓璞★紝閫氳繃DI浠ddScoped鏂瑰紡娉ㄥ叆涓婁笅鏂囨潵绠$悊鐢ㄦ埛淇℃伅) + var claims = new Claim[] { new Claim(JwtRegisteredClaimNames.Jti, _userId.ToString()) }; + context.HttpContext.User.AddIdentity(new ClaimsIdentity(claims)); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Authorization/AuthorizationSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Authorization/AuthorizationSetup.cs" new file mode 100644 index 0000000..31cff24 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Authorization/AuthorizationSetup.cs" @@ -0,0 +1,67 @@ +锘縰sing Microsoft.AspNetCore.Authentication.JwtBearer; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.IdentityModel.Tokens; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Security.Claims; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Const; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.Authorization +{ + /// <summary> + /// 绯荤粺 鎺堟潈鏈嶅姟 閰嶇疆 + /// </summary> + public static class AuthorizationSetup + { + /// <summary> + /// 绯荤粺 鎺堟潈鏈嶅姟 閰嶇疆 + /// </summary> + /// <param name="services"></param> + /// <exception cref="ArgumentNullException"></exception> + public static void AddAuthorizationSetup(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + services.AddAuthentication(options => + { + options.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme; + options.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme; + options.DefaultScheme = JwtBearerDefaults.AuthenticationScheme; + }) + .AddJwtBearer(options => + { + options.TokenValidationParameters = new TokenValidationParameters + { + SaveSigninToken = true,//淇濆瓨token,鍚庡彴楠岃瘉token鏄惁鐢熸晥(閲嶈) + ValidateIssuer = true,//鏄惁楠岃瘉Issuer + ValidateAudience = true,//鏄惁楠岃瘉Audience + ValidateLifetime = true,//鏄惁楠岃瘉澶辨晥鏃堕棿 + ValidateIssuerSigningKey = true,//鏄惁楠岃瘉SecurityKey + ValidAudience = AppSecret.Audience,//Audience + ValidIssuer = AppSecret.Issuer,//Issuer锛岃繖涓ら」鍜屽墠闈㈢鍙慾wt鐨勮缃竴鑷� + IssuerSigningKey = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(AppSecret.JWT)) + }; + options.Events = new JwtBearerEvents() + { + OnChallenge = context => + { + context.HandleResponse(); + context.Response.Clear(); + context.Response.ContentType = "application/json"; + context.Response.StatusCode = 401; + context.Response.WriteAsync(new { message = "鎺堟潈鏈�氳繃", status = false, code = 401 }.Serialize()); + return Task.CompletedTask; + } + }; + }); + + services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Authorization/JwtHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Authorization/JwtHelper.cs" new file mode 100644 index 0000000..80b1ddc --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Authorization/JwtHelper.cs" @@ -0,0 +1,121 @@ +锘縰sing Microsoft.IdentityModel.Tokens; +using System; +using System.Collections.Generic; +using System.IdentityModel.Tokens.Jwt; +using System.Linq; +using System.Security.Claims; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Const; +using WIDESEA_Core.Helper; +using WIDESEA_Core.HttpContextUser; + +namespace WIDESEA_Core.Authorization +{ + public class JwtHelper + { + + /// <summary> + /// 鐢熸垚JWT + /// </summary> + /// <param name="serInfo"></param> + /// <returns></returns> + public static string IssueJwt(TokenModelJwt tokenModel) + { + string exp = $"{new DateTimeOffset(DateTime.Now.AddMinutes(/*tokenModel.UserId == 1 ? 43200 : */AppSettings.Get("ExpMinutes").ObjToInt())).ToUnixTimeSeconds()}"; + List<Claim> claims = new List<Claim> + { + new Claim(JwtRegisteredClaimNames.Jti, tokenModel.UserId.ToString()), + new Claim(JwtRegisteredClaimNames.Iat, $"{new DateTimeOffset(DateTime.Now).ToUnixTimeSeconds()}"), + new Claim(JwtRegisteredClaimNames.Nbf, $"{new DateTimeOffset(DateTime.Now).ToUnixTimeSeconds()}") , + //JWT杩囨湡鏃堕棿 + //榛樿璁剧疆jwt杩囨湡鏃堕棿120鍒嗛挓 + new Claim (JwtRegisteredClaimNames.Exp, exp), + new Claim(JwtRegisteredClaimNames.Iss, AppSecret.Issuer), + new Claim(JwtRegisteredClaimNames.Aud, AppSecret.Audience), + new Claim(ClaimTypes.Role, tokenModel.RoleId.ToString()), + new Claim(ClaimTypes.Name, tokenModel.UserName), + new Claim(nameof(TokenModelJwt.TenantId), tokenModel.TenantId.ToString()) + }; + + // 鍙互灏嗕竴涓敤鎴风殑澶氫釜瑙掕壊鍏ㄩ儴璧嬩簣锛� + // 浣滆�咃細DX 鎻愪緵鎶�鏈敮鎸侊紱 + //绉橀挜16浣� + var key = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(AppSecret.JWT)); + var creds = new SigningCredentials(key, SecurityAlgorithms.HmacSha256); + JwtSecurityToken securityToken = new JwtSecurityToken(issuer: AppSecret.Issuer, claims: claims, signingCredentials: creds); + string jwt = new JwtSecurityTokenHandler().WriteToken(securityToken); + return jwt; + } + + /// <summary> + /// 瑙f瀽 + /// </summary> + /// <param name="jwtStr"></param> + /// <returns></returns> + public static UserInfo SerializeJwt(string jwtStr) + { + var jwtHandler = new JwtSecurityTokenHandler(); + JwtSecurityToken jwtToken = jwtHandler.ReadJwtToken(jwtStr); + UserInfo userInfo = new UserInfo + { + UserId = Convert.ToInt32(jwtToken.Id), + RoleId = (jwtToken.Payload[ClaimTypes.Role] ?? 0).ObjToInt(), + }; + return userInfo; + } + /// <summary> + /// 鑾峰彇杩囨湡鏃堕棿 + /// </summary> + /// <param name="jwtStr"></param> + /// <returns></returns> + public static DateTime GetExp(string jwtStr) + { + var jwtHandler = new JwtSecurityTokenHandler(); + JwtSecurityToken jwtToken = jwtHandler.ReadJwtToken(jwtStr); + + DateTime expDate = (jwtToken.Payload[JwtRegisteredClaimNames.Exp] ?? 0).ObjToInt().GetTimeSpmpToDate(); + return expDate; + } + public static bool IsExp(string jwtStr) + { + return GetExp(jwtStr) < DateTime.Now; + } + + public static int GetUserId(string jwtStr) + { + try + { + if (jwtStr.IsNullOrEmpty()) return 0; + jwtStr = jwtStr.Replace("Bearer ", ""); + return new JwtSecurityTokenHandler().ReadJwtToken(jwtStr).Id.ObjToInt(); + } + catch + { + return 0; + } + } + } + + /// <summary> + /// 浠ょ墝 + /// </summary> + public class TokenModelJwt + { + /// <summary> + /// UserId + /// </summary> + public long UserId { get; set; } + /// <summary> + /// 瑙掕壊 + /// </summary> + public int RoleId { get; set; } + /// <summary> + /// 鑱岃兘 + /// </summary> + public string UserName { get; set; } + + public long TenantId { get; set; } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseController/ApiBaseController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseController/ApiBaseController.cs" new file mode 100644 index 0000000..426a86e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseController/ApiBaseController.cs" @@ -0,0 +1,171 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Options; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.BaseServices; + +namespace WIDESEA_Core.BaseController +{ + [Authorize, ApiController] + public class ApiBaseController<IService, TEntity> : Controller + { + protected IService Service; + + public ApiBaseController(IService service) + { + Service = service; + } + + /// <summary> + /// 鍒嗛〉鑾峰彇鏁版嵁 + /// </summary> + /// <param name="options"></param> + /// <returns></returns> + [HttpPost, Route("GetPageData")] + public virtual ActionResult GetPageData([FromBody] PageDataOptions options) + { + return Json(InvokeService("GetPageData", new object[] { options })); + } + + /// <summary> + /// 鍒嗛〉鑾峰彇鏄庣粏鏁版嵁 + /// </summary> + /// <param name="pageData"></param> + /// <returns></returns> + [HttpPost, Route("GetDetailPage")] + public virtual ActionResult GetDetailPage([FromBody] PageDataOptions pageData) + { + return Json(InvokeService("GetDetailPage", new object[] { pageData })); + } + + /// <summary> + /// 娣诲姞鏁版嵁 + /// </summary> + /// <param name="options"></param> + /// <returns></returns> + [HttpPost, Route("AddData")] + public virtual ActionResult AddData([FromBody] TEntity options) + { + return Json(InvokeService("AddData", new object[] { options })); + } + + /// <summary> + /// 娣诲姞鏁版嵁 + /// </summary> + /// <param name="options"></param> + /// <returns></returns> + [HttpPost, Route("Add"), MethodParamsValidate] + public virtual ActionResult Add([FromBody] SaveModel options) + { + return Json(InvokeService("AddData", new object[] { options })); + } + + /// <summary> + /// 淇敼鏁版嵁 + /// </summary> + /// <param name="options"></param> + /// <returns></returns> + [HttpPost, Route("Update"), MethodParamsValidate] + public virtual ActionResult Update([FromBody] SaveModel options) + { + return Json(InvokeService("UpdateData", new object[] { options })); + } + + /// <summary> + /// 淇敼鏁版嵁 + /// </summary> + /// <param name="options"></param> + /// <returns></returns> + [HttpPost, Route("UpdateData")] + public virtual ActionResult UpdateData([FromBody] TEntity options) + { + return Json(InvokeService("UpdateData", new object[] { options })); + } + + /// <summary> + /// 鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="key"></param> + /// <returns></returns> + [HttpPost, Route("Del")] + public virtual ActionResult Del([FromBody] object[] key) + { + return Json(InvokeService("DeleteData", new object[] { key })); + } + + /// <summary> + /// 瀵煎嚭鏁版嵁 + /// </summary> + /// <param name="loadData"></param> + /// <returns></returns> + [HttpPost, Route("Export")] + public virtual ActionResult Export([FromBody] PageDataOptions loadData) + { + WebResponseContent result = InvokeService("Export", new object[] { loadData }) as WebResponseContent; + if (result.Status) + return File( + System.IO.File.ReadAllBytes(result.Data.ToString()), + System.Net.Mime.MediaTypeNames.Application.Octet, + Path.GetFileName(result.Data.ToString()) + ); + return Json(result); + } + + /// <summary> + /// 涓嬭浇瀵煎叆妯℃澘 + /// </summary> + /// <returns></returns> + [HttpPost, HttpGet, Route("DownLoadTemplate")] + public virtual ActionResult DownLoadTemplate() + { + WebResponseContent result = InvokeService("DownLoadTemplate", new object[] { }) as WebResponseContent; + if (result.Status) + return File( + System.IO.File.ReadAllBytes(result.Data.ToString()), + System.Net.Mime.MediaTypeNames.Application.Octet, + Path.GetFileName(result.Data.ToString()) + ); + return Json(result); + } + + /// <summary> + /// 瀵煎叆鏁版嵁 + /// </summary> + /// <param name="fileInput"></param> + /// <returns></returns> + [HttpPost, Route("Import")] + public virtual ActionResult Import(List<IFormFile> fileInput) + { + return Json(InvokeService("Import", new object[] { fileInput })); + } + + /// <summary> + /// 瀵煎嚭绉嶅瓙鏁版嵁 + /// </summary> + /// <returns></returns> + [HttpPost, Route("ExportSeedData"), AllowAnonymous] + public ActionResult ExportSeedData() + { + return Json(InvokeService("ExportSeedData", new object[] { })); + } + + private object InvokeService(string methodName, object[] parameters) + { + Type t = Service.GetType(); + List<Type> types = new List<Type>(); + foreach (var param in parameters) + { + types.Add(param.GetType()); + } + MethodInfo method = t.GetMethod(methodName, types.ToArray()); + return method.Invoke(Service, parameters); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageDataOptions.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageDataOptions.cs" new file mode 100644 index 0000000..1fff57b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageDataOptions.cs" @@ -0,0 +1,153 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Const; +using WIDESEA_Core.Enums; +using WIDESEA_Core.Helper; +using WIDESEA_Core.Utilities; + +namespace WIDESEA_Core +{ + public class PageDataOptions + { + public int Page { get; set; } + public int Rows { get; set; } + public int Total { get; set; } + public string TableName { get; set; } + public string Sort { get; set; } + /// <summary> + /// 鎺掑簭鏂瑰紡 + /// </summary> + public string Order { get; set; } + public string Wheres { get; set; } + public bool Export { get; set; } + public object Value { get; set; } + /// <summary> + /// 鏌ヨ鏉′欢 + /// </summary> + public List<SearchParameters> Filter { get; set; } + + + + public string ValidatePageOptions(PropertyInfo[] entityProperties) + { + string where = string.Empty; + List<SearchParameters> searchParametersList = new List<SearchParameters>(); + if (this.Filter != null && this.Filter.Count > 0) + { + searchParametersList.AddRange(Filter); + } + else if (!string.IsNullOrEmpty(Wheres)) + { + try + { + searchParametersList = Wheres.DeserializeObject<List<SearchParameters>>(); + Filter = searchParametersList; + } + catch { } + } + for (int i = 0; i < searchParametersList.Count; i++) + { + if (string.IsNullOrEmpty(searchParametersList[i].Value)) + { + continue; + } + + PropertyInfo? property = entityProperties.Where(c => c.Name.ToUpper() == searchParametersList[i].Name.ToUpper()).FirstOrDefault(); + + if (property == null) continue; + + List<(bool, string, object)> results = property.ValidationValueForDbType(searchParametersList[i].Value.Split(',')).ToList(); + if (results == null || results.Count() == 0) + { + continue; + } + for (int j = 0; j < results.Count(); j++) + { + if (j == 0) + { + where += "("; + } + LinqExpressionType expressionType = searchParametersList[i].DisplayType.GetLinqCondition(); + if (expressionType == LinqExpressionType.Equal) + { + where += $"{searchParametersList[i].Name} {HtmlElementType.Equal} '{results[j].Item3}'"; + } + else if (expressionType == LinqExpressionType.ThanOrEqual) + { + where += $"{searchParametersList[i].Name} {HtmlElementType.ThanOrEqual} '{searchParametersList[i].Value}'"; + } + else if (expressionType == LinqExpressionType.LessThanOrEqual) + { + where += $"{searchParametersList[i].Name} {HtmlElementType.LessOrequal} '{searchParametersList[i].Value}'"; + } + else if (expressionType == LinqExpressionType.GreaterThan) + { + where += $"{searchParametersList[i].Name} {HtmlElementType.GT} '{searchParametersList[i].Value}'"; + } + else if (expressionType == LinqExpressionType.LessThan) + { + where += $"{searchParametersList[i].Name} {HtmlElementType.LT} '{searchParametersList[i].Value}'"; + } + else if (expressionType == LinqExpressionType.Contains) + { + where += $"{searchParametersList[i].Name} {HtmlElementType.like} '%{searchParametersList[i].Value}%'"; + } + else + { + where += $"{searchParametersList[i].Name} {searchParametersList[i].DisplayType} '{results[j].Item3}'"; + } + + if (j == results.Count() - 1) + { + where += ")"; + } + else + { + where += " or "; + } + } + if (i < searchParametersList.Count - 1) + where += " and "; + } + return where; + } + + + public Dictionary<string, OrderByType> GetPageDataSort(PropertyInfo[] propertyInfo) + { + if (!string.IsNullOrEmpty(Sort)) + { + if (Sort.Contains(",")) + { + List<string> sortArr = Sort.Split(",").Where(x => propertyInfo.Any(p => p.Name == x)).ToList(); + Dictionary<string, OrderByType> sortDic = new Dictionary<string, OrderByType>(); + foreach (var item in sortArr) + { + sortDic[item] = Order?.ToLower() == OrderByType.Asc.ToString() ? OrderByType.Asc : OrderByType.Desc; + } + return sortDic; + } + else if (propertyInfo.Any(x => x.Name == Sort.FirstLetterToLower() || x.Name == Sort.FirstLetterToUpper())) + { + return new Dictionary<string, OrderByType> { + { + Sort,Order?.ToLower() == OrderByType.Asc.ToString() ? OrderByType.Asc : OrderByType.Desc + } }; + } + } + return new Dictionary<string, OrderByType> { { "CreateDate", Order?.ToLower() == OrderByType.Asc.ToString() ? OrderByType.Asc : OrderByType.Desc } }; + } + } + public class SearchParameters + { + public string Name { get; set; } + public string Value { get; set; } + //鏌ヨ绫诲瀷锛歀inqExpressionType + public string DisplayType { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageGridData.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageGridData.cs" new file mode 100644 index 0000000..7ad6817 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageGridData.cs" @@ -0,0 +1,26 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core +{ + public class PageGridData<T> + { + public int Total { get; set; } + public List<T> Rows { get; set; } + public object Summary { get; set; } + + public PageGridData() + { + + } + + public PageGridData(int total, List<T> rows) + { + Total = total; + Rows = rows; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/Permissions.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/Permissions.cs" new file mode 100644 index 0000000..e8c006b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/Permissions.cs" @@ -0,0 +1,27 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core +{ + public class Permissions + { + public int MenuId { get; set; } + public int ParentId { get; set; } + public string TableName { get; set; } + public string MenuAuth { get; set; } + public string UserAuth { get; set; } + /// <summary> + /// 褰撳墠鐢ㄦ埛鏉冮檺,瀛樺偍鐨勬槸鏉冮檺鐨勫�硷紝濡�:Add,Search绛� + /// </summary> + public string[] UserAuthArr { get; set; } + + /// <summary> + /// 2022.03.26 + /// 鑿滃崟绫诲瀷1:绉诲姩绔紝0:PC绔� + /// </summary> + public int MenuType { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/SaveModel.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/SaveModel.cs" new file mode 100644 index 0000000..f103ccf --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/SaveModel.cs" @@ -0,0 +1,21 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core +{ + public class SaveModel + { + public Dictionary<string, object> MainData { get; set; } + public List<Dictionary<string, object>> DetailData { get; set; } + public List<object> DelKeys { get; set; } + + /// <summary> + /// 浠庡墠鍙颁紶鍏ョ殑鍏朵粬鍙傛暟(鑷畾涔夋墿灞曞彲浠ヤ娇鐢�) + /// </summary> + public object Extra { get; set; } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/WebResponseContent.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/WebResponseContent.cs" new file mode 100644 index 0000000..66feb1b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/WebResponseContent.cs" @@ -0,0 +1,53 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core +{ + public class WebResponseContent + { + public WebResponseContent() + { + } + public WebResponseContent(bool status) + { + Status = status; + } + public bool Status { get; set; } + + public int Code { get; set; } + + public string Message { get; set; } + + public object Data { get; set; } + + public string DevMessage { get; set; } + + public WebResponseContent OK() + { + Status = true; + return this; + } + + public static WebResponseContent Instance + { + get { return new WebResponseContent(); } + } + public WebResponseContent OK(string message = null, object data = null) + { + Status = true; + Message = message; + Data = data; + return this; + } + + public WebResponseContent Error(string message = null) + { + Status = false; + Message = message; + return this; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/IRepository.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/IRepository.cs" new file mode 100644 index 0000000..c22ec14 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/IRepository.cs" @@ -0,0 +1,432 @@ +锘縰sing Microsoft.Data.SqlClient; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Linq.Expressions; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Enums; + +namespace WIDESEA_Core.BaseRepository +{ + public interface IRepository<TEntity> : IDependency where TEntity : class, new() + { + /// <summary> + /// SqlsugarClient瀹炰綋 + /// </summary> + ISqlSugarClient Db { get; } + /// <summary> + /// 閫氳繃涓婚敭鏌ヨ鏁版嵁 + /// </summary> + /// <param name="id">涓婚敭</param> + /// <returns>鏌ヨ缁撴灉</returns> + TEntity QureyDataById(object id); + + Task<TEntity> QureyDataByIdAsync(object id); + + /// <summary> + /// 閫氳繃涓婚敭鏁扮粍鏌ヨ鏁版嵁 + /// </summary> + /// <param name="lstIds">涓婚敭鏁扮粍</param> + /// <returns>鏌ヨ缁撴灉闆嗗悎</returns> + List<TEntity> QureyDataByIds(object[] lstIds); + + Task<List<TEntity>> QureyDataByIdsAsync(object[] lstIds); + + /// <summary> + /// 閫氳繃涓婚敭闆嗗悎鏌ヨ鏁版嵁 + /// </summary> + /// <param name="lstIds">涓婚敭闆嗗悎</param> + /// <returns>鏌ヨ缁撴灉闆嗗悎</returns> + List<TEntity> QureyDataByIds(List<object> lstIds); + + Task<List<TEntity>> QureyDataByIdsAsync(List<object> lstIds); + + /// <summary> + /// 娣诲姞鍗曟潯鏁版嵁 + /// </summary> + /// <param name="entity"></param> + /// <returns>褰卞搷琛屾暟</returns> + int AddData(TEntity entity); + + bool AddData<TChild>(TEntity entity, Expression<Func<TEntity, List<TChild>>> expression) where TChild : class, new(); + + Task<int> AddDataAsync(TEntity entity); + + /// <summary> + /// 娣诲姞澶氭潯鏁版嵁 + /// </summary> + /// <param name="listEntity"></param> + /// <returns>褰卞搷琛屾暟</returns> + int AddData(List<TEntity> listEntity); + + Task<int> AddDataAsync(List<TEntity> listEntity); + + /// <summary> + /// 閫氳繃涓婚敭鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="id">涓婚敭</param> + /// <returns>鍒犻櫎缁撴灉</returns> + bool DeleteDataById(object id); + + Task<bool> DeleteDataByIdAsync(object id); + + bool DeleteAndMoveIntoHty(TEntity entity, OperateTypeEnum operateType); + + bool DeleteAndMoveIntoHty(List<TEntity> entities, OperateTypeEnum operateType); + + /// <summary> + /// 閫氳繃涓婚敭鏁版嵁鍒犻櫎澶氭潯鏁版嵁 + /// </summary> + /// <param name="ids">涓婚敭鏁扮粍</param> + /// <returns>鍒犻櫎缁撴灉</returns> + bool DeleteDataByIds(object[] ids); + + Task<bool> DeleteDataByIdsAsync(object[] ids); + + /// <summary> + /// 閫氳繃瀹炰綋鏁版嵁鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="ids">涓婚敭鏁扮粍</param> + /// <returns>鍒犻櫎缁撴灉</returns> + bool DeleteData(TEntity entity); + + Task<bool> DeleteDataAsync(TEntity entity); + + /// <summary> + /// 閫氳繃瀹炰綋闆嗗悎鏁版嵁鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="ids">涓婚敭鏁扮粍</param> + /// <returns>鍒犻櫎缁撴灉</returns> + bool DeleteData(List<TEntity> listEntity); + + Task<bool> DeleteDataAsync(List<TEntity> listEntity); + + /// <summary> + /// 鏇存柊鍗曟潯鏁版嵁 + /// </summary> + /// <param name="entity"></param> + /// <returns></returns> + bool UpdateData(TEntity entity); + + Task<bool> UpdateDataAsync(TEntity entity); + + /// <summary> + /// 鏇存柊澶氭潯鏁版嵁 + /// </summary> + /// <param name="listEntity"></param> + /// <returns></returns> + bool UpdateData(List<TEntity> listEntity); + + Task<bool> UpdateDataAsync(List<TEntity> listEntity); + + /// <summary> + /// 鎸囧畾鍒楁洿鏂版暟鎹� + /// </summary> + /// <param name="entity"></param> + /// <param name="lstColumns"></param> + /// <param name="lstIgnoreColumns"></param> + /// <returns></returns> + bool UpdateData(TEntity entity, List<string> lstColumns, List<string>? lstIgnoreColumns = null); + + Task<bool> UpdateDataAsync(TEntity entity, List<string> lstColumns, List<string>? lstIgnoreColumns = null); + + /// <summary> + /// 鏌ヨ鎵�鏈夋暟鎹� + /// </summary> + /// <returns></returns> + List<TEntity> QueryData(); + + Task<List<TEntity>> QueryDataAsync(); + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁 + /// </summary> + /// <param name="where"></param> + /// <returns></returns> + List<TEntity> QueryData(string where); + + Task<List<TEntity>> QueryDataAsync(string where); + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁 + /// </summary> + /// <param name="whereExpression"></param> + /// <returns></returns> + List<TEntity> QueryData(Expression<Func<TEntity, bool>> whereExpression); + + Task<List<TEntity>> QueryDataAsync(Expression<Func<TEntity, bool>> whereExpression); + + TEntity QueryFirst(Expression<Func<TEntity, bool>> whereExpression); + + Task<TEntity> QueryFirstAsync(Expression<Func<TEntity, bool>> whereExpression); + + TResult QueryFirst<TResult>(Expression<Func<TEntity, bool>> whereExpression, Expression<Func<TEntity, TResult>> expression); + + Task<TResult> QueryFirstAsync<TResult>(Expression<Func<TEntity, bool>> whereExpression, Expression<Func<TEntity, TResult>> expression); + + TResult QueryFirst<TResult>(Expression<Func<TEntity, bool>> whereExpression, Expression<Func<TEntity, TResult>> expression, Dictionary<string, OrderByType> orderBy); + + Task<TResult> QueryFirstAsync<TResult>(Expression<Func<TEntity, bool>> whereExpression, Expression<Func<TEntity, TResult>> expression, Dictionary<string, OrderByType> orderBy); + + TEntity QueryFirst(Expression<Func<TEntity, bool>> whereExpression, Dictionary<string, OrderByType> orderBy); + + Task<TEntity> QueryFirstAsync(Expression<Func<TEntity, bool>> whereExpression, Dictionary<string, OrderByType> orderBy); + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁骞舵帓搴� + /// </summary> + /// <param name="whereExpression"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + List<TEntity> QueryData(Expression<Func<TEntity, bool>> whereExpression, Dictionary<string, OrderByType> orderBy); + + Task<List<TEntity>> QueryDataAsync(Expression<Func<TEntity, bool>> whereExpression, string orderByFields); + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁骞舵帓搴� + /// </summary> + /// <param name="whereExpression"></param> + /// <param name="where"></param> + /// <returns></returns> + List<TEntity> QueryData(string where, Dictionary<string, OrderByType> orderBy); + + Task<List<TEntity>> QueryDataAsync(string where, Dictionary<string, OrderByType> orderBy); + + /// <summary> + /// 鏌ヨ鎸囧畾鏁版嵁瀵硅薄 + /// </summary> + /// <typeparam name="TResult"></typeparam> + /// <param name="expression"></param> + /// <returns></returns> + List<TResult> QueryData<TResult>(Expression<Func<TEntity, TResult>> expression); + + Task<List<TResult>> QueryDataAsync<TResult>(Expression<Func<TEntity, TResult>> expression); + + /// <summary> + /// 鏉′欢鏌ヨ鎸囧畾鏁版嵁瀵硅薄 + /// </summary> + /// <typeparam name="TResult"></typeparam> + /// <param name="expression"></param> + /// <param name="whereExpression"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + List<TResult> QueryData<TResult>(Expression<Func<TEntity, TResult>> expression, Expression<Func<TEntity, bool>> whereExpression, string orderByFields = ""); + + Task<List<TResult>> QueryDataAsync<TResult>(Expression<Func<TEntity, TResult>> expression, Expression<Func<TEntity, bool>> whereExpression, string orderByFields); + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁骞舵帓搴� + /// </summary> + /// <param name="whereExpression"></param> + /// <param name="orderByExpression"></param> + /// <param name="isAsc"></param> + /// <returns></returns> + List<TEntity> QueryData(Expression<Func<TEntity, bool>> whereExpression, Expression<Func<TEntity, object>> orderByExpression, bool isAsc = true); + + Task<List<TEntity>> QueryDataAsync(Expression<Func<TEntity, bool>> whereExpression, Expression<Func<TEntity, object>> orderByExpression, bool isAsc = true); + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁骞舵帓搴� + /// </summary> + /// <param name="where"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + List<TEntity> QueryData(string where, string orderByFields); + + Task<List<TEntity>> QueryDataAsync(string where, string orderByFields); + + /// <summary> + /// 鍘熺敓Sql璇彞鏌ヨ鏁版嵁 + /// </summary> + /// <param name="sql"></param> + /// <param name="parameters"></param> + /// <returns></returns> + List<TEntity> QueryDataBySql(string sql, SugarParameter[]? parameters = null); + + Task<List<TEntity>> QueryDataBySqlAsync(string sql, SugarParameter[]? parameters = null); + + /// <summary> + /// 鍘熺敓Sql璇彞鏌ヨ鏁版嵁 + /// </summary> + /// <param name="sql"></param> + /// <param name="parameters"></param> + /// <returns></returns> + List<dynamic> QueryDynamicDataBySql(string sql, SugarParameter[]? parameters = null); + + Task<List<dynamic>> QueryDynamicDataBySqlAsync(string sql, SugarParameter[]? parameters = null); + + List<object> QueryObjectDataBySql(string sql, SugarParameter[]? parameters = null); + + Task<List<object>> QueryObjectDataBySqlAsync(string sql, SugarParameter[]? parameters = null); + + /// <summary> + /// 鍘熺敓Sql璇彞鎵ц鎿嶄綔 + /// </summary> + /// <param name="sql"></param> + /// <param name="sqlParameters"></param> + /// <returns></returns> + int ExecuteSqlCommand(string sql, params SqlParameter[] sqlParameters); + + Task<int> ExecuteSqlCommandAsync(string sql, params SqlParameter[] sqlParameters); + + /// <summary> + /// 鍘熺敓Sql璇彞鏌ヨ鏁版嵁 + /// </summary> + /// <param name="sql"></param> + /// <param name="parameters"></param> + /// <returns></returns> + DataTable QueryTable(string sql, SugarParameter[]? parameters = null); + + Task<DataTable> QueryTableAsync(string sql, SugarParameter[]? parameters = null); + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁鎸囧畾鏁伴噺鐨勮 + /// </summary> + /// <param name="whereExpression"></param> + /// <param name="top"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + List<TEntity> QueryData(Expression<Func<TEntity, bool>> whereExpression, int top, string orderByFields); + + Task<List<TEntity>> QueryDataAsync(Expression<Func<TEntity, bool>> whereExpression, int top, string orderByFields); + + /// <summary> + /// 鏉′欢鏌ヨ鎸囧畾鏁伴噺鐨勮 + /// </summary> + /// <param name="where"></param> + /// <param name="top"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + List<TEntity> QueryData(string where, int top, string orderByFields); + + Task<List<TEntity>> QueryDataAsync(string where, int top, string orderByFields); + + /// <summary> + /// 鍒嗛〉鏌ヨ + /// </summary> + /// <param name="whereExpression"></param> + /// <param name="pageIndex"></param> + /// <param name="pageSize"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + List<TEntity> QueryData(Expression<Func<TEntity, bool>> whereExpression, int pageIndex, int pageSize, string orderByFields); + + Task<List<TEntity>> QueryDataAsync(Expression<Func<TEntity, bool>> whereExpression, int pageIndex, int pageSize, string orderByFields); + + /// <summary> + /// 鍒嗛〉鏌ヨ + /// </summary> + /// <param name="where"></param> + /// <param name="pageIndex"></param> + /// <param name="pageSize"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + List<TEntity> QueryData(string where, int pageIndex, int pageSize, string orderByFields); + + Task<List<TEntity>> QueryDataAsync(string where, int pageIndex, int pageSize, string orderByFields); + + /// <summary> + /// 鍒嗛〉鏌ヨ + /// </summary> + /// <param name="whereExpression"></param> + /// <param name="pageIndex"></param> + /// <param name="pageSize"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + PageGridData<TEntity> QueryPage(Expression<Func<TEntity, bool>> whereExpression, int pageIndex, int pageSize, string? orderByFields = null); + + /// <summary> + /// 鍒嗛〉鏌ヨ + /// </summary> + /// <param name="whereExpression"></param> + /// <param name="pageIndex"></param> + /// <param name="pagesize"></param> + /// <param name="orderBy"></param> + /// <returns></returns> + PageGridData<TEntity> QueryPage(Expression<Func<TEntity, bool>> whereExpression, int pageIndex, int pagesize, Dictionary<string, OrderByType> orderBy); + + PageGridData<TEntity> QueryPage(string where, int pageIndex, int pageSize, Dictionary<string, OrderByType> orderBy); + + /// <summary> + /// 涓よ〃鑱旀煡 + /// </summary> + /// <typeparam name="T"></typeparam> + /// <typeparam name="T2"></typeparam> + /// <typeparam name="TResult"></typeparam> + /// <param name="joinExpression"></param> + /// <param name="selectExpression"></param> + /// <param name="whereExpression"></param> + /// <returns></returns> + List<TResult> QueryTabs<T, T2, TResult>( + Expression<Func<T, T2, object[]>> joinExpression, + Expression<Func<T, T2, TResult>> selectExpression, + Expression<Func<T, T2, bool>> whereExpressionT1, + Expression<Func<TResult, bool>> whereExpression); + + List<TResult> QueryTabs<T, T2, TResult>( + Expression<Func<T, T2, bool>> joinExpression, + Expression<Func<T, T2, TResult>> selectExpression, + Expression<Func<T, bool>> whereExpressionT1, + Expression<Func<T2, bool>> whereExpressionT2, + Expression<Func<TResult, bool>> whereExpression); + + + Task<List<TResult>> QueryTabsAsync<T, T2, TResult>( + Expression<Func<T, T2, object[]>> joinExpression, + Expression<Func<T, T2, TResult>> selectExpression, + Expression<Func<TResult, bool>> whereExpression); + + /// <summary> + /// 涓よ〃鑱旀煡-鍒嗛〉 + /// </summary> + /// <typeparam name="T"></typeparam> + /// <typeparam name="T2"></typeparam> + /// <typeparam name="TResult"></typeparam> + /// <param name="joinExpression"></param> + /// <param name="selectExpression"></param> + /// <param name="whereExpression"></param> + /// <param name="pageIndex"></param> + /// <param name="pageSize"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + PageGridData<TResult> QueryTabsPage<T, T2, TResult>( + Expression<Func<T, T2, object[]>> joinExpression, + Expression<Func<T, T2, TResult>> selectExpression, + Expression<Func<TResult, bool>> whereExpression, + int pageIndex = 1, + int pageSize = 20, + string? orderByFields = null); + + /// <summary> + /// 涓よ〃鑱斿悎鏌ヨ-鍒嗛〉-鍒嗙粍 + /// </summary> + /// <typeparam name="T"></typeparam> + /// <typeparam name="T2"></typeparam> + /// <typeparam name="TResult"></typeparam> + /// <param name="joinExpression"></param> + /// <param name="selectExpression"></param> + /// <param name="whereExpression"></param> + /// <param name="groupExpression"></param> + /// <param name="pageIndex"></param> + /// <param name="pageSize"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + PageGridData<TResult> QueryTabsPage<T, T2, TResult>( + Expression<Func<T, T2, object[]>> joinExpression, + Expression<Func<T, T2, TResult>> selectExpression, + Expression<Func<TResult, bool>> whereExpression, + Expression<Func<T, object>> groupExpression, + int pageIndex = 1, + int pageSize = 20, + string? orderByFields = null); + + //List<TResult> QueryMuch<T, T2, T3, TResult>( + // Expression<Func<T, T2, T3, object[]>> joinExpression, + // Expression<Func<T, T2, T3, TResult>> selectExpression, + // Expression<Func<T, T2, T3, bool>> whereLambda = null) where T : class, new(); + //Task<PageModel<TEntity>> QueryPage(PaginationModel pagination); + } +} \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs" new file mode 100644 index 0000000..41c5bd7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs" @@ -0,0 +1,977 @@ +锘縰sing SqlSugar; +using System.Data; +using System.Linq.Expressions; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Reflection; +using WIDESEA_Core.Helper; +using Microsoft.Data.SqlClient; +using System.Drawing.Printing; +using WIDESEA_Core.Tenants; +using WIDESEA_Core.Seed; +using WIDESEA_Core.DB; +using WIDESEA_Core.Const; +using WIDESEA_Core.AOP; +using OfficeOpenXml.FormulaParsing.ExpressionGraph; +using WIDESEA_Core.Enums; +using WIDESEA_Core.Utilities; +using Microsoft.AspNetCore.Mvc.RazorPages; +using NetTaste; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Core.BaseRepository +{ + public class RepositoryBase<TEntity> : IRepository<TEntity> where TEntity : class, new() + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly SqlSugarClient _dbBase; + + private ISqlSugarClient _db + { + get + { + ISqlSugarClient db = _dbBase; + + //澶氱鎴� + //var mta = typeof(TEntity).GetCustomAttribute<MultiTenantAttribute>(); + //if (mta is { TenantType: TenantTypeEnum.Db }) + //{ + // //鑾峰彇绉熸埛淇℃伅 绉熸埛淇℃伅鍙互鎻愬墠缂撳瓨涓嬫潵 + // if (App.User is { TenantId: > 0 }) + // { + // dynamic tenant = db.Queryable(MainDb.TenantTableName, "x").Where(MainDb.TenantId, "=", App.User.TenantId).First(); + // if (tenant != null) + // { + // var iTenant = db.AsTenant(); + // if (!iTenant.IsAnyConnection(tenant.TenantId)) + // { + // string conStr = tenant.ConnectionString; + // ConnectionConfig connectionConfig = new ConnectionConfig() + // { + // ConfigId = tenant.TenantId, + // ConnectionString = conStr.DecryptDES(AppSecret.DB), + // DbType = (SqlSugar.DbType)tenant.DbType, + // IsAutoCloseConnection = true, + // AopEvents = new AopEvents() + // { + // DataExecuting = SqlSugarAop.DataExecuting, + + // } + // }; + // iTenant.AddConnection(connectionConfig); + // } + + // return iTenant.GetConnection(tenant.TenantId); + // } + // } + //} + + return db; + } + } + /// <summary> + /// 鍒涘缓鏁版嵁搴撹繛鎺ュ璞� + /// </summary> + public ISqlSugarClient Db => _db; + + public RepositoryBase(IUnitOfWorkManage unitOfWorkManage) + { + _unitOfWorkManage = unitOfWorkManage; + _dbBase = unitOfWorkManage.GetDbClient(); + } + + /// <summary> + /// 閫氳繃涓婚敭鏌ヨ鏁版嵁 + /// </summary> + /// <param name="id">涓婚敭</param> + /// <returns>鏌ヨ缁撴灉</returns> + public virtual TEntity QureyDataById(object id) + { + return _db.Queryable<TEntity>().In(id).Single(); + } + + /// <summary> + /// 閫氳繃涓婚敭鏁扮粍鏌ヨ鏁版嵁 + /// </summary> + /// <param name="lstIds">涓婚敭鏁扮粍</param> + /// <returns>鏌ヨ缁撴灉闆嗗悎</returns> + public virtual List<TEntity> QureyDataByIds(object[] lstIds) + { + return _db.Queryable<TEntity>().In(lstIds).ToList(); + } + + /// <summary> + /// 閫氳繃涓婚敭闆嗗悎鏌ヨ鏁版嵁 + /// </summary> + /// <param name="lstIds">涓婚敭闆嗗悎</param> + /// <returns>鏌ヨ缁撴灉闆嗗悎</returns> + public virtual List<TEntity> QureyDataByIds(List<object> lstIds) + { + return _db.Queryable<TEntity>().In(lstIds).ToList(); + } + + /// <summary> + /// 娣诲姞鍗曟潯鏁版嵁 + /// </summary> + /// <param name="entity"></param> + /// <returns>褰卞搷琛屾暟</returns> + public virtual int AddData(TEntity entity) + { + IInsertable<TEntity> insert = _db.Insertable(entity); + return insert.ExecuteReturnIdentity(); + } + + public virtual bool AddData<TChild>(TEntity entity, Expression<Func<TEntity, List<TChild>>> expression) where TChild : class, new() + { + return _db.InsertNav(entity).Include(expression).ExecuteCommand(); + } + + /// <summary> + /// 娣诲姞澶氭潯鏁版嵁 + /// </summary> + /// <param name="listEntity"></param> + /// <returns>褰卞搷琛屾暟</returns> + public virtual int AddData(List<TEntity> listEntity) + { + IInsertable<TEntity> insert = _db.Insertable(listEntity); + return insert.ExecuteCommand(); + } + + /// <summary> + /// 閫氳繃涓婚敭鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="id">涓婚敭</param> + /// <returns>鍒犻櫎缁撴灉</returns> + public virtual bool DeleteDataById(object id) + { + return _db.Deleteable<TEntity>().In(id).ExecuteCommandHasChange(); + } + + /// <summary> + /// 閫氳繃涓婚敭鏁版嵁鍒犻櫎澶氭潯鏁版嵁 + /// </summary> + /// <param name="ids">涓婚敭鏁扮粍</param> + /// <returns>鍒犻櫎缁撴灉</returns> + public virtual bool DeleteDataByIds(object[] ids) + { + return _db.Deleteable<TEntity>().In(ids).ExecuteCommandHasChange(); + } + + /// <summary> + /// 閫氳繃瀹炰綋鏁版嵁鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="ids">涓婚敭鏁扮粍</param> + /// <returns>鍒犻櫎缁撴灉</returns> + public virtual bool DeleteData(TEntity entity) + { + return _db.Deleteable(entity).ExecuteCommandHasChange(); + } + + /// <summary> + /// 閫氳繃瀹炰綋闆嗗悎鏁版嵁鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="ids">涓婚敭鏁扮粍</param> + /// <returns>鍒犻櫎缁撴灉</returns> + public virtual bool DeleteData(List<TEntity> listEntity) + { + return _db.Deleteable(listEntity).ExecuteCommandHasChange(); + } + + /// <summary> + /// 鏇存柊鍗曟潯鏁版嵁 + /// </summary> + /// <param name="entity"></param> + /// <returns></returns> + public virtual bool UpdateData(TEntity entity) + { + return _db.Updateable(entity).ExecuteCommandHasChange(); + } + + /// <summary> + /// 鏇存柊澶氭潯鏁版嵁 + /// </summary> + /// <param name="listEntity"></param> + /// <returns></returns> + public virtual bool UpdateData(List<TEntity> listEntity) + { + return _db.Updateable(listEntity).ExecuteCommandHasChange(); + } + + /// <summary> + /// 鎸囧畾鍒楁洿鏂版暟鎹� + /// </summary> + /// <param name="entity"></param> + /// <param name="lstColumns"></param> + /// <param name="lstIgnoreColumns"></param> + /// <returns></returns> + public virtual bool UpdateData(TEntity entity, List<string> lstColumns, List<string>? lstIgnoreColumns = null) + { + IUpdateable<TEntity> update = _db.Updateable(entity); + + if (lstIgnoreColumns != null && lstIgnoreColumns.Count > 0) + { + update = update.IgnoreColumns(lstIgnoreColumns.ToArray()); + } + + if (lstColumns != null && lstColumns.Count > 0) + { + update = update.UpdateColumns(lstColumns.ToArray()); + } + + return update.ExecuteCommandHasChange(); + } + + /// <summary> + /// 鏌ヨ鎵�鏈夋暟鎹� + /// </summary> + /// <returns></returns> + public virtual List<TEntity> QueryData() + { + return _db.Queryable<TEntity>().ToList(); + } + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁 + /// </summary> + /// <param name="where"></param> + /// <returns></returns> + public virtual List<TEntity> QueryData(string where) + { + return _db.Queryable<TEntity>().WhereIF(!string.IsNullOrEmpty(where), where).ToList(); + } + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁 + /// </summary> + /// <param name="whereExpression"></param> + /// <returns></returns> + public virtual List<TEntity> QueryData(Expression<Func<TEntity, bool>> whereExpression) + { + return _db.Queryable<TEntity>().WhereIF(whereExpression != null, whereExpression).ToList(); + } + + public virtual TEntity QueryFirst(Expression<Func<TEntity, bool>> whereExpression) + { + return _db.Queryable<TEntity>().WhereIF(whereExpression != null, whereExpression).First(); + } + + public virtual TResult QueryFirst<TResult>(Expression<Func<TEntity, bool>> whereExpression, Expression<Func<TEntity, TResult>> expression) + { + return _db.Queryable<TEntity>().WhereIF(whereExpression != null, whereExpression).Select(expression).First(); + } + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁骞舵帓搴� + /// </summary> + /// <param name="whereExpression"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + public virtual List<TEntity> QueryData(Expression<Func<TEntity, bool>> whereExpression, Dictionary<string, OrderByType> orderBy) + { + List<OrderByModel> orderByModels = new List<OrderByModel>(); + foreach (var item in orderBy) + { + OrderByModel orderByModel = new OrderByModel() + { + FieldName = item.Key, + OrderByType = item.Value + }; + orderByModels.Add(orderByModel); + } + return _db.Queryable<TEntity>().WhereIF(whereExpression != null, whereExpression).OrderBy(orderByModels).ToList(); + } + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁骞舵帓搴� + /// </summary> + /// <param name="where"></param> + /// <param name="orderBy"></param> + /// <returns></returns> + public virtual List<TEntity> QueryData(string where, Dictionary<string, OrderByType> orderBy) + { + List<OrderByModel> orderByModels = new List<OrderByModel>(); + foreach (var item in orderBy) + { + OrderByModel orderByModel = new OrderByModel() + { + FieldName = item.Key, + OrderByType = item.Value + }; + orderByModels.Add(orderByModel); + } + return _db.Queryable<TEntity>().WhereIF(!string.IsNullOrEmpty(where), where).OrderBy(orderByModels).ToList(); + } + + /// <summary> + /// 鏌ヨ鎸囧畾鏁版嵁瀵硅薄 + /// </summary> + /// <typeparam name="TResult"></typeparam> + /// <param name="expression"></param> + /// <returns></returns> + public virtual List<TResult> QueryData<TResult>(Expression<Func<TEntity, TResult>> expression) + { + return _db.Queryable<TEntity>().Select(expression).ToList(); + } + + /// <summary> + /// 鏉′欢鏌ヨ鎸囧畾鏁版嵁瀵硅薄 + /// </summary> + /// <typeparam name="TResult"></typeparam> + /// <param name="expression"></param> + /// <param name="whereExpression"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + public virtual List<TResult> QueryData<TResult>(Expression<Func<TEntity, TResult>> expression, Expression<Func<TEntity, bool>> whereExpression, string orderByFields = "") + { + return _db.Queryable<TEntity>().OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields).WhereIF(whereExpression != null, whereExpression).Select(expression).ToList(); + } + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁骞舵帓搴� + /// </summary> + /// <param name="whereExpression"></param> + /// <param name="orderByExpression"></param> + /// <param name="isAsc"></param> + /// <returns></returns> + public virtual List<TEntity> QueryData(Expression<Func<TEntity, bool>> whereExpression, Expression<Func<TEntity, object>> orderByExpression, bool isAsc = true) + { + return _db.Queryable<TEntity>().OrderByIF(orderByExpression != null, orderByExpression, isAsc ? OrderByType.Asc : OrderByType.Desc).WhereIF(whereExpression != null, whereExpression).ToList(); + } + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁骞舵帓搴� + /// </summary> + /// <param name="where"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + public virtual List<TEntity> QueryData(string where, string orderByFields) + { + return _db.Queryable<TEntity>().OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields).WhereIF(!string.IsNullOrEmpty(where), where).ToList(); + } + + /// <summary> + /// 鍘熺敓Sql璇彞鏌ヨ鏁版嵁 + /// </summary> + /// <param name="sql"></param> + /// <param name="parameters"></param> + /// <returns></returns> + public virtual List<TEntity> QueryDataBySql(string sql, SugarParameter[]? parameters = null) + { + return _db.Ado.SqlQuery<TEntity>(sql, parameters); + } + + /// <summary> + /// 鍘熺敓Sql璇彞鏌ヨ鏁版嵁 + /// </summary> + /// <param name="sql"></param> + /// <param name="parameters"></param> + /// <returns></returns> + public virtual List<dynamic> QueryDynamicDataBySql(string sql, SugarParameter[]? parameters = null) + { + return _db.Ado.SqlQuery<dynamic>(sql, parameters); + } + + /// <summary> + /// 鍘熺敓Sql璇彞鏌ヨ鏁版嵁 + /// </summary> + /// <param name="sql"></param> + /// <param name="parameters"></param> + /// <returns></returns> + public virtual List<object> QueryObjectDataBySql(string sql, SugarParameter[]? parameters = null) + { + return _db.Ado.SqlQuery<object>(sql, parameters); + } + + /// <summary> + /// 鍘熺敓Sql璇彞鎵ц鎿嶄綔 + /// </summary> + /// <param name="sql"></param> + /// <param name="sqlParameters"></param> + /// <returns></returns> + public virtual int ExecuteSqlCommand(string sql, params SqlParameter[] sqlParameters) + { + return _db.Ado.ExecuteCommand(sql, sqlParameters); + } + + /// <summary> + /// 鍘熺敓Sql璇彞鏌ヨ鏁版嵁 + /// </summary> + /// <param name="sql"></param> + /// <param name="parameters"></param> + /// <returns></returns> + public virtual DataTable QueryTable(string sql, SugarParameter[]? parameters = null) + { + return _db.Ado.GetDataTable(sql, parameters); + } + + /// <summary> + /// 鏉′欢鏌ヨ鏁版嵁鎸囧畾鏁伴噺鐨勮 + /// </summary> + /// <param name="whereExpression"></param> + /// <param name="top"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + public virtual List<TEntity> QueryData(Expression<Func<TEntity, bool>> whereExpression, int top, string orderByFields) + { + return _db.Queryable<TEntity>().OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields).WhereIF(whereExpression != null, whereExpression).Take(top).ToList(); + } + + /// <summary> + /// 鏉′欢鏌ヨ鎸囧畾鏁伴噺鐨勮 + /// </summary> + /// <param name="where"></param> + /// <param name="top"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + public virtual List<TEntity> QueryData(string where, int top, string orderByFields) + { + return _db.Queryable<TEntity>().OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields).WhereIF(!string.IsNullOrEmpty(where), where).Take(top).ToList(); + } + + /// <summary> + /// 鍒嗛〉鏌ヨ + /// </summary> + /// <param name="whereExpression"></param> + /// <param name="pageIndex"></param> + /// <param name="pageSize"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + public virtual List<TEntity> QueryData(Expression<Func<TEntity, bool>> whereExpression, int pageIndex, int pageSize, string orderByFields) + { + return _db.Queryable<TEntity>().OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields) + .WhereIF(whereExpression != null, whereExpression).ToPageList(pageIndex, pageSize); + } + + /// <summary> + /// 鍒嗛〉鏌ヨ + /// </summary> + /// <param name="where"></param> + /// <param name="pageIndex"></param> + /// <param name="pageSize"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + public virtual List<TEntity> QueryData(string where, int pageIndex, int pageSize, string orderByFields) + { + return _db.Queryable<TEntity>().OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields) + .WhereIF(!string.IsNullOrEmpty(where), where).ToPageList(pageIndex, pageSize); + } + + /// <summary> + /// 鍒嗛〉鏌ヨ + /// </summary> + /// <param name="whereExpression"></param> + /// <param name="pageIndex"></param> + /// <param name="pageSize"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + public virtual PageGridData<TEntity> QueryPage(Expression<Func<TEntity, bool>> whereExpression, int pageIndex, int pageSize, string? orderByFields = null) + { + int totalCount = 0; + var list = _db.Queryable<TEntity>() + .OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields) + .WhereIF(whereExpression != null, whereExpression) + .ToPageList(pageIndex, pageSize, ref totalCount); + + return new PageGridData<TEntity> { Rows = list, Total = totalCount }; + } + + /// <summary> + /// 鍒嗛〉鏌ヨ + /// </summary> + /// <param name="whereExpression"></param> + /// <param name="pageIndex"></param> + /// <param name="pageSize"></param> + /// <param name="orderBy"></param> + /// <returns></returns> + public virtual PageGridData<TEntity> QueryPage(Expression<Func<TEntity, bool>> whereExpression, int pageIndex, int pageSize, Dictionary<string, OrderByType> orderBy) + { + List<OrderByModel> orderByModels = new List<OrderByModel>(); + foreach (var item in orderBy) + { + OrderByModel orderByModel = new OrderByModel() + { + FieldName = item.Key, + OrderByType = item.Value + }; + orderByModels.Add(orderByModel); + } + int totalCount = 0; + List<TEntity> list = _db.Queryable<TEntity>() + .OrderBy(orderByModels) + .WhereIF(whereExpression != null, whereExpression) + .ToPageList(pageIndex, pageSize, ref totalCount); + + return new PageGridData<TEntity>(totalCount, list); + } + + /// <summary> + /// 鍒嗛〉鏌ヨ + /// </summary> + /// <param name="where"></param> + /// <param name="pageIndex"></param> + /// <param name="pageSize"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + public virtual PageGridData<TEntity> QueryPage(string where, int pageIndex, int pageSize, Dictionary<string, OrderByType> orderBy) + { + List<OrderByModel> orderByModels = new List<OrderByModel>(); + foreach (var item in orderBy) + { + OrderByModel orderByModel = new OrderByModel() + { + FieldName = item.Key, + OrderByType = item.Value + }; + orderByModels.Add(orderByModel); + } + int totalCount = 0; + List<TEntity> list = _db.Queryable<TEntity>() + .WhereIF(!string.IsNullOrEmpty(where), where).OrderBy(orderByModels).ToPageList(pageIndex, pageSize, ref totalCount); + + return new PageGridData<TEntity>(totalCount, list); + } + + /// <summary> + /// 涓よ〃鑱旀煡 + /// </summary> + /// <typeparam name="T"></typeparam> + /// <typeparam name="T2"></typeparam> + /// <typeparam name="TResult"></typeparam> + /// <param name="joinExpression"></param> + /// <param name="selectExpression"></param> + /// <param name="whereExpression"></param> + /// <returns></returns> + public virtual List<TResult> QueryTabs<T, T2, TResult>( + Expression<Func<T, T2, object[]>> joinExpression, + Expression<Func<T, T2, TResult>> selectExpression, + Expression<Func<T, T2, bool>> whereExpressionT1, + Expression<Func<TResult, bool>> whereExpression) + { + List<TResult> list = _db.Queryable(joinExpression).WhereIF(whereExpressionT1 != null, whereExpressionT1) + .Select(selectExpression) + .WhereIF(whereExpression != null, whereExpression).ToList(); + return list; + } + + public virtual List<TResult> QueryTabs<T, T2, TResult>( + Expression<Func<T, T2, bool>> joinExpression, + Expression<Func<T, T2, TResult>> selectExpression, + Expression<Func<T, bool>> whereExpressionT1, + Expression<Func<T2, bool>> whereExpressionT2, + Expression<Func<TResult, bool>> whereExpression) + { + List<TResult> list = _db.Queryable<T>().WhereIF(whereExpressionT1 != null, whereExpressionT1).InnerJoin(_db.Queryable<T2>().WhereIF(whereExpressionT2 != null, whereExpressionT2), joinExpression).Select(selectExpression) + .WhereIF(whereExpression != null, whereExpression).ToList(); + return list; + } + + /// <summary> + /// 涓よ〃鑱旀煡-鍒嗛〉 + /// </summary> + /// <typeparam name="T1"></typeparam> + /// <typeparam name="T2"></typeparam> + /// <typeparam name="TResult"></typeparam> + /// <param name="joinExpression"></param> + /// <param name="selectExpression"></param> + /// <param name="whereExpression"></param> + /// <param name="pageIndex"></param> + /// <param name="pageSize"></param> + /// <param name="orderByFields"></param> + public virtual PageGridData<TResult> QueryTabsPage<T1, T2, TResult>(Expression<Func<T1, T2, object[]>> joinExpression, Expression<Func<T1, T2, TResult>> selectExpression, Expression<Func<TResult, bool>> whereExpression, int pageIndex, int pageSize, string? orderByFields = null) + { + int totalCount = 0; + List<TResult> list = _db.Queryable(joinExpression) + .Select(selectExpression) + .OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields) + .WhereIF(whereExpression != null, whereExpression) + .ToPageList(pageIndex, pageSize, ref totalCount); + return new PageGridData<TResult>(totalCount, list); + } + + /// <summary> + /// 涓よ〃鑱斿悎鏌ヨ-鍒嗛〉-鍒嗙粍 + /// </summary> + /// <typeparam name="T"></typeparam> + /// <typeparam name="T2"></typeparam> + /// <typeparam name="TResult"></typeparam> + /// <param name="joinExpression"></param> + /// <param name="selectExpression"></param> + /// <param name="whereExpression"></param> + /// <param name="groupExpression"></param> + /// <param name="pageIndex"></param> + /// <param name="pageSize"></param> + /// <param name="orderByFields"></param> + /// <returns></returns> + public virtual PageGridData<TResult> QueryTabsPage<T1, T2, TResult>(Expression<Func<T1, T2, object[]>> joinExpression, Expression<Func<T1, T2, TResult>> selectExpression, Expression<Func<TResult, bool>> whereExpression, Expression<Func<T1, object>> groupExpression, int pageIndex, int pageSize, string? orderByFields = null) + { + int totalCount = 0; + List<TResult> list = _db.Queryable(joinExpression).GroupBy(groupExpression) + .Select(selectExpression) + .OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields) + .WhereIF(whereExpression != null, whereExpression) + .ToPageList(pageIndex, pageSize, ref totalCount); + return new PageGridData<TResult>(totalCount, list); + } + + public Task<TEntity> QureyDataByIdAsync(object id) + { + return _db.Queryable<TEntity>().In(id).SingleAsync(); + } + + public Task<List<TEntity>> QureyDataByIdsAsync(object[] lstIds) + { + return _db.Queryable<TEntity>().In(lstIds).ToListAsync(); + } + + public Task<List<TEntity>> QureyDataByIdsAsync(List<object> lstIds) + { + return _db.Queryable<TEntity>().In(lstIds).ToListAsync(); + } + + public Task<int> AddDataAsync(TEntity entity) + { + IInsertable<TEntity> insert = _db.Insertable(entity); + return insert.ExecuteReturnIdentityAsync(); + } + + public Task<int> AddDataAsync(List<TEntity> listEntity) + { + IInsertable<TEntity> insert = _db.Insertable(listEntity); + return insert.ExecuteReturnIdentityAsync(); + } + + public Task<bool> DeleteDataByIdAsync(object id) + { + return _db.Deleteable<TEntity>().In(id).ExecuteCommandHasChangeAsync(); + } + + public Task<bool> DeleteDataByIdsAsync(object[] ids) + { + return _db.Deleteable<TEntity>().In(ids).ExecuteCommandHasChangeAsync(); + } + + public Task<bool> DeleteDataAsync(TEntity entity) + { + return _db.Deleteable(entity).ExecuteCommandHasChangeAsync(); + } + + public Task<bool> DeleteDataAsync(List<TEntity> listEntity) + { + return _db.Deleteable(listEntity).ExecuteCommandHasChangeAsync(); + } + + public Task<bool> UpdateDataAsync(TEntity entity) + { + return _db.Updateable(entity).ExecuteCommandHasChangeAsync(); + } + + public Task<bool> UpdateDataAsync(List<TEntity> listEntity) + { + return _db.Updateable(listEntity).ExecuteCommandHasChangeAsync(); + } + + public Task<bool> UpdateDataAsync(TEntity entity, List<string> lstColumns, List<string>? lstIgnoreColumns = null) + { + IUpdateable<TEntity> update = _db.Updateable(entity); + + if (lstIgnoreColumns != null && lstIgnoreColumns.Count > 0) + { + update = update.IgnoreColumns(lstIgnoreColumns.ToArray()); + } + + if (lstColumns != null && lstColumns.Count > 0) + { + update = update.UpdateColumns(lstColumns.ToArray()); + } + + return update.ExecuteCommandHasChangeAsync(); + } + + public Task<List<TEntity>> QueryDataAsync() + { + return _db.Queryable<TEntity>().ToListAsync(); + } + + public Task<List<TEntity>> QueryDataAsync(string where) + { + return _db.Queryable<TEntity>().WhereIF(!string.IsNullOrEmpty(where), where).ToListAsync(); + } + + public Task<List<TEntity>> QueryDataAsync(Expression<Func<TEntity, bool>> whereExpression) + { + return _db.Queryable<TEntity>().WhereIF(whereExpression != null, whereExpression).ToListAsync(); + } + + public Task<TEntity> QueryFirstAsync(Expression<Func<TEntity, bool>> whereExpression) + { + return _db.Queryable<TEntity>().WhereIF(whereExpression != null, whereExpression).FirstAsync(); + } + + public Task<TResult> QueryFirstAsync<TResult>(Expression<Func<TEntity, bool>> whereExpression, Expression<Func<TEntity, TResult>> expression) + { + return _db.Queryable<TEntity>().WhereIF(whereExpression != null, whereExpression).Select(expression).FirstAsync(); + } + + public TResult QueryFirst<TResult>(Expression<Func<TEntity, bool>> whereExpression, Expression<Func<TEntity, TResult>> expression, Dictionary<string, OrderByType> orderBy) + { + List<OrderByModel> orderByModels = new List<OrderByModel>(); + foreach (var item in orderBy) + { + OrderByModel orderByModel = new OrderByModel() + { + FieldName = item.Key, + OrderByType = item.Value + }; + orderByModels.Add(orderByModel); + } + return _db.Queryable<TEntity>().WhereIF(whereExpression != null, whereExpression).OrderBy(orderByModels).Select(expression).First(); + } + + public Task<TResult> QueryFirstAsync<TResult>(Expression<Func<TEntity, bool>> whereExpression, Expression<Func<TEntity, TResult>> expression, Dictionary<string, OrderByType> orderBy) + { + List<OrderByModel> orderByModels = new List<OrderByModel>(); + foreach (var item in orderBy) + { + OrderByModel orderByModel = new OrderByModel() + { + FieldName = item.Key, + OrderByType = item.Value + }; + orderByModels.Add(orderByModel); + } + return _db.Queryable<TEntity>().WhereIF(whereExpression != null, whereExpression).OrderBy(orderByModels).Select(expression).FirstAsync(); + } + + public TEntity QueryFirst(Expression<Func<TEntity, bool>> whereExpression, Dictionary<string, OrderByType> orderBy) + { + List<OrderByModel> orderByModels = new List<OrderByModel>(); + foreach (var item in orderBy) + { + OrderByModel orderByModel = new OrderByModel() + { + FieldName = item.Key, + OrderByType = item.Value + }; + orderByModels.Add(orderByModel); + } + return _db.Queryable<TEntity>().WhereIF(whereExpression != null, whereExpression).OrderBy(orderByModels).First(); + } + + public Task<TEntity> QueryFirstAsync(Expression<Func<TEntity, bool>> whereExpression, Dictionary<string, OrderByType> orderBy) + { + List<OrderByModel> orderByModels = new List<OrderByModel>(); + foreach (var item in orderBy) + { + OrderByModel orderByModel = new OrderByModel() + { + FieldName = item.Key, + OrderByType = item.Value + }; + orderByModels.Add(orderByModel); + } + return _db.Queryable<TEntity>().WhereIF(whereExpression != null, whereExpression).OrderBy(orderByModels).FirstAsync(); + } + + public Task<List<TEntity>> QueryDataAsync(Expression<Func<TEntity, bool>> whereExpression, string orderByFields) + { + return _db.Queryable<TEntity>().WhereIF(whereExpression != null, whereExpression).OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields).ToListAsync(); + } + + public Task<List<TEntity>> QueryDataAsync(string where, Dictionary<string, OrderByType> orderBy) + { + List<OrderByModel> orderByModels = new List<OrderByModel>(); + foreach (var item in orderBy) + { + OrderByModel orderByModel = new OrderByModel() + { + FieldName = item.Key, + OrderByType = item.Value + }; + orderByModels.Add(orderByModel); + } + return _db.Queryable<TEntity>().WhereIF(!string.IsNullOrEmpty(where), where).OrderBy(orderByModels).ToListAsync(); + } + + public Task<List<TResult>> QueryDataAsync<TResult>(Expression<Func<TEntity, TResult>> expression) + { + return _db.Queryable<TEntity>().Select(expression).ToListAsync(); + } + + public Task<List<TResult>> QueryDataAsync<TResult>(Expression<Func<TEntity, TResult>> expression, Expression<Func<TEntity, bool>> whereExpression, string orderByFields) + { + return _db.Queryable<TEntity>().OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields).WhereIF(whereExpression != null, whereExpression).Select(expression).ToListAsync(); + } + + public Task<List<TEntity>> QueryDataAsync(Expression<Func<TEntity, bool>> whereExpression, Expression<Func<TEntity, object>> orderByExpression, bool isAsc = true) + { + return _db.Queryable<TEntity>().OrderByIF(orderByExpression != null, orderByExpression, isAsc ? OrderByType.Asc : OrderByType.Desc).WhereIF(whereExpression != null, whereExpression).ToListAsync(); + } + + public Task<List<TEntity>> QueryDataAsync(string where, string orderByFields) + { + return _db.Queryable<TEntity>().OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields).WhereIF(!string.IsNullOrEmpty(where), where).ToListAsync(); + } + + public Task<List<TEntity>> QueryDataBySqlAsync(string sql, SugarParameter[]? parameters = null) + { + return _db.Ado.SqlQueryAsync<TEntity>(sql, parameters); + } + + public Task<List<dynamic>> QueryDynamicDataBySqlAsync(string sql, SugarParameter[]? parameters = null) + { + return _db.Ado.SqlQueryAsync<dynamic>(sql, parameters); + } + + public Task<List<object>> QueryObjectDataBySqlAsync(string sql, SugarParameter[]? parameters = null) + { + return _db.Ado.SqlQueryAsync<object>(sql, parameters); + } + + public Task<int> ExecuteSqlCommandAsync(string sql, params SqlParameter[] sqlParameters) + { + return _db.Ado.ExecuteCommandAsync(sql, sqlParameters); + } + + public Task<DataTable> QueryTableAsync(string sql, SugarParameter[]? parameters = null) + { + return _db.Ado.GetDataTableAsync(sql, parameters); + } + + public Task<List<TEntity>> QueryDataAsync(Expression<Func<TEntity, bool>> whereExpression, int top, string orderByFields) + { + return _db.Queryable<TEntity>().OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields).WhereIF(whereExpression != null, whereExpression).Take(top).ToListAsync(); + } + + public Task<List<TEntity>> QueryDataAsync(string where, int top, string orderByFields) + { + return _db.Queryable<TEntity>().OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields).WhereIF(!string.IsNullOrEmpty(where), where).Take(top).ToListAsync(); + } + + public Task<List<TEntity>> QueryDataAsync(Expression<Func<TEntity, bool>> whereExpression, int pageIndex, int pageSize, string orderByFields) + { + return _db.Queryable<TEntity>().OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields) + .WhereIF(whereExpression != null, whereExpression).ToPageListAsync(pageIndex, pageSize); + } + + public Task<List<TEntity>> QueryDataAsync(string where, int pageIndex, int pageSize, string orderByFields) + { + return _db.Queryable<TEntity>().OrderByIF(!string.IsNullOrEmpty(orderByFields), orderByFields) + .WhereIF(!string.IsNullOrEmpty(where), where).ToPageListAsync(pageIndex, pageSize); + } + + public Task<List<TResult>> QueryTabsAsync<T, T2, TResult>(Expression<Func<T, T2, object[]>> joinExpression, Expression<Func<T, T2, TResult>> selectExpression, Expression<Func<TResult, bool>> whereExpression) + { + return _db.Queryable(joinExpression) + .Select(selectExpression) + .WhereIF(whereExpression != null, whereExpression).ToListAsync(); + } + + public bool DeleteAndMoveIntoHty(TEntity entity, OperateTypeEnum operateType) + { + Type type = entity.GetType(); + Assembly assembly = type.Assembly; + Type? htyType = assembly.GetType(type.FullName + "_Hty"); + if (htyType != null) + { + object? obj = Activator.CreateInstance(htyType); + PropertyInfo keyPro = typeof(TEntity).GetKeyProperty(); + PropertyInfo? operateTypePro = htyType.GetProperty(nameof(IBaseHistoryEntity.OperateType)); + PropertyInfo? sourceIdPro = htyType.GetProperty(nameof(IBaseHistoryEntity.SourceId)); + if (obj != null && keyPro != null && operateTypePro != null && sourceIdPro != null) + { + operateTypePro.SetValue(obj, operateType.ToString()); + sourceIdPro.SetValue(obj, keyPro.GetValue(entity)); + + List<PropertyInfo> propertyInfos = htyType.GetProperties().Where(x => x.Name != operateTypePro.Name && x.Name != sourceIdPro.Name && x.Name != keyPro.Name).ToList(); + + for (int i = 0; i < propertyInfos.Count; i++) + { + PropertyInfo propertyInfo = propertyInfos[i]; + PropertyInfo? property = type.GetProperty(propertyInfo.Name); + + if (property != null) + { + if (propertyInfo.Name == nameof(BaseEntity.Modifier)) + { + propertyInfo.SetValue(obj, App.User.UserId > 0 ? App.User.UserName : "System"); + } + else if (propertyInfo.Name == nameof(BaseEntity.ModifyDate)) + { + propertyInfo.SetValue(obj, DateTime.Now); + } + else + { + propertyInfo.SetValue(obj, property.GetValue(entity)); + } + } + } + if (obj != null) + _db.InsertableByObject(obj).AS(type.Name + "_Hty").ExecuteCommand(); + } + } + return DeleteData(entity); + } + + public bool DeleteAndMoveIntoHty(List<TEntity> entities, OperateTypeEnum operateType) + { + Type type = typeof(TEntity); + Assembly assembly = type.Assembly; + Type? htyType = assembly.GetType(type.FullName + "_Hty"); + if (htyType != null) + { + object? obj2 = Activator.CreateInstance(htyType); + PropertyInfo keyPro = typeof(TEntity).GetKeyProperty(); + PropertyInfo? operateTypePro = htyType.GetProperty(nameof(IBaseHistoryEntity.OperateType)); + PropertyInfo? sourceIdPro = htyType.GetProperty(nameof(IBaseHistoryEntity.SourceId)); + if (obj2 != null && keyPro != null && operateTypePro != null && sourceIdPro != null) + { + List<PropertyInfo> propertyInfos = htyType.GetProperties().Where(x => x.Name != operateTypePro.Name && x.Name != sourceIdPro.Name && x.Name != keyPro.Name).ToList(); + List<object> list = new List<object>(); + foreach (var item in entities) + { + object? obj = Activator.CreateInstance(htyType); + if (obj != null) + { + operateTypePro.SetValue(obj, operateType.ToString()); + sourceIdPro.SetValue(obj, keyPro.GetValue(item)); + for (int i = 0; i < propertyInfos.Count; i++) + { + PropertyInfo propertyInfo = propertyInfos[i]; + PropertyInfo? property = type.GetProperty(propertyInfo.Name); + + if (property != null) + { + if (propertyInfo.Name == nameof(BaseEntity.Modifier)) + { + propertyInfo.SetValue(obj, App.User.UserId > 0 ? App.User.UserName : "System"); + } + else if (propertyInfo.Name == nameof(BaseEntity.ModifyDate)) + { + propertyInfo.SetValue(obj, DateTime.Now); + } + else + { + propertyInfo.SetValue(obj, property.GetValue(item)); + } + } + } + list.Add(obj); + } + } + if (list.Count > 0) + _db.InsertableByObject(list).AS(type.Name + "_Hty").ExecuteCommand(); + + } + } + return DeleteData(entities); + } + //List<TResult> QueryMuch<T, T2, T3, TResult>( + // Expression<Func<T, T2, T3, object[]>> joinExpression, + // Expression<Func<T, T2, T3, TResult>> selectExpression, + // Expression<Func<T, T2, T3, bool>> whereLambda = null) where T : class, new(){throw new NotImplementedException();} + //Task<PageModel<TEntity>> QueryPage(PaginationModel pagination){throw new NotImplementedException();} + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/UnitOfWorks/IUnitOfWorkManage.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/UnitOfWorks/IUnitOfWorkManage.cs" new file mode 100644 index 0000000..7d715d8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/UnitOfWorks/IUnitOfWorkManage.cs" @@ -0,0 +1,25 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.BaseRepository +{ + public interface IUnitOfWorkManage + { + SqlSugarClient GetDbClient(); + int TranCount { get; } + + UnitOfWork CreateUnitOfWork(); + + void BeginTran(); + void BeginTran(MethodInfo method); + void CommitTran(); + void CommitTran(MethodInfo method); + void RollbackTran(); + void RollbackTran(MethodInfo method); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/UnitOfWorks/UnitOfWork.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/UnitOfWorks/UnitOfWork.cs" new file mode 100644 index 0000000..d4ca76b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/UnitOfWorks/UnitOfWork.cs" @@ -0,0 +1,55 @@ +锘縰sing Microsoft.Extensions.Logging; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.BaseRepository +{ + public class UnitOfWork : IDisposable + { + public ILogger Logger { get; set; } + public ISqlSugarClient Db { get; internal set; } + + public ITenant Tenant { get; internal set; } + + public bool IsTran { get; internal set; } + + public bool IsCommit { get; internal set; } + + public bool IsClose { get; internal set; } + + public void Dispose() + { + if (IsTran && !IsCommit) + { + Logger.LogDebug("UnitOfWork RollbackTran"); + this.Tenant.RollbackTran(); + } + + if (this.Db.Ado.Transaction != null || this.IsClose) + return; + this.Db.Close(); + } + + public bool Commit() + { + if (this.IsTran && !this.IsCommit) + { + Logger.LogDebug("UnitOfWork CommitTran"); + this.Tenant.CommitTran(); + this.IsCommit = true; + } + + if (this.Db.Ado.Transaction == null && !this.IsClose) + { + this.Db.Close(); + this.IsClose = true; + } + + return this.IsCommit; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/UnitOfWorks/UnitOfWorkManage.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/UnitOfWorks/UnitOfWorkManage.cs" new file mode 100644 index 0000000..81607a6 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/UnitOfWorks/UnitOfWorkManage.cs" @@ -0,0 +1,194 @@ +锘縰sing Microsoft.Extensions.Logging; +using SqlSugar; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.BaseRepository +{ + public class UnitOfWorkManage : IUnitOfWorkManage + { + private readonly ILogger<UnitOfWorkManage> _logger; + private readonly ISqlSugarClient _sqlSugarClient; + + private int _tranCount { get; set; } + public int TranCount => _tranCount; + public readonly ConcurrentStack<string> TranStack = new(); + + public UnitOfWorkManage(ISqlSugarClient sqlSugarClient, ILogger<UnitOfWorkManage> logger) + { + _sqlSugarClient = sqlSugarClient; + _logger = logger; + _tranCount = 0; + } + + /// <summary> + /// 鑾峰彇DB锛屼繚璇佸敮涓�鎬� + /// </summary> + /// <returns></returns> + public SqlSugarClient GetDbClient() + { + // 蹇呴』瑕乤s锛屽悗杈逛細鐢ㄥ埌鍒囨崲鏁版嵁搴撴搷浣� + return _sqlSugarClient as SqlSugarClient; + } + + + public UnitOfWork CreateUnitOfWork() + { + UnitOfWork uow = new UnitOfWork(); + uow.Logger = _logger; + uow.Db = _sqlSugarClient; + uow.Tenant = (ITenant)_sqlSugarClient; + uow.IsTran = true; + + uow.Db.Open(); + uow.Tenant.BeginTran(); + + _logger.LogDebug("UnitOfWork Begin"); + return uow; + } + + public void BeginTran() + { + lock (this) + { + _tranCount++; + GetDbClient().BeginTran(); + } + } + + public void BeginTran(MethodInfo method) + { + lock (this) + { + GetDbClient().BeginTran(); + TranStack.Push(method.GetFullName()); + _tranCount = TranStack.Count; + } + } + + public WebResponseContent BeginTran(Func<WebResponseContent> func) + { + lock (this) + { + BeginTran(); + try + { + WebResponseContent content = func(); + if (content.Status) + { + CommitTran(); + } + else + { + RollbackTran(); + } + return content; + } + catch(Exception ex) + { + RollbackTran(); + return WebResponseContent.Instance.Error(ex.Message); + } + } + } + + public void CommitTran() + { + lock (this) + { + _tranCount--; + if (_tranCount == 0) + { + try + { + GetDbClient().CommitTran(); + } + catch (Exception ex) + { + Console.WriteLine(ex.Message); + GetDbClient().RollbackTran(); + } + } + } + } + + public void CommitTran(MethodInfo method) + { + lock (this) + { + string result = ""; + while (!TranStack.IsEmpty && !TranStack.TryPeek(out result)) + { + Thread.Sleep(1); + } + + + if (result == method.GetFullName()) + { + try + { + GetDbClient().CommitTran(); + + _logger.LogDebug($"Commit Transaction"); + Console.WriteLine($"Commit Transaction"); + } + catch (Exception ex) + { + Console.WriteLine(ex.Message); + GetDbClient().RollbackTran(); + _logger.LogDebug($"Commit Error , Rollback Transaction"); + } + finally + { + while (!TranStack.TryPop(out _)) + { + Thread.Sleep(1); + } + + _tranCount = TranStack.Count; + } + } + } + } + + public void RollbackTran() + { + lock (this) + { + _tranCount--; + GetDbClient().RollbackTran(); + } + } + + public void RollbackTran(MethodInfo method) + { + lock (this) + { + string result = ""; + while (!TranStack.IsEmpty && !TranStack.TryPeek(out result)) + { + Thread.Sleep(1); + } + + if (result == method.GetFullName()) + { + GetDbClient().RollbackTran(); + _logger.LogDebug($"Rollback Transaction"); + Console.WriteLine($"Rollback Transaction"); + while (!TranStack.TryPop(out _)) + { + Thread.Sleep(1); + } + + _tranCount = TranStack.Count; + } + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/IService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/IService.cs" new file mode 100644 index 0000000..a5cb22c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/IService.cs" @@ -0,0 +1,123 @@ +锘縰sing Microsoft.AspNetCore.Http; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.BaseServices +{ + public interface IService<TEntity> : IDependency where TEntity : class, new() + { + ISqlSugarClient Db { get; } + + /// <summary> + /// 鍒嗛〉鏌ヨ鏁版嵁 + /// </summary> + /// <param name="options"></param> + /// <returns></returns> + PageGridData<TEntity> GetPageData(PageDataOptions options); + + object GetDetailPage(PageDataOptions pageData); + + /// <summary> + /// 娣诲姞鏁版嵁 + /// </summary> + /// <param name="entity">鍗曚釜瀹炰綋</param> + /// <returns></returns> + WebResponseContent AddData(TEntity entity); + + /// <summary> + /// 娣诲姞鏁版嵁 + /// </summary> + /// <param name="entities">瀹炰綋闆嗗悎</param> + /// <returns></returns> + WebResponseContent AddData(List<TEntity> entities); + + /// <summary> + /// 娣诲姞鏁版嵁 + /// </summary> + /// <param name="saveModel"></param> + /// <returns></returns> + WebResponseContent AddData(SaveModel saveModel); + + /// <summary> + /// 淇敼鏁版嵁 + /// </summary> + /// <param name="entity">鍗曚釜瀹炰綋</param> + /// <returns></returns> + WebResponseContent UpdateData(TEntity entity); + + /// <summary> + /// 淇敼鏁版嵁 + /// </summary> + /// <param name="entities">瀹炰綋闆嗗悎</param> + /// <returns></returns> + WebResponseContent UpdateData(List<TEntity> entities); + + /// <summary> + /// 淇敼鏁版嵁 + /// </summary> + /// <param name="saveModel"></param> + /// <returns></returns> + WebResponseContent UpdateData(SaveModel saveModel); + + /// <summary> + /// 鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="key">涓婚敭</param> + /// <returns></returns> + WebResponseContent DeleteData(object key); + + /// <summary> + /// 鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="keys">涓婚敭鏁扮粍</param> + /// <returns></returns> + WebResponseContent DeleteData(object[] keys); + + /// <summary> + /// 鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="entity">鍗曚釜瀹炰綋</param> + /// <returns></returns> + WebResponseContent DeleteData(TEntity entity); + + /// <summary> + /// 鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="entities">瀹炰綋闆嗗悎</param> + /// <returns></returns> + WebResponseContent DeleteData(List<TEntity> entities); + + /// <summary> + /// 瀵煎嚭鏁版嵁 + /// </summary> + /// <param name="pageData"></param> + /// <returns></returns> + WebResponseContent Export(PageDataOptions pageData); + + /// <summary> + /// 瀵煎叆鏁版嵁 + /// </summary> + /// <param name="files"></param> + /// <returns></returns> + WebResponseContent Import(List<IFormFile> files); + + /// <summary> + /// 涓婁紶鏂囦欢 + /// </summary> + /// <param name="files"></param> + /// <returns></returns> + WebResponseContent Upload(List<IFormFile> files); + + /// <summary> + /// 妯℃澘涓嬭浇 + /// </summary> + /// <returns></returns> + WebResponseContent DownLoadTemplate(); + + WebResponseContent ExportSeedData(); + } +} \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/ServiceBase.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/ServiceBase.cs" new file mode 100644 index 0000000..6b3275f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/ServiceBase.cs" @@ -0,0 +1,923 @@ +锘縰sing AutoMapper.Execution; +using Magicodes.ExporterAndImporter.Core; +using Magicodes.ExporterAndImporter.Core.Models; +using Magicodes.ExporterAndImporter.Excel; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.RazorPages; +using Microsoft.Extensions.Options; +using Newtonsoft.Json; +using SqlSugar; +using System.Drawing.Drawing2D; +using System.Dynamic; +using System.Linq.Expressions; +using System.Reflection; +using System.Reflection.Metadata; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.Const; +using WIDESEA_Core.DB.Models; +using WIDESEA_Core.Enums; +using WIDESEA_Core.Helper; +//using WIDESEA_Core.HostedService; +using WIDESEA_Core.Utilities; +using ICacheService = WIDESEA_Core.Caches.ICacheService; + +namespace WIDESEA_Core.BaseServices +{ + public class ServiceBase<TEntity, TRepository> : ServiceFunFilter<TEntity>, IService<TEntity> + where TEntity : class, new() + where TRepository : IRepository<TEntity> + + { + public ServiceBase(TRepository BaseDal) + { + this.BaseDal = BaseDal; + } + + public TRepository BaseDal { get; set; } //閫氳繃鍦ㄥ瓙绫荤殑鏋勯�犲嚱鏁颁腑娉ㄥ叆锛岃繖閲屾槸鍩虹被锛屼笉鐢ㄦ瀯閫犲嚱鏁� + + public ISqlSugarClient Db => BaseDal.Db; + + private PropertyInfo[] _propertyInfo { get; set; } = null; + public PropertyInfo[] TProperties + { + get + { + if (_propertyInfo != null) + { + return _propertyInfo; + } + _propertyInfo = typeof(TEntity).GetProperties(); + return _propertyInfo; + } + } + + public virtual PageGridData<TEntity> GetPageData(PageDataOptions options) + { + ISugarQueryable<TEntity> sugarQueryable = Db.Queryable<TEntity>(); + + ValidatePageOptions(options, ref sugarQueryable); + + List<OrderByModel> orderByModels = new List<OrderByModel>(); + + if (OrderByParameters != null) + { + foreach (var item in OrderByParameters) + { + OrderByModel orderByModel = new OrderByModel() + { + FieldName = item.Key, + OrderByType = item.Value + }; + orderByModels.Add(orderByModel); + } + } + if (EnableWebOrderBy) + { + //鑾峰彇鎺掑簭瀛楁 + Dictionary<string, OrderByType> orderbyDic = GetPageDataSort(options, TProperties); + + foreach (var item in orderbyDic) + { + OrderByModel orderByModel = new OrderByModel() + { + FieldName = item.Key, + OrderByType = item.Value + }; + orderByModels.Add(orderByModel); + } + } + + int total = 0; + PageGridData<TEntity> pageGridData = new PageGridData<TEntity>(); + sugarQueryable = sugarQueryable.OrderBy(orderByModels); + pageGridData.Rows = sugarQueryable.ToPageList(options.Page, options.Rows, ref total); + pageGridData.Total = total; + + return pageGridData; + } + + protected void ValidatePageOptions(PageDataOptions options, ref ISugarQueryable<TEntity> sugarQueryable) + { + options = options ?? new PageDataOptions(); + List<SearchParameters> searchParametersList = new List<SearchParameters>(); + if (options.Filter != null && options.Filter.Count > 0) + { + searchParametersList.AddRange(options.Filter); + } + else if (!string.IsNullOrEmpty(options.Wheres)) + { + try + { + searchParametersList = options.Wheres.DeserializeObject<List<SearchParameters>>(); + options.Filter = searchParametersList; + } + catch { } + } + QueryRelativeList?.Invoke(searchParametersList); + + for (int i = 0; i < searchParametersList.Count; i++) + { + if (string.IsNullOrEmpty(searchParametersList[i].Value)) + { + continue; + } + + PropertyInfo? property = TProperties.Where(c => c.Name.ToUpper() == searchParametersList[i].Name.ToUpper()).FirstOrDefault(); + + if (property == null) continue; + + List<(bool, string, object)> results = property.ValidationValueForDbType(searchParametersList[i].Value.Split(',')).ToList(); + if (results == null || results.Count() == 0) + { + continue; + } + for (int j = 0; j < results.Count(); j++) + { + LinqExpressionType expressionType = searchParametersList[i].DisplayType.ToLower().GetLinqCondition(); + if (expressionType == LinqExpressionType.In) + { + Expression<Func<TEntity, bool>> expression = GetWhereExpression(property.Name, results.Select(x => x.Item3).ToArray(), null, expressionType); + sugarQueryable = sugarQueryable.Where(expression); + break; + } + else + { + Expression<Func<TEntity, bool>> expression = GetWhereExpression(property.Name, results[j].Item3, null, expressionType); + sugarQueryable = sugarQueryable.Where(expression); + } + } + } + } + + protected Expression<Func<TEntity, bool>> GetWhereExpression(string propertyName, object propertyValue, ParameterExpression parameter, LinqExpressionType expressionType) + { + Type? proType = typeof(TEntity).GetProperty(propertyName)?.PropertyType; + if (proType == null) return p => true; + if (propertyValue == null) return p => true; + string? value = propertyValue?.ToString(); + if (value == null) return p => true; + + + parameter = parameter ?? Expression.Parameter(typeof(TEntity), "x"); + //鍒涘缓鑺傜偣鐨勫睘鎬=>p.name 灞炴�ame + MemberExpression memberProperty = Expression.PropertyOrField(parameter, propertyName); + + if (expressionType == LinqExpressionType.In) + { + if (!(propertyValue is System.Collections.IList list) || list.Count == 0) + { + if (!string.IsNullOrEmpty(propertyValue?.ToString())) + { + list = propertyValue.ToString().Split(",").ToList(); + } + else + { + throw new Exception("灞炴�у�肩被鍨嬩笉姝g‘"); + } + } + // + + bool isStringValue = true; + List<object> objList = new List<object>(); + + if (proType.ToString() != "System.String") + { + isStringValue = false; + foreach (var values in list) + { + objList.Add(values?.ToString().ChangeType(proType)); + } + list = objList; + } + + //if (isStringValue) + //{ + // //string 绫诲瀷鐨勫瓧娈碉紝濡傛灉鍊煎甫鏈�'鍗曞紩鍙�,EF浼氶粯璁ゅ彉鎴�''涓や釜鍗曞紩鍙� + // MethodInfo method = typeof(System.Collections.IList).GetMethod("Contains"); + // //鍒涘缓闆嗗悎甯搁噺骞惰缃负甯搁噺鐨勫�� + // ConstantExpression constantCollection = Expression.Constant(list); + // //鍒涘缓涓�涓〃绀鸿皟鐢ㄥ甫鍙傛暟鐨勬柟娉曠殑锛歯ew string[]{"1","a"}.Contains("a"); + // MethodCallExpression methodCall = Expression.Call(constantCollection, method, memberProperty); + // return Expression.Lambda<Func<TEntity, bool>>(methodCall, parameter); + //} + //闈瀞tring瀛楁锛屾寜涓婇潰鏂瑰紡澶勭悊鎶ュ紓甯窷ull TypeMapping in Sql Tree + BinaryExpression body = null; + foreach (var values in list) + { + ConstantExpression constantExpression = Expression.Constant(values); + UnaryExpression unaryExpression = Expression.Convert(memberProperty, constantExpression.Type); + + body = body == null + ? Expression.Equal(unaryExpression, constantExpression) + : Expression.OrElse(body, Expression.Equal(unaryExpression, constantExpression)); + } + return Expression.Lambda<Func<TEntity, bool>>(body, parameter); + } + + ConstantExpression constant = proType.ToString() == "System.String" + ? Expression.Constant(propertyValue) : Expression.Constant(value.ChangeType(proType)); + + // DateTime鍙�夋嫨浜嗘棩鏈熺殑鏃跺�欒嚜鍔ㄥ湪缁撴潫鏃ユ湡鍔犱竴澶╋紝淇DateTime绫诲瀷浣跨敤鏃ユ湡鍖洪棿鏌ヨ鏃犳硶鏌ヨ鍒扮粨鏉熸棩鏈熺殑闂 + if ((proType == typeof(DateTime) || proType == typeof(DateTime?)) && expressionType == LinqExpressionType.LessThanOrEqual && value.Length == 10) + { + constant = Expression.Constant(Convert.ToDateTime(value).AddDays(1)); + } + + UnaryExpression member = Expression.Convert(memberProperty, constant.Type); + Expression<Func<TEntity, bool>> expression = p => false; + switch (expressionType) + { + case LinqExpressionType.Equal: + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.Equal(member, constant), parameter); + break; + case LinqExpressionType.NotEqual: + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.NotEqual(member, constant), parameter); + break; + case LinqExpressionType.GreaterThan: + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.GreaterThan(member, constant), parameter); + break; + case LinqExpressionType.LessThan: + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.LessThan(member, constant), parameter); + break; + case LinqExpressionType.ThanOrEqual: + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.GreaterThanOrEqual(member, constant), parameter); + break; + case LinqExpressionType.LessThanOrEqual: + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.LessThanOrEqual(member, constant), parameter); + break; + case LinqExpressionType.Contains: + case LinqExpressionType.NotContains: + MethodInfo? method = typeof(string).GetMethod("Contains", new[] { typeof(string) }); + if (method != null) + { + constant = Expression.Constant(propertyValue, typeof(string)); + if (expressionType == LinqExpressionType.Contains) + { + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.Call(member, method, constant), parameter); + } + else + { + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.Not(Expression.Call(member, method, constant)), parameter); + } + } + else + { + expression = p => true; + } + break; + default: + expression = p => false; + break; + } + return expression; + } + + /// <summary> + /// 鑾峰彇鎺掑簭瀛楁 + /// </summary> + /// <param name="pageData"></param> + /// <param name="propertyInfo"></param> + /// <returns></returns> + protected Dictionary<string, OrderByType> GetPageDataSort(PageDataOptions pageData, PropertyInfo[] propertyInfo) + { + if (!string.IsNullOrEmpty(pageData.Sort)) + { + if (pageData.Sort.Contains(",")) + { + List<string> sortArr = pageData.Sort.Split(",").Where(x => propertyInfo.Any(p => p.Name == x)).ToList(); + Dictionary<string, OrderByType> sortDic = new Dictionary<string, OrderByType>(); + foreach (var item in sortArr) + { + sortDic[item] = pageData.Order?.ToLower() == OrderByType.Asc.ToString() ? OrderByType.Asc : OrderByType.Desc; + } + return sortDic; + } + else if (propertyInfo.Any(x => x.Name == pageData.Sort.FirstLetterToLower() || x.Name == pageData.Sort.FirstLetterToUpper())) + { + return new Dictionary<string, OrderByType> { + { + pageData.Sort,pageData.Order?.ToLower() == OrderByType.Asc.ToString().ToLower() ? OrderByType.Asc : OrderByType.Desc + } }; + } + } + return new Dictionary<string, OrderByType> { { "CreateDate", pageData.Order?.ToLower() == OrderByType.Asc.ToString() ? OrderByType.Asc : OrderByType.Desc } }; + } + + + + //private string GetDataRole(Type type) + //{ + // try + // { + // UserRole? userRole = PermissionDataHostService.UserRoles.FirstOrDefault(x => x.UserId == App.User.UserId); + // if (userRole == null) + // throw new Exception($"鏃犳潈闄�"); + + // if (type.IsAssignableFrom(typeof(BaseWarehouseEntity)) || type.GetProperty(nameof(BaseWarehouseEntity.WarehouseId)) != null) + // { + // if (userRole.WarehouseIds.Count > 0) + // { + // return $"{nameof(BaseWarehouseEntity.WarehouseId)} in ({userRole.WarehouseIds.Serialize().Replace("[", "").Replace("]", "")})"; + // } + + // else + // return $"1 != 1"; + // } + // else + // { + // return "1 = 1"; + // } + + // //UserRole? userRole = PermissionDataHostService.UserRoles.FirstOrDefault(x => x.UserId == App.User.UserId); + // //if (userRole == null) + // // throw new Exception($"鏃犳潈闄�"); + + // //if (userRole.AuthorityScope == (int)AuthorityScopeEnum.CurrentRole) + // //{ + // // List<int> userId = PermissionDataHostService.UserRoles.Where(x => x.RoleId == userRole.RoleId).Select(x => x.UserId).ToList(); + // // return $"creater in ({userId.Serialize()})"; + // //} + // //else if (userRole.AuthorityScope == (int)AuthorityScopeEnum.OnlySelf) + // //{ + // // return $"creater = '{userRole.UserName}'"; + // //} + // //else if (userRole.AuthorityScope == (int)AuthorityScopeEnum.None) + // //{ + // // return $"1 != 1"; + // //} + // //return ""; + // } + // catch (Exception ex) + // { + // throw new Exception($"鏃犳潈闄愶紝{ex.Message}"); + // } + //} + + public virtual object GetDetailPage(PageDataOptions pageData) + { + Type t = typeof(TEntity); + + if (pageData.Value == null) return new PageGridData<object>(total: 0, null); + string keyName = t.GetKeyName(); + ////鐢熸垚鏌ヨ鏉′欢 + //Expression<Func<TEntity, bool>> whereExpression = keyName.CreateExpression<TEntity>(pageData.Value, LinqExpressionType.Equal); + int totalCount = 0; + PropertyInfo propertyInfo = t.GetProperties().FirstOrDefault(x => x.GetCustomAttribute<Navigate>() != null); + if (propertyInfo != null) + { + Type detailType = propertyInfo.PropertyType.GetGenericArguments()[0]; + Navigate navigate = propertyInfo.GetCustomAttribute<Navigate>(); + List<ExpandoObject> list = BaseDal.Db.Queryable(detailType.Name, "detail").Where(navigate.GetName(), "=", pageData.Value).ToPageList(pageData.Page, pageData.Rows, ref totalCount); + return new PageGridData<ExpandoObject>(totalCount, list); + } + return new PageGridData<object>(total: 0, null); + } + + /// <summary> + /// 娣诲姞鏁版嵁 + /// </summary> + /// <param name="entity">鍗曚釜瀹炰綋</param> + /// <returns></returns> + public virtual WebResponseContent AddData(TEntity entity) + { + try + { + return BaseDal.AddData(entity) > 0 ? WebResponseContent.Instance.OK() : WebResponseContent.Instance.Error(); + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + + /// <summary> + /// 娣诲姞鏁版嵁 + /// </summary> + /// <param name="entities">瀹炰綋闆嗗悎</param> + /// <returns></returns> + public virtual WebResponseContent AddData(List<TEntity> entities) + { + try + { + return BaseDal.AddData(entities) > 0 ? WebResponseContent.Instance.OK() : WebResponseContent.Instance.Error(); + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + + /// <summary> + /// 娣诲姞鏁版嵁 + /// </summary> + /// <param name="saveModel"></param> + /// <returns></returns> + public virtual WebResponseContent AddData(SaveModel saveModel) + { + try + { + if (saveModel == null || saveModel.MainData == null || saveModel.MainData.Count == 0)//鍒ゆ柇鍙傛暟鏄惁浼犲叆 + { + return WebResponseContent.Instance.Error("浼犲弬閿欒,鍙傛暟涓嶈兘涓虹┖"); + } + string validResult = typeof(TEntity).ValidateDicInEntity(saveModel.MainData, true, TProperties); + + if (!string.IsNullOrEmpty(validResult)) + { + return WebResponseContent.Instance.Error(validResult); + } + + PropertyInfo keyPro = typeof(TEntity).GetKeyProperty(); + if (keyPro == null) + { + return WebResponseContent.Instance.Error("璇峰厛璁剧疆涓婚敭"); + } + if (keyPro.PropertyType == typeof(Guid)) + { + saveModel.MainData.Add(keyPro.Name, Guid.NewGuid()); + } + else if (keyPro.PropertyType == typeof(int) || keyPro.PropertyType == typeof(long)) + { + SugarColumn? sugarColumn = keyPro.GetCustomAttribute<SugarColumn>(); + if (sugarColumn?.IsIdentity ?? true) + { + saveModel.MainData.Remove(keyPro.Name.FirstLetterToUpper()); + saveModel.MainData.Remove(keyPro.Name.FirstLetterToLower()); + } + } + TEntity entity = saveModel.MainData.DicToModel<TEntity>(); + if (saveModel.DetailData == null || saveModel.DetailData.Count == 0) + { + BaseDal.AddData(entity); + return WebResponseContent.Instance.OK(); + } + + if (typeof(TEntity).GetNavigatePro() == null) + { + return WebResponseContent.Instance.Error("鏈厤缃鑸睘鎬�"); + } + + Type detailType = typeof(TEntity).GetDetailType(); + MethodInfo? methodInfo = GetType().GetMethod("AddDataIncludesDetail"); + methodInfo = methodInfo?.MakeGenericMethod(new Type[] { detailType }); + object? obj = methodInfo?.Invoke(this, new object[] { entity, detailType, saveModel.DetailData }); + return obj as WebResponseContent; + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + + public WebResponseContent AddDataIncludesDetail<TDetail>(TEntity entity, Type detailType, List<Dictionary<string, object>> detailDics) where TDetail : class, new() + { + WebResponseContent content = new WebResponseContent(); + try + { + string name = typeof(TEntity).GetMainIdByDetail(); + string reslut = detailType.ValidateDicInEntity(detailDics, true, new string[] { name }); + if (reslut != string.Empty) + return WebResponseContent.Instance.Error(reslut); + + List<TDetail> list = detailDics.DicToIEnumerable<TDetail>(); + + ((SqlSugarClient)BaseDal.Db).BeginTran(); + + int id = BaseDal.Db.Insertable(entity).ExecuteReturnIdentity(); + + for (int i = 0; i < list.Count; i++) + { + TDetail detail = list[i]; + typeof(TDetail).SetDetailId(detail, id, name); + } + + BaseDal.Db.Insertable(list).ExecuteCommand(); + + ((SqlSugarClient)BaseDal.Db).CommitTran(); + + content = WebResponseContent.Instance.OK(); + } + catch (Exception ex) + { + ((SqlSugarClient)BaseDal.Db).RollbackTran(); + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; + } + + /// <summary> + /// 淇敼鏁版嵁 + /// </summary> + /// <param name="entity">鍗曚釜瀹炰綋</param> + /// <returns></returns> + public virtual WebResponseContent UpdateData(TEntity entity) + { + try + { + return BaseDal.UpdateData(entity) ? WebResponseContent.Instance.OK() : WebResponseContent.Instance.Error(); + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + + /// <summary> + /// 淇敼鏁版嵁 + /// </summary> + /// <param name="entities">瀹炰綋闆嗗悎</param> + /// <returns></returns> + public virtual WebResponseContent UpdateData(List<TEntity> entities) + { + try + { + return BaseDal.UpdateData(entities) ? WebResponseContent.Instance.OK() : WebResponseContent.Instance.Error(); + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + + /// <summary> + /// 淇敼鏁版嵁 + /// </summary> + /// <param name="saveModel"></param> + /// <returns></returns> + public virtual WebResponseContent UpdateData(SaveModel saveModel) + { + try + { + List<string>? list = UpdateIgnoreColOnExecute?.Invoke(saveModel); + if (saveModel == null || saveModel.MainData == null || saveModel.MainData.Count == 0)//鍒ゆ柇鍙傛暟鏄惁浼犲叆 + { + return WebResponseContent.Instance.Error("浼犲弬閿欒,鍙傛暟涓嶈兘涓虹┖"); + } + string validResult = typeof(TEntity).ValidateDicInEntity(saveModel.MainData, false, TProperties, list?.ToArray() ?? null); + + if (!string.IsNullOrEmpty(validResult)) + { + return WebResponseContent.Instance.Error(validResult); + } + + PropertyInfo keyPro = typeof(TEntity).GetKeyProperty(); + if (keyPro == null) + { + return WebResponseContent.Instance.Error("璇峰厛璁剧疆涓婚敭"); + } + + TEntity entity = saveModel.MainData.DicToModel<TEntity>(); + + List<string> listCol = new List<string>(); + foreach (var item in saveModel.MainData) + { + PropertyInfo? propertyInfo = typeof(TEntity).GetProperty(item.Key); + if (propertyInfo == null) + { + propertyInfo = typeof(TEntity).GetProperty(item.Key.FirstLetterToLower()); + if (propertyInfo == null) + { + propertyInfo = typeof(TEntity).GetProperty(item.Key.FirstLetterToUpper()); + } + } + + listCol.Add(propertyInfo?.Name); + } + + if (saveModel.DetailData == null || saveModel.DetailData.Count == 0) + { + if (list != null) + listCol = listCol.Where(x => !list.Contains(x)).ToList(); + bool result = BaseDal.UpdateData(entity, listCol, list); + return WebResponseContent.Instance.OK(); + } + + if (typeof(TEntity).GetNavigatePro() == null) + { + return WebResponseContent.Instance.Error("鏈厤缃鑸睘鎬�"); + } + + Type detailType = typeof(TEntity).GetDetailType(); + MethodInfo? methodInfo = GetType().GetMethod("UpdateDataInculdesDetail"); + methodInfo = methodInfo?.MakeGenericMethod(new Type[] { detailType }); + object? obj = methodInfo?.Invoke(this, new object[] { entity, detailType, saveModel.DetailData, saveModel.DelKeys }); + return obj as WebResponseContent; + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + + public WebResponseContent UpdateDataInculdesDetail<TDetail>(TEntity entity, Type detailType, List<Dictionary<string, object>> detailDics, List<object> delKeys) where TDetail : class, new() + { + WebResponseContent content = new WebResponseContent(); + try + { + string name = typeof(TEntity).GetMainIdByDetail(); + string reslut = detailType.ValidateDicInEntity(detailDics, true, new string[] { name }); + if (reslut != string.Empty) + return WebResponseContent.Instance.Error(reslut); + + List<TDetail> list = detailDics.DicToIEnumerable<TDetail>(); + + List<object> dynamicDelKeys = new List<object>(); + if (delKeys != null) + { + for (int i = 0; i < delKeys.Count; i++) + { + dynamicDelKeys.Add(delKeys[i]); + } + } + + List<TDetail> updateRows = new List<TDetail>(); + List<TDetail> addRows = new List<TDetail>(); + + for (int i = 0; i < list.Count; i++) + { + object detailId = typeof(TDetail).GetPropertyValue(list[i], typeof(TDetail).GetKeyName()); + if (detailId != null) + { + if (detailId.ToString() != "0") + { + updateRows.Add(list[i]); + } + else + { + addRows.Add(list[i]); + } + } + } + + object mainId = typeof(TEntity).GetPropertyValue(entity, typeof(TEntity).GetKeyName()); + if (mainId != null) + { + ((SqlSugarClient)BaseDal.Db).BeginTran(); + + if (dynamicDelKeys.Count > 0) + BaseDal.Db.Deleteable<object>().AS(detailType.Name).Where($"{detailType.GetKeyName()} in (@id)", new { id = dynamicDelKeys.ToArray() }).ExecuteCommandHasChange(); + + BaseDal.Db.Updateable(entity).ExecuteCommandHasChange(); + + BaseDal.Db.Updateable(updateRows).ExecuteCommand(); + + for (int i = 0; i < addRows.Count; i++) + { + TDetail detail = addRows[i]; + typeof(TDetail).SetDetailId(detail, mainId, name); + } + + BaseDal.Db.Insertable(addRows).ExecuteCommand(); + + ((SqlSugarClient)BaseDal.Db).CommitTran(); + + content = WebResponseContent.Instance.OK(); + } + else + { + content = WebResponseContent.Instance.Error("鏈壘鍒颁富琛ㄤ富閿��"); + } + + } + catch (Exception ex) + { + ((SqlSugarClient)BaseDal.Db).RollbackTran(); + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; + } + + /// <summary> + /// 鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="key">涓婚敭</param> + /// <returns></returns> + public virtual WebResponseContent DeleteData(object key) + { + try + { + return BaseDal.DeleteDataById(key) ? WebResponseContent.Instance.OK() : WebResponseContent.Instance.Error(); + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + + /// <summary> + /// 鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="keys">涓婚敭鏁扮粍</param> + /// <returns></returns> + public virtual WebResponseContent DeleteData(object[] keys) + { + try + { + if (typeof(TEntity).GetNavigatePro() == null) + return BaseDal.DeleteDataByIds(keys) ? WebResponseContent.Instance.OK() : WebResponseContent.Instance.Error(); + else + { + if (keys != null) + { + Type detailType = typeof(TEntity).GetDetailType(); + string name = typeof(TEntity).GetMainIdByDetail(); + List<object> dynamicDelKeys = new List<object>(); + + for (int i = 0; i < keys.Length; i++) + { + dynamicDelKeys.Add(keys[i]); + } + ((SqlSugarClient)BaseDal.Db).BeginTran(); + + if (dynamicDelKeys.Count > 0) + BaseDal.Db.Deleteable<object>().AS(detailType.Name).Where($"{name} in (@id)", new { id = dynamicDelKeys.ToArray() }).ExecuteCommandHasChange(); + + BaseDal.DeleteDataByIds(keys); + + ((SqlSugarClient)BaseDal.Db).CommitTran(); + + return WebResponseContent.Instance.OK(); + } + else + { + return WebResponseContent.Instance.Error("鍙傛暟閿欒"); + } + } + } + catch (Exception ex) + { + ((SqlSugarClient)BaseDal.Db).RollbackTran(); + return WebResponseContent.Instance.Error(ex.Message); + } + } + + /// <summary> + /// 鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="entity">鍗曚釜瀹炰綋</param> + /// <returns></returns> + public virtual WebResponseContent DeleteData(TEntity entity) + { + try + { + return BaseDal.DeleteData(entity) ? WebResponseContent.Instance.OK() : WebResponseContent.Instance.Error(); + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + + /// <summary> + /// 鍒犻櫎鏁版嵁 + /// </summary> + /// <param name="entities">瀹炰綋闆嗗悎</param> + /// <returns></returns> + public virtual WebResponseContent DeleteData(List<TEntity> entities) + { + try + { + return BaseDal.DeleteData(entities) ? WebResponseContent.Instance.OK() : WebResponseContent.Instance.Error(); + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + + /// <summary> + /// 瀵煎嚭鏁版嵁 + /// </summary> + /// <param name="pageData"></param> + /// <returns></returns> + public virtual WebResponseContent Export(PageDataOptions options) + { + WebResponseContent content = new WebResponseContent(); + try + { + Type t = typeof(TEntity); + + string savePath = AppDomain.CurrentDomain.BaseDirectory + $"ExcelExport"; + IExporter exporter = new ExcelExporter(); + string wheres = options.ValidatePageOptions(TProperties); + //鑾峰彇鎺掑簭瀛楁 + Dictionary<string, OrderByType> orderbyDic = options.GetPageDataSort(TProperties); + + List<TEntity> entities = BaseDal.QueryData(wheres, orderbyDic); + + byte[] data = exporter.ExportAsByteArray(entities).Result; + + string fileName = ""; + SugarTable sugarTable = t.GetCustomAttribute<SugarTable>(); + if (sugarTable != null) + { + fileName = sugarTable.TableDescription + ".xlsx"; + } + else + { + fileName = nameof(TEntity) + ".xlsx"; + } + + FileHelper.WriteFile(savePath, fileName, data); + + content = WebResponseContent.Instance.OK(data: savePath + "\\" + fileName); + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; + } + + /// <summary> + /// 瀵煎叆鏁版嵁 + /// </summary> + /// <param name="files"></param> + /// <returns></returns> + public virtual WebResponseContent Import(List<IFormFile> files) + { + try + { + if (files == null || files.Count == 0) + return new WebResponseContent { Status = true, Message = "璇烽�夋嫨涓婁紶鐨勬枃浠�" }; + Microsoft.AspNetCore.Http.IFormFile formFile = files[0]; + string dicPath = AppDomain.CurrentDomain.BaseDirectory + $"ExcelImprot/{DateTime.Now.ToString("yyyMMdd")}/{typeof(TEntity).Name}/"; + if (!Directory.Exists(dicPath)) Directory.CreateDirectory(dicPath); + string fileName = $"{Guid.NewGuid()}_{formFile.FileName}"; + dicPath = $"{dicPath}{fileName}"; + using (FileStream stream = new FileStream(dicPath, FileMode.Create)) + { + formFile.CopyTo(stream); + } + ExcelImporter importer = new ExcelImporter(); + ImportResult<TEntity> importResult = importer.Import<TEntity>(dicPath, "").Result; + if (importResult.HasError) + { + return WebResponseContent.Instance.Error(importResult.TemplateErrors.Serialize()); + } + BaseDal.AddData(importResult.Data.ToList()); + return WebResponseContent.Instance.OK(); + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + + /// <summary> + /// 涓婁紶鏂囦欢 + /// </summary> + /// <param name="files"></param> + /// <returns></returns> + public virtual WebResponseContent Upload(List<IFormFile> files) + { + throw new NotImplementedException(); + } + + /// <summary> + /// 妯℃澘涓嬭浇 + /// </summary> + /// <returns></returns> + public virtual WebResponseContent DownLoadTemplate() + { + WebResponseContent content = new WebResponseContent(); + Type t = typeof(TEntity); + IExporter exporter = new ExcelExporter(); + byte[] data = exporter.ExportHeaderAsByteArray(new TEntity()).Result; + string fileName = ""; + SugarTable sugarTable = t.GetCustomAttribute<SugarTable>(); + if (sugarTable != null) + { + fileName = sugarTable.TableDescription + "瀵煎叆妯℃澘.xlsx"; + } + else + { + fileName = nameof(TEntity) + "瀵煎叆妯℃澘.xlsx"; + } + string savePath = AppDomain.CurrentDomain.BaseDirectory + $"ExcelImprotTemplate"; + FileHelper.WriteFile(savePath, fileName, data); + + content = WebResponseContent.Instance.OK(data: savePath + "\\" + fileName); + return content; + } + + public WebResponseContent ExportSeedData() + { + WebResponseContent content = new WebResponseContent(); + try + { + string seedDataFolder = $"WIDESEA_DB.DBSeed.Json/{typeof(TEntity).Name}.tsv"; + List<TEntity> deviceInfos = BaseDal.QueryData(); + string str = JsonConvert.SerializeObject(deviceInfos, Formatting.Indented); + List<Dictionary<string, object>> keyValuePairs = JsonConvert.DeserializeObject<List<Dictionary<string, object>>>(str); + FileHelper.WriteFileAndDelOldFile($"wwwroot/{seedDataFolder}", str); + content = WebResponseContent.Instance.OK(); + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/ServiceFunFilter.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/ServiceFunFilter.cs" new file mode 100644 index 0000000..645355c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/BaseServices/ServiceFunFilter.cs" @@ -0,0 +1,238 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Linq.Expressions; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.BaseServices +{ + public abstract class ServiceFunFilter<T> where T : class + { + /// <summary> + /// 2020.08.15鏄惁寮�鍚绉熸埛鍔熻兘 + /// 浣跨敤鏂规硶瑙佹枃妗f垨SellOrderService.cs + /// </summary> + protected bool IsMultiTenancy { get; set; } + + /// <summary> + /// 鏌ヨ鐣岄潰table 缁熻銆佹眰鍜屻�佸钩鍧囧�肩瓑 + /// 瀹炵幇鏂瑰紡 + ///SummaryExpress = (IQueryable<App_TransactionAvgPrice> queryable) => + // { + // return queryable.GroupBy(x => 1).Select(x => new + // { + // AvgPrice = x.Average(o => o.AvgPrice), + // Enable = x.Sum(o => o.Enable) + // }).FirstOrDefault(); + //}; + /// </summary> + // protected Func<IGrouping<T, T>, object> SummaryExpress = null; + protected Func<IQueryable<T>, object> SummaryExpress = null; + + /// <summary> + /// 鏄庣粏table 缁熻銆佹眰鍜屻�佸钩鍧囧�肩瓑 + /// </summary> + /// <typeparam name="Detail"></typeparam> + /// <param name="queryeable"></param> + /// <returns></returns> + //protected abstract object GetDetailSummary<Detail>(IQueryable<Detail> queryeable); + + /// <summary> + /// 鏄惁寮�鍚敤鎴锋暟鎹潈闄�,true=鐢ㄦ埛鍙兘鎿嶄綔鑷繁(鍙婁笅绾ц鑹�)鍒涘缓鐨勬暟鎹�,濡�:鏌ヨ銆佸垹闄ゃ�佷慨鏀圭瓑鎿嶄綔 + /// 娉ㄦ剰锛氶渶瑕佸湪浠g爜鐢熸垚鍣ㄧ晫闈㈤�夋嫨銆愭槸銆戝強鐢熸垚Model鎵嶄細鐢熸晥) + /// </summary> + protected bool LimitCurrentUserPermission { get; set; } = false; + + ///榛樿瀵煎嚭鏈�澶ц〃鏁伴噺锛�0涓嶉檺鍒� + protected int Limit { get; set; } = 0; + + /// <summary> + /// 榛樿涓婁紶鏂囦欢澶у皬闄愬埗3M + /// </summary> + protected int LimitUpFileSizee { get; set; } = 3; + + + /// <summary> + /// 2020.08.15娣诲姞鑷畾涔夊師鐢熸煡璇ql,杩欎釜瀵逛簬涓嶆兂鍐欒〃杈惧紡鍏宠仈鎴栬�呭鏉傛煡璇㈤潪甯告湁鐢� + /// 渚嬶細QuerySql=$"select * from tb1 as a where a.name='xxxx' x.id in (select b.id from tb2 b)"; + /// select * 杩欓噷鍙互鑷畾涔夛紝浣唖elect 蹇呴』杩斿洖琛ㄦ墍鏈夌殑鍒楋紝涓嶈兘灏� + /// </summary> + protected string QuerySql = null; + + /// <summary> + /// 鏌ヨ鍓�,瀵圭幇鍦ㄦ湁鐨勬煡璇㈠瓧绗︿覆鏉′欢澧炲姞鎴栧垹闄� + /// </summary> + protected Action<List<SearchParameters>> QueryRelativeList { get; set; } + + //鏌ヨ鍓�,鍦ㄧ幇鏈夌殑鏌ヨ鏉′欢涓婇�氳繃琛ㄨ揪寮忎慨鏀规煡璇㈡潯浠� + protected Func<IQueryable<T>, IQueryable<T>> QueryRelativeExpression { get; set; } + + + /// <summary> + /// 鎸囧畾鏌ヨ鐨勫垪锛屾牸寮�:Expression<Func<T, object>> exp = x => new { x.瀛楁1, x.瀛楁2 }(鏆傛椂鏈惎鐢�) + /// </summary> + protected Expression<Func<T, object>> Columns { get; set; } + + /// <summary> + /// 璁剧疆鏌ヨ鎺掑簭鍙傛暟鍙婃柟寮�,鍙傛暟鏍煎紡涓猴細 + /// Expression<Func<T, Dictionary<object, bool>>> orderBy = x => new Dictionary<object, QueryOrderBy>() + /// {{ x.ID, QueryOrderBy.Asc },{ x.DestWarehouseName, QueryOrderBy.Desc } }; + /// 杩斿洖鐨勬槸new Dictionary<object, bool>(){{}}key涓烘帓搴忓瓧娈碉紝QueryOrderBy涓烘帓搴忔柟寮� + /// </summary> + protected Expression<Func<T, Dictionary<object, OrderByType>>> OrderByExpression; + + protected Dictionary<string, OrderByType> OrderByParameters { get; set; } + + protected bool EnableWebOrderBy { get; set; } = true; + + /// <summary> + /// 璁剧疆鏌ヨ鐨勮〃鍚�(宸插純鐢�) + /// </summary> + protected string TableName { get; set; } + + /// <summary> + /// 椤甸潰鏌ヨ鎴栧鍑猴紝浠庢暟鎹簱鏌ヨ鍑烘潵鐨勭粨鏋� + /// </summary> + protected Action<PageGridData<T>> GetPageDataOnExecuted; + + /// <summary> + /// 璋冪敤鏂板缓澶勭悊鍓�(SaveModel涓轰紶鍏ョ殑鍘熺敓鏁版嵁) + /// </summary> + protected Func<SaveModel, WebResponseContent> AddOnExecute; + + /// <summary> + /// 璋冪敤鏂板缓淇濆瓨鏁版嵁搴撳墠澶勭悊(宸插皢鎻愪氦鐨勫師鐢熸暟鎹浆鎹㈡垚浜嗗璞�) + /// Func<T, object,ResponseData> T涓轰富琛ㄦ暟鎹紝object涓烘槑缁嗘暟鎹�(濡傛灉闇�瑕佷娇鐢ㄦ槑缁嗗璞�,璇风敤 object as List<T>杞崲) + /// </summary> + protected Func<T, object, WebResponseContent> AddOnExecuting; + + /// <summary> + /// 璋冪敤鏂板缓淇濆瓨鏁版嵁搴撳悗澶勭悊銆� + /// **瀹炵幇褰撳墠鏂规硶鏃讹紝鍐呴儴榛樿宸茬粡寮�鍚簨鍔★紝濡傛灉瀹炵幇鐨勬柟娉曟搷浣滅殑鏄悓涓�鏁版嵁搴�,鍒欎笉闇�瑕佸湪AddOnExecuted涓簨鍔� + /// Func<T, object,ResponseData> T涓轰富琛ㄦ暟鎹紝object涓烘槑缁嗘暟鎹�(濡傛灉闇�瑕佷娇鐢ㄦ槑缁嗗璞�,璇风敤 object as List<T>杞崲) + /// 姝ゅ宸插紑鍚簡DbContext浜嬪姟(閲嶇偣),濡傛灉杩樻湁鍏朵粬涓氬姟澶勪簨锛岀洿鎺ュ湪杩欓噷鍐橢F浠g爜,涓嶉渶瑕佸啀寮�鍚簨鍔� + /// 濡傛灉鎵ц鐨勬槸鎵嬪啓sql璇风敤repository.DbContext.Database.ExecuteSqlCommand()鎴� repository.DbContext.Set<T>().FromSql鎵ц鍏蜂綋sql璇彞 + /// </summary> + protected Func<T, object, WebResponseContent> AddOnExecuted; + + /// <summary> + /// 杩涘叆瀹℃壒娴佺▼鏂规硶涔嬪墠 + /// </summary> + protected Func<T, bool> AddWorkFlowExecuting; + + /// <summary> + /// 鍐欏叆瀹℃壒娴佺▼鏁版嵁涔嬪悗 + /// list:瀹℃壒鐨勪汉id + /// </summary> + protected Action<T, List<int>> AddWorkFlowExecuted; + + /// <summary> + /// 璋冪敤鏇存柊鏂规硶鍓嶅鐞�(SaveModel涓轰紶鍏ョ殑鍘熺敓鏁版嵁) + /// </summary> + protected Func<SaveModel, WebResponseContent> UpdateOnExecute; + + /// <summary> + /// 璋冪敤鏇存柊鏂规硶鍓嶅鐞�(SaveModel涓轰紶鍏ョ殑鍘熺敓鏁版嵁) + /// </summary> + protected Func<SaveModel, List<string>> UpdateIgnoreColOnExecute; + + /// <summary> + /// 璋冪敤鏇存柊鏂规硶淇濆瓨鏁版嵁搴撳墠澶勭悊 + /// (宸插皢鎻愪氦鐨勫師鐢熸暟鎹浆鎹㈡垚浜嗗璞�,灏嗘槑缁嗘柊澧炪�佷慨鏀广�佸垹闄ょ殑鏁版嵁鍒嗗埆鐢╫bject1/2/3鏍囪瘑鍑烘潵 ) + /// T=鏇存柊鐨勪富琛ㄥ璞� + /// object1=涓烘柊澧炴槑缁嗙殑瀵硅薄锛屼娇鐢ㄦ椂灏唎bject as List<T>杞崲涓�涓� + /// object2=涓烘洿鏂版槑缁嗙殑瀵硅薄 + /// List<object>=涓哄垹闄ょ殑缁嗙殑瀵硅薄Key + /// </summary> + protected Func<T, object, object, List<object>, WebResponseContent> UpdateOnExecuting; + + /// <summary> + /// 璋冪敤鏇存柊鏂规硶淇濆瓨鏁版嵁搴撳悗澶勭悊 + /// **瀹炵幇褰撳墠鏂规硶鏃讹紝鍐呴儴榛樿宸茬粡寮�鍚簨鍔★紝濡傛灉瀹炵幇鐨勬柟娉曟搷浣滅殑鏄悓涓�鏁版嵁搴�,鍒欎笉闇�瑕佸湪UpdateOnExecuted涓簨鍔� + /// (宸插皢鎻愪氦鐨勫師鐢熸暟鎹浆鎹㈡垚浜嗗璞�,灏嗘槑缁嗘柊澧炪�佷慨鏀广�佸垹闄ょ殑鏁版嵁鍒嗗埆鐢╫bject1/2/3鏍囪瘑鍑烘潵 ) + /// T=鏇存柊鐨勪富琛ㄥ璞� + /// object1=涓烘柊澧炴槑缁嗙殑瀵硅薄锛屼娇鐢ㄦ椂灏唎bject as List<T>杞崲涓�涓� + /// object2=涓烘洿鏂版槑缁嗙殑瀵硅薄 + /// List<object>=涓哄垹闄ょ殑缁嗙殑瀵硅薄Key + /// 姝ゅ宸插紑鍚簡DbContext浜嬪姟(閲嶇偣),濡傛灉杩樻湁鍏朵粬涓氬姟澶勪簨锛岀洿鎺ュ湪杩欓噷鍐橢F浠g爜,涓嶉渶瑕佸啀寮�鍚簨鍔� + /// 濡傛灉鎵ц鐨勬槸鎵嬪啓sql璇风敤repository.DbContext.Database.ExecuteSqlCommand()鎴� repository.DbContext.Set<T>().FromSql鎵ц鍏蜂綋sql璇彞 + /// </summary> + protected Func<T, object, object, List<object>, WebResponseContent> UpdateOnExecuted; + + /// <summary> + /// 鍒犻櫎鍓嶅鐞�,object[]鍑嗗鍒犻櫎鐨勪富閿� + /// </summary> + protected Func<object[], WebResponseContent> DelOnExecuting; + + /// <summary> + /// 鍒犻櫎鍚庡鐞�,object[]宸插垹闄ょ殑涓婚敭,姝ゅ宸插紑鍚簡DbContext浜嬪姟(閲嶇偣),濡傛灉杩樻湁鍏朵粬涓氬姟澶勪簨锛岀洿鎺ュ湪杩欓噷鍐橢F浠g爜,涓嶉渶瑕佸啀寮�鍚簨鍔� + /// 濡傛灉鎵ц鐨勬槸鎵嬪啓sql璇风敤repository.DbContext.Database.ExecuteSqlCommand()鎴� repository.DbContext.Set<T>().FromSql鎵ц鍏蜂綋sql璇彞 + /// </summary> + protected Func<object[], WebResponseContent> DelOnExecuted; + + /// <summary> + /// 瀹℃牳鍓嶅鐞� + /// </summary> + protected Func<List<T>, WebResponseContent> AuditOnExecuting; + /// <summary> + /// 瀹℃牳鍚庡鐞� + /// </summary> + protected Func<List<T>, WebResponseContent> AuditOnExecuted; + + + /// <summary> + ///瀵煎嚭鍓嶅鐞�,DataTable瀵煎嚭鐨勮〃鏁版嵁 + ///List<T>瀵煎嚭鐨勬暟鎹�, List<string>蹇界暐涓嶉渶瑕佸鍑虹殑瀛楁 + ///姝ゆ柟娉曚笉寤鸿浣跨敤,鐢变笅闈xportColumns濮旀墭鏇夸唬2020.05.07 + /// </summary> + protected Func<List<T>, List<string>, WebResponseContent> ExportOnExecuting; + + /// <summary> + /// 2020.05.07 + /// 瀵煎嚭琛ㄦ暟鎹�(鐣岄潰涓婂鍑烘搷浣�),鎸囧畾瑕佸鍑虹殑鍒楋紝鏍煎紡:Expression<Func<T, object>> exp = x => new { x.瀛楁1, x.瀛楁2 } + /// </summary> + protected Expression<Func<T, object>> ExportColumns { get; set; } + + + /// <summary> + /// 2020.05.07 + /// 瀵煎嚭涓嬭浇妯℃澘锛屾寚瀹氳瀵煎嚭鐨勬ā鏉垮垪锛屾牸寮�:Expression<Func<T, object>> exp = x => new { x.瀛楁1, x.瀛楁2 } + /// </summary> + protected Expression<Func<T, object>> DownLoadTemplateColumns { get; set; } + + + /// <summary> + /// 瀵煎叆淇濆瓨鍚� + /// </summary> + protected Func<List<T>, WebResponseContent> ImportOnExecuted; + + /// <summary> + /// 瀵煎叆淇濆瓨鍓� + /// </summary> + protected Func<List<T>, WebResponseContent> ImportOnExecuting; + + /// <summary> + /// 瀵煎叆鏃朵笉楠岃瘉涓嬫媺妗嗘暟鎹簮鐨勫瓧娈靛��2023.05.03 + /// </summary> + protected Expression<Func<T, object>> ImportIgnoreSelectValidationColumns; + + /// <summary> + /// 2022.06.20澧炲姞鍘熺敓excel璇诲彇鏂规硶(瀵煎叆鏃跺彲浠ヨ嚜瀹氫箟璇诲彇excel鍐呭) + /// string=褰撳墠璇诲彇鐨別xcel鍗曞厓鏍肩殑鍊� + /// ExcelWorksheet=excel瀵硅薄 + /// ExcelRange褰撳墠excel鍗曞厓鏍煎璞� + /// int=褰撳墠璇诲彇鐨勭鍑犳暟 + /// int=褰撳墠璇诲彇鐨勭鍑犲垪 + /// string=杩斿洖鐨勫�� + /// </summary> + //protected Func<string, ExcelWorksheet, ExcelRange, int, int, string> ImportOnReadCellValue; + + + /// <summary> + /// 鑷畾涔変笂浼犳枃浠跺す(2022.10.07) + /// </summary> + protected string UploadFolder = null; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/Caching.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/Caching.cs" new file mode 100644 index 0000000..fff2699 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/Caching.cs" @@ -0,0 +1,351 @@ +锘縰sing Microsoft.Extensions.Caching.Distributed; +using Microsoft.Extensions.Caching.Memory; +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Const; + +namespace WIDESEA_Core.Caches +{ + /// <summary> + /// 瀹炰緥鍖栫紦瀛樻帴鍙Caching + /// </summary> + public class Caching : ICaching + { + private readonly IDistributedCache _cache; + + public Caching(IDistributedCache cache) + { + _cache = cache; + } + + private byte[] GetBytes<T>(T source) + { + return Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(source)); + } + + public IDistributedCache Cache => _cache; + + public void AddCacheKey(string cacheKey) + { + var res = _cache.GetString(CacheConst.KeyAll); + var allkeys = string.IsNullOrWhiteSpace(res) ? new List<string>() : JsonConvert.DeserializeObject<List<string>>(res); + if (!allkeys.Any(m => m == cacheKey)) + { + allkeys.Add(cacheKey); + _cache.SetString(CacheConst.KeyAll, JsonConvert.SerializeObject(allkeys)); + } + } + + /// <summary> + /// 澧炲姞缂撳瓨Key + /// </summary> + /// <param name="cacheKey"></param> + /// <returns></returns> + public async Task AddCacheKeyAsync(string cacheKey) + { + var res = await _cache.GetStringAsync(CacheConst.KeyAll); + var allkeys = string.IsNullOrWhiteSpace(res) ? new List<string>() : JsonConvert.DeserializeObject<List<string>>(res); + if (!allkeys.Any(m => m == cacheKey)) + { + allkeys.Add(cacheKey); + await _cache.SetStringAsync(CacheConst.KeyAll, JsonConvert.SerializeObject(allkeys)); + } + } + + public void DelByPattern(string key) + { + var allkeys = GetAllCacheKeys(); + if (allkeys == null) return; + + var delAllkeys = allkeys.Where(u => u.Contains(key)).ToList(); + delAllkeys.ForEach(u => { _cache.Remove(u); }); + + // 鏇存柊鎵�鏈夌紦瀛橀敭 + allkeys = allkeys.Where(u => !u.Contains(key)).ToList(); + _cache.SetString(CacheConst.KeyAll, JsonConvert.SerializeObject(allkeys)); + } + + /// <summary> + /// 鍒犻櫎鏌愮壒寰佸叧閿瓧缂撳瓨 + /// </summary> + /// <param name="key"></param> + /// <returns></returns> + public async Task DelByPatternAsync(string key) + { + var allkeys = await GetAllCacheKeysAsync(); + if (allkeys == null) return; + + var delAllkeys = allkeys.Where(u => u.Contains(key)).ToList(); + delAllkeys.ForEach(u => { _cache.Remove(u); }); + + // 鏇存柊鎵�鏈夌紦瀛橀敭 + allkeys = allkeys.Where(u => !u.Contains(key)).ToList(); + await _cache.SetStringAsync(CacheConst.KeyAll, JsonConvert.SerializeObject(allkeys)); + } + + public void DelCacheKey(string cacheKey) + { + var res = _cache.GetString(CacheConst.KeyAll); + var allkeys = string.IsNullOrWhiteSpace(res) ? new List<string>() : JsonConvert.DeserializeObject<List<string>>(res); + if (allkeys.Any(m => m == cacheKey)) + { + allkeys.Remove(cacheKey); + _cache.SetString(CacheConst.KeyAll, JsonConvert.SerializeObject(allkeys)); + } + } + + /// <summary> + /// 鍒犻櫎缂撳瓨 + /// </summary> + /// <param name="cacheKey"></param> + /// <returns></returns> + public async Task DelCacheKeyAsync(string cacheKey) + { + var res = await _cache.GetStringAsync(CacheConst.KeyAll); + var allkeys = string.IsNullOrWhiteSpace(res) ? new List<string>() : JsonConvert.DeserializeObject<List<string>>(res); + if (allkeys.Any(m => m == cacheKey)) + { + allkeys.Remove(cacheKey); + await _cache.SetStringAsync(CacheConst.KeyAll, JsonConvert.SerializeObject(allkeys)); + } + } + + public bool Exists(string cacheKey) + { + var res = _cache.Get(cacheKey); + return res != null; + } + + /// <summary> + /// 妫�鏌ョ粰瀹� key 鏄惁瀛樺湪 + /// </summary> + /// <param name="cacheKey">閿�</param> + /// <returns></returns> + public async Task<bool> ExistsAsync(string cacheKey) + { + var res = await _cache.GetAsync(cacheKey); + return res != null; + } + + public List<string> GetAllCacheKeys() + { + var res = _cache.GetString(CacheConst.KeyAll); + return string.IsNullOrWhiteSpace(res) ? null : JsonConvert.DeserializeObject<List<string>>(res); + } + + /// <summary> + /// 鑾峰彇鎵�鏈夌紦瀛樺垪琛� + /// </summary> + /// <returns></returns> + public async Task<List<string>> GetAllCacheKeysAsync() + { + var res = await _cache.GetStringAsync(CacheConst.KeyAll); + return string.IsNullOrWhiteSpace(res) ? null : JsonConvert.DeserializeObject<List<string>>(res); + } + + public T Get<T>(string cacheKey) + { + var res = _cache.Get(cacheKey); + return res == null ? default : JsonConvert.DeserializeObject<T>(Encoding.UTF8.GetString(res)); + } + + /// <summary> + /// 鑾峰彇缂撳瓨 + /// </summary> + /// <typeparam name="T"></typeparam> + /// <param name="cacheKey"></param> + /// <returns></returns> + public async Task<T> GetAsync<T>(string cacheKey) + { + var res = await _cache.GetAsync(cacheKey); + return res == null ? default : JsonConvert.DeserializeObject<T>(Encoding.UTF8.GetString(res)); + } + + public object Get(Type type, string cacheKey) + { + var res = _cache.Get(cacheKey); + return res == null ? default : JsonConvert.DeserializeObject(Encoding.UTF8.GetString(res), type); + } + + public async Task<object> GetAsync(Type type, string cacheKey) + { + var res = await _cache.GetAsync(cacheKey); + return res == null ? default : JsonConvert.DeserializeObject(Encoding.UTF8.GetString(res), type); + } + + public string GetString(string cacheKey) + { + return _cache.GetString(cacheKey); + } + + /// <summary> + /// 鑾峰彇缂撳瓨 + /// </summary> + /// <param name="cacheKey"></param> + /// <returns></returns> + public async Task<string> GetStringAsync(string cacheKey) + { + return await _cache.GetStringAsync(cacheKey); + } + + public void Remove(string key) + { + _cache.Remove(key); + DelCacheKey(key); + } + + /// <summary> + /// 鍒犻櫎缂撳瓨 + /// </summary> + /// <param name="key"></param> + /// <returns></returns> + public async Task RemoveAsync(string key) + { + await _cache.RemoveAsync(key); + await DelCacheKeyAsync(key); + } + + public void RemoveAll() + { + var catches = GetAllCacheKeys(); + foreach (var @catch in catches) Remove(@catch); + + catches.Clear(); + _cache.SetString(CacheConst.KeyAll, JsonConvert.SerializeObject(catches)); + } + + public async Task RemoveAllAsync() + { + var catches = await GetAllCacheKeysAsync(); + foreach (var @catch in catches) await RemoveAsync(@catch); + + catches.Clear(); + await _cache.SetStringAsync(CacheConst.KeyAll, JsonConvert.SerializeObject(catches)); + } + + + public void Set<T>(string cacheKey, T value, TimeSpan? expire = null) + { + _cache.Set(cacheKey, GetBytes(value), + expire == null + ? new DistributedCacheEntryOptions() { AbsoluteExpirationRelativeToNow = TimeSpan.FromHours(6) } + : new DistributedCacheEntryOptions() { AbsoluteExpirationRelativeToNow = expire }); + + AddCacheKey(cacheKey); + } + + /// <summary> + /// 澧炲姞瀵硅薄缂撳瓨 + /// </summary> + /// <param name="cacheKey"></param> + /// <param name="value"></param> + /// <returns></returns> + public async Task SetAsync<T>(string cacheKey, T value) + { + await _cache.SetAsync(cacheKey, Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(value)), + new DistributedCacheEntryOptions() { AbsoluteExpirationRelativeToNow = TimeSpan.FromHours(6) }); + + await AddCacheKeyAsync(cacheKey); + } + + /// <summary> + /// 澧炲姞瀵硅薄缂撳瓨,骞惰缃繃鏈熸椂闂� + /// </summary> + /// <param name="cacheKey"></param> + /// <param name="value"></param> + /// <param name="expire"></param> + /// <returns></returns> + public async Task SetAsync<T>(string cacheKey, T value, TimeSpan expire) + { + await _cache.SetAsync(cacheKey, Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(value)), + new DistributedCacheEntryOptions() { AbsoluteExpirationRelativeToNow = expire }); + + await AddCacheKeyAsync(cacheKey); + } + + public void SetPermanent<T>(string cacheKey, T value) + { + _cache.Set(cacheKey, Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(value))); + AddCacheKey(cacheKey); + } + + public async Task SetPermanentAsync<T>(string cacheKey, T value) + { + await _cache.SetAsync(cacheKey, Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(value))); + await AddCacheKeyAsync(cacheKey); + } + + public void SetString(string cacheKey, string value, TimeSpan? expire = null) + { + if (expire == null) + _cache.SetString(cacheKey, value, new DistributedCacheEntryOptions() { AbsoluteExpirationRelativeToNow = TimeSpan.FromHours(6) }); + else + _cache.SetString(cacheKey, value, new DistributedCacheEntryOptions() { AbsoluteExpirationRelativeToNow = expire }); + + AddCacheKey(cacheKey); + } + + /// <summary> + /// 澧炲姞瀛楃涓茬紦瀛� + /// </summary> + /// <param name="cacheKey"></param> + /// <param name="value"></param> + /// <returns></returns> + public async Task SetStringAsync(string cacheKey, string value) + { + await _cache.SetStringAsync(cacheKey, value, new DistributedCacheEntryOptions() { AbsoluteExpirationRelativeToNow = TimeSpan.FromHours(6) }); + + await AddCacheKeyAsync(cacheKey); + } + + /// <summary> + /// 澧炲姞瀛楃涓茬紦瀛�,骞惰缃繃鏈熸椂闂� + /// </summary> + /// <param name="cacheKey"></param> + /// <param name="value"></param> + /// <param name="expire"></param> + /// <returns></returns> + public async Task SetStringAsync(string cacheKey, string value, TimeSpan expire) + { + await _cache.SetStringAsync(cacheKey, value, new DistributedCacheEntryOptions() { AbsoluteExpirationRelativeToNow = expire }); + + await AddCacheKeyAsync(cacheKey); + } + + + /// <summary> + /// 缂撳瓨鏈�澶ц鑹叉暟鎹寖鍥� + /// </summary> + /// <param name="userId"></param> + /// <param name="dataScopeType"></param> + /// <returns></returns> + public async Task SetMaxDataScopeType(long userId, int dataScopeType) + { + var cacheKey = CacheConst.KeyMaxDataScopeType + userId; + await SetStringAsync(cacheKey, dataScopeType.ToString()); + + await AddCacheKeyAsync(cacheKey); + } + + /// <summary> + /// 鏍规嵁鐖堕敭娓呯┖ + /// </summary> + /// <param name="key"></param> + /// <returns></returns> + public async Task DelByParentKeyAsync(string key) + { + var allkeys = await GetAllCacheKeysAsync(); + if (allkeys == null) return; + + var delAllkeys = allkeys.Where(u => u.StartsWith(key)).ToList(); + delAllkeys.ForEach(Remove); + // 鏇存柊鎵�鏈夌紦瀛橀敭 + allkeys = allkeys.Where(u => !u.StartsWith(key)).ToList(); + await SetStringAsync(CacheConst.KeyAll, JsonConvert.SerializeObject(allkeys)); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/ICacheService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/ICacheService.cs" new file mode 100644 index 0000000..7deecbf --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/ICacheService.cs" @@ -0,0 +1,60 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Caches +{ + public interface ICacheService : IDisposable + { + /// <summary> + /// 楠岃瘉缂撳瓨椤规槸鍚﹀瓨鍦� + /// </summary> + /// <param name="key">缂撳瓨Key</param> + /// <returns></returns> + bool Exists(string key); + + /// <summary> + /// 娣诲姞缂撳瓨 + /// </summary> + /// <param name="key">缂撳瓨Key</param> + /// <param name="value">缂撳瓨Value</param> + /// <param name="expiresIn">缂撳瓨鏃堕暱</param> + /// <param name="isSliding">鏄惁婊戝姩杩囨湡锛堝鏋滃湪杩囨湡鏃堕棿鍐呮湁鎿嶄綔锛屽垯浠ュ綋鍓嶆椂闂寸偣寤堕暱杩囨湡鏃堕棿锛� //new TimeSpan(0, 60, 0);</param> + /// <returns></returns> + bool AddObject(string key, object value, int expireSeconds = -1, bool isSliding = false); + + bool Add(string key, string value, int expireSeconds = -1, bool isSliding = false); + + void AddOrUpdate(string key, string value, int expireSeconds = -1, bool isSliding = false); + + /// <summary> + /// 鍒犻櫎缂撳瓨 + /// </summary> + /// <param name="key">缂撳瓨Key</param> + /// <returns></returns> + bool Remove(string key); + + /// <summary> + /// 鎵归噺鍒犻櫎缂撳瓨 + /// </summary> + /// <param name="key">缂撳瓨Key闆嗗悎</param> + /// <returns></returns> + void Remove(IEnumerable<string> keys); + + /// <summary> + /// 鑾峰彇缂撳瓨 + /// </summary> + /// <param name="key">缂撳瓨Key</param> + /// <returns></returns> + T Get<T>(string key) where T : class; + + /// <summary> + /// 鑾峰彇缂撳瓨 + /// </summary> + /// <param name="key">缂撳瓨Key</param> + /// <returns></returns> + string Get(string key); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/ICaching.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/ICaching.cs" new file mode 100644 index 0000000..052615c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/ICaching.cs" @@ -0,0 +1,59 @@ +锘縰sing Microsoft.Extensions.Caching.Distributed; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Caches +{ + /// <summary> + /// 缂撳瓨鎶借薄鎺ュ彛,鍩轰簬IDistributedCache灏佽 + /// </summary> + public interface ICaching + { + public IDistributedCache Cache { get; } + void AddCacheKey(string cacheKey); + Task AddCacheKeyAsync(string cacheKey); + + void DelByPattern(string key); + Task DelByPatternAsync(string key); + + void DelCacheKey(string cacheKey); + Task DelCacheKeyAsync(string cacheKey); + + bool Exists(string cacheKey); + Task<bool> ExistsAsync(string cacheKey); + + List<string> GetAllCacheKeys(); + Task<List<string>> GetAllCacheKeysAsync(); + + T Get<T>(string cacheKey); + Task<T> GetAsync<T>(string cacheKey); + + object Get(Type type, string cacheKey); + Task<object> GetAsync(Type type, string cacheKey); + + string GetString(string cacheKey); + Task<string> GetStringAsync(string cacheKey); + + void Remove(string key); + Task RemoveAsync(string key); + + void RemoveAll(); + Task RemoveAllAsync(); + + void Set<T>(string cacheKey, T value, TimeSpan? expire = null); + Task SetAsync<T>(string cacheKey, T value); + Task SetAsync<T>(string cacheKey, T value, TimeSpan expire); + + void SetPermanent<T>(string cacheKey, T value); + Task SetPermanentAsync<T>(string cacheKey, T value); + + void SetString(string cacheKey, string value, TimeSpan? expire = null); + Task SetStringAsync(string cacheKey, string value); + Task SetStringAsync(string cacheKey, string value, TimeSpan expire); + + Task DelByParentKeyAsync(string key); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/MemoryCacheService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/MemoryCacheService.cs" new file mode 100644 index 0000000..60a2d72 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Caches/MemoryCacheService.cs" @@ -0,0 +1,113 @@ +锘縰sing Microsoft.Extensions.Caching.Memory; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Caches +{ + public class MemoryCacheService : ICacheService + { + protected IMemoryCache _cache; + public MemoryCacheService(IMemoryCache cache) + { + _cache = cache; + + } + + public bool Add(string key, string value, int expireSeconds = -1, bool isSliding = false) + { + return AddObject(key, value, expireSeconds, isSliding); + } + + public bool AddObject(string key, object value, int expireSeconds = -1, bool isSliding = false) + { + if (expireSeconds != -1) + { + _cache.Set(key, + value, + new MemoryCacheEntryOptions() + .SetSlidingExpiration(new TimeSpan(0, 0, expireSeconds)) + ); + } + else + { + _cache.Set(key, value); + } + + return true; + } + + public void AddOrUpdate(string key, string value, int expireSeconds = -1, bool isSliding = false) + { + if (!string.IsNullOrEmpty(Get(key))) + { + Remove(key); + Add(key, value, expireSeconds, isSliding); + } + else + { + Add(key, value, expireSeconds, isSliding); + } + } + + public void Dispose() + { + if (_cache != null) + _cache.Dispose(); + GC.SuppressFinalize(this); + } + + public bool Exists(string key) + { + if (key == null) + { + throw new ArgumentNullException(nameof(key)); + } + return _cache.Get(key) != null; + } + + public T Get<T>(string key) where T : class + { + if (key == null) + { + throw new ArgumentNullException(nameof(key)); + } + return _cache.Get(key) as T; + } + + public string? Get(string key) + { + try + { + return _cache.Get(key)?.ToString(); + } + catch + { + return string.Empty; + } + } + + public bool Remove(string key) + { + if (key == null) + { + throw new ArgumentNullException(nameof(key)); + } + _cache.Remove(key); + + return !Exists(key); + } + + public void Remove(IEnumerable<string> keys) + { + if (keys == null) + { + throw new ArgumentNullException(nameof(keys)); + } + + keys.ToList().ForEach(item => _cache.Remove(item)); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/AnalysisCodeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/AnalysisCodeEnum.cs" new file mode 100644 index 0000000..8067ce6 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/AnalysisCodeEnum.cs" @@ -0,0 +1,29 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.CodeConfigEnum +{ + /// <summary> + /// 瑙f瀽瑙勫垯缂栧彿 + /// </summary> + public enum AnalysisCodeEnum + { + /// <summary> + /// 鍐呯鐮� + /// </summary> + [Description("鍐呯鐮�")] + InnerCode, + + /// <summary> + /// 澶栫鐮� + /// </summary> + [Description("澶栫鐮�")] + OutterCode, + + MatSerNumAnalysis + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/AnalysisFormatTypeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/AnalysisFormatTypeEnum.cs" new file mode 100644 index 0000000..a994796 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/AnalysisFormatTypeEnum.cs" @@ -0,0 +1,49 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.CodeConfigEnum +{ + /// <summary> + /// 瑙f瀽鏍煎紡绫诲瀷 + /// </summary> + public enum AnalysisFormatTypeEnum + { + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [Description("鐗╂枡缂栧彿")] + MTC, + /// <summary> + /// 鐢熶骇鏃ユ湡 + /// </summary> + [Description("鐢熶骇鏃ユ湡")] + MTPD, + /// <summary> + /// 鎵规鍙� + /// </summary> + [Description("鎵规鍙�")] + BHN, + /// <summary> + /// 鏁伴噺 + /// </summary> + [Description("鏁伴噺")] + MTQ, + /// <summary> + /// 璁㈠崟鍙� + /// </summary> + [Description("璁㈠崟鍙�")] + ODN, + + [Description("鏈夋晥鏈�")] + ED, + /// <summary> + /// 鍘熷鏁版嵁 + /// </summary> + [Description("鍘熷鏁版嵁")] + BD, + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/AnalysisRuleEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/AnalysisRuleEnum.cs" new file mode 100644 index 0000000..7ee4115 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/AnalysisRuleEnum.cs" @@ -0,0 +1,27 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.CodeConfigEnum +{ + /// <summary> + /// 瑙f瀽瑙勫垯 + /// </summary> + public enum AnalysisRuleEnum + { + /// <summary> + /// 鍒嗗壊瀛楃涓插垎鍓� + /// </summary> + [Description("鍒嗗壊瀛楃涓插垎鍓�")] + Split, + + /// <summary> + /// 闀垮害鍒嗗壊 + /// </summary> + [Description("闀垮害鍒嗗壊")] + Length + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/CodeFormatTypeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/CodeFormatTypeEnum.cs" new file mode 100644 index 0000000..67e6783 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/CodeFormatTypeEnum.cs" @@ -0,0 +1,51 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.CodeConfigEnum +{ + /// <summary> + /// 缂栫爜鏍煎紡绫诲瀷 + /// </summary> + public enum CodeFormatTypeEnum + { + /// <summary> + /// 璧峰瀛楃涓� + /// </summary> + [Description("璧峰瀛楃涓�")] + ST, + + /// <summary> + /// 4浣嶆暟骞� + /// </summary> + [Description("4浣嶆暟骞�")] + YYYY, + + /// <summary> + /// 2浣嶆暟鏈� + /// </summary> + [Description("2浣嶆暟鏈�")] + MM, + + /// <summary> + /// 2浣嶆暟鏃� + /// </summary> + [Description("2浣嶆暟鏃�")] + DD, + + /// <summary> + /// 娴佹按鍙� + /// </summary> + [Description("娴佹按鍙�")] + NUM, + + /// <summary> + /// 缁撴潫瀛楃涓� + /// </summary> + [Description("缁撴潫瀛楃涓�")] + ED + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/RuleCodeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/RuleCodeEnum.cs" new file mode 100644 index 0000000..f270e87 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/CodeConfigEnum/RuleCodeEnum.cs" @@ -0,0 +1,49 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.CodeConfigEnum +{ + /// <summary> + /// 缂栫爜瑙勫垯缂栧彿 + /// </summary> + public enum RuleCodeEnum + { + /// <summary> + /// 鍏ュ簱鍗曞彿缂栫爜瑙勫垯缂栧彿 + /// </summary> + [Description("鍏ュ簱鍗曞彿缂栫爜瑙勫垯缂栧彿")] + InboundOrderRule, + + /// <summary> + /// 鍑哄簱鍗曞彿缂栫爜瑙勫垯缂栧彿 + /// </summary> + [Description("鍑哄簱鍗曞彿缂栫爜瑙勫垯缂栧彿")] + OutboundOrderRule, + + /// <summary> + /// 鏀惰揣鍗曞彿缂栫爜瑙勫垯缂栧彿 + /// </summary> + [Description("鏀惰揣鍗曞彿缂栫爜瑙勫垯缂栧彿")] + ReceiveOrderRule, + + /// <summary> + /// 璐ㄦ鍗曞彿缂栫爜瑙勫垯 + /// </summary> + [Description("璐ㄦ鍗曞彿缂栫爜瑙勫垯")] + CheckOrderRule, + /// <summary> + /// 鍙戞枡鍗曞彿缂栫爜瑙勫垯 + /// </summary> + [Description("鍙戞枡鍗曞彿缂栫爜瑙勫垯")] + FLCodeRule, + /// <summary> + /// 鍏ユ枡鍗曞彿缂栫爜瑙勫垯 + /// </summary> + [Description("鍏ユ枡鍗曞彿缂栫爜瑙勫垯")] + RLCodeRule + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/AppSecret.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/AppSecret.cs" new file mode 100644 index 0000000..8760498 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/AppSecret.cs" @@ -0,0 +1,29 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Const +{ + /// <summary> + /// 绉橀挜閰嶇疆 + /// </summary> + public struct AppSecret + { + public const string JWT = "BB3647441FFA4B5DB4E64A29B53CE525"; + + public const string Audience = "WIDESEA_WMS"; + + public const string Issuer = "WIDESEA_WMS_Owner"; + + public const string TokenHeaderName = "Authorization"; + + public const string User = "C5ABA9E202D94C43A3CA66002BF77FAF"; + + public const string DB = "3F8B7B38AD3D484A89ACA513CBD79F36"; + + //杩炴帴瀛楃涓� + //Data Source=.;Initial Catalog=WIDESEA_DB_2;User ID=sa;Password=P@ssw0rd;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/CacheConst.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/CacheConst.cs" new file mode 100644 index 0000000..841d5d2 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/CacheConst.cs" @@ -0,0 +1,94 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Const +{ + /// <summary> + /// 缂撳瓨鐩稿叧甯搁噺 + /// </summary> + public class CacheConst + { + /// <summary> + /// 鐢ㄦ埛缂撳瓨 + /// </summary> + public const string KeyUser = "user:"; + + /// <summary> + /// 鐢ㄦ埛閮ㄩ棬缂撳瓨 + /// </summary> + public const string KeyUserDepart = "userDepart:"; + + /// <summary> + /// 鑿滃崟缂撳瓨 + /// </summary> + public const string KeyMenu = "menu:"; + + /// <summary> + /// 鑿滃崟 + /// </summary> + public const string KeyPermissions = "permissions"; + + /// <summary> + /// 鏉冮檺缂撳瓨 + /// </summary> + public const string KeyPermission = "permission:"; + + /// <summary> + /// 鎺ュ彛璺敱 + /// </summary> + public const string KeyModules = "modules"; + + /// <summary> + /// 绯荤粺閰嶇疆 + /// </summary> + public const string KeySystemConfig = "sysConfig"; + + /// <summary> + /// 鏌ヨ杩囨护鍣ㄧ紦瀛� + /// </summary> + public const string KeyQueryFilter = "queryFilter:"; + + /// <summary> + /// 鏈烘瀯Id闆嗗悎缂撳瓨 + /// </summary> + public const string KeyOrgIdList = "org:"; + + /// <summary> + /// 鏈�澶ц鑹叉暟鎹寖鍥寸紦瀛� + /// </summary> + public const string KeyMaxDataScopeType = "maxDataScopeType:"; + + /// <summary> + /// 楠岃瘉鐮佺紦瀛� + /// </summary> + public const string KeyVerCode = "verCode:"; + + /// <summary> + /// 鎵�鏈夌紦瀛樺叧閿瓧闆嗗悎 + /// </summary> + public const string KeyAll = "keys"; + + /// <summary> + /// 瀹氭椂浠诲姟缂撳瓨 + /// </summary> + public const string KeyTimer = "timer:"; + + /// <summary> + /// 鍦ㄧ嚎鐢ㄦ埛缂撳瓨 + /// </summary> + public const string KeyOnlineUser = "onlineuser:"; + + /// <summary> + /// 甯搁噺涓嬫媺妗� + /// </summary> + public const string KeyConstSelector = "selector:"; + + /// <summary> + /// swagger鐧诲綍缂撳瓨 + /// </summary> + public const string SwaggerLogin = "swaggerLogin:"; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/ConfigConst.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/ConfigConst.cs" new file mode 100644 index 0000000..e6c0f07 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/ConfigConst.cs" @@ -0,0 +1,64 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Const +{ + /// <summary> + /// 鍒嗙被甯搁噺 + /// </summary> + public class CateGoryConst + { + /// <summary> + /// 閭鍩虹 + /// </summary> + public const string CONFIG_SYS_BaseExmail = "Sys_BaseExmail"; + + /// <summary> + /// 閭閰嶇疆 + /// </summary> + public const string CONFIG_SYS_RegExmail = "Sys_RegExmail"; + } + + /// <summary> + /// 閰嶇疆Key甯搁噺 + /// </summary> + public class SysConfigConst + { + /// <summary> + /// 閭SMTP鍦板潃 + /// </summary> + public const string SMTP_Server = "smtpServer"; + + /// <summary> + /// 閭SMTP绔彛 + /// </summary> + public const string SMTP_Port = "smtpPort"; + + /// <summary> + /// 閭SMTP璐﹀彿 + /// </summary> + public const string SMTP_User = "smtpUser"; + + /// <summary> + /// 閭SMTP瀵嗙爜 + /// </summary> + public const string SMTP_Pass = "smtpPass"; + + /// <summary> + /// 閭鏍囬 + /// </summary> + public const string SMTP_Title = "smtpTitle"; + + /// <summary> + /// 閭鍐呭鏍囬 + /// </summary> + public const string SMTP_ContentTitle = "smtpContentTitle"; + /// <summary> + /// 閭鍐呭鏍囬 + /// </summary> + public const string SMTP_RegUser = "smtpRegUser"; + } +} \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/ErrorMsgConst.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/ErrorMsgConst.cs" new file mode 100644 index 0000000..3456c44 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/ErrorMsgConst.cs" @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Const +{ + public class ErrorMsgConst + { + public const string ParamIsNull = "鍙傛暟鏃犳晥"; + public const string EntityValueIsNull = "涓哄繀椤绘彁浜ら」"; + public const string SugarColumnIsNull = "璇烽厤缃甋ugarColumn灞炴��"; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/HtmlElementType.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/HtmlElementType.cs" new file mode 100644 index 0000000..735718d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/HtmlElementType.cs" @@ -0,0 +1,32 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Const +{ + public struct HtmlElementType + { + public const string drop = "drop"; + public const string droplist = "droplist"; + public const string select = "select"; + public const string selectlist = "selectlist"; + public const string checkbox = "checkbox"; + public const string textarea = "textarea"; + public const string thanorequal = "thanorequal"; + public const string lessorequal = "lessorequal"; + + + public const string gt = "gt"; + public const string lt = "lt"; + public const string GT = ">"; + public const string LT = "<"; + public const string like = "like"; + + public const string ThanOrEqual = ">="; + public const string LessOrequal = "<="; + public const string Contains = "in"; + public const string Equal = "="; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/SqlDbTypeName.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/SqlDbTypeName.cs" new file mode 100644 index 0000000..b12f10d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/SqlDbTypeName.cs" @@ -0,0 +1,29 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Const +{ + public struct SqlDbTypeName + { + public const string NVarChar = "nvarchar"; + public const string VarChar = "varchar"; + public const string NChar = "nchar"; + public const string Char = "char"; + public const string Text = "text"; + public const string Int = "int"; + public const string BigInt = "bigint"; + public const string DateTime = "datetime"; + public const string Date = "date"; + public const string SmallDateTime = "smalldatetime"; + public const string SmallDate = "smalldate"; + public const string Float = "float"; + public const string Decimal = "decimal"; + public const string Double = "double"; + public const string Bit = "bit"; + public const string Bool = "bool"; + public const string UniqueIdentifier = "uniqueidentifier"; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/TenantConst.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/TenantConst.cs" new file mode 100644 index 0000000..eeeeae4 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/TenantConst.cs" @@ -0,0 +1,13 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Const +{ + public class TenantConst + { + public const string DBConStr = "Data Source={0};Initial Catalog={1};User ID={2};Password={3};Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/TenantStatus.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/TenantStatus.cs" new file mode 100644 index 0000000..581b035 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Const/TenantStatus.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Const +{ + public struct TenantStatus + { + public const int Enable = 1; + public const int Disable = 2; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Core/ConfigurableOptions.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Core/ConfigurableOptions.cs" new file mode 100644 index 0000000..a313a78 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Core/ConfigurableOptions.cs" @@ -0,0 +1,66 @@ +锘縰sing Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Options; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Core +{ + public static class ConfigurableOptions + { + /// <summary>娣诲姞閫夐」閰嶇疆</summary> + /// <typeparam name="TOptions">閫夐」绫诲瀷</typeparam> + /// <param name="services">鏈嶅姟闆嗗悎</param> + /// <returns>鏈嶅姟闆嗗悎</returns> + public static IServiceCollection AddConfigurableOptions<TOptions>(this IServiceCollection services) + where TOptions : class, IConfigurableOptions + { + Type optionsType = typeof(TOptions); + string path = GetConfigurationPath(optionsType); + services.Configure<TOptions>(App.Configuration.GetSection(path)); + + return services; + } + + public static IServiceCollection AddConfigurableOptions(this IServiceCollection services, Type type) + { + string path = GetConfigurationPath(type); + var config = App.Configuration.GetSection(path); + + Type iOptionsChangeTokenSource = typeof(IOptionsChangeTokenSource<>); + Type iConfigureOptions = typeof(IConfigureOptions<>); + Type configurationChangeTokenSource = typeof(ConfigurationChangeTokenSource<>); + Type namedConfigureFromConfigurationOptions = typeof(NamedConfigureFromConfigurationOptions<>); + iOptionsChangeTokenSource = iOptionsChangeTokenSource.MakeGenericType(type); + iConfigureOptions = iConfigureOptions.MakeGenericType(type); + configurationChangeTokenSource = configurationChangeTokenSource.MakeGenericType(type); + namedConfigureFromConfigurationOptions = namedConfigureFromConfigurationOptions.MakeGenericType(type); + + services.AddOptions(); + services.AddSingleton(iOptionsChangeTokenSource, + Activator.CreateInstance(configurationChangeTokenSource, Options.DefaultName, config) ?? throw new InvalidOperationException()); + return services.AddSingleton(iConfigureOptions, + Activator.CreateInstance(namedConfigureFromConfigurationOptions, Options.DefaultName, config) ?? throw new InvalidOperationException()); + } + + /// <summary>鑾峰彇閰嶇疆璺緞</summary> + /// <param name="optionsType">閫夐」绫诲瀷</param> + /// <returns></returns> + public static string GetConfigurationPath(Type optionsType) + { + var endPath = new[] { "Option", "Options" }; + var configurationPath = optionsType.Name; + foreach (var s in endPath) + { + if (configurationPath.EndsWith(s)) + { + return configurationPath[..^s.Length]; + } + } + + return configurationPath; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Core/IConfigurableOptions.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Core/IConfigurableOptions.cs" new file mode 100644 index 0000000..a891834 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Core/IConfigurableOptions.cs" @@ -0,0 +1,12 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Core +{ + public interface IConfigurableOptions + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Core/InternalApp.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Core/InternalApp.cs" new file mode 100644 index 0000000..5dfff8e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Core/InternalApp.cs" @@ -0,0 +1,47 @@ +锘縰sing Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Core +{ + public static class InternalApp + { + internal static IServiceCollection InternalServices; + + /// <summary>鏍规湇鍔�</summary> + internal static IServiceProvider RootServices; + + /// <summary>鑾峰彇Web涓绘満鐜</summary> + internal static IWebHostEnvironment WebHostEnvironment; + + /// <summary>鑾峰彇娉涘瀷涓绘満鐜</summary> + internal static IHostEnvironment HostEnvironment; + + /// <summary>閰嶇疆瀵硅薄</summary> + internal static IConfiguration Configuration; + + public static void ConfigureApplication(this WebApplicationBuilder wab) + { + HostEnvironment = wab.Environment; + WebHostEnvironment = wab.Environment; + InternalServices = wab.Services; + } + + public static void ConfigureApplication(this IConfiguration configuration) + { + Configuration = configuration; + } + + public static void ConfigureApplication(this IHost app) + { + RootServices = app.Services; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/BaseDBConfig.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/BaseDBConfig.cs" new file mode 100644 index 0000000..1382e3e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/BaseDBConfig.cs" @@ -0,0 +1,121 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Dynamic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Const; +using WIDESEA_Core.Helper; +using WIDESEA_Core.Tenants; + +namespace WIDESEA_Core.DB +{ + public class BaseDBConfig + { + /* 涔嬪墠鐨勫崟搴撴搷浣滃凡缁忓垹闄わ紝濡傛灉鎯宠涔嬪墠鐨勪唬鐮侊紝鍙互鏌ョ湅鎴戠殑GitHub鐨勫巻鍙茶褰� + * 鐩墠鏄搴撴搷浣滐紝榛樿鍔犺浇鐨勬槸appsettings.json璁剧疆涓簍rue鐨勭涓�涓猟b杩炴帴銆� + */ + public static List<MutiDBOperate> MutiConnectionString => MutiInitConn(); + + private static string DifDBConnOfSecurity(params string[] conn) + { + foreach (var item in conn) + { + try + { + if (File.Exists(item)) + { + return File.ReadAllText(item).Trim(); + } + } + catch (System.Exception) + { + } + } + + return conn[conn.Length - 1]; + } + + public static List<MutiDBOperate> MutiInitConn() + { + SqlSugarClient sqlSugarClient = new SqlSugarClient(new ConnectionConfig + { + ConfigId = MainDb.CurrentDbConnId, + ConnectionString = AppSettings.Get(MainDb.ConnectionString).DecryptDES(AppSecret.DB), + IsAutoCloseConnection = true, + DbType = MainDb.DbType, + AopEvents = new AopEvents + { + OnError = x => + { + Console.WriteLine(x.Sql); + } + } + }); + + List<ExpandoObject> list = sqlSugarClient.Queryable(MainDb.TenantTableName, "x").Where(MainDb.TenantStatus, "=", TenantStatus.Enable).Select(TenantUtil.GetTenantSelectModels()).ToList(); + List<MutiDBOperate> listdatabaseSlaveDB = new List<MutiDBOperate>(); + MutiDBOperate mainDb = new MutiDBOperate() + { + Connection = AppSettings.Get(MainDb.ConnectionString).DecryptDES(AppSecret.DB), + ConnId = MainDb.CurrentDbConnId, + DbType = DataBaseType.SqlServer + }; + listdatabaseSlaveDB.Add(mainDb); + for (int i = 0; i < list.Count; i++) + { + dynamic data = list[i]; + MutiDBOperate mutiDBOperate = new MutiDBOperate() + { + Connection = data.ConnectionString, + ConnId = data.TenantId + "", + DbType = (DataBaseType)data.DbType, + }; + mutiDBOperate.Connection = mutiDBOperate.Connection.DecryptDES(AppSecret.DB); + listdatabaseSlaveDB.Add(mutiDBOperate); + } + + return listdatabaseSlaveDB; + } + } + + public enum DataBaseType + { + MySql = 0, + SqlServer = 1, + Sqlite = 2, + Oracle = 3, + PostgreSQL = 4, + Dm = 5, + Kdbndp = 6, + } + + public class MutiDBOperate + { + /// <summary> + /// 杩炴帴鍚敤寮�鍏� + /// </summary> + public bool Enabled { get; set; } + + /// <summary> + /// 杩炴帴ID + /// </summary> + public string ConnId { get; set; } + + /// <summary> + /// 浠庡簱鎵ц绾у埆锛岃秺澶ц秺鍏堟墽琛� + /// </summary> + public int HitRate { get; set; } + + /// <summary> + /// 杩炴帴瀛楃涓� + /// </summary> + public string Connection { get; set; } + + /// <summary> + /// 鏁版嵁搴撶被鍨� + /// </summary> + public DataBaseType DbType { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/MainDb.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/MainDb.cs" new file mode 100644 index 0000000..4319cb3 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/MainDb.cs" @@ -0,0 +1,32 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.DB +{ + public static class MainDb + { + public const string CurrentDbConnId = "WIDESEA"; + public const string ConnectionStringsEncryption = "ConnectionStringsEncryption"; + public const string ConnectionString = "ConnectionString"; + public const string TenantTableName = "Sys_Tenant"; + public const string TenantStatus = "Status"; + public const string TenantId = "TenantId"; + public const string TenantName = "TenantName"; + public const string EntityNameSpace = "WIDESEA_Model.Models"; + public const string TenantDbType = "DbType"; + public const string AssemblyName = "WIDESEA_Model.dll"; + public static DbType DbType = DbType.SqlServer; + public const string UserTableName = "Sys_User"; + public const string RoleId = "RoleId"; + public const string UserName = "UserName"; + public const string UserId = "UserId"; + public const string CodeRuleConfig = "Dt_CodeRuleConfig"; + public const string RuleCode = "RuleCode"; + public const string AnalysisRuleConfig = "Dt_AnalysisRuleConfig"; + public const string AnalysisCode = "AnalysisCode"; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/Models/BaseEntity.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/Models/BaseEntity.cs" new file mode 100644 index 0000000..7136886 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/Models/BaseEntity.cs" @@ -0,0 +1,82 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.DB.Models +{ + public class BaseEntity + { + #region 鏁版嵁鐘舵�佺鐞� + + /// <summary> + /// 鐘舵�� <br/> + /// 涓珛瀛楁锛屾煇浜涜〃鍙娇鐢ㄦ煇浜涜〃涓嶄娇鐢� + /// </summary> + //public bool Enabled { get; set; } = true; + + /// <summary> + /// 涓珛瀛楁锛屾煇浜涜〃鍙娇鐢ㄦ煇浜涜〃涓嶄娇鐢� <br/> + /// 閫昏緫涓婄殑鍒犻櫎锛岄潪鐗╃悊鍒犻櫎 <br/> + /// 渚嬪锛氬崟鎹垹闄ゅ苟闈炵洿鎺ュ垹闄� + /// </summary> + //public bool IsDeleted { get; set; } + + /// <summary> + /// 涓珛瀛楁 <br/> + /// 鏄惁鍐呯疆鏁版嵁 + /// </summary> + //public bool IsInternal { get; set; } + + #endregion 鏁版嵁鐘舵�佺鐞� + + #region 鍒涘缓 + + /// <summary> + /// 鍒涘缓鑰� + /// </summary> + [ImporterHeader(Name = "鍒涘缓鑰�")] + [ExporterHeader(DisplayName = "鍒涘缓鑰�")] + [SugarColumn(IsNullable = false, Length = 50, IsOnlyIgnoreUpdate = true, ColumnDescription = "鍒涘缓鑰�")] + public string Creater { get; set; } + + /// <summary> + /// 鍒涘缓鏃堕棿 + /// </summary> + [ImporterHeader(Name = "鍒涘缓鏃堕棿")] + [ExporterHeader(DisplayName = "鍒涘缓鏃堕棿")] + [SugarColumn(IsNullable = false, IsOnlyIgnoreUpdate = true, ColumnDescription = "鍒涘缓鏃堕棿")] + public DateTime CreateDate { get; set; } = DateTime.Now; + + #endregion + + #region 淇敼 + + /// <summary> + /// 鏇存柊鑰� + /// </summary> + [ImporterHeader(Name = "淇敼浜�")] + [ExporterHeader(DisplayName = "淇敼浜�")] + [SugarColumn(IsNullable = true, Length = 50, IsOnlyIgnoreInsert = true, ColumnDescription = "淇敼浜�")] + public string Modifier { get; set; } + + /// <summary> + /// 淇敼鏃ユ湡 + /// </summary> + [ImporterHeader(Name = "淇敼鏃ユ湡")] + [ExporterHeader(DisplayName = "淇敼鏃ユ湡")] + [SugarColumn(IsNullable = true, IsOnlyIgnoreInsert = true, ColumnDescription = "淇敼鏃ユ湡")] + public DateTime? ModifyDate { get; set; } + + /// <summary> + /// 鏁版嵁鐗堟湰 + /// </summary> + //[SugarColumn(DefaultValue = "0", IsEnableUpdateVersionValidation = true)] //鏍囪瘑鐗堟湰瀛楁 + //public long Version { get; set; } + + #endregion 淇敼 + } +} \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/Models/BaseWarehouseEntity.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/Models/BaseWarehouseEntity.cs" new file mode 100644 index 0000000..0839833 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/Models/BaseWarehouseEntity.cs" @@ -0,0 +1,15 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.DB.Models +{ + public interface BaseWarehouseEntity + { + [SugarColumn(IsNullable = false)] + int WarehouseId { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/Models/IBaseHistoryEntity.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/Models/IBaseHistoryEntity.cs" new file mode 100644 index 0000000..a5b560f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/Models/IBaseHistoryEntity.cs" @@ -0,0 +1,37 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.DB.Models +{ + public interface IBaseHistoryEntity + { + /// <summary> + /// 鍘熻〃涓婚敭 + /// </summary> + [ImporterHeader(Name = "鍘熻〃涓婚敭")] + [ExporterHeader(DisplayName = "鍘熻〃涓婚敭")] + [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "鍘熻〃涓婚敭")] + public int SourceId { get; set; } + + /// <summary> + /// 鎿嶄綔绫诲瀷 + /// </summary> + [ImporterHeader(Name = "鎿嶄綔绫诲瀷")] + [ExporterHeader(DisplayName = "鎿嶄綔绫诲瀷")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎿嶄綔绫诲瀷")] + public string OperateType { get; set; } + + /// <summary> + /// 绉诲叆鍘嗗彶鏃堕棿 + /// </summary> + [ImporterHeader(Name = "绉诲叆鍘嗗彶鏃堕棿")] + [ExporterHeader(DisplayName = "绉诲叆鍘嗗彶鏃堕棿")] + [SugarColumn(IsNullable = false, ColumnDescription = "绉诲叆鍘嗗彶鏃堕棿")] + public DateTime InsertTime { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/RepositorySetting.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/RepositorySetting.cs" new file mode 100644 index 0000000..67c4968 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/DB/RepositorySetting.cs" @@ -0,0 +1,53 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; +using WIDESEA_Core.Tenants; + +namespace WIDESEA_Core.DB +{ + public class RepositorySetting + { + private static readonly Lazy<IEnumerable<Type>> AllEntitys = new(() => + { + var path = AppDomain.CurrentDomain.RelativeSearchPath ?? AppDomain.CurrentDomain.BaseDirectory; + var referencedAssemblies = System.IO.Directory.GetFiles(path, MainDb.AssemblyName).Select(Assembly.LoadFrom).FirstOrDefault(); + return referencedAssemblies + .GetTypes() + .Where(t => t.IsClass && !t.IsAbstract && t.IsSubclassOf(typeof(BaseEntity))) + .Where(it => it.FullName != null && it.FullName.StartsWith(MainDb.EntityNameSpace)); + }); + + public static IEnumerable<Type> Entitys => AllEntitys.Value; + + /// <summary> + /// 閰嶇疆瀹炰綋杞垹闄よ繃婊ゅ櫒<br/> + /// 缁熶竴杩囨护 杞垹闄� 鏃犻渶鑷繁鍐欐潯浠� + /// </summary> + public static void SetDeletedEntityFilter(SqlSugarScopeProvider db) + { + //db.QueryFilter.AddTableFilter<IDeleteFilter>(it => it.IsDeleted == false); + } + + /// <summary> + /// 閰嶇疆绉熸埛 + /// </summary> + public static void SetTenantEntityFilter(SqlSugarScopeProvider db) + { + if (App.User is not { UserId: > 0, TenantId: > 0 }) + { + return; + } + + //澶氱鎴� 鍗曡〃 + //db.QueryFilter.AddTableFilter<ITenantEntity>(it => it.TenantId == App.User.TenantId || it.TenantId == 0); + + //澶氱鎴� 澶氳〃 + //db.SetTenantTable(App.User.TenantId.ToString()); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/AuthorityScopeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/AuthorityScopeEnum.cs" new file mode 100644 index 0000000..1950004 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/AuthorityScopeEnum.cs" @@ -0,0 +1,41 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Enums +{ + public enum AuthorityScopeEnum + { + /// <summary> + /// 鏃� + /// </summary> + None = -1, + + /// <summary> + /// 浠呰嚜宸� + /// </summary> + OnlySelf = 1, + + /// <summary> + /// 褰撳墠瑙掕壊 + /// </summary> + CurrentRole = 2, + + /// <summary> + /// 褰撳墠瑙掕壊鍙婁互涓� + /// </summary> + CurrentRoleAndDown = 3, + + /// <summary> + /// 鑷畾涔� + /// </summary> + Custom = 4, + + /// <summary> + /// 鎵�鏈� + /// </summary> + All = 10 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/EnumHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/EnumHelper.cs" new file mode 100644 index 0000000..60cddd4 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/EnumHelper.cs" @@ -0,0 +1,111 @@ +锘縰sing System.ComponentModel; +using System.Reflection; + +namespace WIDESEA_Core.Enums +{ + public static class EnumHelper + { + /// <summary> + /// 鏋氫妇杞瓧鍏搁泦鍚� + /// </summary> + /// <typeparam name="T">鏋氫妇绫诲悕绉�</typeparam> + /// <param name="keyDefault">榛樿key鍊�</param> + /// <param name="valueDefault">榛樿value鍊�</param> + /// <returns>杩斿洖鐢熸垚鐨勫瓧鍏搁泦鍚�</returns> + public static Dictionary<string, object> EnumListDic<T>(string keyDefault, string valueDefault = "") + { + Dictionary<string, object> dicEnum = new Dictionary<string, object>(); + Type enumType = typeof(T); + if (!enumType.IsEnum) + { + return dicEnum; + } + if (!string.IsNullOrEmpty(keyDefault)) //鍒ゆ柇鏄惁娣诲姞榛樿閫夐」 + { + dicEnum.Add(keyDefault, valueDefault); + } + string[] fieldstrs = Enum.GetNames(enumType); //鑾峰彇鏋氫妇瀛楁鏁扮粍 + foreach (var item in fieldstrs) + { + string description = string.Empty; + var field = enumType.GetField(item); + object[] arr = field.GetCustomAttributes(typeof(DescriptionAttribute), true); //鑾峰彇灞炴�у瓧娈垫暟缁� + if (arr != null && arr.Length > 0) + { + description = ((DescriptionAttribute)arr[0]).Description; //灞炴�ф弿杩� + } + else + { + description = item; //鎻忚堪涓嶅瓨鍦ㄥ彇瀛楁鍚嶇О + } + dicEnum.Add(description, (int)Enum.Parse(enumType, item)); //涓嶇敤鏋氫妇鐨剉alue鍊间綔涓哄瓧鍏竗ey鍊肩殑鍘熷洜浠庢灇涓句緥瀛愯兘鐪嬪嚭鏉ワ紝鍏跺疄杩欒竟搴旇鍒ゆ柇浠栫殑鍊间笉瀛樺湪锛岄粯璁ゅ彇瀛楁鍚嶇О + } + return dicEnum; + } + /// <summary> + /// 鑾峰彇鏋氫妇椤规弿杩颁俊鎭� 渚嬪GetEnumDesc(Days.Sunday) + /// </summary> + /// <param name="en">鏋氫妇椤� 濡侱ays.Sunday</param> + /// <returns></returns> + public static string GetIntegralRuleTypeEnumDesc(this Enum en) + { + Type type = en.GetType(); + MemberInfo[] memInfo = type.GetMember(en.ToString()); + if (memInfo != null && memInfo.Length > 0) + { + object[] attrs = memInfo[0].GetCustomAttributes(typeof(System.ComponentModel.DescriptionAttribute), false); + if (attrs != null && attrs.Length > 0) + return ((DescriptionAttribute)attrs[0]).Description; + } + return en.ToString(); + } + /// <summary> + /// 鑾峰彇鏋氫妇闆嗗悎 + /// </summary> + /// <typeparam name="T">鏋氫妇绫诲悕绉�</typeparam> + /// <returns></returns> + public static IEnumerable<EnumModel> GetEnumList<T>() + { + var model = default(T); + FieldInfo[] fieldinfo = typeof(T).GetFields(); + List<EnumModel> result = new List<EnumModel>(); + foreach (FieldInfo field in fieldinfo) + { + EnumModel enumModel = new EnumModel(); + if (!(Attribute.GetCustomAttribute(field, typeof(DescriptionAttribute)) is DescriptionAttribute attribute)) + { + enumModel.Desc = field.GetValue(model).ToString(); + } + else + { + enumModel.Desc = attribute.Description; + } + enumModel.Value = field.GetValue(model).GetHashCode(); + enumModel.Key = field.GetValue(model) as ValueType; + if (field.GetValue(model).ToString() != "0") + { + result.Add(enumModel); + } + + } + return result; + } + } + + public class EnumModel + { + /// <summary> + /// Enum鐨勫�� + /// </summary> + public int Value { get; set; } + /// <summary> + /// Enum鐨刱ey + /// </summary> + public ValueType Key { get; set; } + /// <summary> + /// Enum鎻忚堪 + /// </summary> + public string Desc { get; set; } + } + +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/LinqExpressionType.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/LinqExpressionType.cs" new file mode 100644 index 0000000..cd90b5a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/LinqExpressionType.cs" @@ -0,0 +1,21 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Enums +{ + public enum LinqExpressionType + { + Equal = 0,//= + NotEqual = 1,//!= + GreaterThan,//> + LessThan,//< + ThanOrEqual,//>= + LessThanOrEqual,//<= + In, + Contains,//Contains + NotContains//NotContains + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/OperateTypeEnum.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/OperateTypeEnum.cs" new file mode 100644 index 0000000..9c09173 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Enums/OperateTypeEnum.cs" @@ -0,0 +1,19 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Enums +{ + public enum OperateTypeEnum + { + 浜哄伐鍒犻櫎 = 1, + 鑷姩鍒犻櫎 = 2, + 浜哄伐鎭㈠ = 3, + 鑷姩鎭㈠ = 4, + 浜哄伐瀹屾垚 = 5, + 鑷姩瀹屾垚 = 6, + 鍏抽棴 = 7 + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/AllOptionRegister.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/AllOptionRegister.cs" new file mode 100644 index 0000000..93eefc0 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/AllOptionRegister.cs" @@ -0,0 +1,24 @@ +锘縰sing Microsoft.Extensions.DependencyInjection; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Core; + +namespace WIDESEA_Core.Extensions +{ + public static class AllOptionRegister + { + public static void AddAllOptionRegister(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + foreach (var optionType in App.EffectiveTypes.Where(s => + !s.IsInterface && typeof(IConfigurableOptions).IsAssignableFrom(s))) + { + services.AddConfigurableOptions(optionType); + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/ApplicationSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/ApplicationSetup.cs" new file mode 100644 index 0000000..404bf07 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/ApplicationSetup.cs" @@ -0,0 +1,28 @@ +锘縰sing Microsoft.AspNetCore.Builder; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Extensions +{ + public static class ApplicationSetup + { + public static void UseApplicationSetup(this WebApplication app) + { + app.Lifetime.ApplicationStarted.Register(() => + { + App.IsRun = true; + }); + + app.Lifetime.ApplicationStopped.Register(() => + { + App.IsRun = false; + + //娓呴櫎鏃ュ織 + //Log.CloseAndFlush(); + }); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/AutofacModuleRegister.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/AutofacModuleRegister.cs" new file mode 100644 index 0000000..c98e78c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/AutofacModuleRegister.cs" @@ -0,0 +1,80 @@ +锘縰sing Autofac; +using Autofac.Extras.DynamicProxy; +using HslCommunication.WebSocket; +using Microsoft.Extensions.DependencyModel; +using OfficeOpenXml.FormulaParsing.Excel.Functions.Text; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Runtime.Loader; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.AOP; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Helper; +using WIDESEA_Core.LogHelper; + +namespace WIDESEA_Core.Extensions +{ + public class AutofacModuleRegister : Autofac.Module + { + //private static readonly ILog log = LogManager.GetLogger(typeof(AutofacModuleRegister)); + protected override void Load(ContainerBuilder builder) + { + var basePath = AppContext.BaseDirectory; + var cacheType = new List<Type>(); + + builder.RegisterType<LogAOP>(); + if (AppSettings.Get("LogAopEnable").ObjToBool()) + { + cacheType.Add(typeof(LogAOP)); + } + + builder.RegisterGeneric(typeof(RepositoryBase<>)).As(typeof(IRepository<>)).InstancePerDependency();//娉ㄥ唽浠撳偍 + builder.RegisterGeneric(typeof(ServiceBase<,>)).As(typeof(IService<>)).InstancePerDependency();//娉ㄥ唽鏈嶅姟 + + Type baseType = typeof(IDependency); + + List<RuntimeLibrary> compilationLibrary = DependencyContext.Default + .RuntimeLibraries + .Where(x => !x.Serviceable + && x.Type == "project") + .ToList(); + List<Assembly> assemblyList = new List<Assembly>(); + foreach (var library in compilationLibrary) + { + try + { + string path = Path.Combine(basePath, $"{library.Name}.dll"); + if (!File.Exists(path)) + { + var msg = $"{library.Name}.dll涓㈠け锛屽洜涓洪」鐩В鑰︿簡锛屾墍浠ラ渶瑕佸厛F6缂栬瘧锛屽啀F5杩愯锛岃妫�鏌� bin 鏂囦欢澶癸紝骞舵嫹璐濄��"; + //log.Error(msg); + throw new Exception(msg); + } + assemblyList.Add(Assembly.LoadFrom(path)); + } + catch (Exception ex) + { + Console.WriteLine(library.Name + ex.Message); + } + } + + builder.RegisterAssemblyTypes(assemblyList.ToArray()).Where(x => !x.IsInterface && !x.IsAbstract && baseType.IsAssignableFrom(x)) + .AsImplementedInterfaces() + .PropertiesAutowired() + .InstancePerDependency(). + EnableInterfaceInterceptors() + .InterceptedBy(cacheType.ToArray()); + + builder.RegisterType<UnitOfWorkManage>().As<IUnitOfWorkManage>() + .AsImplementedInterfaces() + .InstancePerLifetimeScope() + .PropertiesAutowired(); + + builder.RegisterType<RequestLogModel>().InstancePerLifetimeScope(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/CorsSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/CorsSetup.cs" new file mode 100644 index 0000000..417610d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/CorsSetup.cs" @@ -0,0 +1,56 @@ +锘縰sing Microsoft.Extensions.DependencyInjection; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.Extensions +{ + /// <summary> + /// Cors 璺ㄥ煙 + /// </summary> + public static class CorsSetup + { + /// <summary> + /// 璺ㄥ煙 + /// </summary> + /// <param name="services"></param> + /// <exception cref="ArgumentNullException"></exception> + public static void AddCorsSetup(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + services.AddCors(c => + { + if (!AppSettings.Get(new string[] { "Cors", "EnableAllIPs" }).ObjToBool()) + { + c.AddPolicy(AppSettings.Get(new string[] {"Cors", "PolicyName" }), + + policy => + { + policy + .WithOrigins(AppSettings.Get(new string[] { "Cors", "IPs" }).Split(',')) + .AllowAnyHeader()//Ensures that the policy allows any header. + .AllowAnyMethod(); + }); + } + else + { + //鍏佽浠绘剰璺ㄥ煙璇锋眰 + c.AddPolicy(AppSettings.Get(new string[] { "Cors", "PolicyName" }), + policy => + { + policy + .SetIsOriginAllowed((host) => true) + .AllowAnyMethod() + .AllowAnyHeader() + .AllowCredentials(); + }); + } + + }); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/DbSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/DbSetup.cs" new file mode 100644 index 0000000..dba095c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/DbSetup.cs" @@ -0,0 +1,24 @@ +锘縰sing Microsoft.Extensions.DependencyInjection; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Seed; + +namespace WIDESEA_Core +{ + /// <summary> + /// Db 鍚姩鏈嶅姟 + /// </summary> + public static class DbSetup + { + public static void AddDbSetup(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + services.AddScoped<DBSeed>(); + services.AddScoped<DBContext>(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/HttpContextExtension.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/HttpContextExtension.cs" new file mode 100644 index 0000000..92ecb6e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/HttpContextExtension.cs" @@ -0,0 +1,24 @@ +锘縰sing Microsoft.AspNetCore.Http; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Extensions +{ + public static class HttpContextExtension + { + public static ISession GetSession(this HttpContext context) + { + try + { + return context.Session; + } + catch (Exception) + { + return default; + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/HttpContextSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/HttpContextSetup.cs" new file mode 100644 index 0000000..2615700 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/HttpContextSetup.cs" @@ -0,0 +1,30 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.Extensions.DependencyInjection; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.HttpContextUser; + +namespace WIDESEA_Core.Extensions +{ + /// <summary> + /// HttpContext 鐩稿叧鏈嶅姟 + /// </summary> + public static class HttpContextSetup + { + /// <summary> + /// HttpContext 鐩稿叧鏈嶅姟 + /// </summary> + /// <param name="services"></param> + /// <exception cref="ArgumentNullException"></exception> + public static void AddHttpContextSetup(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>(); + services.AddScoped<IUser, AspNetUser>(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/InitializationHostServiceSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/InitializationHostServiceSetup.cs" new file mode 100644 index 0000000..9acbd1e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/InitializationHostServiceSetup.cs" @@ -0,0 +1,28 @@ +锘縰sing Microsoft.Extensions.DependencyInjection; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Extensions +{ + public static class InitializationHostServiceSetup + { + /// <summary> + /// 搴旂敤鍒濆鍖栨湇鍔℃敞鍏� + /// </summary> + /// <param name="services"></param> + public static void AddInitializationHostServiceSetup(this IServiceCollection services) + { + if (services is null) + { + ArgumentNullException.ThrowIfNull(nameof(services)); + } + services.AddHostedService<SeedDataHostedService>();//绉嶅瓙鏁版嵁 + //services.AddHostedService<QuartzJobHostedService>(); + //services.AddHostedService<ConsulHostedService>(); + //services.AddHostedService<EventBusHostedService>(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/IpPolicyRateLimitSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/IpPolicyRateLimitSetup.cs" new file mode 100644 index 0000000..9684dfa --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/IpPolicyRateLimitSetup.cs" @@ -0,0 +1,43 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Extensions +{ + /// <summary> + /// IPLimit闄愭祦 鍚姩鏈嶅姟 + /// </summary> + public static class IpPolicyRateLimitSetup + { + public static void AddIpPolicyRateLimitSetup(this IServiceCollection services, IConfiguration Configuration) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + // needed to store rate limit counters and ip rules + //services.AddMemoryCache(); + + //load general configuration from appsettings.json + //services.Configure<IpRateLimitOptions>(Configuration.GetSection("IpRateLimiting")); + + // inject counter and rules stores + //services.AddSingleton<IIpPolicyStore, MemoryCacheIpPolicyStore>(); + //services.AddSingleton<IRateLimitCounterStore, MemoryCacheRateLimitCounterStore>(); + //services.AddSingleton<IProcessingStrategy, AsyncKeyLockProcessingStrategy>(); + + // inject counter and rules distributed cache stores + //services.AddSingleton<IIpPolicyStore, DistributedCacheIpPolicyStore>(); + //services.AddSingleton<IRateLimitCounterStore, DistributedCacheRateLimitCounterStore>(); + + // the clientId/clientIp resolvers use it. + //services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>(); + + // configuration (resolvers, counter key builders) + //services.AddSingleton<IRateLimitConfiguration, RateLimitConfiguration>(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/MemoryCacheSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/MemoryCacheSetup.cs" new file mode 100644 index 0000000..bd2f313 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/MemoryCacheSetup.cs" @@ -0,0 +1,28 @@ +锘縰sing Microsoft.Extensions.Caching.Memory; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Options; +using System; +using WIDESEA_Core.Caches; + +namespace WIDESEA_Core.Extensions +{ + /// <summary> + /// Memory缂撳瓨 鍚姩鏈嶅姟 + /// </summary> + public static class MemoryCacheSetup + { + public static void AddMemoryCacheSetup(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + services.AddSingleton<ICacheService, MemoryCacheService>(); + services.AddMemoryCache(); + //services.AddSingleton<IMemoryCache>(factory => + //{ + // var value = factory.GetRequiredService<IOptions<MemoryCacheOptions>>(); + // var cache = new MemoryCache(value); + // return cache; + //}); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/MiniProfilerSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/MiniProfilerSetup.cs" new file mode 100644 index 0000000..3ceecb8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/MiniProfilerSetup.cs" @@ -0,0 +1,32 @@ +锘縰sing Microsoft.Extensions.DependencyInjection; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.Extensions +{ + /// <summary> + /// MiniProfiler 鎬ц兘鍒嗘瀽 + /// </summary> + public static class MiniProfilerSetup + { + /// <summary> + /// 鎬ц兘鍒嗘瀽 + /// </summary> + /// <param name="services"></param> + /// <exception cref="ArgumentNullException"></exception> + public static void AddMiniProfilerSetup(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + //if (AppSettings.app(new string[] { "Startup", "MiniProfiler", "Enabled" }).ObjToBool()) + //{ + services.AddMiniProfiler(options => + { + options.RouteBasePath = "/profiler"; + }); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/SqlsugarSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/SqlsugarSetup.cs" new file mode 100644 index 0000000..f2bb02c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/SqlsugarSetup.cs" @@ -0,0 +1,150 @@ +锘縰sing Microsoft.Extensions.Caching.Memory; +using Microsoft.Extensions.DependencyInjection; +using SqlSugar; +using StackExchange.Profiling; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.AOP; +using WIDESEA_Core.DB; +using WIDESEA_Core.Helper; +using WIDESEA_Core.LogHelper; +using WIDESEA_Core.Seed; + +namespace WIDESEA_Core +{ + /// <summary> + /// SqlSugar 鍚姩鏈嶅姟 + /// </summary> + public static class SqlsugarSetup + { + private static readonly MemoryCache Cache = new MemoryCache(new MemoryCacheOptions()); + + public static void AddSqlsugarSetup(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + // 榛樿娣诲姞涓绘暟鎹簱杩炴帴 + //MainDb.CurrentDbConnId = AppSettings.app(new string[] { "MainDB" }); + + // SqlSugarScope鏄嚎绋嬪畨鍏紝鍙娇鐢ㄥ崟渚嬫敞鍏� + // 鍙傝�冿細https://www.donet5.com/Home/Doc?typeId=1181 + services.AddScoped<ISqlSugarClient>(o => + { + var memoryCache = o.GetRequiredService<IMemoryCache>(); + + // 杩炴帴瀛楃涓� + var listConfig = new List<ConnectionConfig> + { + new ConnectionConfig + { + ConfigId = MainDb.CurrentDbConnId, + ConnectionString = DBContext.GetMainConnectionDb().Connection, + IsAutoCloseConnection = true, + DbType = MainDb.DbType, + AopEvents = new AopEvents + { + OnLogExecuting = (sql, p) => + { + Parallel.For(0, 1, e => + { + MiniProfiler.Current.CustomTiming("SQL锛�", GetParas(p) + "銆怱QL璇彞銆戯細" + sql); + + }); + if(AppSettings.GetValue("PrintSql").ObjToBool()) + { + Console.Out.WriteLine(GetParas(p)); + Console.Out.WriteLine(sql); + Console.Out.WriteLine(); + } + } + } + } + }; + #region 浠庡簱 + //var listConfig_Slave = new List<SlaveConnectionConfig>(); + //BaseDBConfig.MutiConnectionString.ForEach(s => + //{ + // if(s.ConnId != MainDb.CurrentDbConnId) + // { + // listConfig_Slave.Add(new SlaveConnectionConfig() + // { + // HitRate = s.HitRate, + // ConnectionString = s.Connection + // }); + // } + + //}); + + //BaseDBConfig.MutiConnectionString.ForEach(m => + //{ + // listConfig.Add(new ConnectionConfig() + // { + // ConfigId = m.ConnId.ObjToString().ToLower(), + // ConnectionString = m.Connection, + // DbType = (DbType)m.DbType, + // IsAutoCloseConnection = true, + // MoreSettings = new ConnMoreSettings() + // { + // //IsWithNoLockQuery = true, + // IsAutoRemoveDataCache = true + // }, + // // 浠庡簱 + // //SlaveConnectionConfigs = listConfig_Slave, + // // 鑷畾涔夌壒鎬� + // ConfigureExternalServices = new ConfigureExternalServices() + // { + // DataInfoCacheService = new SqlSugarMemoryCacheService(memoryCache), + // EntityService = (property, column) => + // { + // if (column.IsPrimarykey && property.PropertyType == typeof(int)) + // { + // column.IsIdentity = true; + // } + // } + // }, + // InitKeyType = InitKeyType.Attribute, + // AopEvents = new AopEvents() + // { + // OnError = x => + // { + // Console.WriteLine(x.Sql); + // } + // } + // } + // ); + //}); + #endregion + + SqlSugarClient sqlSugarClient = new SqlSugarClient(listConfig, db => + { + db.Aop.DataExecuting = SqlSugarAop.DataExecuting; + }); + return sqlSugarClient; + }); + } + + private static string GetWholeSql(SugarParameter[] paramArr, string sql) + { + foreach (var param in paramArr) + { + sql.Replace(param.ParameterName, param.Value.ObjToString()); + } + + return sql; + } + + private static string GetParas(SugarParameter[] pars) + { + string key = "銆怱QL鍙傛暟銆戯細"; + foreach (var param in pars) + { + key += $"{param.ParameterName}:{param.Value}\n"; + } + + return key; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/SwaggerContextExtension.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/SwaggerContextExtension.cs" new file mode 100644 index 0000000..d3e686f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/SwaggerContextExtension.cs" @@ -0,0 +1,72 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Http.Extensions; +using System; +using System.Collections.Generic; +using System.IdentityModel.Tokens.Jwt; +using System.Linq; +using System.Security.Claims; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.Extensions +{ + public static class SwaggerContextExtension + { + public const string SwaggerCodeKey = "swagger-code"; + public const string SwaggerJwt = "swagger-jwt"; + + public static bool IsSuccessSwagger() + { + return App.HttpContext?.GetSession()?.GetString(SwaggerCodeKey) == "success"; + } + + public static bool IsSuccessSwagger(this HttpContext context) + { + return context.GetSession()?.GetString(SwaggerCodeKey) == "success"; + } + + public static void SuccessSwagger() + { + App.HttpContext?.GetSession()?.SetString(SwaggerCodeKey, "success"); + } + + public static void SuccessSwagger(this HttpContext context) + { + context.GetSession()?.SetString(SwaggerCodeKey, "success"); + } + + public static void SuccessSwaggerJwt(this HttpContext context, string token) + { + var claims = new ClaimsIdentity(GetClaimsIdentity(token)); + context.User.AddIdentity(claims); + context.GetSession().SetString(SwaggerJwt, token); + } + + private static IEnumerable<Claim> GetClaimsIdentity(string token) + { + var jwtHandler = new JwtSecurityTokenHandler(); + // token鏍¢獙 + if (token.IsNotEmptyOrNull() && jwtHandler.CanReadToken(token)) + { + var jwtToken = jwtHandler.ReadJwtToken(token); + + return jwtToken.Claims; + } + + return new List<Claim>(); + } + + public static string GetSuccessSwaggerJwt(this HttpContext context) + { + return context.GetSession().GetString(SwaggerJwt); + } + + + public static void RedirectSwaggerLogin(this HttpContext context) + { + var returnUrl = context.Request.GetDisplayUrl(); //鑾峰彇褰撳墠url鍦板潃 + context.Response.Redirect("/swg-login.html?returnUrl=" + returnUrl); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/SwaggerSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/SwaggerSetup.cs" new file mode 100644 index 0000000..baaf4c5 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/SwaggerSetup.cs" @@ -0,0 +1,113 @@ +锘� +using Microsoft.Extensions.DependencyInjection; +using Microsoft.OpenApi.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; +using static WIDESEA_Core.Extensions.CustomApiVersion; +using Swashbuckle.AspNetCore.Filters; + +namespace WIDESEA_Core.Extensions +{ + /// <summary> + /// Swagger + /// </summary> + public static class SwaggerSetup + { + /// <summary> + /// Swagger + /// </summary> + /// <param name="services"></param> + /// <exception cref="ArgumentNullException"></exception> + public static void AddSwaggerSetup(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + var basePath = AppContext.BaseDirectory; + var ApiName = AppSettings.Get(new string[] { "ApiName" }); + + services.AddSwaggerGen(c => + { + //閬嶅巻鍑哄叏閮ㄧ殑鐗堟湰锛屽仛鏂囨。淇℃伅灞曠ず + //typeof(ApiVersions).GetEnumNames().ToList().ForEach(version => + //{ + c.SwaggerDoc("v1", new OpenApiInfo + { + Version = "v1", + Title = $"{ApiName} 鎺ュ彛鏂囨。鈥斺�攞RuntimeInformation.FrameworkDescription}", + Description = $"{ApiName} HTTP API " + "v1" + }); + c.OrderActionsBy(o => o.RelativePath); + //}); + + c.UseInlineDefinitionsForEnums(); + + // 寮�鍚姞鏉冨皬閿� + c.OperationFilter<AddResponseHeadersFilter>(); + c.OperationFilter<AppendAuthorizeToSummaryOperationFilter>(); + + // 鍦╤eader涓坊鍔爐oken锛屼紶閫掑埌鍚庡彴 + c.OperationFilter<SecurityRequirementsOperationFilter>(); + + c.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme + { + Description = "JWT鎺堟潈token鍓嶉潰闇�瑕佸姞涓婂瓧娈礏earer涓庝竴涓┖鏍�,濡侭earer token", + Name = "Authorization", + In = ParameterLocation.Header, + Type = SecuritySchemeType.ApiKey, + BearerFormat = "JWT", + Scheme = "Bearer" + }); + + c.AddSecurityRequirement(new OpenApiSecurityRequirement + { + { + new OpenApiSecurityScheme + { + Reference = new OpenApiReference { + Type = ReferenceType.SecurityScheme, + Id = "Bearer" + } + }, + new string[] { } + } + }); + }).AddControllers() + .ConfigureApiBehaviorOptions(options => + { + options.SuppressConsumesConstraintForFormFileParameters = true; + options.SuppressInferBindingSourcesForParameters = true; + options.SuppressModelStateInvalidFilter = true; + options.SuppressMapClientErrors = true; + options.ClientErrorMapping[404].Link = + "https://*/404"; + }); + //services.AddSwaggerGenNewtonsoftSupport(); + } + } + + /// <summary> + /// 鑷畾涔夌増鏈� + /// </summary> + public class CustomApiVersion + { + /// <summary> + /// Api鎺ュ彛鐗堟湰 鑷畾涔� + /// </summary> + public enum ApiVersions + { + /// <summary> + /// V1 鐗堟湰 + /// </summary> + V1 = 1, + /// <summary> + /// V2 鐗堟湰 + /// </summary> + V2 = 2, + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/WebSocketSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/WebSocketSetup.cs" new file mode 100644 index 0000000..1c6b23a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Extensions/WebSocketSetup.cs" @@ -0,0 +1,32 @@ +锘縰sing HslCommunication.WebSocket; +using Microsoft.Extensions.DependencyInjection; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.Extensions +{ + public static class WebSocketSetup + { + public static void AddWebSocketSetup(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + int port = AppSettings.Get("WebSocketPort").ObjToInt(); + if (port == 0) + { + port = 9296; + } + + services.AddSingleton(x => + { + WebSocketServer socketServer = new WebSocketServer(); + socketServer.ServerStart(port); + return socketServer; + }); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/ActionExecuteFilter.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/ActionExecuteFilter.cs" new file mode 100644 index 0000000..7dabe0d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/ActionExecuteFilter.cs" @@ -0,0 +1,23 @@ +锘縰sing Microsoft.AspNetCore.Mvc.Filters; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Utilities; + +namespace WIDESEA_Core.Filter +{ + public class ActionExecuteFilter : IActionFilter + { + public void OnActionExecuted(ActionExecutedContext context) + { + + } + + public void OnActionExecuting(ActionExecutingContext context) + { + context.ActionParamsValidator(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/ApiAuthorizeFilter.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/ApiAuthorizeFilter.cs" new file mode 100644 index 0000000..74593d0 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/ApiAuthorizeFilter.cs" @@ -0,0 +1,95 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.Extensions.Hosting; +using System; +using System.Collections.Generic; +using System.IdentityModel.Tokens.Jwt; +using System.Linq; +using System.Runtime; +using System.Security.Claims; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Authorization; +using WIDESEA_Core.Const; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.Filter +{ + /// <summary> + /// 鍒ゆ柇token鏄惁姝g‘ + /// </summary> + public class ApiAuthorizeFilter : IAuthorizationFilter + { + private static readonly string replaceTokenPath = "/api/Sys_User/replaceToken"; + private static readonly string loginPath = "/api/Sys_User/login"; + private static readonly string vierificationCodePath = "/api/Sys_User/getVierificationCode"; + + public ApiAuthorizeFilter() + { + + } + + /// <summary> + /// 鍙垽鏂璽oken鏄惁姝g‘锛屼笉鍒ゆ柇鏉冮檺 + /// 濡傛灉闇�瑕佸垽鏂潈闄愮殑鍦ˋction涓婂姞涓夾piActionPermission灞炴�ф爣璇嗘潈闄愮被鍒紝ActionPermissionFilter浣滄潈闄愬鐞� + ///(string,string,string)1銆佽姹傚弬鏁�,2銆佽繑鍥炴秷鎭紝3,寮傚父娑堟伅,4鐘舵�� + /// </summary> + /// <param name="context"></param> + public void OnAuthorization(AuthorizationFilterContext context) + { + if (context.ActionDescriptor.EndpointMetadata.Any(item => item is IAllowAnonymous)) + { + if (!context.HttpContext.User.Identity?.IsAuthenticated ?? false && !string.IsNullOrEmpty(context.HttpContext.Request.Headers[AppSecret.TokenHeaderName])) + { + context.AddIdentity(); + } + return; + } + #region 鍗曠偣鐧诲綍 + if (string.IsNullOrEmpty(App.User.Token)) + { + if (!string.IsNullOrEmpty(context.HttpContext.Request.Headers[AppSecret.TokenHeaderName].ObjToString().Replace("Bearer ", ""))) + { + DateTime? expDate = context.HttpContext.User.Claims.Where(x => x.Type == JwtRegisteredClaimNames.Exp).Select(x => x.Value).FirstOrDefault()?.GetTimeSpmpToDate(); + //鍔ㄦ�佹爣璇嗗埛鏂皌oken(2021.05.01) + int ExpMinutes = AppSettings.Get("ExpMinutes").ObjToInt(); + if ((expDate.GetValueOrDefault() - DateTime.Now).TotalMinutes > ExpMinutes) + { + context.Unauthorized("鐧婚檰宸茶繃鏈�"); + return; + } + else + { + App.User.UpdateToke(context.HttpContext.Request.Headers[AppSecret.TokenHeaderName].ObjToString().Replace("Bearer ", "")); + } + } + else + { + context.Unauthorized("鐧婚檰宸茶繃鏈�"); + return; + } + } + else + { + if (App.User.Token != ((ClaimsIdentity?)context.HttpContext.User.Identity)?.BootstrapContext?.ToString()) + { + context.Unauthorized("鐧婚檰宸茶繃鏈�"); + return; + } + } + #endregion + + { + DateTime? expDate = context.HttpContext.User.Claims.Where(x => x.Type == JwtRegisteredClaimNames.Exp).Select(x => x.Value).FirstOrDefault()?.GetTimeSpmpToDate(); + //鍔ㄦ�佹爣璇嗗埛鏂皌oken(2021.05.01) + int ExpMinutes = AppSettings.Get("ExpMinutes").ObjToInt(); + if ((expDate.GetValueOrDefault() - DateTime.Now).TotalMinutes < ExpMinutes / 3 && context.HttpContext.Request.Path != replaceTokenPath) + { + context.HttpContext.Response.Headers.Add("widesea_exp", "1"); + } + } + + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/ExporterHeaderFilter.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/ExporterHeaderFilter.cs" new file mode 100644 index 0000000..81dc421 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/ExporterHeaderFilter.cs" @@ -0,0 +1,23 @@ +锘縰sing Magicodes.ExporterAndImporter.Core.Filters; +using Magicodes.ExporterAndImporter.Core.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Filter +{ + public class ExporterHeaderFilter : IExporterHeaderFilter + { + /// <summary> + /// 琛ㄥご绛涢�夊櫒锛堜慨鏀瑰悕绉帮級 + /// </summary> + /// <param name="exporterHeaderInfo"></param> + /// <returns></returns> + public ExporterHeaderInfo Filter(ExporterHeaderInfo exporterHeaderInfo) + { + return exporterHeaderInfo; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/GlobalExceptionsFilter.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/GlobalExceptionsFilter.cs" new file mode 100644 index 0000000..b8e02ba --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/GlobalExceptionsFilter.cs" @@ -0,0 +1,93 @@ +锘縰sing Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.AspNetCore.Mvc.Rendering; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.SignalR; +using Microsoft.Extensions.Logging; +using StackExchange.Profiling; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; +using System.Reflection.Metadata; +using WIDESEA_Core.LogHelper; + +namespace WIDESEA_Core.Filter +{ + /// <summary> + /// 鍏ㄥ眬寮傚父閿欒鏃ュ織 + /// </summary> + public class GlobalExceptionsFilter : IExceptionFilter + { + private readonly IWebHostEnvironment _env; + private readonly ILogger<GlobalExceptionsFilter> _loggerHelper; + + public GlobalExceptionsFilter(IWebHostEnvironment env, ILogger<GlobalExceptionsFilter> loggerHelper) + { + _env = env; + _loggerHelper = loggerHelper; + } + + public void OnException(ExceptionContext context) + { + var json = new WebResponseContent(); + + json.Message = context.Exception.Message;//閿欒淇℃伅 + json.Code = 500;//500寮傚父 + var errorAudit = "Unable to resolve service for"; + if (!string.IsNullOrEmpty(json.Message) && json.Message.Contains(errorAudit)) + { + json.Message = json.Message.Replace(errorAudit, $"锛堣嫢鏂版坊鍔犳湇鍔★紝闇�瑕侀噸鏂扮紪璇戦」鐩級{errorAudit}"); + } + + if (_env.EnvironmentName.ObjToString().Equals("Development")) + { + json.DevMessage = context.Exception.StackTrace;//鍫嗘爤淇℃伅 + } + var res = new ContentResult(); + res.Content = json.Serialize(); + + context.Result = res; + MiniProfiler.Current.CustomTiming("Errors锛�", json.Message); + + LogLock.OutLogAOP("鍏ㄥ眬寮傚父閿欒鏃ュ織", new string[] { json.Message + WriteLog(json.Message, context.Exception) }); + //閲囩敤log4net 杩涜閿欒鏃ュ織璁板綍 + //_loggerHelper.LogError(json.Message + WriteLog(json.Message, context.Exception)); + } + + /// <summary> + /// 鑷畾涔夎繑鍥炴牸寮� + /// </summary> + /// <param name="throwMsg"></param> + /// <param name="ex"></param> + /// <returns></returns> + public string WriteLog(string throwMsg, Exception ex) + { + return string.Format("\r\n銆愯嚜瀹氫箟閿欒銆戯細{0} \r\n銆愬紓甯哥被鍨嬨�戯細{1} \r\n銆愬紓甯镐俊鎭�戯細{2} \r\n銆愬爢鏍堣皟鐢ㄣ�戯細{3}", new object[] { throwMsg, + ex.GetType().Name, ex.Message, ex.StackTrace }); + } + + } + public class InternalServerErrorObjectResult : ObjectResult + { + public InternalServerErrorObjectResult(object value) : base(value) + { + StatusCode = StatusCodes.Status500InternalServerError; + } + } + //杩斿洖閿欒淇℃伅 + public class JsonErrorResponse + { + /// <summary> + /// 鐢熶骇鐜鐨勬秷鎭� + /// </summary> + public string Message { get; set; } + /// <summary> + /// 寮�鍙戠幆澧冪殑娑堟伅 + /// </summary> + public string DevelopmentMessage { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/IFixedTokenFilter.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/IFixedTokenFilter.cs" new file mode 100644 index 0000000..99368a2 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/IFixedTokenFilter.cs" @@ -0,0 +1,57 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc.Filters; +using System; +using System.Collections.Generic; +using System.IdentityModel.Tokens.Jwt; +using System.Linq; +using System.Net; +using System.Security.Claims; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Authorization; +using WIDESEA_Core.Const; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.Filter +{ + public interface IFixedTokenFilter : IFilterMetadata + { + AuthorizationFilterContext OnAuthorization(AuthorizationFilterContext context); + } + public class FixedTokenAttribute : Attribute, IFixedTokenFilter, IAllowAnonymous + { + public AuthorizationFilterContext OnAuthorization(AuthorizationFilterContext context) + { + string fixedoken = ""; + //濡傛灉token宸插け鏁堬紝鐩存帴鑾峰彇header閲岀殑token + if (!context.HttpContext.User.Identity.IsAuthenticated) + { + fixedoken = context.HttpContext.Request.Headers[AppSecret.TokenHeaderName]; + fixedoken = fixedoken?.Replace("Bearer ", ""); + //鍒ゆ柇鏄惁浼犲叆浜唗oken + if (string.IsNullOrEmpty(fixedoken)) + { + return context.Unauthorized("娌℃湁浼犲叆token"); + } + //瑙f瀽token + int userId = JwtHelper.GetUserId(fixedoken); + if (userId <= 0) + { + return context.Unauthorized("token涓嶆纭�"); + } + context.AddIdentity(userId); + } + else + { + fixedoken = ((ClaimsIdentity)context.HttpContext.User.Identity) + ?.BootstrapContext?.ToString(); + } + //鍒ゆ柇褰撳墠鐢ㄦ埛鐨則oken涓庣紦瀛樼殑token鏄惁鐩稿悓 + if (App.User.Token != fixedoken) + { + context.FilterResult(HttpStatusCode.Unauthorized, "token宸插け鏁�"); + } + return context; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/UseServiceDIAttribute.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/UseServiceDIAttribute.cs" new file mode 100644 index 0000000..be1d4a8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Filter/UseServiceDIAttribute.cs" @@ -0,0 +1,38 @@ +锘縰sing Microsoft.AspNetCore.Mvc.Filters; +using Microsoft.Extensions.Logging; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Filter +{ + public class UseServiceDIAttribute : ActionFilterAttribute + { + + protected readonly ILogger<UseServiceDIAttribute> _logger; + //private readonly IBlogArticleServices _blogArticleServices; + private readonly string _name; + + public UseServiceDIAttribute(ILogger<UseServiceDIAttribute> logger/*, IBlogArticleServices blogArticleServices*/, string Name = "") + { + _logger = logger; + /*_blogArticleServices = blogArticleServices;*/ + _name = Name; + } + + + public override void OnActionExecuted(ActionExecutedContext context) + { + //var dd =await _blogArticleServices.Query(); + base.OnActionExecuted(context); + DeleteSubscriptionFiles(); + } + + private void DeleteSubscriptionFiles() + { + + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/AppSettings.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/AppSettings.cs" new file mode 100644 index 0000000..c09bcba --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/AppSettings.cs" @@ -0,0 +1,89 @@ +锘縰sing Microsoft.Extensions.Configuration.Json; +using Microsoft.Extensions.Configuration; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Helper +{ + /// <summary> + /// appsettings.json鎿嶄綔绫� + /// </summary> + public class AppSettings + { + public static IConfiguration Configuration { get; set; } + static string contentPath { get; set; } + + public AppSettings(string contentPath) + { + string Path = "appsettings.json"; + + //濡傛灉浣犳妸閰嶇疆鏂囦欢 鏄� 鏍规嵁鐜鍙橀噺鏉ュ垎寮�浜嗭紝鍙互杩欐牱鍐� + //Path = $"appsettings.{Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT")}.json"; + + Configuration = new ConfigurationBuilder() + .SetBasePath(contentPath) + .Add(new JsonConfigurationSource { Path = Path, Optional = false, ReloadOnChange = true })//杩欐牱鐨勮瘽锛屽彲浠ョ洿鎺ヨ鐩綍閲岀殑json鏂囦欢锛岃�屼笉鏄� bin 鏂囦欢澶逛笅鐨勶紝鎵�浠ヤ笉鐢ㄤ慨鏀瑰鍒跺睘鎬� + .Build(); + } + + public AppSettings(IConfiguration configuration) + { + Configuration = configuration; + } + + /// <summary> + /// 灏佽瑕佹搷浣滅殑瀛楃 + /// </summary> + /// <param name="sections">鑺傜偣閰嶇疆</param> + /// <returns></returns> + public static string Get(params string[] sections) + { + try + { + + if (sections.Any()) + { + return Configuration[string.Join(":", sections)]; + } + } + catch (Exception) { } + + return ""; + } + + /// <summary> + /// 閫掑綊鑾峰彇閰嶇疆淇℃伅鏁扮粍 + /// </summary> + /// <typeparam name="T"></typeparam> + /// <param name="sections"></param> + /// <returns></returns> + public static List<T> Get<T>(params string[] sections) + { + List<T> list = new List<T>(); + // 寮曠敤 Microsoft.Extensions.Configuration.Binder 鍖� + Configuration.Bind(string.Join(":", sections), list); + return list; + } + + + /// <summary> + /// 鏍规嵁璺緞 configuration["App:Name"]; + /// </summary> + /// <param name="sectionsPath"></param> + /// <returns></returns> + public static string GetValue(string sectionsPath) + { + try + { + return Configuration[sectionsPath]; + } + catch (Exception) { } + + return ""; + + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/AutoMapperHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/AutoMapperHelper.cs" new file mode 100644 index 0000000..cb72738 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/AutoMapperHelper.cs" @@ -0,0 +1,23 @@ +锘縰sing AutoMapper; +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Helper +{ + + /// <summary> + /// AutoMapper鏄犲皠甯姪绫� + /// AutoMapper 鐗堟湰13.0.1 + /// </summary> + public static class AutoMapperHelper + { + + + } + + +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/CodeAnalysisHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/CodeAnalysisHelper.cs" new file mode 100644 index 0000000..dd90e9b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/CodeAnalysisHelper.cs" @@ -0,0 +1,204 @@ +锘縰sing OfficeOpenXml.FormulaParsing.Excel.Functions.RefAndLookup; +using OfficeOpenXml.FormulaParsing.Excel.Functions.Text; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.CodeConfigEnum; +using WIDESEA_Core.DB; +using WIDESEA_Core.Enums; +using WIDESEA_Core.Seed; +using WIDESEA_Core.Utilities; + +namespace WIDESEA_Core.Helper +{ + public class CodeAnalysisHelper + { + /// <summary> + /// 瑙f瀽缂栫爜鎴愬璞¢泦 + /// </summary> + /// <typeparam name="T">娉涘瀷</typeparam> + /// <param name="analysisCode">瑙勫垯缂栧彿</param> + /// <param name="code">闇�瑙f瀽鐨勫瓧绗︿覆</param> + /// <returns></returns> + public static T CodeAnalysis<T>(AnalysisCodeEnum analysisCode, string code) + { + Type type = typeof(T); + object? obj = Activator.CreateInstance(type); + if (obj == null) + throw new Exception("瀹炰緥鍖栧璞¢敊璇�"); + T result = (T)obj; + try + { + AnalysisRuleAttribute? analysisRule = type.GetCustomAttribute<AnalysisRuleAttribute>(); + if (analysisRule != null) + { + SqlSugarClient sugarClient = new SqlSugarClient(new ConnectionConfig + { + ConfigId = MainDb.CurrentDbConnId, + ConnectionString = DBContext.GetMainConnectionDb().Connection, + IsAutoCloseConnection = true, + DbType = MainDb.DbType, + }); + + dynamic ruleConfig = sugarClient.Queryable(MainDb.AnalysisRuleConfig, "x").Where(MainDb.AnalysisCode, "=", analysisCode.ToString()).First(); + if (ruleConfig != null) + { + string format = ruleConfig.Format; + string splitStr = ruleConfig.SplitStr; + List<string> items = format.Split(splitStr).ToList(); + List<string> codes = code.Split(splitStr).ToList(); + if (items.Count == codes.Count) + { + PropertyInfo[] propertyInfos = type.GetProperties(); + if (AnalysisRuleEnum.Split == analysisRule.AnalysisRule) + { + for (int i = 0; i < propertyInfos.Length; i++) + { + PropertyInfo propertyInfo = propertyInfos[i]; + AnalysisItemRuleAttribute? analysisItemRule = propertyInfo.GetCustomAttribute<AnalysisItemRuleAttribute>(); + if (analysisItemRule != null) + { + if (analysisItemRule.AnalysisFormaType == AnalysisFormatTypeEnum.BD) + { + propertyInfo.SetValue(result, code.ChangeType(propertyInfo.PropertyType)); + } + else + { + int index = items.IndexOf($"[{analysisItemRule.AnalysisFormaType}]"); + if (index != -1) + { + propertyInfo.SetValue(result, codes[index]); + } + else + { + string? codeItem = items.FirstOrDefault(x => x.Contains($"[{analysisItemRule.AnalysisFormaType}]")); + if (!string.IsNullOrEmpty(codeItem)) + { + index = items.IndexOf(codeItem); + if (index != -1) + { + string value = codes[index]; + string replaceStr = codeItem.Replace($"[{analysisItemRule.AnalysisFormaType}]", ""); + + propertyInfo.SetValue(result, value.Replace(replaceStr, "").ChangeType(propertyInfo.PropertyType)); + } + } + } + } + } + } + } + } + } + } + } + catch (Exception ex) + { + throw new Exception($"瑙f瀽閿欒,{ex.Message}"); + } + + (bool, string, object?) validateResult = ModelValidate.ValidateModelData(result, type); + if (!validateResult.Item1) + { + throw new Exception($"瑙f瀽閿欒,{validateResult.Item2}"); + } + + return result; + } + + /// <summary> + /// 瑙f瀽缂栫爜鎴愬璞¢泦鍚� + /// </summary> + /// <typeparam name="T">娉涘瀷</typeparam> + /// <param name="analysisCode">瑙勫垯缂栧彿</param> + /// <param name="codeList">闇�瑙f瀽鐨勫瓧绗︿覆闆嗗悎</param> + /// <returns></returns> + public static List<T> CodeAnalysis<T>(AnalysisCodeEnum analysisCode, List<string> codeList) + { + Type type = typeof(T); + List<T> list = new List<T>(); + + try + { + AnalysisRuleAttribute? analysisRule = type.GetCustomAttribute<AnalysisRuleAttribute>(); + if (analysisRule != null) + { + SqlSugarClient sugarClient = new SqlSugarClient(new ConnectionConfig + { + ConfigId = MainDb.CurrentDbConnId, + ConnectionString = DBContext.GetMainConnectionDb().Connection, + IsAutoCloseConnection = true, + DbType = MainDb.DbType, + }); + + dynamic ruleConfig = sugarClient.Queryable(MainDb.AnalysisRuleConfig, "x").Where(MainDb.AnalysisCode, "=", analysisCode.ToString()).First(); + if (ruleConfig != null) + { + for (int j = 0; j < codeList.Count; j++) + { + T result = (T)Activator.CreateInstance(type); + string code = codeList[j]; + string format = ruleConfig.Format; + string splitStr = ruleConfig.SplitStr; + List<string> items = format.Split(splitStr).ToList(); + List<string> codes = code.Split(splitStr).ToList(); + if (items.Count == codes.Count) + { + PropertyInfo[] propertyInfos = type.GetProperties(); + if (AnalysisRuleEnum.Split == analysisRule.AnalysisRule) + { + for (int i = 0; i < propertyInfos.Length; i++) + { + PropertyInfo propertyInfo = propertyInfos[i]; + AnalysisItemRuleAttribute? analysisItemRule = propertyInfo.GetCustomAttribute<AnalysisItemRuleAttribute>(); + if (analysisItemRule != null) + { + if (analysisItemRule.AnalysisFormaType == AnalysisFormatTypeEnum.BD) + { + propertyInfo.SetValue(result, code.ChangeType(propertyInfo.PropertyType)); + } + else + { + int index = items.IndexOf($"[{analysisItemRule.AnalysisFormaType}]"); + if (index != -1) + { + propertyInfo.SetValue(result, codes[index]); + } + else + { + string? codeItem = items.FirstOrDefault(x => x.Contains($"[{analysisItemRule.AnalysisFormaType}]")); + if (!string.IsNullOrEmpty(codeItem)) + { + index = items.IndexOf(codeItem); + if (index != -1) + { + string value = codes[index]; + string replaceStr = codeItem.Replace($"[{analysisItemRule.AnalysisFormaType}]", ""); + + propertyInfo.SetValue(result, value.Replace(replaceStr, "").ChangeType(propertyInfo.PropertyType)); + } + } + } + } + } + } + } + list.Add(result); + } + } + } + } + } + catch (Exception ex) + { + + } + return list; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/ConsoleHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/ConsoleHelper.cs" new file mode 100644 index 0000000..2cc4614 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/ConsoleHelper.cs" @@ -0,0 +1,57 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Helper +{ + public static class ConsoleHelper + { + private static readonly object _objLock = new(); + + /// <summary> + /// 鍦ㄦ帶鍒跺彴杈撳嚭 + /// </summary> + /// <param name="str">鏂囨湰</param> + /// <param name="color">鍓嶉鑹�</param> + public static void WriteColorLine(string str, ConsoleColor color) + { + lock (_objLock) + { + ConsoleColor currentForeColor = Console.ForegroundColor; + Console.ForegroundColor = color; + Console.WriteLine(str); + Console.ForegroundColor = currentForeColor; + } + } + + /// <summary> + /// 鎵撳嵃閿欒淇℃伅 + /// </summary> + /// <param name="str">寰呮墦鍗扮殑瀛楃涓�</param> + /// <param name="color">鎯宠鎵撳嵃鐨勯鑹�</param> + public static void WriteErrorLine(this string str, ConsoleColor color = ConsoleColor.Red) => WriteColorLine(str, color); + + /// <summary> + /// 鎵撳嵃璀﹀憡淇℃伅 + /// </summary> + /// <param name="str">寰呮墦鍗扮殑瀛楃涓�</param> + /// <param name="color">鎯宠鎵撳嵃鐨勯鑹�</param> + public static void WriteWarningLine(this string str, ConsoleColor color = ConsoleColor.Yellow) => WriteColorLine(str, color); + + /// <summary> + /// 鎵撳嵃姝e父淇℃伅 + /// </summary> + /// <param name="str">寰呮墦鍗扮殑瀛楃涓�</param> + /// <param name="color">鎯宠鎵撳嵃鐨勯鑹�</param> + public static void WriteInfoLine(this string str, ConsoleColor color = ConsoleColor.White) => WriteColorLine(str, color); + + /// <summary> + /// 鎵撳嵃鎴愬姛鐨勪俊鎭� + /// </summary> + /// <param name="str">寰呮墦鍗扮殑瀛楃涓�</param> + /// <param name="color">鎯宠鎵撳嵃鐨勯鑹�</param> + public static void WriteSuccessLine(this string str, ConsoleColor color = ConsoleColor.Green) => WriteColorLine(str, color); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/ExportHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/ExportHelper.cs" new file mode 100644 index 0000000..6e9a8fc --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/ExportHelper.cs" @@ -0,0 +1,106 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using Magicodes.ExporterAndImporter.Excel; +using Magicodes.IE.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Reflection.Emit; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Helper +{ + public static class ExportHelper + { + public static Type CreateDynamicClass(this PropertyInfo[] propertyInfos) + { + string className = "DynamicClass"; + AssemblyName assemblyName = new AssemblyName("WIDESEA_Model.Models"); + AssemblyBuilder assemblyBuilder = AssemblyBuilder.DefineDynamicAssembly(assemblyName, AssemblyBuilderAccess.Run);//瀹氫箟鍏锋湁鎸囧畾鍚嶇О鍜岃闂潈闄愮殑鍔ㄦ�佺▼搴忛泦 + ModuleBuilder moduleBuilder = assemblyBuilder.DefineDynamicModule("MainModule");//鍦ㄦ绋嬪簭闆嗕腑瀹氫箟鍛藉悕鐨勬殏鏃跺姩鎬佹ā鍧� + TypeBuilder typeBuilder = moduleBuilder.DefineType(className, TypeAttributes.Public);//TypeBuilder:鍦ㄨ繍琛屾椂瀹氫箟骞跺垱寤虹被鐨勬柊瀹炰緥 + + Type attributeType1 = typeof(ExcelExporterAttribute); + MethodInfo [] methodInfos = attributeType1.GetMethods(BindingFlags.Public); + ConstructorInfo[] constructorInfos2 = attributeType1.GetConstructors(); + ConstructorInfo constructorInfo2 = constructorInfos2[0]; + CustomAttributeBuilder customAttributeBuilder2 = new CustomAttributeBuilder(constructorInfo2, new object[] { }); + + typeBuilder.SetCustomAttribute(customAttributeBuilder2); + + foreach (var property in propertyInfos) + { + string propertyName = property.Name; + Type propertyType = property.PropertyType; + + FieldBuilder fieldBuilder = typeBuilder.DefineField("_" + propertyName, propertyType, FieldAttributes.Private); + PropertyBuilder propertyBuilder = typeBuilder.DefineProperty(propertyName, PropertyAttributes.HasDefault, propertyType, null); + + SugarColumn sugarColumn = property.GetCustomAttribute<SugarColumn>(); + if (sugarColumn != null) + { + Type attributeType = typeof(ExporterHeaderAttribute); + ConstructorInfo[] constructorInfos = attributeType.GetConstructors(); + ConstructorInfo constructorInfo = constructorInfos[0]; + CustomAttributeBuilder customAttributeBuilder = new CustomAttributeBuilder(constructorInfo, new object[] { sugarColumn.ColumnDescription, 11f, null, false, true, true, 0, KnownColor.Empty }); + propertyBuilder.SetCustomAttribute(customAttributeBuilder); + } + + MethodAttributes getSetAttributes = MethodAttributes.Public | MethodAttributes.SpecialName | MethodAttributes.HideBySig; + + MethodBuilder getMethodBuilder = typeBuilder.DefineMethod("get_" + propertyName, getSetAttributes, propertyType, Type.EmptyTypes); + ILGenerator getIL = getMethodBuilder.GetILGenerator(); + getIL.Emit(OpCodes.Ldarg_0); + getIL.Emit(OpCodes.Ldfld, fieldBuilder); + getIL.Emit(OpCodes.Ret); + + MethodBuilder setMethodBuilder = typeBuilder.DefineMethod("set_" + propertyName, getSetAttributes, null, new Type[] { propertyType }); + ILGenerator setIL = setMethodBuilder.GetILGenerator(); + setIL.Emit(OpCodes.Ldarg_0); + setIL.Emit(OpCodes.Ldarg_1); + setIL.Emit(OpCodes.Stfld, fieldBuilder); + setIL.Emit(OpCodes.Ret); + + propertyBuilder.SetGetMethod(getMethodBuilder); + propertyBuilder.SetSetMethod(setMethodBuilder); + + + } + + Type generatedType = typeBuilder.CreateType(); + return generatedType; + } + + public static void SetProperty(object instance, string propertyName, object value) + { + Type type = instance.GetType(); + PropertyInfo propertyInfo = type.GetProperty(propertyName); + propertyInfo.SetValue(instance, value); + } + + public static object GetProperty(object instance, string propertyName) + { + Type type = instance.GetType(); + PropertyInfo propertyInfo = type.GetProperty(propertyName); + return propertyInfo.GetValue(instance); + } + + public static void SetValue<T>(object instance, T value) + { + Type type = instance.GetType(); + + PropertyInfo[] propertyInfos = typeof(T).GetProperties(); + for (int j = 0; j < propertyInfos.Length; j++) + { + PropertyInfo propertyInfo = type.GetProperty(propertyInfos[j].Name); + object obj = propertyInfos[j].GetValue(value); + propertyInfo.SetValue(instance, obj); + ExporterHeaderAttribute exporterHeaderAttribute = propertyInfo.GetCustomAttribute<ExporterHeaderAttribute>(); + } + + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/FileHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/FileHelper.cs" new file mode 100644 index 0000000..df88f8a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/FileHelper.cs" @@ -0,0 +1,451 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Helper +{ + public class FileHelper : IDisposable + { + + private bool _alreadyDispose = false; + + #region 鏋勯�犲嚱鏁� + public FileHelper() + { + + } + ~FileHelper() + { + Dispose(); ; + } + + protected virtual void Dispose(bool isDisposing) + { + if (_alreadyDispose) return; + _alreadyDispose = true; + } + #endregion + + #region IDisposable 鎴愬憳 + + public void Dispose() + { + Dispose(true); + GC.SuppressFinalize(this); + } + + #endregion + + #region 鍙栧緱鏂囦欢鍚庣紑鍚� + /**************************************** + * 鍑芥暟鍚嶇О锛欸etPostfixStr + * 鍔熻兘璇存槑锛氬彇寰楁枃浠跺悗缂�鍚� + * 鍙� 鏁帮細filename:鏂囦欢鍚嶇О + * 璋冪敤绀哄垪锛� + * string filename = "aaa.aspx"; + * string s = EC.FileObj.GetPostfixStr(filename); + *****************************************/ + /// <summary> + /// 鍙栧悗缂�鍚� + /// </summary> + /// <param name="filename">鏂囦欢鍚�</param> + /// <returns>.gif|.html鏍煎紡</returns> + public static string GetPostfixStr(string filename) + { + int start = filename.LastIndexOf("."); + int length = filename.Length; + string postfix = filename.Substring(start, length - start); + return postfix; + } + #endregion + + #region 鏍规嵁鏂囦欢澶у皬鑾峰彇鎸囧畾鍓嶇紑鐨勫彲鐢ㄦ枃浠跺悕 + /// <summary> + /// 鏍规嵁鏂囦欢澶у皬鑾峰彇鎸囧畾鍓嶇紑鐨勫彲鐢ㄦ枃浠跺悕 + /// </summary> + /// <param name="folderPath">鏂囦欢澶�</param> + /// <param name="prefix">鏂囦欢鍓嶇紑</param> + /// <param name="size">鏂囦欢澶у皬(1m)</param> + /// <param name="ext">鏂囦欢鍚庣紑(.log)</param> + /// <returns>鍙敤鏂囦欢鍚�</returns> + public static string GetAvailableFileWithPrefixOrderSize(string folderPath, string prefix, int size = 1 * 1024 * 1024, string ext = ".log") + { + var allFiles = new DirectoryInfo(folderPath); + var selectFiles = allFiles.GetFiles().Where(fi => fi.Name.ToLower().Contains(prefix.ToLower()) && fi.Extension.ToLower() == ext.ToLower() && fi.Length < size).OrderByDescending(d => d.Name).ToList(); + + if (selectFiles.Count > 0) + { + return selectFiles.FirstOrDefault().FullName; + } + + return Path.Combine(folderPath, $@"{prefix}_{DateTime.Now.DateToTimeStamp()}.log"); + } + public static string GetAvailableFileNameWithPrefixOrderSize(string _contentRoot, string prefix, int size = 1 * 1024 * 1024, string ext = ".log") + { + var folderPath = Path.Combine(_contentRoot, "Log"); + if (!Directory.Exists(folderPath)) + { + Directory.CreateDirectory(folderPath); + } + + var allFiles = new DirectoryInfo(folderPath); + var selectFiles = allFiles.GetFiles().Where(fi => fi.Name.ToLower().Contains(prefix.ToLower()) && fi.Extension.ToLower() == ext.ToLower() && fi.Length < size).OrderByDescending(d => d.Name).ToList(); + + if (selectFiles.Count > 0) + { + return selectFiles.FirstOrDefault().Name.Replace(".log", ""); + } + + return $@"{prefix}_{DateTime.Now.DateToTimeStamp()}"; + } + #endregion + + #region 鍐欐枃浠� + /**************************************** + * 鍑芥暟鍚嶇О锛歐riteFile + * 鍔熻兘璇存槑锛氬啓鏂囦欢,浼氳鐩栨帀浠ュ墠鐨勫唴瀹� + * 鍙� 鏁帮細Path:鏂囦欢璺緞,Strings:鏂囨湰鍐呭 + * 璋冪敤绀哄垪锛� + * string Path = Server.MapPath("Default2.aspx"); + * string Strings = "杩欐槸鎴戝啓鐨勫唴瀹瑰晩"; + * EC.FileObj.WriteFile(Path,Strings); + *****************************************/ + /// <summary> + /// 鍐欐枃浠� + /// </summary> + /// <param name="Path">鏂囦欢璺緞</param> + /// <param name="Strings">鏂囦欢鍐呭</param> + public static void WriteFile(string Path, string Strings) + { + if (!File.Exists(Path)) + { + FileStream f = File.Create(Path); + f.Close(); + } + StreamWriter f2 = new StreamWriter(Path, false, System.Text.Encoding.UTF8); + f2.Write(Strings); + f2.Close(); + f2.Dispose(); + } + + /// <summary> + /// 鍐欐枃浠� + /// </summary> + /// <param name="Path">鏂囦欢璺緞</param> + /// <param name="Strings">鏂囦欢鍐呭</param> + public static void WriteFileAndDelOldFile(string Path, string Strings) + { + if (!File.Exists(Path)) + { + FileStream f = File.Create(Path); + f.Close(); + } + else + { + File.Delete(Path); + } + StreamWriter f2 = new StreamWriter(Path, false, System.Text.Encoding.UTF8); + f2.Write(Strings); + f2.Close(); + f2.Dispose(); + } + + /// <summary> + /// 鍐欐枃浠� + /// </summary> + /// <param name="Path">鏂囦欢璺緞</param> + /// <param name="Strings">鏂囦欢鍐呭</param> + public static void WriteFile(string Path, byte[] buf) + { + if (!File.Exists(Path)) + { + FileStream f = File.Create(Path); + f.Close(); + } + FileStream f2 = new FileStream(Path, FileMode.Create, FileAccess.Write); + f2.Write(buf, 0, buf.Length); + f2.Close(); + f2.Dispose(); + } + + public static void WriteFile(string Path, string fileName, byte[] buf) + { + if (!Directory.Exists(Path)) + { + Directory.CreateDirectory(Path); + } + if (!File.Exists(Path + "\\" + fileName)) + { + FileStream f = File.Create(Path + "\\" + fileName); + f.Close(); + } + FileStream f2 = new FileStream(Path + "\\" + fileName, FileMode.Create, FileAccess.Write); + f2.Write(buf, 0, buf.Length); + f2.Close(); + f2.Dispose(); + } + + /// <summary> + /// 鍐欐枃浠� + /// </summary> + /// <param name="Path">鏂囦欢璺緞</param> + /// <param name="Strings">鏂囦欢鍐呭</param> + /// <param name="encode">缂栫爜鏍煎紡</param> + public static void WriteFile(string Path, string Strings, Encoding encode) + { + if (!File.Exists(Path)) + { + FileStream f = File.Create(Path); + f.Close(); + } + StreamWriter f2 = new StreamWriter(Path, false, encode); + f2.Write(Strings); + f2.Close(); + f2.Dispose(); + } + #endregion + + #region 璇绘枃浠� + /**************************************** + * 鍑芥暟鍚嶇О锛歊eadFile + * 鍔熻兘璇存槑锛氳鍙栨枃鏈唴瀹� + * 鍙� 鏁帮細Path:鏂囦欢璺緞 + * 璋冪敤绀哄垪锛� + * string Path = Server.MapPath("Default2.aspx"); + * string s = EC.FileObj.ReadFile(Path); + *****************************************/ + /// <summary> + /// 璇绘枃浠� + /// </summary> + /// <param name="Path">鏂囦欢璺緞</param> + /// <returns></returns> + public static string ReadFile(string Path) + { + string s = ""; + if (!File.Exists(Path)) + s = "涓嶅瓨鍦ㄧ浉搴旂殑鐩綍"; + else + { + StreamReader f2 = new StreamReader(Path, System.Text.Encoding.GetEncoding("gb2312")); + s = f2.ReadToEnd(); + f2.Close(); + f2.Dispose(); + } + + return s; + } + + /// <summary> + /// 璇绘枃浠� + /// </summary> + /// <param name="Path">鏂囦欢璺緞</param> + /// <param name="encode">缂栫爜鏍煎紡</param> + /// <returns></returns> + public static string ReadFile(string Path, Encoding encode) + { + string s = ""; + if (!File.Exists(Path)) + s = "涓嶅瓨鍦ㄧ浉搴旂殑鐩綍"; + else + { + StreamReader f2 = new StreamReader(Path, encode); + s = f2.ReadToEnd(); + f2.Close(); + f2.Dispose(); + } + + return s; + } + #endregion + + #region 杩藉姞鏂囦欢 + /**************************************** + * 鍑芥暟鍚嶇О锛欶ileAdd + * 鍔熻兘璇存槑锛氳拷鍔犳枃浠跺唴瀹� + * 鍙� 鏁帮細Path:鏂囦欢璺緞,strings:鍐呭 + * 璋冪敤绀哄垪锛� + * string Path = Server.MapPath("Default2.aspx"); + * string Strings = "鏂拌拷鍔犲唴瀹�"; + * EC.FileObj.FileAdd(Path, Strings); + *****************************************/ + /// <summary> + /// 杩藉姞鏂囦欢 + /// </summary> + /// <param name="Path">鏂囦欢璺緞</param> + /// <param name="strings">鍐呭</param> + public static void FileAdd(string Path, string strings) + { + StreamWriter sw = File.AppendText(Path); + sw.Write(strings); + sw.Flush(); + sw.Close(); + } + #endregion + + #region 鎷疯礉鏂囦欢 + /**************************************** + * 鍑芥暟鍚嶇О锛欶ileCoppy + * 鍔熻兘璇存槑锛氭嫹璐濇枃浠� + * 鍙� 鏁帮細OrignFile:鍘熷鏂囦欢,NewFile:鏂版枃浠惰矾寰� + * 璋冪敤绀哄垪锛� + * string orignFile = Server.MapPath("Default2.aspx"); + * string NewFile = Server.MapPath("Default3.aspx"); + * EC.FileObj.FileCoppy(OrignFile, NewFile); + *****************************************/ + /// <summary> + /// 鎷疯礉鏂囦欢 + /// </summary> + /// <param name="OrignFile">鍘熷鏂囦欢</param> + /// <param name="NewFile">鏂版枃浠惰矾寰�</param> + public static void FileCoppy(string orignFile, string NewFile) + { + File.Copy(orignFile, NewFile, true); + } + + #endregion + + #region 鍒犻櫎鏂囦欢 + /**************************************** + * 鍑芥暟鍚嶇О锛欶ileDel + * 鍔熻兘璇存槑锛氬垹闄ゆ枃浠� + * 鍙� 鏁帮細Path:鏂囦欢璺緞 + * 璋冪敤绀哄垪锛� + * string Path = Server.MapPath("Default3.aspx"); + * EC.FileObj.FileDel(Path); + *****************************************/ + /// <summary> + /// 鍒犻櫎鏂囦欢 + /// </summary> + /// <param name="Path">璺緞</param> + public static void FileDel(string Path) + { + File.Delete(Path); + } + #endregion + + #region 绉诲姩鏂囦欢 + /**************************************** + * 鍑芥暟鍚嶇О锛欶ileMove + * 鍔熻兘璇存槑锛氱Щ鍔ㄦ枃浠� + * 鍙� 鏁帮細OrignFile:鍘熷璺緞,NewFile:鏂版枃浠惰矾寰� + * 璋冪敤绀哄垪锛� + * string orignFile = Server.MapPath("../璇存槑.txt"); + * string NewFile = Server.MapPath("http://www.cnblogs.com/璇存槑.txt"); + * EC.FileObj.FileMove(OrignFile, NewFile); + *****************************************/ + /// <summary> + /// 绉诲姩鏂囦欢 + /// </summary> + /// <param name="OrignFile">鍘熷璺緞</param> + /// <param name="NewFile">鏂拌矾寰�</param> + public static void FileMove(string orignFile, string NewFile) + { + File.Move(orignFile, NewFile); + } + #endregion + + #region 鍦ㄥ綋鍓嶇洰褰曚笅鍒涘缓鐩綍 + /**************************************** + * 鍑芥暟鍚嶇О锛欶olderCreate + * 鍔熻兘璇存槑锛氬湪褰撳墠鐩綍涓嬪垱寤虹洰褰� + * 鍙� 鏁帮細OrignFolder:褰撳墠鐩綍,NewFloder:鏂扮洰褰� + * 璋冪敤绀哄垪锛� + * string orignFolder = Server.MapPath("test/"); + * string NewFloder = "new"; + * EC.FileObj.FolderCreate(OrignFolder, NewFloder); + *****************************************/ + /// <summary> + /// 鍦ㄥ綋鍓嶇洰褰曚笅鍒涘缓鐩綍 + /// </summary> + /// <param name="OrignFolder">褰撳墠鐩綍</param> + /// <param name="NewFloder">鏂扮洰褰�</param> + public static void FolderCreate(string orignFolder, string NewFloder) + { + Directory.SetCurrentDirectory(orignFolder); + Directory.CreateDirectory(NewFloder); + } + #endregion + + #region 閫掑綊鍒犻櫎鏂囦欢澶圭洰褰曞強鏂囦欢 + /**************************************** + * 鍑芥暟鍚嶇О锛欴eleteFolder + * 鍔熻兘璇存槑锛氶�掑綊鍒犻櫎鏂囦欢澶圭洰褰曞強鏂囦欢 + * 鍙� 鏁帮細dir:鏂囦欢澶硅矾寰� + * 璋冪敤绀哄垪锛� + * string dir = Server.MapPath("test/"); + * EC.FileObj.DeleteFolder(dir); + *****************************************/ + /// <summary> + /// 閫掑綊鍒犻櫎鏂囦欢澶圭洰褰曞強鏂囦欢 + /// </summary> + /// <param name="dir"></param> + /// <returns></returns> + public static void DeleteFolder(string dir) + { + if (Directory.Exists(dir)) //濡傛灉瀛樺湪杩欎釜鏂囦欢澶瑰垹闄や箣 + { + foreach (string d in Directory.GetFileSystemEntries(dir)) + { + if (File.Exists(d)) + File.Delete(d); //鐩存帴鍒犻櫎鍏朵腑鐨勬枃浠� + else + DeleteFolder(d); //閫掑綊鍒犻櫎瀛愭枃浠跺す + } + Directory.Delete(dir); //鍒犻櫎宸茬┖鏂囦欢澶� + } + + } + #endregion + + #region 灏嗘寚瀹氭枃浠跺す涓嬮潰鐨勬墍鏈夊唴瀹筩opy鍒扮洰鏍囨枃浠跺す涓嬮潰 鏋滅洰鏍囨枃浠跺す涓哄彧璇诲睘鎬у氨浼氭姤閿欍�� + /**************************************** + * 鍑芥暟鍚嶇О锛欳opyDir + * 鍔熻兘璇存槑锛氬皢鎸囧畾鏂囦欢澶逛笅闈㈢殑鎵�鏈夊唴瀹筩opy鍒扮洰鏍囨枃浠跺す涓嬮潰 鏋滅洰鏍囨枃浠跺す涓哄彧璇诲睘鎬у氨浼氭姤閿欍�� + * 鍙� 鏁帮細srcPath:鍘熷璺緞,aimPath:鐩爣鏂囦欢澶� + * 璋冪敤绀哄垪锛� + * string srcPath = Server.MapPath("test/"); + * string aimPath = Server.MapPath("test1/"); + * EC.FileObj.CopyDir(srcPath,aimPath); + *****************************************/ + /// <summary> + /// 鎸囧畾鏂囦欢澶逛笅闈㈢殑鎵�鏈夊唴瀹筩opy鍒扮洰鏍囨枃浠跺す涓嬮潰 + /// </summary> + /// <param name="srcPath">鍘熷璺緞</param> + /// <param name="aimPath">鐩爣鏂囦欢澶�</param> + public static void CopyDir(string srcPath, string aimPath) + { + try + { + // 妫�鏌ョ洰鏍囩洰褰曟槸鍚︿互鐩綍鍒嗗壊瀛楃缁撴潫濡傛灉涓嶆槸鍒欐坊鍔犱箣 + if (aimPath[aimPath.Length - 1] != Path.DirectorySeparatorChar) + aimPath += Path.DirectorySeparatorChar; + // 鍒ゆ柇鐩爣鐩綍鏄惁瀛樺湪濡傛灉涓嶅瓨鍦ㄥ垯鏂板缓涔� + if (!Directory.Exists(aimPath)) + Directory.CreateDirectory(aimPath); + // 寰楀埌婧愮洰褰曠殑鏂囦欢鍒楄〃锛岃閲岄潰鏄寘鍚枃浠朵互鍙婄洰褰曡矾寰勭殑涓�涓暟缁� + //濡傛灉浣犳寚鍚慶opy鐩爣鏂囦欢涓嬮潰鐨勬枃浠惰�屼笉鍖呭惈鐩綍璇蜂娇鐢ㄤ笅闈㈢殑鏂规硶 + //string[] fileList = Directory.GetFiles(srcPath); + string[] fileList = Directory.GetFileSystemEntries(srcPath); + //閬嶅巻鎵�鏈夌殑鏂囦欢鍜岀洰褰� + foreach (string file in fileList) + { + //鍏堝綋浣滅洰褰曞鐞嗗鏋滃瓨鍦ㄨ繖涓洰褰曞氨閫掑綊Copy璇ョ洰褰曚笅闈㈢殑鏂囦欢 + + if (Directory.Exists(file)) + CopyDir(file, aimPath + Path.GetFileName(file)); + //鍚﹀垯鐩存帴Copy鏂囦欢 + else + File.Copy(file, aimPath + Path.GetFileName(file), true); + } + + } + catch (Exception ee) + { + throw new Exception(ee.ToString()); + } + } + #endregion + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/HttpContextHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/HttpContextHelper.cs" new file mode 100644 index 0000000..d0d23cd --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/HttpContextHelper.cs" @@ -0,0 +1,36 @@ +锘縰sing Microsoft.AspNetCore.Http; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Helper +{ + public static class HttpContextHelper + { + public static string GetUserIp(this HttpContext context) + { + string realIP = null; + string forwarded = null; + string remoteIpAddress = context.Connection.RemoteIpAddress.ToString(); + if (context.Request.Headers.ContainsKey("X-Real-IP")) + { + realIP = context.Request.Headers["X-Real-IP"].ToString(); + if (realIP != remoteIpAddress) + { + remoteIpAddress = realIP; + } + } + if (context.Request.Headers.ContainsKey("X-Forwarded-For")) + { + forwarded = context.Request.Headers["X-Forwarded-For"].ToString(); + if (forwarded != remoteIpAddress) + { + remoteIpAddress = forwarded; + } + } + return remoteIpAddress; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/HttpHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/HttpHelper.cs" new file mode 100644 index 0000000..c020a67 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/HttpHelper.cs" @@ -0,0 +1,136 @@ +锘縰sing Microsoft.Extensions.Logging; +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net; +using System.Net.Http.Headers; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.LogHelper; + +namespace WIDESEA_Core.Helper +{ + public class HttpHelper + { + public static async Task<string> GetAsync(string serviceAddress, Dictionary<string, string>? headers = null) + { + string result = string.Empty; + DateTime beginDate = DateTime.Now; + try + { + using HttpClient httpClient = new HttpClient(); + httpClient.Timeout = new TimeSpan(0, 0, 60); + + if (headers != null) + { + foreach (var header in headers) + httpClient.DefaultRequestHeaders.Add(header.Key, header.Value); + } + + result = await httpClient.GetAsync(serviceAddress).Result.Content.ReadAsStringAsync(); + return result; + } + catch (Exception e) + { + throw new Exception(e.Message); + } + finally + { + Logger.Add(serviceAddress, "", result, beginDate); + } + } + + public static async Task<string?> PostAsync(string serviceAddress, string requestJson = "", string contentType = "application/json", Dictionary<string, string>? headers = null) + { + string result = string.Empty; + DateTime beginDate = DateTime.Now; + try + { + using (HttpContent httpContent = new StringContent(requestJson)) + { + httpContent.Headers.ContentType = new MediaTypeHeaderValue("application/json"); + using HttpClient httpClient = new HttpClient(); + httpClient.Timeout = new TimeSpan(0, 0, 60); + + if (headers != null) + { + foreach (var header in headers) + httpClient.DefaultRequestHeaders.Add(header.Key, header.Value); + } + + result = await httpClient.PostAsync(serviceAddress, httpContent).Result.Content.ReadAsStringAsync(); + } + return result; + } + catch (Exception e) + { + throw new Exception(e.Message); + } + finally + { + Logger.Add(serviceAddress, requestJson, result, beginDate); + } + } + + public static string Get(string serviceAddress, string contentType = "application/json", Dictionary<string, string>? headers = null) + { + string result = string.Empty; + DateTime beginDate = DateTime.Now; + try + { + using HttpClient httpClient = new HttpClient(); + httpClient.Timeout = new TimeSpan(0, 0, 60); + + if (headers != null) + { + foreach (var header in headers) + httpClient.DefaultRequestHeaders.Add(header.Key, header.Value); + } + + result = httpClient.GetStringAsync(serviceAddress).Result; + return result; + } + catch (Exception e) + { + throw new Exception(e.Message); + } + finally + { + Logger.Add(serviceAddress, "", result, beginDate); + } + } + + public static string Post(string serviceAddress, string requestJson = "", string contentType = "application/json", Dictionary<string, string>? headers = null) + { + string result = string.Empty; + DateTime beginDate = DateTime.Now; + try + { + using (HttpContent httpContent = new StringContent(requestJson)) + { + httpContent.Headers.ContentType = new MediaTypeHeaderValue("application/json"); + using HttpClient httpClient = new HttpClient(); + httpClient.Timeout = new TimeSpan(0, 0, 60); + + if (headers != null) + { + foreach (var header in headers) + httpClient.DefaultRequestHeaders.Add(header.Key, header.Value); + } + + result = httpClient.PostAsync(serviceAddress, httpContent).Result.Content.ReadAsStringAsync().Result; + } + return result; + } + catch (Exception e) + { + throw new Exception(e.Message); + } + finally + { + Logger.Add(serviceAddress, requestJson, result, beginDate); + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/HttpMesHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/HttpMesHelper.cs" new file mode 100644 index 0000000..36da40e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/HttpMesHelper.cs" @@ -0,0 +1,83 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Net.Http.Headers; +using WIDESEA_Core.LogHelper; +using System.Security.Cryptography; + +namespace WIDESEA_Core.Helper +{ + public class HttpMesHelper + { + public static string Post(string serviceAddress, string requestJson = null, string contentType = "application/json", Dictionary<string, string>? headers = null) + { + string result = string.Empty; + DateTime beginDate = DateTime.Now; + try + { + using (HttpContent httpContent = new StringContent(requestJson)) + { + httpContent.Headers.ContentType = new MediaTypeHeaderValue("application/json"); + + using HttpClient httpClient = new HttpClient(); + httpClient.Timeout = new TimeSpan(0, 0, 60); + string authorization = "AppKey 1830415116987195392"; + headers = new Dictionary<string, string> + { + { "Authorization", authorization }, + { "Site_tenant_id", "0dc2d164-8a62-417e-8a00-808007464feb" } + }; + if (headers != null) + { + foreach (var header in headers) + httpClient.DefaultRequestHeaders.Add(header.Key, header.Value); + } + HttpResponseMessage responseMessage = httpClient.PostAsync(serviceAddress, httpContent).Result; + result = responseMessage.Content.ReadAsStringAsync().Result; + } + return result; + } + catch (Exception e) + { + throw new Exception(e.Message); + } + finally + { + Logger.Add(serviceAddress, requestJson == null ? "" : requestJson, result, beginDate); + } + } + public static string GetStr(string textToEncrypt) + { + string publicKey; + string privateKey; + GenerateRSAKeyPair(out publicKey, out privateKey); + byte[] encryptedBytes = RSAEncrypt(textToEncrypt, publicKey); + // 鍙互灏嗗姞瀵嗗悗鐨勫瓧鑺傛暟缁勮浆鎹负Base64瀛楃涓叉柟渚垮悗缁鐞嗭紝渚嬪浼犺緭绛� + string encryptedBase64 = Convert.ToBase64String(encryptedBytes); + return encryptedBase64; + } + public static void GenerateRSAKeyPair(out string publicKey, out string privateKey) + { + using (RSACryptoServiceProvider rsa = new RSACryptoServiceProvider(2048)) + { + publicKey = rsa.ToXmlString(false); + privateKey = rsa.ToXmlString(true); + } + } + public static byte[] RSAEncrypt(string plainText, string publicKey) + { + byte[] encryptedData; + using (RSACryptoServiceProvider rsa = new RSACryptoServiceProvider()) + { + rsa.FromXmlString(publicKey); + // 灏嗘枃鏈浆鎹负UTF8缂栫爜鐨勫瓧鑺傛暟缁� + byte[] plainBytes = Encoding.UTF8.GetBytes(plainText); + // 浣跨敤SHA1鍝堝笇绠楁硶浠ュ強Pkcs1濉厖瑙勫垯杩涜鍔犲瘑 + encryptedData = rsa.Encrypt(plainBytes, true); + } + return encryptedData; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/MethodInfoExtensions.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/MethodInfoExtensions.cs" new file mode 100644 index 0000000..63edd4b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/MethodInfoExtensions.cs" @@ -0,0 +1,22 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Helper +{ + public static class MethodInfoExtensions + { + public static string GetFullName(this MethodInfo method) + { + if (method.DeclaringType == null) + { + return $@"{method.Name}"; + } + + return $"{method.DeclaringType.FullName}.{method.Name}"; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/ObjectExtension.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/ObjectExtension.cs" new file mode 100644 index 0000000..b051c14 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/ObjectExtension.cs" @@ -0,0 +1,59 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Helper +{ + public static class ObjectExtension + { + public static List<T> DicToIEnumerable<T>(this List<Dictionary<string, object>> dicList) + { + List<T> list = new List<T>(); + foreach (Dictionary<string, object> dic in dicList) + { + list.Add(dic.DicToModel<T>()); + } + return list; + } + + public static T DicToModel<T>(this Dictionary<string, object> dic) + { + T model = Activator.CreateInstance<T>(); + PropertyInfo[] propertyInfos = typeof(T).GetProperties(BindingFlags.GetProperty | BindingFlags.Public | BindingFlags.Instance); + foreach (var property in propertyInfos) + { + object? value = null; + if (!dic.TryGetValue(property.Name, out value)) + { + if (!dic.TryGetValue(property.Name.FirstLetterToUpper(), out value)) + { + if (!dic.TryGetValue(property.Name.FirstLetterToLower(), out value)) + { + continue; + } + } + }; + + SugarColumn? sugarColumn = property.GetCustomAttribute<SugarColumn>(); + if (sugarColumn != null && sugarColumn.IsIdentity && (value == null || value.Equals(""))) + { + continue; + } + //if (value != null && sugarColumn != null && !sugarColumn.IsNullable) + try + { + property.SetValue(model, value.ChangeType(property.PropertyType)); + } + catch + { + + } + } + return model; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/RuntimeExtension.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/RuntimeExtension.cs" new file mode 100644 index 0000000..702db9b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/RuntimeExtension.cs" @@ -0,0 +1,89 @@ +锘� +using Microsoft.Extensions.DependencyModel; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Runtime.Loader; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Helper +{ + public static class RuntimeExtension + { + /// <summary> + /// 鑾峰彇椤圭洰绋嬪簭闆嗭紝鎺掗櫎鎵�鏈夌殑绯荤粺绋嬪簭闆�(Microsoft.***銆丼ystem.***绛�)銆丯uget涓嬭浇鍖� + /// </summary> + /// <returns></returns> + public static IList<Assembly> GetAllAssemblies() + { + var list = new List<Assembly>(); + var deps = DependencyContext.Default; + //鍙姞杞介」鐩腑鐨勭▼搴忛泦 + var libs = deps.CompileLibraries.Where(lib => !lib.Serviceable && lib.Type == "project"); //鎺掗櫎鎵�鏈夌殑绯荤粺绋嬪簭闆嗐�丯uget涓嬭浇鍖� + foreach (var lib in libs) + { + try + { + var assembly = AssemblyLoadContext.Default.LoadFromAssemblyName(new AssemblyName(lib.Name)); + list.Add(assembly); + } + catch (Exception e) + { + //Log.Debug(e, "GetAllAssemblies Exception:{ex}", e.Message); + } + } + + return list; + } + + public static Assembly GetAssembly(string assemblyName) + { + return GetAllAssemblies().FirstOrDefault(assembly => assembly.FullName.Contains(assemblyName)); + } + + public static IList<Type> GetAllTypes() + { + var list = new List<Type>(); + foreach (var assembly in GetAllAssemblies()) + { + var typeInfos = assembly.DefinedTypes; + foreach (var typeInfo in typeInfos) + { + list.Add(typeInfo.AsType()); + } + } + + return list; + } + + public static IList<Type> GetTypesByAssembly(string assemblyName) + { + var list = new List<Type>(); + var assembly = AssemblyLoadContext.Default.LoadFromAssemblyName(new AssemblyName(assemblyName)); + var typeInfos = assembly.DefinedTypes; + foreach (var typeInfo in typeInfos) + { + list.Add(typeInfo.AsType()); + } + + return list; + } + + public static Type GetImplementType(string typeName, Type baseInterfaceType) + { + return GetAllTypes().FirstOrDefault(t => + { + if (t.Name == typeName && + t.GetTypeInfo().GetInterfaces().Any(b => b.Name == baseInterfaceType.Name)) + { + var typeInfo = t.GetTypeInfo(); + return typeInfo.IsClass && !typeInfo.IsAbstract && !typeInfo.IsGenericType; + } + + return false; + }); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/SecurityEncDecryptHelper.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/SecurityEncDecryptHelper.cs" new file mode 100644 index 0000000..c44c9e2 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/SecurityEncDecryptHelper.cs" @@ -0,0 +1,93 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Security.Cryptography; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Const; +using WIDESEA_Core.DB; + +namespace WIDESEA_Core.Helper +{ + public static class SecurityEncDecryptHelper + { + private static byte[] Keys = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F }; + /// <summary> + /// DES鍔犲瘑瀛楃涓� + /// </summary> + /// <param name="encryptString">寰呭姞瀵嗙殑瀛楃涓�</param> + /// <param name="encryptKey">鍔犲瘑瀵嗛挜,瑕佹眰涓�16浣�</param> + /// <returns>鍔犲瘑鎴愬姛杩斿洖鍔犲瘑鍚庣殑瀛楃涓诧紝澶辫触杩斿洖婧愪覆</returns> + + public static string EncryptDES(this string encryptString, string encryptKey) + { + try + { + byte[] rgbKey = Encoding.UTF8.GetBytes(encryptKey.Substring(0, 16)); + byte[] rgbIV = Keys; + byte[] inputByteArray = Encoding.UTF8.GetBytes(encryptString); + + using (var DCSP = Aes.Create()) + { + using (MemoryStream mStream = new MemoryStream()) + { + using (CryptoStream cStream = new CryptoStream(mStream, DCSP.CreateEncryptor(rgbKey, rgbIV), CryptoStreamMode.Write)) + { + cStream.Write(inputByteArray, 0, inputByteArray.Length); + cStream.FlushFinalBlock(); + return Convert.ToBase64String(mStream.ToArray()).Replace('+', '_').Replace('/', '~'); + } + } + } + } + catch (Exception ex) + { + throw new Exception("瀵嗙爜鍔犲瘑寮傚父" + ex.Message); + } + + } + + /// <summary> + /// DES瑙e瘑瀛楃涓� + /// </summary> + /// <param name="decryptString">寰呰В瀵嗙殑瀛楃涓�</param> + /// <param name="decryptKey">瑙e瘑瀵嗛挜,瑕佹眰涓�16浣�,鍜屽姞瀵嗗瘑閽ョ浉鍚�</param> + /// <returns>瑙e瘑鎴愬姛杩斿洖瑙e瘑鍚庣殑瀛楃涓诧紝澶辫触杩旀簮涓�</returns> + + public static string DecryptDES(this string decryptString, string decryptKey) + { + if (decryptKey == AppSecret.DB && !AppSettings.Get(MainDb.ConnectionStringsEncryption).ObjToBool()) + return decryptString; + + byte[] rgbKey = Encoding.UTF8.GetBytes(decryptKey.Substring(0, 16)); + byte[] rgbIV = Keys; + byte[] inputByteArray = Convert.FromBase64String(decryptString.Replace('_', '+').Replace('~', '/')); + using (var DCSP = Aes.Create()) + { + using (MemoryStream mStream = new MemoryStream()) + { + using (CryptoStream cStream = new CryptoStream(mStream, DCSP.CreateDecryptor(rgbKey, rgbIV), CryptoStreamMode.Write)) + { + byte[] inputByteArrays = new byte[inputByteArray.Length]; + cStream.Write(inputByteArray, 0, inputByteArray.Length); + cStream.FlushFinalBlock(); + return Encoding.UTF8.GetString(mStream.ToArray()); + } + } + } + } + public static bool TryDecryptDES(this string decryptString, string decryptKey, out string result) + { + result = ""; + try + { + result = DecryptDES(decryptString, decryptKey); + return true; + } + catch + { + return false; + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/UtilConvert.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/UtilConvert.cs" new file mode 100644 index 0000000..d9c8538 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Helper/UtilConvert.cs" @@ -0,0 +1,983 @@ +锘縰sing NetTaste; +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Text.RegularExpressions; +using System.Threading.Tasks; +using System.Web; +using WIDESEA_Core.Const; +using WIDESEA_Core.Enums; + +namespace WIDESEA_Core.Helper +{ + public static class UtilConvert + { + private static DateTime dateStart = new DateTime(1970, 1, 1, 8, 0, 0); + + private static long longTime = 621355968000000000; + + private static int samllTime = 10000000; + /// <summary> + /// 鏃堕棿鎴宠浆鎹㈡垚鏃ユ湡 + /// </summary> + /// <param name="timeStamp"></param> + /// <returns></returns> + public static DateTime GetTimeSpmpToDate(this object timeStamp) + { + if (timeStamp == null) return dateStart; + DateTime dateTime = new DateTime(longTime + Convert.ToInt64(timeStamp) * samllTime, DateTimeKind.Utc).ToLocalTime(); + return dateTime; + } + + public static string Serialize(this object obj, JsonSerializerSettings formatDate = null) + { + if (obj == null) return null; + formatDate = formatDate ?? new JsonSerializerSettings + { + DateFormatString = "yyyy-MM-dd HH:mm:ss" + }; + return JsonConvert.SerializeObject(obj, formatDate); + } + + public static T DeserializeObject<T>(this string json) + { + if (string.IsNullOrEmpty(json)) + { + return default(T); + } + if (json == "{}") + { + json = "[]"; + } + return JsonConvert.DeserializeObject<T>(json); + } + + public static string FirstLetterToLower(this string thisValue) + { + if (string.IsNullOrEmpty(thisValue)) return string.Empty; + string result = thisValue.Substring(0, 1).ToLower() + thisValue.Substring(1, thisValue.Length - 1); + return result; + } + + public static string FirstLetterToUpper(this string thisValue) + { + if (string.IsNullOrEmpty(thisValue)) return string.Empty; + string result = thisValue.Substring(0, 1).ToUpper() + thisValue.Substring(1, thisValue.Length - 1); + return result; + } + + /// <summary> + /// + /// </summary> + /// <param name="thisValue"></param> + /// <returns></returns> + public static int ObjToInt(this object thisValue) + { + int reval = 0; + if (thisValue == null) return 0; + if (thisValue is Enum && thisValue != DBNull.Value && Enum.TryParse(thisValue.GetType(), thisValue.ToString(), out var val)) + { + return Convert.ToInt32(val.ChangeType(typeof(int))); + } + if (thisValue != DBNull.Value && int.TryParse(thisValue.ToString(), out reval)) + { + return reval; + } + + return reval; + } + + /// <summary> + /// + /// </summary> + /// <param name="thisValue"></param> + /// <returns></returns> + public static int DoubleToInt(this double thisValue) + { + int reval = 0; + + return Convert.ToInt32(thisValue); + } + + /// <summary> + /// + /// </summary> + /// <param name="thisValue"></param> + /// <param name="errorValue"></param> + /// <returns></returns> + public static int ObjToInt(this object thisValue, int errorValue) + { + int reval = 0; + if (thisValue != null && thisValue != DBNull.Value && int.TryParse(thisValue.ToString(), out reval)) + { + return reval; + } + + return errorValue; + } + + public static long ObjToLong(this object thisValue) + { + long reval = 0; + if (thisValue == null) return 0; + if (thisValue != DBNull.Value && long.TryParse(thisValue.ToString(), out reval)) + { + return reval; + } + + return reval; + } + + /// <summary> + /// + /// </summary> + /// <param name="thisValue"></param> + /// <returns></returns> + public static double ObjToMoney(this object thisValue) + { + double reval = 0; + if (thisValue != null && thisValue != DBNull.Value && double.TryParse(thisValue.ToString(), out reval)) + { + return reval; + } + + return 0; + } + + /// <summary> + /// + /// </summary> + /// <param name="thisValue"></param> + /// <param name="errorValue"></param> + /// <returns></returns> + public static double ObjToMoney(this object thisValue, double errorValue) + { + double reval = 0; + if (thisValue != null && thisValue != DBNull.Value && double.TryParse(thisValue.ToString(), out reval)) + { + return reval; + } + + return errorValue; + } + + /// <summary> + /// + /// </summary> + /// <param name="thisValue"></param> + /// <returns></returns> + public static string ObjToString(this object thisValue) + { + if (thisValue != null) return thisValue.ToString().Trim(); + return ""; + } + + /// <summary> + /// + /// </summary> + /// <param name="thisValue"></param> + /// <returns></returns> + public static bool IsNotEmptyOrNull(this object thisValue) + { + return ObjToString(thisValue) != "" && ObjToString(thisValue) != "undefined" && ObjToString(thisValue) != "null"; + } + + /// <summary> + /// + /// </summary> + /// <param name="thisValue"></param> + /// <param name="errorValue"></param> + /// <returns></returns> + public static string ObjToString(this object thisValue, string errorValue) + { + if (thisValue != null) return thisValue.ToString().Trim(); + return errorValue; + } + + public static bool IsNullOrEmpty(this object thisValue) => thisValue == null || thisValue == DBNull.Value || string.IsNullOrWhiteSpace(thisValue.ToString()); + + /// <summary> + /// + /// </summary> + /// <param name="thisValue"></param> + /// <returns></returns> + public static Decimal ObjToDecimal(this object thisValue) + { + Decimal reval = 0; + if (thisValue != null && thisValue != DBNull.Value && decimal.TryParse(thisValue.ToString(), out reval)) + { + return reval; + } + + return 0; + } + + /// <summary> + /// + /// </summary> + /// <param name="thisValue"></param> + /// <param name="errorValue"></param> + /// <returns></returns> + public static Decimal ObjToDecimal(this object thisValue, decimal errorValue) + { + Decimal reval = 0; + if (thisValue != null && thisValue != DBNull.Value && decimal.TryParse(thisValue.ToString(), out reval)) + { + return reval; + } + + return errorValue; + } + + /// <summary> + /// + /// </summary> + /// <param name="thisValue"></param> + /// <returns></returns> + public static DateTime ObjToDate(this object thisValue) + { + DateTime reval = DateTime.MinValue; + if (thisValue != null && thisValue != DBNull.Value && DateTime.TryParse(thisValue.ToString(), out reval)) + { + reval = Convert.ToDateTime(thisValue); + } + + return reval; + } + + /// <summary> + /// + /// </summary> + /// <param name="thisValue"></param> + /// <param name="errorValue"></param> + /// <returns></returns> + public static DateTime ObjToDate(this object thisValue, DateTime errorValue) + { + DateTime reval = DateTime.MinValue; + if (thisValue != null && thisValue != DBNull.Value && DateTime.TryParse(thisValue.ToString(), out reval)) + { + return reval; + } + + return errorValue; + } + + /// <summary> + /// + /// </summary> + /// <param name="thisValue"></param> + /// <returns></returns> + public static bool ObjToBool(this object thisValue) + { + bool reval = false; + if (thisValue != null && thisValue != DBNull.Value && bool.TryParse(thisValue.ToString(), out reval)) + { + return reval; + } + + return reval; + } + + + /// <summary> + /// 鑾峰彇褰撳墠鏃堕棿鐨勬椂闂存埑 + /// </summary> + /// <param name="thisValue"></param> + /// <returns></returns> + public static string DateToTimeStamp(this DateTime thisValue) + { + TimeSpan ts = thisValue - new DateTime(1970, 1, 1, 0, 0, 0, 0); + return Convert.ToInt64(ts.TotalSeconds).ToString(); + } + + public static object ChangeType(this object value, Type type) + { + if (value == null && type.IsGenericType) return Activator.CreateInstance(type); + if (value == null) return null; + if (type == value.GetType()) return value; + if (type.IsEnum) + { + if (value is string) + return Enum.Parse(type, value as string); + else + return Enum.ToObject(type, value); + } + + if (!type.IsInterface && type.IsGenericType) + { + Type innerType = type.GetGenericArguments()[0]; + object innerValue = ChangeType(value, innerType); + return Activator.CreateInstance(type, new object[] { innerValue }); + } + + if (value is string && type == typeof(Guid)) return new Guid(value as string); + if (value is string && type == typeof(Version)) return new Version(value as string); + if (!(value is IConvertible)) return value; + return Convert.ChangeType(value, type); + } + + public static object ChangeTypeList(this object value, Type type) + { + if (value == null) return default; + + var gt = typeof(List<>).MakeGenericType(type); + dynamic lis = Activator.CreateInstance(gt); + + var addMethod = gt.GetMethod("Add"); + string values = value.ToString(); + if (values != null && values.StartsWith("(") && values.EndsWith(")")) + { + string[] splits; + if (values.Contains("\",\"")) + { + splits = values.Remove(values.Length - 2, 2) + .Remove(0, 2) + .Split("\",\""); + } + else + { + splits = values.Remove(0, 1) + .Remove(values.Length - 2, 1) + .Split(","); + } + + foreach (var split in splits) + { + var str = split; + if (split.StartsWith("\"") && split.EndsWith("\"")) + { + str = split.Remove(0, 1) + .Remove(split.Length - 2, 1); + } + + addMethod.Invoke(lis, new object[] { ChangeType(str, type) }); + } + } + + return lis; + } + + public static string ToJson(this object value) + { + return JsonConvert.SerializeObject(value); + } + + public static bool IsNumeric(this object value) + { + if (value == null) + return false; + bool reslut = decimal.TryParse(value.ToString(), out decimal _number); + return reslut; + } + + public static bool IsInt(this object obj) + { + if (obj == null) + return false; + bool reslut = Int32.TryParse(obj.ToString(), out int _number); + return reslut; + + } + public static bool IsDate(this object str) + { + return str.IsDate(out _); + } + public static bool IsDate(this object str, out DateTime dateTime) + { + dateTime = DateTime.Now; + if (str == null || str.ToString() == "") + { + return false; + } + return DateTime.TryParse(str.ToString(), out dateTime); + } + + /// <summary> + /// 鏍规嵁浼犲叆鏍煎紡鍒ゆ柇鏄惁涓哄皬鏁� + /// </summary> + /// <param name="str"></param> + /// <param name="formatString">18,5</param> + /// <returns></returns> + public static bool IsNumber(this string str, string formatString) + { + if (string.IsNullOrEmpty(str)) return false; + + return Regex.IsMatch(str, @"^[+-]?\d*[.]?\d*$"); + } + + public static bool IsGuid(this string guid) + { + Guid newId; + return guid.GetGuid(out newId); + } + + public static bool GetGuid(this string guid, out Guid outId) + { + Guid emptyId = Guid.Empty; + return Guid.TryParse(guid, out outId); + } + + /// <summary> + /// 杞崲涓虹煭鏁村瀷 qy 2024-7-15 + /// </summary> + /// <param name="data">鏁版嵁</param> + public static short ToShort(this object data) + { + if (data == null) + return 0; + short result; + var success = short.TryParse(data.ToString(), out result); + if (success) + return result; + try + { + return Convert.ToInt16(data); + } + catch (Exception) + { + return 0; + } + } + + /// <summary> + /// 杞崲涓洪珮绮惧害娴偣鏁�,骞舵寜鎸囧畾鐨勫皬鏁颁綅4鑸�5鍏� qy 2024-7-15 + /// </summary> + /// <param name="data">鏁版嵁</param> + /// <param name="digits">灏忔暟浣嶆暟</param> + public static decimal ToDecimal(this object data, int digits) + { + return Math.Round(ObjToDecimal(data), digits); + } + + + + /// <summary> + /// 鏋氫妇杞琇ist qy 2024-7-15 + /// </summary> + /// <typeparam name="T"></typeparam> + /// <returns></returns> + public static List<object> GetEnumList<T>() + { + List<object> list = new List<object>(); + var t = typeof(T); + foreach (var item in Enum.GetValues(typeof(T))) + { + FieldInfo f = t.GetField(Enum.GetName(typeof(T), item)); + var r = (System.ComponentModel.DescriptionAttribute[])f.GetCustomAttributes(typeof(System.ComponentModel.DescriptionAttribute), false); + list.Add(new { ID = item, value = Enum.GetName(typeof(T), item), name = r[0].Description }); + } + return list; + } + + /// <summary> + /// 楠岃瘉鍔ㄦ�佺被鍨嬪厓绱犳槸鍚︿负绌� qy 2024-7-15 + /// </summary> + /// <param name="obj"></param> + /// <returns></returns> + public static bool CheckDynamic(object obj) + { + return (obj != null && Convert.ToString(obj) != "") ? true : false; + } + + /// <summary> + /// 鍔ㄦ�佺被鍨嬪厓绱犺浆瀛楃涓插苟瑙g爜 qy 2024-7-15 + /// </summary> + /// <param name="obj"></param> + /// <returns></returns> + public static string DynamicToString(object obj) + { + return CheckDynamic(obj) ? HttpUtility.UrlDecode(Convert.ToString(obj).Trim()) : ""; + } + + /// <summary> + /// DataTable杞负json qy 2024-7-15 + /// </summary> + /// <param name="parObjRefDataTable">DataTable</param> + /// <returns>json鏁版嵁</returns> + public static string ToJson(this DataTable parObjRefDataTable) + { + List<object> objArrList = new List<object>(); + + foreach (DataRow objDataRow in parObjRefDataTable.Rows) + { + Dictionary<string, object> objResult = new Dictionary<string, object>(); + + foreach (DataColumn objDataColumn in parObjRefDataTable.Columns) + objResult.Add(objDataColumn.ColumnName, objDataRow[objDataColumn].ToString()); + + objArrList.Add(objResult); + } + + return ToJson(objArrList); + } + /// <summary> + /// Json杞琇ist qy 2024-7-15 + /// </summary> + /// <typeparam name="T"></typeparam> + /// <param name="parJson"></param> + /// <returns></returns> + public static List<T> JsonToList<T>(this string parJson) + { + if (string.IsNullOrWhiteSpace(parJson)) + { + return new List<T>(); + } + else + { + return JsonConvert.DeserializeObject<List<T>>(parJson); + } + } + + /// <summary> + /// 鏃ユ湡杞负unix鍊� + /// </summary> + /// <param name="dt"></param> + /// <param name="utc">T:鎸塙TC鏃堕棿璁$畻(榛樿);F:鎸夋湰鍦版椂闂磋绠�</param> + /// <returns></returns> + public static double ToUnix(this DateTime dt, bool utc = true) + { + double intResult = 0; + System.DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1)); + intResult = (dt - startTime).TotalSeconds; + intResult = Math.Round(intResult, 0); + return intResult; + } + + #region 鍒ゆ柇鏄惁涓哄瓧绗︿覆 qy 2024-7-15 + /// <summary> + /// 鍒ゆ柇瀛楃涓叉槸鍚︿负鍚堟硶鐨刯son瀛楃涓� qy 2024-7-15 + /// </summary> + /// <param name="json"></param> + /// <returns></returns> + public static bool IsJson(string json) + { + int errIndex; + return IsJson(json, out errIndex); + } + public static bool IsJson(string json, out int errIndex) + { + errIndex = 0; + if (IsJsonStart(ref json)) + { + CharState cs = new CharState(); + char c; + for (int i = 0; i < json.Length; i++) + { + c = json[i]; + if (SetCharState(c, ref cs) && cs.childrenStart)//璁剧疆鍏抽敭绗﹀彿鐘舵�併�� + { + string item = json.Substring(i); + int err; + int length = GetValueLength(item, true, out err); + cs.childrenStart = false; + if (err > 0) + { + errIndex = i + err; + return false; + } + i = i + length - 1; + } + if (cs.isError) + { + errIndex = i; + return false; + } + } + + return !cs.arrayStart && !cs.jsonStart; + } + return false; + } + + private static bool IsJsonStart(ref string json) + { + if (!string.IsNullOrEmpty(json)) + { + json = json.Trim('\r', '\n', ' '); + if (json.Length > 1) + { + char s = json[0]; + char e = json[json.Length - 1]; + return (s == '{' && e == '}') || (s == '[' && e == ']'); + } + } + return false; + } + + /// <summary> + /// 鑾峰彇鍊肩殑闀垮害锛堝綋Json鍊煎祵濂椾互"{"鎴�"["寮�澶存椂锛� qy 2024-7-15 + /// </summary> + private static int GetValueLength(string json, bool breakOnErr, out int errIndex) + { + errIndex = 0; + int len = 0; + if (!string.IsNullOrEmpty(json)) + { + CharState cs = new CharState(); + char c; + for (int i = 0; i < json.Length; i++) + { + c = json[i]; + if (!SetCharState(c, ref cs))//璁剧疆鍏抽敭绗﹀彿鐘舵�併�� + { + if (!cs.jsonStart && !cs.arrayStart)//json缁撴潫锛屽張涓嶆槸鏁扮粍锛屽垯閫�鍑恒�� + { + break; + } + } + else if (cs.childrenStart)//姝e父瀛楃锛屽�肩姸鎬佷笅銆� + { + int length = GetValueLength(json.Substring(i), breakOnErr, out errIndex);//閫掑綊瀛愬�硷紝杩斿洖涓�涓暱搴︺�傘�傘�� + cs.childrenStart = false; + cs.valueStart = 0; + //cs.state = 0; + i = i + length - 1; + } + if (breakOnErr && cs.isError) + { + errIndex = i; + return i; + } + if (!cs.jsonStart && !cs.arrayStart)//璁板綍褰撳墠缁撴潫浣嶇疆銆� + { + len = i + 1;//闀垮害姣旂储寮�+1 + break; + } + } + } + return len; + } + + /// <summary> + /// 瀛楃鐘舵�� qy 2024-7-15 + /// </summary> + private class CharState + { + internal bool jsonStart = false;//浠� "{"寮�濮嬩簡... + internal bool setDicValue = false;// 鍙互璁剧疆瀛楀吀鍊间簡銆� + internal bool escapeChar = false;//浠�"\"杞箟绗﹀彿寮�濮嬩簡 + /// <summary> + /// 鏁扮粍寮�濮嬨�愪粎绗竴寮�澶存墠绠椼�戯紝鍊煎祵濂楃殑浠ャ�恈hildrenStart銆戞潵鏍囪瘑銆� + /// </summary> + internal bool arrayStart = false;//浠�"[" 绗﹀彿寮�濮嬩簡 + internal bool childrenStart = false;//瀛愮骇宓屽寮�濮嬩簡銆� + /// <summary> + /// 銆�0 鍒濆鐘舵�侊紝鎴� 閬囧埌鈥�,鈥濋�楀彿銆戯紱銆�1 閬囧埌鈥滐細鈥濆啋鍙枫�� + /// </summary> + internal int state = 0; + + /// <summary> + /// 銆�-1 鍙栧�肩粨鏉熴�戙��0 鏈紑濮嬨�戙��1 鏃犲紩鍙峰紑濮嬨�戙��2 鍗曞紩鍙峰紑濮嬨�戙��3 鍙屽紩鍙峰紑濮嬨�� + /// </summary> + internal int keyStart = 0; + /// <summary> + /// 銆�-1 鍙栧�肩粨鏉熴�戙��0 鏈紑濮嬨�戙��1 鏃犲紩鍙峰紑濮嬨�戙��2 鍗曞紩鍙峰紑濮嬨�戙��3 鍙屽紩鍙峰紑濮嬨�� + /// </summary> + internal int valueStart = 0; + internal bool isError = false;//鏄惁璇硶閿欒銆� + + internal void CheckIsError(char c)//鍙綋鎴愪竴绾у鐞嗭紙鍥犱负GetLength浼氶�掑綊鍒版瘡涓�涓瓙椤瑰鐞嗭級 + { + if (keyStart > 1 || valueStart > 1) + { + return; + } + //绀轰緥 ["aa",{"bbbb":123,"fff","ddd"}] + switch (c) + { + case '{'://[{ "[{A}]":[{"[{B}]":3,"m":"C"}]}] + isError = jsonStart && state == 0;//閲嶅寮�濮嬮敊璇� 鍚屾椂涓嶆槸鍊煎鐞嗐�� + break; + case '}': + isError = !jsonStart || (keyStart != 0 && state == 0);//閲嶅缁撴潫閿欒 鎴栬�� 鎻愬墠缁撴潫{"aa"}銆傛甯哥殑鏈墈} + break; + case '[': + isError = arrayStart && state == 0;//閲嶅寮�濮嬮敊璇� + break; + case ']': + isError = !arrayStart || jsonStart;//閲嶅寮�濮嬮敊璇� 鎴栬�� Json 鏈粨鏉� + break; + case '"': + case '\'': + isError = !(jsonStart || arrayStart); //json 鎴栨暟缁勫紑濮嬨�� + if (!isError) + { + //閲嶅寮�濮� [""",{"" "}] + isError = (state == 0 && keyStart == -1) || (state == 1 && valueStart == -1); + } + if (!isError && arrayStart && !jsonStart && c == '\'')//['aa',{}] + { + isError = true; + } + break; + case ':': + isError = !jsonStart || state == 1;//閲嶅鍑虹幇銆� + break; + case ',': + isError = !(jsonStart || arrayStart); //json 鎴栨暟缁勫紑濮嬨�� + if (!isError) + { + if (jsonStart) + { + isError = state == 0 || (state == 1 && valueStart > 1);//閲嶅鍑虹幇銆� + } + else if (arrayStart)//["aa,] [,] [{},{}] + { + isError = keyStart == 0 && !setDicValue; + } + } + break; + case ' ': + case '\r': + case '\n'://[ "a",\r\n{} ] + case '\0': + case '\t': + break; + default: //鍊煎紑澶淬�傘�� + isError = (!jsonStart && !arrayStart) || (state == 0 && keyStart == -1) || (valueStart == -1 && state == 1);// + break; + } + //if (isError) + //{ + + //} + } + } + /// <summary> + /// 璁剧疆瀛楃鐘舵��(杩斿洖true鍒欎负鍏抽敭璇嶏紝杩斿洖false鍒欏綋涓烘櫘閫氬瓧绗﹀鐞嗭級 qy 2024-7-15 + /// </summary> + private static bool SetCharState(char c, ref CharState cs) + { + cs.CheckIsError(c); + switch (c) + { + case '{'://[{ "[{A}]":[{"[{B}]":3,"m":"C"}]}] + #region 澶ф嫭鍙� + if (cs.keyStart <= 0 && cs.valueStart <= 0) + { + cs.keyStart = 0; + cs.valueStart = 0; + if (cs.jsonStart && cs.state == 1) + { + cs.childrenStart = true; + } + else + { + cs.state = 0; + } + cs.jsonStart = true;//寮�濮嬨�� + return true; + } + #endregion + break; + case '}': + #region 澶ф嫭鍙风粨鏉� + if (cs.keyStart <= 0 && cs.valueStart < 2 && cs.jsonStart) + { + cs.jsonStart = false;//姝e父缁撴潫銆� + cs.state = 0; + cs.keyStart = 0; + cs.valueStart = 0; + cs.setDicValue = true; + return true; + } + // cs.isError = !cs.jsonStart && cs.state == 0; + #endregion + break; + case '[': + #region 涓嫭鍙峰紑濮� + if (!cs.jsonStart) + { + cs.arrayStart = true; + return true; + } + else if (cs.jsonStart && cs.state == 1) + { + cs.childrenStart = true; + return true; + } + #endregion + break; + case ']': + #region 涓嫭鍙风粨鏉� + if (cs.arrayStart && !cs.jsonStart && cs.keyStart <= 2 && cs.valueStart <= 0)//[{},333]//杩欐牱缁撴潫銆� + { + cs.keyStart = 0; + cs.valueStart = 0; + cs.arrayStart = false; + return true; + } + #endregion + break; + case '"': + case '\'': + #region 寮曞彿 + if (cs.jsonStart || cs.arrayStart) + { + if (cs.state == 0)//key闃舵,鏈夊彲鑳芥槸鏁扮粍["aa",{}] + { + if (cs.keyStart <= 0) + { + cs.keyStart = (c == '"' ? 3 : 2); + return true; + } + else if ((cs.keyStart == 2 && c == '\'') || (cs.keyStart == 3 && c == '"')) + { + if (!cs.escapeChar) + { + cs.keyStart = -1; + return true; + } + else + { + cs.escapeChar = false; + } + } + } + else if (cs.state == 1 && cs.jsonStart)//鍊奸樁娈靛繀椤绘槸Json寮�濮嬩簡銆� + { + if (cs.valueStart <= 0) + { + cs.valueStart = (c == '"' ? 3 : 2); + return true; + } + else if ((cs.valueStart == 2 && c == '\'') || (cs.valueStart == 3 && c == '"')) + { + if (!cs.escapeChar) + { + cs.valueStart = -1; + return true; + } + else + { + cs.escapeChar = false; + } + } + + } + } + #endregion + break; + case ':': + #region 鍐掑彿 + if (cs.jsonStart && cs.keyStart < 2 && cs.valueStart < 2 && cs.state == 0) + { + if (cs.keyStart == 1) + { + cs.keyStart = -1; + } + cs.state = 1; + return true; + } + // cs.isError = !cs.jsonStart || (cs.keyStart < 2 && cs.valueStart < 2 && cs.state == 1); + #endregion + break; + case ',': + #region 閫楀彿 //["aa",{aa:12,}] + + if (cs.jsonStart) + { + if (cs.keyStart < 2 && cs.valueStart < 2 && cs.state == 1) + { + cs.state = 0; + cs.keyStart = 0; + cs.valueStart = 0; + //if (cs.valueStart == 1) + //{ + // cs.valueStart = 0; + //} + cs.setDicValue = true; + return true; + } + } + else if (cs.arrayStart && cs.keyStart <= 2) + { + cs.keyStart = 0; + //if (cs.keyStart == 1) + //{ + // cs.keyStart = -1; + //} + return true; + } + #endregion + break; + case ' ': + case '\r': + case '\n'://[ "a",\r\n{} ] + case '\0': + case '\t': + if (cs.keyStart <= 0 && cs.valueStart <= 0) //cs.jsonStart && + { + return true;//璺宠繃绌烘牸銆� + } + break; + default: //鍊煎紑澶淬�傘�� + if (c == '\\') //杞箟绗﹀彿 + { + if (cs.escapeChar) + { + cs.escapeChar = false; + } + else + { + cs.escapeChar = true; + return true; + } + } + else + { + cs.escapeChar = false; + } + if (cs.jsonStart || cs.arrayStart) // Json 鎴栨暟缁勫紑濮嬩簡銆� + { + if (cs.keyStart <= 0 && cs.state == 0) + { + cs.keyStart = 1;//鏃犲紩鍙风殑 + } + else if (cs.valueStart <= 0 && cs.state == 1 && cs.jsonStart)//鍙湁Json寮�濮嬫墠鏈夊�笺�� + { + cs.valueStart = 1;//鏃犲紩鍙风殑 + } + } + break; + } + return false; + } + + #endregion + + public static LinqExpressionType GetLinqCondition(this string stringType) + { + LinqExpressionType linqExpression; + switch (stringType) + { + case HtmlElementType.Contains: + linqExpression = LinqExpressionType.In; + break; + case HtmlElementType.ThanOrEqual: + linqExpression = LinqExpressionType.ThanOrEqual; + break; + case HtmlElementType.LessOrequal: + linqExpression = LinqExpressionType.LessThanOrEqual; + break; + case HtmlElementType.GT: + linqExpression = LinqExpressionType.GreaterThan; + break; + case HtmlElementType.lt: + linqExpression = LinqExpressionType.LessThan; + break; + case HtmlElementType.like: + linqExpression = LinqExpressionType.Contains; + break; + default: + linqExpression = LinqExpressionType.Equal; + break; + } + return linqExpression; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HostedService/PermissionDataHostService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HostedService/PermissionDataHostService.cs" new file mode 100644 index 0000000..0ca0a50 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HostedService/PermissionDataHostService.cs" @@ -0,0 +1,200 @@ +锘�//using HslCommunication.WebSocket; +//using Microsoft.Extensions.Hosting; +//using SqlSugar; +//using System; +//using System.Collections.Generic; +//using System.Dynamic; +//using System.Linq; +//using System.Text; +//using System.Threading.Tasks; +//using WIDESEA_Core.Helper; +//using WIDESEA_Core.Seed; +//using ICacheService = WIDESEA_Core.Caches.ICacheService; + +//namespace WIDESEA_Core.HostedService +//{ +// public class PermissionDataHostService : IHostedService +// { +// private readonly DBContext _dbContext; +// private readonly ICacheService _cacheService; +// private readonly WebSocketServer _server; + +// public static List<UserRole> UserRoles; + +// public PermissionDataHostService(DBContext dbContext, ICacheService cacheService, WebSocketServer server) +// { +// _dbContext = dbContext; +// _cacheService = cacheService; +// _server = server; +// } + +// public Task StartAsync(CancellationToken cancellationToken) +// { +// List<UserRole> userRoles = GetUserRoles(_dbContext.Db); +// UserRoles = userRoles; +// _cacheService.AddOrUpdate("UserRoles", userRoles.Serialize()); + +// return Task.CompletedTask; +// } + +// public Task StopAsync(CancellationToken cancellationToken) +// { +// throw new NotImplementedException(); +// } + +// public static List<UserRole> GetUserRoles(ISqlSugarClient db) +// { +// List<ExpandoObject> roles = db.Queryable("Sys_Role", "x").Select(RoleSelectModes).ToList(); +// List<dynamic> roleDynamics = new List<dynamic>(); +// foreach (var item in roles) +// { +// roleDynamics.Add(item); +// } + +// List<dynamic> roleDataDynamics = new List<dynamic>(); +// List<ExpandoObject> roleDatas = db.Queryable("Sys_RoleDataPermission", "x").Select(RoleDataSelectModes).ToList(); +// foreach (var item in roleDatas) +// { +// roleDataDynamics.Add(item); +// } + +// List<ExpandoObject> users = db.Queryable("Sys_User", "x").Select(UserSelectModes).ToList(); + +// List<UserRole> userRoles = new List<UserRole>(); +// foreach (var item in users) +// { +// dynamic user = item; +// dynamic? role = roleDynamics.FirstOrDefault(x => x.RoleId == user.RoleId); +// List<object> warehouseIds = roleDataDynamics.Where(x => x.RoleId == user.RoleId).Select(x => x.WarehouseId).ToList(); +// List<int> ids = new List<int>(); +// for (int i = 0; i < warehouseIds.Count; i++) +// { +// ids.Add(Convert.ToInt32(warehouseIds[i])); +// } +// if (role != null) +// { +// userRoles.Add(new UserRole +// { +// RoleId = role.RoleId, +// RoleName = role.RoleName, +// ParentId = role.ParentId, +// UserId = user.UserId, +// UserName = user.UserName, +// WarehouseIds = ids +// }); +// } +// } +// return userRoles; +// } + +// public static List<UserRole> GetUserRoles(ISqlSugarClient db, int userId) +// { +// List<ExpandoObject> roles = db.Queryable("Sys_Role", "x").Select(RoleSelectModes).ToList(); +// List<dynamic> roleDynamics = new List<dynamic>(); +// foreach (var item in roles) +// { +// roleDynamics.Add(item); +// } + +// List<dynamic> roleDataDynamics = new List<dynamic>(); +// List<ExpandoObject> roleDatas = db.Queryable("Sys_RoleDataPermission", "x").Select(RoleDataSelectModes).ToList(); +// foreach (var item in roleDatas) +// { +// roleDataDynamics.Add(item); +// } + +// List<ExpandoObject> users = db.Queryable("Sys_User", "x").Where($"UserId={userId}").Select(UserSelectModes).ToList(); + +// List<UserRole> userRoles = new List<UserRole>(); +// foreach (var item in users) +// { +// dynamic user = item; +// dynamic? role = roleDynamics.FirstOrDefault(x => x.RoleId == user.RoleId); +// List<object> warehouseIds = roleDataDynamics.Where(x => x.RoleId == user.RoleId).Select(x => x.WarehouseId).ToList(); +// List<int> ids = new List<int>(); +// for (int i = 0; i < warehouseIds.Count; i++) +// { +// ids.Add(Convert.ToInt32(warehouseIds[i])); +// } +// if (role != null) +// { +// userRoles.Add(new UserRole +// { +// RoleId = role.RoleId, +// RoleName = role.RoleName, +// ParentId = role.ParentId, +// UserId = user.UserId, +// UserName = user.UserName, +// WarehouseIds = ids +// }); +// } +// } +// return userRoles; +// } + +// static List<SelectModel> RoleSelectModes = new List<SelectModel>() +// { +// new SelectModel() +// { +// FieldName = "RoleId", +// }, +// new SelectModel() +// { +// FieldName = "ParentId", +// }, +// new SelectModel() +// { +// FieldName = "RoleName", +// }, +// }; + +// static List<SelectModel> UserSelectModes = new List<SelectModel>() +// { +// new SelectModel() +// { +// FieldName = "UserId", +// }, +// new SelectModel() +// { +// FieldName = "UserName", +// }, +// new SelectModel() +// { +// FieldName = "RoleId", +// }, +// new SelectModel() +// { +// FieldName = "RoleName", +// } +// }; + +// static List<SelectModel> RoleDataSelectModes = new List<SelectModel>() +// { +// new SelectModel() +// { +// FieldName = "RoleId", +// }, +// new SelectModel() +// { +// FieldName = "WarehouseId", +// } +// }; +// } + +// public class UserRole +// { +// public int UserId { get; set; } + +// public int RoleId { get; set; } + +// public string RoleName { get; set; } + +// public string UserName { get; set; } + +// public int ParentId { get; set; } + +// public int AuthorityScope { get; set; } + +// public List<int> WarehouseIds { get; set; } +// } +//} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HostedService/SeedDataHostedService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HostedService/SeedDataHostedService.cs" new file mode 100644 index 0000000..9d96422 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HostedService/SeedDataHostedService.cs" @@ -0,0 +1,63 @@ +锘縰sing HslCommunication.WebSocket; +using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using Microsoft.Extensions.Logging; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; +using WIDESEA_Core.Seed; + +namespace WIDESEA_Core +{ + public sealed class SeedDataHostedService : IHostedService + { + private readonly DBContext _dbContext; + private readonly ILogger<SeedDataHostedService> _logger; + private readonly string _webRootPath; + + public SeedDataHostedService(IServiceProvider serviceProvider, IWebHostEnvironment webHostEnvironment, ILogger<SeedDataHostedService> logger, DBContext dbContext) + { + _logger = logger; + _webRootPath = webHostEnvironment.WebRootPath; + _dbContext = dbContext; + } + + public Task StartAsync(CancellationToken cancellationToken) + { + _logger.LogInformation("Start Initialization Db Seed Service!"); + DoWork(); + return Task.CompletedTask; + } + + private void DoWork() + { + try + { + if (AppSettings.GetValue("DBSeedEnable").ObjToBool()) + { + + DBSeed.SeedAsync(_dbContext, _webRootPath); + + //澶氱鎴� 鍚屾 + //await DBSeed.TenantSeedAsync(_dbContext); + } + } + catch (Exception ex) + { + _logger.LogError(ex, "Error occured seeding the Database."); + throw; + } + } + + public Task StopAsync(CancellationToken cancellationToken) + { + _logger.LogInformation("Stop Initialization Db Seed Service!"); + return Task.CompletedTask; + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HttpContextUser/AspNetUser.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HttpContextUser/AspNetUser.cs" new file mode 100644 index 0000000..da7b185 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HttpContextUser/AspNetUser.cs" @@ -0,0 +1,188 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Logging; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.IdentityModel.Tokens.Jwt; +using System.Linq; +using System.Security.Claims; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Extensions; +using WIDESEA_Core.Helper; +using ICacheService = WIDESEA_Core.Caches.ICacheService; + +namespace WIDESEA_Core.HttpContextUser +{ + public class AspNetUser : IUser + { + private readonly IHttpContextAccessor _accessor; + private readonly ICacheService _cacheService; + //private readonly ILogger<AspNetUser> _logger; + + public AspNetUser(IHttpContextAccessor accessor, ICacheService cacheService) + { + _accessor = accessor; + _cacheService = cacheService; + /*_logger = logger;*/ + } + + public string UserName => GetUserInfoFromToken(ClaimTypes.Name).FirstOrDefault() ?? ""; + + public int UserId => GetClaimValueByType(JwtRegisteredClaimNames.Jti) == null ? 0 : GetClaimValueByType(JwtRegisteredClaimNames.Jti).FirstOrDefault()?.ObjToInt() ?? 0; + + public long TenantId => GetUserInfoFromToken(nameof(TenantId)).FirstOrDefault()?.ObjToLong() ?? -1; + + public int RoleId => GetUserInfoFromToken(ClaimTypes.Role).FirstOrDefault()?.ObjToInt() ?? 0; + + public string Token => GetToken(); + + public int MenuType => (_accessor.HttpContext?.Request.Headers.ContainsKey("uniapp") ?? false) ? 1 : 0; + + public bool IsAuthenticated() + { + return _accessor.HttpContext?.User?.Identity?.IsAuthenticated ?? false; + } + + public string GetToken() + { + string token = _accessor.HttpContext?.Request?.Headers["Authorization"].ObjToString().Replace("Bearer ", "") ?? ""; + if (!token.IsNullOrEmpty()) + { + return token; + } + if (_accessor.HttpContext?.IsSuccessSwagger() == true) + { + token = _accessor.HttpContext.GetSuccessSwaggerJwt(); + if (token.IsNotEmptyOrNull()) + { + //UserInfo userInfo = JwtHelper.SerializeJwt(token); + //if (userInfo.UserId > 0) + //{ + // return token; + //} + List<Claim> claims1 = _accessor.HttpContext.User.Claims.ToList(); + if (_accessor.HttpContext.User.Claims.Any(s => s.Type == JwtRegisteredClaimNames.Jti)) + { + return token; + } + + var claims = new ClaimsIdentity(GetClaimsIdentity(token)); + _accessor.HttpContext.User.AddIdentity(claims); + return token; + } + } + + if (MenuType == 0) + { + token = _cacheService.Get(UserId.ToString()); + if (!string.IsNullOrEmpty(token)) { return token; } + return token; + } + else + { + token = _cacheService.Get(UserId.ToString() + "-App"); + if (!string.IsNullOrEmpty(token)) { return token; } + return token; + } + } + + public void UpdateToke(string token) + { + if (MenuType == 0) + _cacheService.AddOrUpdate(UserId.ToString(), token); + else + _cacheService.AddOrUpdate(UserId.ToString() + "-App", token); + } + + public void UpdateToke(string token, int userId) + { + if (MenuType == 0) + _cacheService.AddOrUpdate(userId.ToString(), token); + else + _cacheService.AddOrUpdate(userId.ToString() + "-App", token); + } + + public bool IsSuperAdmin => IsRoleIdSuperAdmin(RoleId); + + public bool IsHighestRole => UserId == 1; + + public List<string> GetUserInfoFromToken(string ClaimType) + { + var jwtHandler = new JwtSecurityTokenHandler(); + var token = ""; + + token = GetToken(); + // token鏍¢獙 + if (token.IsNotEmptyOrNull() && jwtHandler.CanReadToken(token)) + { + JwtSecurityToken jwtToken = jwtHandler.ReadJwtToken(token); + + List<string> items = (from item in jwtToken.Claims + where item.Type == ClaimType + select item.Value).ToList(); + return items; + } + + return new List<string>() { }; + } + + public IEnumerable<Claim> GetClaimsIdentity() + { + if (_accessor.HttpContext != null) + { + var claims = _accessor.HttpContext.User.Claims.ToList(); + var headers = _accessor.HttpContext.Request.Headers; + foreach (var header in headers) + { + claims.Add(new Claim(header.Key, header.Value)); + } + + return claims; + } + return ArraySegment<Claim>.Empty; + } + + public IEnumerable<Claim> GetClaimsIdentity(string token) + { + var jwtHandler = new JwtSecurityTokenHandler(); + // token鏍¢獙 + if (token.IsNotEmptyOrNull() && jwtHandler.CanReadToken(token)) + { + var jwtToken = jwtHandler.ReadJwtToken(token); + + return jwtToken.Claims; + } + + return new List<Claim>(); + } + + public List<string> GetClaimValueByType(string ClaimType) + { + return (from item in GetClaimsIdentity() + where item.Type == ClaimType + select item.Value).ToList(); + } + + public bool IsRoleIdSuperAdmin(int roleId) + { + return roleId == 1; + } + } + + public class UserInfo + { + public long TenantId { get; set; } + + public int RoleId { get; set; } + + public string UserName { get; set; } + + public int UserId { get; set; } + + public string UserTrueName { get; set; } + + public string HeadImageUrl { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HttpContextUser/IUser.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HttpContextUser/IUser.cs" new file mode 100644 index 0000000..db4d27b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/HttpContextUser/IUser.cs" @@ -0,0 +1,57 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Security.Claims; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.HttpContextUser +{ + public interface IUser + { + /// <summary> + /// 鍚嶇О + /// </summary> + string UserName { get; } + + /// <summary> + /// UserId + /// </summary> + int UserId { get; } + + /// <summary> + /// 绉熸埛ID + /// </summary> + long TenantId { get; } + + int RoleId { get; } + + string Token { get; } + + int MenuType { get; } + + void UpdateToke(string token); + + void UpdateToke(string token, int userId); + + /// <summary> + /// 鏄惁璁よ瘉 + /// </summary> + /// <returns></returns> + bool IsAuthenticated(); + + IEnumerable<Claim> GetClaimsIdentity(); + + List<string> GetClaimValueByType(string ClaimType); + + string GetToken(); + + List<string> GetUserInfoFromToken(string ClaimType); + + bool IsSuperAdmin { get; } + + bool IsHighestRole { get; } + + bool IsRoleIdSuperAdmin(int roleId); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/IDependency.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/IDependency.cs" new file mode 100644 index 0000000..98e47b1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/IDependency.cs" @@ -0,0 +1,12 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core +{ + public interface IDependency + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/LogHelper/LogLock.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/LogHelper/LogLock.cs" new file mode 100644 index 0000000..50da663 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/LogHelper/LogLock.cs" @@ -0,0 +1,92 @@ +锘� +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.LogHelper +{ + public class LogLock + { + static ReaderWriterLockSlim LogWriteLock = new ReaderWriterLockSlim(); + static int WritedCount = 0; + static int FailedCount = 0; + static string _contentRoot = string.Empty; + + public LogLock(string contentPath) + { + _contentRoot = contentPath; + } + + public static void OutLogAOP(string prefix, string[] dataParas, bool IsHeader = true) + { + OutSql2LogToFile(prefix, dataParas, IsHeader); + } + + public static void OutSql2LogToFile(string prefix, string[] dataParas, bool IsHeader = true, bool isWrt = false) + { + try + { + //璁剧疆璇诲啓閿佷负鍐欏叆妯″紡鐙崰璧勬簮锛屽叾浠栧啓鍏ヨ姹傞渶瑕佺瓑寰呮湰娆″啓鍏ョ粨鏉熶箣鍚庢墠鑳界户缁啓鍏� + //娉ㄦ剰锛氶暱鏃堕棿鎸佹湁璇荤嚎绋嬮攣鎴栧啓绾跨▼閿佷細浣垮叾浠栫嚎绋嬪彂鐢熼ゥ楗� (starve)銆� 涓轰簡寰楀埌鏈�濂界殑鎬ц兘锛岄渶瑕佽�冭檻閲嶆柊鏋勯�犲簲鐢ㄧ▼搴忎互灏嗗啓璁块棶鐨勬寔缁椂闂村噺灏戝埌鏈�灏忋�� + // 浠庢�ц兘鏂归潰鑰冭檻锛岃姹傝繘鍏ュ啓鍏ユā寮忓簲璇ョ揣璺熸枃浠舵搷浣滀箣鍓嶏紝鍦ㄦ澶勮繘鍏ュ啓鍏ユā寮忎粎鏄负浜嗛檷浣庝唬鐮佸鏉傚害 + // 鍥犺繘鍏ヤ笌閫�鍑哄啓鍏ユā寮忓簲鍦ㄥ悓涓�涓猼ry finally璇彞鍧楀唴锛屾墍浠ュ湪璇锋眰杩涘叆鍐欏叆妯″紡涔嬪墠涓嶈兘瑙﹀彂寮傚父锛屽惁鍒欓噴鏀炬鏁板ぇ浜庤姹傛鏁板皢浼氳Е鍙戝紓甯� + LogWriteLock.EnterWriteLock(); + + var folderPath = Path.Combine(_contentRoot, "Log"); + if (!Directory.Exists(folderPath)) + { + Directory.CreateDirectory(folderPath); + } + //string logFilePath = Path.Combine(path, $@"{filename}.log"); + var logFilePath = FileHelper.GetAvailableFileWithPrefixOrderSize(folderPath, prefix); + + var now = DateTime.Now; + string logContent = String.Join("\r\n", dataParas); + if (IsHeader) + { + logContent = ( + "--------------------------------\r\n" + + DateTime.Now + "|\r\n" + + String.Join("\r\n", dataParas) + "\r\n" + ); + } + else + { + logContent = ( + dataParas[1] + ",\r\n" + ); + } + + //if (logContent.IsNotEmptyOrNull() && logContent.Length > 500) + //{ + // logContent = logContent.Substring(0, 500) + "\r\n"; + //} + if (isWrt) + { + System.IO.File.WriteAllText(logFilePath, logContent); + } + else + { + System.IO.File.AppendAllText(logFilePath, logContent); + } + WritedCount++; + } + catch (Exception e) + { + //Console.Write(e.Message); + FailedCount++; + } + finally + { + //閫�鍑哄啓鍏ユā寮忥紝閲婃斁璧勬簮鍗犵敤 + //娉ㄦ剰锛氫竴娆¤姹傚搴斾竴娆¢噴鏀� + // 鑻ラ噴鏀炬鏁板ぇ浜庤姹傛鏁板皢浼氳Е鍙戝紓甯竅鍐欏叆閿佸畾鏈粡淇濇寔鍗宠閲婃斁] + // 鑻ヨ姹傚鐞嗗畬鎴愬悗鏈噴鏀惧皢浼氳Е鍙戝紓甯竅姝ゆā寮忎笉涓嬪厑璁镐互閫掑綊鏂瑰紡鑾峰彇鍐欏叆閿佸畾] + LogWriteLock.ExitWriteLock(); + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/LogHelper/Logger.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/LogHelper/Logger.cs" new file mode 100644 index 0000000..d833379 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/LogHelper/Logger.cs" @@ -0,0 +1,251 @@ +锘縰sing Microsoft.AspNetCore.Http; +using SqlSugar; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB; +using WIDESEA_Core.Helper; +using WIDESEA_Core.HttpContextUser; +using WIDESEA_Core.Seed; + +namespace WIDESEA_Core.LogHelper +{ + public static class Logger + { + public static ConcurrentQueue<dynamic> loggerQueueData = new ConcurrentQueue<dynamic>(); + static Logger() + { + Task.Run(() => + { + StartWriteLog(); + }); + + } + + static void StartWriteLog() + { + DataTable queueTable = CreateEmptyTable(); + while (true) + { + try + { + //濡傛灉闃熷垪涓湁鏁版嵁涓旈槦鍒楄〃涓殑琛屾暟灏忎簬500锛屽垯灏嗛槦鍒椾腑鐨勬暟鎹啓鍏ラ槦鍒楄〃 + if (loggerQueueData.Count() > 0 && queueTable.Rows.Count < 500) + { + DequeueToTable(queueTable); continue; + } + //姣�5绉掑啓涓�娆℃暟鎹� + Thread.Sleep(5000); + + //濡傛灉闃熷垪琛ㄤ腑鐨勮鏁颁负0锛屽垯璺宠繃鏈寰幆 + if (queueTable.Rows.Count == 0) { continue; } + + //鍒涘缓SqlSugarClient瀵硅薄锛岀敤浜庤繛鎺ユ暟鎹簱 + SqlSugarClient sugarClient = new SqlSugarClient(new ConnectionConfig() + { + ConnectionString = DBContext.GetMainConnectionDb().Connection, + IsAutoCloseConnection = true, + DbType = MainDb.DbType, + }); + + //灏嗛槦鍒楄〃涓殑鏁版嵁鎵归噺鎻掑叆鏁版嵁搴� + int rows = sugarClient.Fastest<DataTable>().AS("Sys_Log").BulkCopy(queueTable); + + //娓呯┖闃熷垪琛� + queueTable.Clear(); + } + catch (Exception ex) + { + //鎵撳嵃寮傚父淇℃伅 + Console.WriteLine(ex.ToString()); + } + } + } + + private static void DequeueToTable(DataTable queueTable) + { + loggerQueueData.TryDequeue(out dynamic log); + if (log != null) + { + DataRow row = queueTable.NewRow(); + // 濡傛灉log鐨凚eginDate涓虹┖鎴栬�匓eginDate鐨勫勾浠藉皬浜�2010锛屽垯灏咮eginDate璁剧疆涓哄綋鍓嶆椂闂� + if (log.BeginDate == null || log.BeginDate?.Year < 2010) + { + log.BeginDate = DateTime.Now; + } + // 濡傛灉log鐨凟ndDate涓虹┖锛屽垯灏咵ndDate璁剧疆涓哄綋鍓嶆椂闂� + if (log.EndDate == null) + { + log.EndDate = DateTime.Now; + } + // row["Id"] = log.Id; + // 灏哛equestParam涓殑鎹㈣绗︽浛鎹负绌哄瓧绗︿覆 + row["RequestParam"] = log.RequestParam?.Replace("\r\n", "").Replace("\n", ""); + // 灏哛esponseParam涓殑鎹㈣绗︽浛鎹负绌哄瓧绗︿覆 + row["ResponseParam"] = log.ResponseParam?.Replace("\r\n", "").Replace("\n", ""); + //row["Success"] = log.Success ?? -1; + // 灏咮eginDate璁剧疆涓簂og鐨凚eginDate + row["BeginDate"] = log.BeginDate; + // 灏咵ndDate璁剧疆涓簂og鐨凟ndDate + row["EndDate"] = log.EndDate; + // 璁$畻ElapsedTime锛屽嵆EndDate鍑忓幓BeginDate鐨勬绉掓暟 + row["ElapsedTime"] = ((DateTime)log.EndDate - (DateTime)log.BeginDate).TotalMilliseconds; + // 灏哢serIP璁剧疆涓簂og鐨刄serIP + row["UserIP"] = log.UserIP; + // 灏哢rl璁剧疆涓簂og鐨刄rl + row["Url"] = log.Url; + // 濡傛灉log鐨刄serId涓虹┖锛屽垯灏哢serId璁剧疆涓�-1锛屽惁鍒欒缃负log鐨刄serId + row["UserId"] = log.UserId ?? -1; + // 灏哢serName璁剧疆涓簂og鐨刄serName + row["UserName"] = log.UserName; + // 灏唕ow娣诲姞鍒皅ueueTable涓� + queueTable.Rows.Add(row); + } + } + + private static DataTable CreateEmptyTable() + { + DataTable queueTable = new DataTable(); + queueTable.Columns.Add("BeginDate", Type.GetType("System.DateTime")); + queueTable.Columns.Add("ElapsedTime", Type.GetType("System.Int32")); + queueTable.Columns.Add("EndDate", Type.GetType("System.DateTime")); + queueTable.Columns.Add("RequestParam", typeof(string)); + queueTable.Columns.Add("ResponseParam", typeof(string)); + //queueTable.Columns.Add("Success", Type.GetType("System.Int32")); + queueTable.Columns.Add("Url", typeof(string)); + queueTable.Columns.Add("UserIP", typeof(string)); + queueTable.Columns.Add("UserName", typeof(string)); + queueTable.Columns.Add("UserId", Type.GetType("System.Int32")); + //queueTable.Columns.Add("LogType", typeof(string)); + //queueTable.Columns.Add("ExceptionInfo", typeof(string)); + //queueTable.Columns.Add("ServiceIP", typeof(string)); + //queueTable.Columns.Add("BrowserType", typeof(string)); + //queueTable.Columns.Add("Role_Id", Type.GetType("System.Int32")); + return queueTable; + } + + public static void Add(string requestParameter, string responseParameter) + { + dynamic log = null; + try + { + //鑾峰彇褰撳墠HttpContext + HttpContext context = App.HttpContext; + //濡傛灉HttpContext涓虹┖锛屽垯杩斿洖 + if (context == null) + { + return; + } + //濡傛灉璇锋眰鏂规硶涓篛PTIONS锛屽垯杩斿洖 + if (context.Request.Method == "OPTIONS") return; + //鑾峰彇RequestLogModel瀹炰緥 + RequestLogModel logModel = (context.RequestServices.GetService(typeof(RequestLogModel)) as RequestLogModel) ?? new RequestLogModel { RequestDate = DateTime.Now }; + + //鑾峰彇褰撳墠鐢ㄦ埛 + IUser user = App.User; + //鍒涘缓鏃ュ織瀵硅薄 + log = new + { + //璇锋眰寮�濮嬫椂闂� + BeginDate = logModel.RequestDate, + //璇锋眰缁撴潫鏃堕棿 + EndDate = DateTime.Now, + //璇锋眰鍙傛暟 + RequestParam = requestParameter, + //鍝嶅簲鍙傛暟 + ResponseParam = responseParameter, + //璇锋眰URL + Url = context.Request.Scheme + "://" + context.Request.Host + context.Request.PathBase + context.Request.Path, + //瀹㈡埛绔疘P + UserIP = GetClientIP(context)?.Replace("::ffff:", "").Replace("::1", "127.0.0.1"), + //鐢ㄦ埛ID + UserId = user.UserId, + //鐢ㄦ埛鍚� + UserName = user.UserName + }; + } + catch (Exception exception) + { + //濡傛灉鍙戠敓寮傚父锛屽垯鍒涘缓鏃ュ織瀵硅薄 + log = log ?? new + { + //璇锋眰寮�濮嬫椂闂� + BeginDate = DateTime.Now, + //璇锋眰缁撴潫鏃堕棿 + EndDate = DateTime.Now, + //璇锋眰鍙傛暟 + RequestParam = requestParameter, + //鍝嶅簲鍙傛暟 + ResponseParam = responseParameter, + }; + } + //娣诲姞绯荤粺鏃ュ織 + loggerQueueData.Enqueue(log); + } + + public static void Add(string url, string requestParameter, string responseParameter, DateTime beginDate) + { + dynamic? log = null; + try + { + //鑾峰彇褰撳墠鐢ㄦ埛 + IUser? user = App.User; + //鍒涘缓鏃ュ織瀵硅薄 + log = new + { + //璇锋眰寮�濮嬫椂闂� + BeginDate = beginDate, + //璇锋眰缁撴潫鏃堕棿 + EndDate = DateTime.Now, + //璇锋眰鍙傛暟 + RequestParam = requestParameter, + //鍝嶅簲鍙傛暟 + ResponseParam = responseParameter, + //璇锋眰URL + Url = url, + //瀹㈡埛绔疘P + UserIP = "", + //鐢ㄦ埛ID + UserId = user?.UserId, + //鐢ㄦ埛鍚� + UserName = user?.UserName + }; + } + catch (Exception exception) + { + //濡傛灉鍙戠敓寮傚父锛屽垯鍒涘缓鏃ュ織瀵硅薄 + log = log ?? new + { + //璇锋眰寮�濮嬫椂闂� + BeginDate = DateTime.Now, + //璇锋眰缁撴潫鏃堕棿 + EndDate = DateTime.Now, + //璇锋眰鍙傛暟 + RequestParam = requestParameter, + //鍝嶅簲鍙傛暟 + ResponseParam = responseParameter, + }; + } + //娣诲姞绯荤粺鏃ュ織 + loggerQueueData.Enqueue(log); + } + + public static string GetClientIP(HttpContext context) + { + // 鑾峰彇璇锋眰澶翠腑鐨刋-Forwarded-For瀛楁锛屽苟灏嗗叾杞崲涓哄瓧绗︿覆 + var ip = context.Request.Headers["X-Forwarded-For"].ObjToString(); + // 濡傛灉X-Forwarded-For瀛楁涓虹┖锛屽垯鑾峰彇杩滅▼IP鍦板潃 + if (string.IsNullOrEmpty(ip)) + { + ip = context.Connection.RemoteIpAddress.ObjToString(); + } + + // 杩斿洖IP鍦板潃 + return ip; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/LogHelper/RequestLogModel.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/LogHelper/RequestLogModel.cs" new file mode 100644 index 0000000..0404a69 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/LogHelper/RequestLogModel.cs" @@ -0,0 +1,13 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.LogHelper +{ + public class RequestLogModel + { + public DateTime RequestDate { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/AllServicesMiddleware.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/AllServicesMiddleware.cs" new file mode 100644 index 0000000..79eeb42 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/AllServicesMiddleware.cs" @@ -0,0 +1,62 @@ +锘縰sing Autofac.Core; +using Autofac.Extensions.DependencyInjection; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http; +using Microsoft.Extensions.DependencyInjection; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.Middlewares +{ + /// <summary> + /// 鏌ョ湅鎵�鏈夋敞鍏ョ殑鏈嶅姟 + /// </summary> + public static class AllServicesMiddleware + { + public static void UseAllServicesMiddle(this IApplicationBuilder app, IServiceCollection _services) + { + if (app == null) throw new ArgumentNullException(nameof(app)); + + //List<Type> tsDIAutofac = new List<Type>(); + //tsDIAutofac.AddRange(Assembly.LoadFrom(Path.Combine(AppContext.BaseDirectory, "Blog.Core.Services.dll")).GetTypes().ToList()); + //tsDIAutofac.AddRange(Assembly.LoadFrom(Path.Combine(AppContext.BaseDirectory, "Blog.Core.Repository.dll")).GetTypes().ToList()); + + IEnumerable<IComponentRegistration> autofacContainers = (app.ApplicationServices.GetAutofacRoot())?.ComponentRegistry?.Registrations ?? new List<IComponentRegistration>(); + + + app.Map("/allservices", builder => builder.Run(async context => + { + context.Response.ContentType = "text/html; charset=utf-8"; + await context.Response.WriteAsync("<style>.table2_1 table {width:100%;margin:15px 0}.table2_1 th {background-color:#93DAFF;color:#000000}.table2_1,.table2_1 th,.table2_1 td{font-size:0.95em;text-align:center;padding:4px;border:1px solid #c1e9fe;border-collapse:collapse}.table2_1 tr:nth-child(odd){background-color:#dbf2fe;}.table2_1 tr:nth-child(even){background-color:#fdfdfd;}</style>"); + + await context.Response.WriteAsync($"<h3>鎵�鏈夋湇鍔_services.Count}涓�</h3><table class='table2_1'><thead><tr><th>绫诲瀷</th><th>鐢熷懡鍛ㄦ湡</th><th>Instance</th></tr></thead><tbody>"); + + foreach (var svc in _services) + { + await context.Response.WriteAsync("<tr>"); + await context.Response.WriteAsync($"<td>{svc.ServiceType.FullName}</td>"); + await context.Response.WriteAsync($"<td>{svc.Lifetime}</td>"); + await context.Response.WriteAsync($"<td>{svc.ImplementationType?.Name}</td>"); + await context.Response.WriteAsync("</tr>"); + } + foreach (var item in autofacContainers?.ToList()) + { + var interfaceType = item.Services; + foreach (var typeArray in interfaceType) + { + await context.Response.WriteAsync("<tr>"); + await context.Response.WriteAsync($"<td>{typeArray?.Description}</td>"); + await context.Response.WriteAsync($"<td>{item?.Lifetime}</td>"); + await context.Response.WriteAsync($"<td>{item?.Target.Activator.ObjToString().Replace("(ReflectionActivator)", "")}</td>"); + await context.Response.WriteAsync("</tr>"); + } + } + await context.Response.WriteAsync("</tbody></table>"); + })); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/ApiLogMiddleware.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/ApiLogMiddleware.cs" new file mode 100644 index 0000000..d047780 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/ApiLogMiddleware.cs" @@ -0,0 +1,161 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.Extensions.Logging; +using Newtonsoft.Json; +using Org.BouncyCastle.Asn1.Ocsp; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net; +using System.Text; +using System.Text.RegularExpressions; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; +using WIDESEA_Core.LogHelper; + +namespace WIDESEA_Core.Middlewares +{ + /// <summary> + /// 璁板綍璇锋眰鍜屽搷搴旀暟鎹� + /// </summary> + public class ApiLogMiddleware + { + /// <summary> + /// + /// </summary> + private readonly RequestDelegate _next; + + public ApiLogMiddleware(RequestDelegate next, ILogger<ApiLogMiddleware> logger) + { + _next = next; + } + + //todo + /// <summary> + /// API鏃ュ織涓棿浠讹紝鐢ㄤ簬澶勭悊HTTP璇锋眰鍜屽搷搴旂殑鏃ュ織璁板綍 + /// </summary> + /// <remarks> + /// 1. 妫�鏌ョ郴缁熻繃鏈熸椂闂达紝鑻ヨ繃鏈熷垯杩斿洖500閿欒 + /// 2. 浠呭鐞嗗寘鍚�"api"璺緞鐨勮姹� + /// 3. 璁板綍璇锋眰鍜屽搷搴旀暟鎹埌鏃ュ織绯荤粺 + /// 4. 鏀寔閫氳繃閰嶇疆蹇界暐鐗瑰畾URL鐨勬棩蹇楄褰� + /// </remarks> + /// <param name="context">褰撳墠HTTP涓婁笅鏂�</param> + /// <returns>寮傛浠诲姟</returns> + public async Task InvokeAsync(HttpContext context) + { + if (App.ExpDateTime != null && (DateTime.Now - App.ExpDateTime.GetValueOrDefault()).TotalSeconds > 0) + { + context.Response.StatusCode = HttpStatusCode.InternalServerError.ObjToInt(); + context.Response.ContentType = "application/json"; + + var json = new WebResponseContent(); + + json.Message = HttpStatusCode.InternalServerError.ToString();//閿欒淇℃伅 + json.Code = 500;//500寮傚父 + + StreamWriter streamWriter = new StreamWriter(context.Response.Body); + await streamWriter.WriteAsync(json.Serialize()); + return; + } + + // 杩囨护锛屽彧鏈夋帴鍙� + if (context.Request.Path.Value?.Contains("api") ?? false) + { + context.Request.EnableBuffering(); + Stream originalBody = context.Response.Body; + string requestParam = string.Empty; + string responseParam = string.Empty; + try + { + string? apiIgnore = AppSettings.GetValue("ApiLogIgnore")?.ToString(); + string[] ignoreUrls = !string.IsNullOrEmpty(apiIgnore) ? apiIgnore.Split(",") : new string[] { "get" }; + + (context.RequestServices.GetService(typeof(RequestLogModel)) as RequestLogModel).RequestDate = DateTime.Now; + try + { + // 瀛樺偍璇锋眰鏁版嵁 + requestParam = RequestDataLog(context); + context.Request.Body.Position = 0; + } + catch { } + using MemoryStream ms = new(); + context.Response.Body = ms; + + await _next(context); + + try + { + // 瀛樺偍鍝嶅簲鏁版嵁 + responseParam = ResponseDataLog(context.Response); + } + catch { } + + ms.Position = 0; + await ms.CopyToAsync(originalBody); + + if (!ignoreUrls.Any(x => context.Request.Path.Value?.Contains(x) ?? false)) + { + Logger.Add(requestParam, responseParam); + } + } + catch (Exception ex) + { + // 璁板綍寮傚父 + + } + finally + { + context.Response.Body = originalBody; + } + } + else + { + await _next(context); + } + } + + private string RequestDataLog(HttpContext context) + { + var request = context.Request; + + var sr = new StreamReader(request.Body); + + object obj; + string bodyData = sr.ReadToEndAsync().Result; + if (request.ContentLength <= 100000) + { + obj = new + { + QueryString = request.QueryString.ToString(), + BodyData = bodyData + }; + } + else + { + obj = new + { + QueryString = request.QueryString.ToString(), + BodyData = "" + }; + } + string data = JsonConvert.SerializeObject(obj); + + request.Body.Position = 0; + + return data; ; + } + + private string ResponseDataLog(HttpResponse response) + { + if (response.ContentLength <= 100000) + { + response.Body.Position = 0; + using StreamReader stream = new StreamReader(response.Body, leaveOpen: true); + string body = stream.ReadToEnd(); + response.Body.Position = 0; + return body; + } + return ""; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/ExceptionHandlerMiddleware.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/ExceptionHandlerMiddleware.cs" new file mode 100644 index 0000000..33d8e0d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/ExceptionHandlerMiddleware.cs" @@ -0,0 +1,59 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.DirectoryServices.Protocols; +using System.Linq; +using System.Net; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Middlewares +{ + public class ExceptionHandlerMiddleware + { + private readonly RequestDelegate _next; + + public ExceptionHandlerMiddleware(RequestDelegate next) + { + _next = next; + } + + public async Task Invoke(HttpContext context) + { + try + { + await _next(context); + } + catch (Exception ex) + { + await HandleExceptionAsync(context, ex); + } + } + + private async Task HandleExceptionAsync(HttpContext context, Exception e) + { + if (e == null) return; + + await WriteExceptionAsync(context, e).ConfigureAwait(false); + } + + private static async Task WriteExceptionAsync(HttpContext context, Exception e) + { + var message = e.Message; + switch (e) + { + case UnauthorizedAccessException: + context.Response.StatusCode = (int)HttpStatusCode.Unauthorized; + break; + default: + context.Response.StatusCode = (int)HttpStatusCode.InternalServerError; + break; + } + context.Response.ContentType = "application/json"; + await context.Response + .WriteAsync(JsonConvert.SerializeObject(WebResponseContent.Instance.Error(message))) + .ConfigureAwait(false); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/HttpRequestMiddleware.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/HttpRequestMiddleware.cs" new file mode 100644 index 0000000..deb4a6d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/HttpRequestMiddleware.cs" @@ -0,0 +1,25 @@ +锘縰sing Microsoft.AspNetCore.Http; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Middlewares +{ + public class HttpRequestMiddleware + { + private readonly RequestDelegate _next; + + public HttpRequestMiddleware(RequestDelegate next) + { + _next = next; + } + + public async Task InvokeAsync(HttpContext context) + { + context.Response.Headers.Add("Access-Control-Expose-Headers", "widesea_exp"); + await _next(context); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/IpLimitMiddleware.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/IpLimitMiddleware.cs" new file mode 100644 index 0000000..279f7a4 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/IpLimitMiddleware.cs" @@ -0,0 +1,40 @@ +锘� +using Microsoft.AspNetCore.Builder; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.Middlewares +{ + /// <summary> + /// ip 闄愭祦 + /// </summary> + public static class IpLimitMiddleware + { + /// <summary> + /// ip闄愭祦 + /// </summary> + /// <param name="app"></param> + /// <exception cref="ArgumentNullException"></exception> + public static void UseIpLimitMiddle(this IApplicationBuilder app) + { + if (app == null) throw new ArgumentNullException(nameof(app)); + + //try + //{ + // if (AppSettings.app("Middleware", "IpRateLimit", "Enabled").ObjToBool()) + // { + // app.UseIpRateLimiting(); + // } + //} + //catch (Exception e) + //{ + // Log.Error($"Error occured limiting ip rate.\n{e.Message}"); + // throw; + //} + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/JwtTokenAuthMiddleware.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/JwtTokenAuthMiddleware.cs" new file mode 100644 index 0000000..ef95892 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/JwtTokenAuthMiddleware.cs" @@ -0,0 +1,94 @@ +锘縰sing Microsoft.AspNetCore.Http; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Authorization; +using WIDESEA_Core.HttpContextUser; + +namespace WIDESEA_Core.Middlewares +{ + /// <summary> + /// 涓棿浠� + /// 鍘熷仛涓鸿嚜瀹氫箟鎺堟潈涓棿浠� + /// 鍏堝仛妫�鏌� header token鐨勪娇鐢� + /// </summary> + public class JwtTokenAuthMiddleware + { + /// <summary> + /// + /// </summary> + private readonly RequestDelegate _next; + /// <summary> + /// + /// </summary> + /// <param name="next"></param> + public JwtTokenAuthMiddleware(RequestDelegate next) + { + _next = next; + } + + + private void PreProceed(HttpContext next) + { + //Console.WriteLine($"{DateTime.Now} middleware invoke preproceed"); + //... + } + private void PostProceed(HttpContext next) + { + //Console.WriteLine($"{DateTime.Now} middleware invoke postproceed"); + //.... + } + + /// <summary> + /// + /// </summary> + /// <param name="httpContext"></param> + /// <returns></returns> + public Task Invoke(HttpContext httpContext) + { + PreProceed(httpContext); + + + //妫�娴嬫槸鍚﹀寘鍚�'Authorization'璇锋眰澶� + if (!httpContext.Request.Headers.ContainsKey("Authorization")) + { + PostProceed(httpContext); + + return _next(httpContext); + } + //var tokenHeader = httpContext.Request.Headers["Authorization"].ToString(); + var tokenHeader = httpContext.Request.Headers["Authorization"].ToString().Replace("Bearer ", ""); + + try + { + if (tokenHeader.Length >= 128) + { + //Console.WriteLine($"{DateTime.Now} token :{tokenHeader}"); + UserInfo tm = JwtHelper.SerializeJwt(tokenHeader); + + //鎺堟潈 + //var claimList = new List<Claim>(); + //var claim = new Claim(ClaimTypes.Role, tm.Role); + //claimList.Add(claim); + //var identity = new ClaimsIdentity(claimList); + //var principal = new ClaimsPrincipal(identity); + //httpContext.User = principal; + } + + } + catch (Exception e) + { + Console.WriteLine($"{DateTime.Now} middleware wrong:{e.Message}"); + } + + + PostProceed(httpContext); + + + return _next(httpContext); + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/MiddlewareHelpers.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/MiddlewareHelpers.cs" new file mode 100644 index 0000000..917faa5 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/MiddlewareHelpers.cs" @@ -0,0 +1,42 @@ +锘縰sing Microsoft.AspNetCore.Builder; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Middlewares +{ + public static class MiddlewareHelpers + { + /// <summary> + /// 璇锋眰鍝嶅簲涓棿浠� + /// </summary> + /// <param name="app"></param> + /// <returns></returns> + public static IApplicationBuilder UseApiLogMiddleware(this IApplicationBuilder app) + { + return app.UseMiddleware<ApiLogMiddleware>(); + } + + /// <summary> + /// 鑷畾涔夋巿鏉冧腑闂翠欢 + /// </summary> + /// <param name="app"></param> + /// <returns></returns> + public static IApplicationBuilder UseJwtTokenAuth(this IApplicationBuilder app) + { + return app.UseMiddleware<JwtTokenAuthMiddleware>(); + } + + /// <summary> + /// 寮傚父澶勭悊涓棿浠� + /// </summary> + /// <param name="app"></param> + /// <returns></returns> + public static IApplicationBuilder UseExceptionHandlerMiddle(this IApplicationBuilder app) + { + return app.UseMiddleware<ExceptionHandlerMiddleware>(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/SwaggerAuthMiddleware.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/SwaggerAuthMiddleware.cs" new file mode 100644 index 0000000..21c2606 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/SwaggerAuthMiddleware.cs" @@ -0,0 +1,86 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Net; +using System.Text; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http; +using WIDESEA_Core.Extensions; + +namespace WIDESEA_Core.Middlewares +{ + public class SwaggerAuthMiddleware + { + + private readonly RequestDelegate next; + + public SwaggerAuthMiddleware(RequestDelegate next) + { + this.next = next; + } + + public async Task InvokeAsync(HttpContext context) + { + // 涔熷彲浠ユ牴鎹槸鍚︽槸鏈湴鍋氬垽鏂� IsLocalRequest + if (context.Request.Path.Value?.ToLower().Contains("index.html") ?? false) + { + // 鍒ゆ柇鏉冮檺鏄惁姝g‘ + if (IsAuthorized(context)) + { + await next.Invoke(context); + return; + } + + // 鏃犳潈闄愶紝璺宠浆swagger鐧诲綍椤� + context.RedirectSwaggerLogin(); + } + else + { + await next.Invoke(context); + } + } + + /// <summary> + /// 妫�鏌ュ綋鍓岺TTP涓婁笅鏂囨槸鍚﹀凡閫氳繃Swagger璁よ瘉 + /// </summary> + /// <param name="context">HTTP涓婁笅鏂囧璞�</param> + /// <returns>杩斿洖true琛ㄧず宸查�氳繃璁よ瘉锛宖alse琛ㄧず鏈�氳繃</returns> + public bool IsAuthorized(HttpContext context) + { + // 浣跨敤session妯″紡 + // 鍙互浣跨敤鍏朵粬鐨� + return context.IsSuccessSwagger(); + } + + /// <summary> + /// 鍒ゆ柇鏄笉鏄湰鍦拌闂� + /// 鏈湴涓嶇敤swagger鎷︽埅 + /// </summary> + /// <param name="context"></param> + /// <returns></returns> + public bool IsLocalRequest(HttpContext context) + { + if (context.Connection.RemoteIpAddress == null && context.Connection.LocalIpAddress == null) + { + return true; + } + if (context.Connection.RemoteIpAddress?.Equals(context.Connection.LocalIpAddress) ?? false) + { + return true; + } + if (IPAddress.IsLoopback(context.Connection.RemoteIpAddress)) + { + return true; + } + return false; + } + } + public static class SwaggerAuthorizeExtensions + { + public static IApplicationBuilder UseSwaggerAuthorized(this IApplicationBuilder builder) + { + return builder.UseMiddleware<SwaggerAuthMiddleware>(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/SwaggerMiddleware.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/SwaggerMiddleware.cs" new file mode 100644 index 0000000..27c2a23 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/SwaggerMiddleware.cs" @@ -0,0 +1,62 @@ +锘� +using Microsoft.AspNetCore.Builder; +using Swashbuckle.AspNetCore.SwaggerUI; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Helper; +using static WIDESEA_Core.Extensions.CustomApiVersion; + +namespace WIDESEA_Core.Middlewares +{ + /// <summary> + /// Swagger涓棿浠� + /// </summary> + public static class SwaggerMiddleware + { + /// <summary> + /// 閰嶇疆搴旂敤绋嬪簭浣跨敤Swagger涓棿浠� + /// </summary> + /// <param name="app">搴旂敤绋嬪簭鏋勫缓鍣�</param> + /// <param name="streamHtml">鐢ㄤ簬鑾峰彇鑷畾涔塖wagger棣栭〉HTML娴佺殑鍑芥暟</param> + /// <remarks> + /// 姝ゆ墿灞曟柟娉曢厤缃甋wagger UI锛屽寘鎷細 + /// 1. 璁剧疆API鏂囨。绔偣 + /// 2. 鑷畾涔夋枃妗f爣棰樺拰鏍峰紡 + /// 3. 閰嶇疆鑷畾涔夐椤垫祦 + /// 4. 璁剧疆鏂囨。灞曞紑琛屼负鍜岃矾鐢卞墠缂� + /// 濡傛灉streamHtml杩斿洖null锛屽皢鎶涘嚭寮傚父鎻愮ず闇�瑕佸皢index.html璁剧疆涓哄祵鍏ヨ祫婧� + /// </remarks> + public static void UseSwaggerMiddle(this IApplicationBuilder app, Func<Stream> streamHtml) + { + if (app == null) throw new ArgumentNullException(nameof(app)); + + app.UseSwagger(); + app.UseSwaggerUI(c => + { + //鏍规嵁鐗堟湰鍚嶇О鍊掑簭 閬嶅巻灞曠ず + var apiName = AppSettings.Get(new string[] { "ApiName" }); + c.SwaggerEndpoint($"/swagger/v1/swagger.json", $"{apiName} v1"); + + // 灏唖wagger棣栭〉锛岃缃垚鎴戜滑鑷畾涔夌殑椤甸潰锛岃寰楄繖涓瓧绗︿覆鐨勫啓娉曪細{椤圭洰鍚�.index.html} + if (streamHtml.Invoke() == null) + { + var msg = "index.html鐨勫睘鎬э紝蹇呴』璁剧疆涓哄祵鍏ョ殑璧勬簮"; + //Log.Error(msg); + throw new Exception(msg); + } + c.DocumentTitle = $"{apiName} 鍦ㄧ嚎璋冭瘯鏂囨。"; + + c.InjectStylesheet("/css/swaggerdoc.css"); + c.InjectJavascript("/js/swaggerdoc.js"); + c.IndexStream = streamHtml; + c.DocExpansion(DocExpansion.None); //->淇敼鐣岄潰鎵撳紑鏃惰嚜鍔ㄦ姌鍙� + + // 璺緞閰嶇疆锛岃缃负绌猴紝琛ㄧず鐩存帴鍦ㄦ牴鍩熷悕锛坙ocalhost:8001锛夎闂鏂囦欢,娉ㄦ剰localhost:8001/swagger鏄闂笉鍒扮殑锛屽幓launchSettings.json鎶妉aunchUrl鍘绘帀锛屽鏋滀綘鎯虫崲涓�涓矾寰勶紝鐩存帴鍐欏悕瀛楀嵆鍙紝姣斿鐩存帴鍐檆.RoutePrefix = "doc"; + c.RoutePrefix = ""; + }); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Seed/DBContext.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Seed/DBContext.cs" new file mode 100644 index 0000000..14df465 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Seed/DBContext.cs" @@ -0,0 +1,216 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Const; +using WIDESEA_Core.DB; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.Seed +{ + public class DBContext + { + private static MutiDBOperate connectObject => GetMainConnectionDb(); + private static string _connectionString = connectObject.Connection; + private static DbType _dbType = (DbType)connectObject.DbType; + public static string ConnId = connectObject.ConnId; + private SqlSugarClient _db; + + /// <summary> + /// 杩炴帴瀛楃涓� + /// </summary> + public static MutiDBOperate GetMainConnectionDb() + { + MutiDBOperate mainDb = new MutiDBOperate() + { + Connection = AppSettings.Get(MainDb.ConnectionString).DecryptDES(AppSecret.DB), + ConnId = MainDb.CurrentDbConnId, + DbType = DataBaseType.SqlServer + }; + + return mainDb; + } + /// <summary> + /// 杩炴帴瀛楃涓� + /// </summary> + public static string ConnectionString + { + get { return _connectionString; } + set { _connectionString = value; } + } + /// <summary> + /// 鏁版嵁搴撶被鍨� + /// </summary> + public static DbType DbType + { + get { return _dbType; } + set { _dbType = value; } + } + /// <summary> + /// 鏁版嵁杩炴帴瀵硅薄 + /// </summary> + public SqlSugarClient Db + { + get { return _db; } + private set { _db = value; } + } + + //public SqlSugarScope DbClient + //{ + // get { return _dbClient; } + // private set { _dbClient = value; } + //} + + /// <summary> + /// 鍔熻兘鎻忚堪:鏋勯�犲嚱鏁� + /// </summary> + public DBContext(ISqlSugarClient sqlSugarClient) + { + if (string.IsNullOrEmpty(_connectionString)) + throw new ArgumentNullException("鏁版嵁搴撹繛鎺ュ瓧绗︿覆涓虹┖"); + + _db = sqlSugarClient as SqlSugarClient; + //_db.Aop.DataExecuting = SqlSugarAop.DataExecuting; + } + + #region 瀹炰緥鏂规硶 + /// <summary> + /// 鍔熻兘鎻忚堪:鑾峰彇鏁版嵁搴撳鐞嗗璞� + /// </summary> + /// <returns>杩斿洖鍊�</returns> + public SimpleClient<T> GetEntityDB<T>() where T : class, new() + { + return new SimpleClient<T>(_db); + } + /// <summary> + /// 鍔熻兘鎻忚堪:鑾峰彇鏁版嵁搴撳鐞嗗璞� + /// </summary> + /// <param name="db">db</param> + /// <returns>杩斿洖鍊�</returns> + //public SimpleClient<T> GetEntityDB<T>(SqlSugarClient db) where T : class, new() + //{ + // return new SimpleClient<T>(db); + //} + + + + #endregion + + + #region 鏍规嵁瀹炰綋绫荤敓鎴愭暟鎹簱琛� + /// <summary> + /// 鍔熻兘鎻忚堪:鏍规嵁瀹炰綋绫荤敓鎴愭暟鎹簱琛� + /// </summary> + /// <param name="blnBackupTable">鏄惁澶囦唤琛�</param> + /// <param name="lstEntitys">鎸囧畾鐨勫疄浣�</param> + public void CreateTableByEntity<T>(bool blnBackupTable, params T[] lstEntitys) where T : class, new() + { + Type[] lstTypes = null; + if (lstEntitys != null) + { + lstTypes = new Type[lstEntitys.Length]; + for (int i = 0; i < lstEntitys.Length; i++) + { + T t = lstEntitys[i]; + lstTypes[i] = typeof(T); + } + } + CreateTableByEntity(blnBackupTable, lstTypes); + } + + /// <summary> + /// 鍔熻兘鎻忚堪:鏍规嵁瀹炰綋绫荤敓鎴愭暟鎹簱琛� + /// </summary> + /// <param name="blnBackupTable">鏄惁澶囦唤琛�</param> + /// <param name="lstEntitys">鎸囧畾鐨勫疄浣�</param> + public void CreateTableByEntity(bool blnBackupTable, params Type[] lstEntitys) + { + if (blnBackupTable) + { + _db.CodeFirst.BackupTable().InitTables(lstEntitys); //change entity backupTable + } + else + { + _db.CodeFirst.InitTables(lstEntitys); + } + } + #endregion + + + #region 闈欐�佹柟娉� + + ///// <summary> + ///// 鍔熻兘鎻忚堪:鑾峰緱涓�涓狣bContext + ///// </summary> + ///// <returns></returns> + //public static MyContext GetDbContext() + //{ + // return new MyContext(); + //} + + /// <summary> + /// 鍔熻兘鎻忚堪:璁剧疆鍒濆鍖栧弬鏁� + /// </summary> + /// <param name="strConnectionString">杩炴帴瀛楃涓�</param> + /// <param name="enmDbType">鏁版嵁搴撶被鍨�</param> + public static void Init(string strConnectionString, DbType enmDbType = SqlSugar.DbType.SqlServer) + { + _connectionString = strConnectionString; + _dbType = enmDbType; + } + + /// <summary> + /// 鍔熻兘鎻忚堪:鍒涘缓涓�涓摼鎺ラ厤缃� + /// </summary> + /// <param name="blnIsAutoCloseConnection">鏄惁鑷姩鍏抽棴杩炴帴</param> + /// <param name="blnIsShardSameThread">鏄惁澶哥被浜嬪姟</param> + /// <returns>ConnectionConfig</returns> + public static ConnectionConfig GetConnectionConfig(bool blnIsAutoCloseConnection = true, bool blnIsShardSameThread = false) + { + ConnectionConfig config = new ConnectionConfig() + { + ConnectionString = _connectionString, + DbType = _dbType, + IsAutoCloseConnection = blnIsAutoCloseConnection, + ConfigureExternalServices = new ConfigureExternalServices() + { + //DataInfoCacheService = new HttpRuntimeCache() + }, + //IsShardSameThread = blnIsShardSameThread + }; + return config; + } + + /// <summary> + /// 鍔熻兘鎻忚堪:鑾峰彇涓�涓嚜瀹氫箟鐨凞B + /// </summary> + /// <param name="config">config</param> + /// <returns>杩斿洖鍊�</returns> + public static SqlSugarClient GetCustomDB(ConnectionConfig config) + { + return new SqlSugarClient(config); + } + /// <summary> + /// 鍔熻兘鎻忚堪:鑾峰彇涓�涓嚜瀹氫箟鐨勬暟鎹簱澶勭悊瀵硅薄 + /// </summary> + /// <param name="sugarClient">sugarClient</param> + /// <returns>杩斿洖鍊�</returns> + public static SimpleClient<T> GetCustomEntityDB<T>(SqlSugarClient sugarClient) where T : class, new() + { + return new SimpleClient<T>(sugarClient); + } + /// <summary> + /// 鍔熻兘鎻忚堪:鑾峰彇涓�涓嚜瀹氫箟鐨勬暟鎹簱澶勭悊瀵硅薄 + /// </summary> + /// <param name="config">config</param> + /// <returns>杩斿洖鍊�</returns> + public static SimpleClient<T> GetCustomEntityDB<T>(ConnectionConfig config) where T : class, new() + { + SqlSugarClient sugarClient = GetCustomDB(config); + return GetCustomEntityDB<T>(sugarClient); + } + #endregion + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Seed/DBSeed.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Seed/DBSeed.cs" new file mode 100644 index 0000000..4a92f35 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Seed/DBSeed.cs" @@ -0,0 +1,318 @@ +锘縰sing Castle.Components.DictionaryAdapter.Xml; +using Microsoft.AspNetCore.Mvc.Rendering; +using Newtonsoft.Json; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Dynamic; +using System.Linq; +using System.Net.Sockets; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Const; +using WIDESEA_Core.DB; +using WIDESEA_Core.Helper; +using WIDESEA_Core.Tenants; + +namespace WIDESEA_Core.Seed +{ + public class DBSeed + { + private static string SeedDataFolder = "WIDESEA_DB.DBSeed.Json/{0}.tsv"; + + /// <summary> + /// 寮傛娣诲姞绉嶅瓙鏁版嵁 + /// </summary> + /// <param name="myContext"></param> + /// <param name="WebRootPath"></param> + /// <returns></returns> + public static void SeedAsync(DBContext dbContext, string WebRootPath) + { + try + { + if (string.IsNullOrEmpty(WebRootPath)) + { + throw new Exception("鑾峰彇wwwroot璺緞鏃讹紝寮傚父锛�"); + } + + SeedDataFolder = Path.Combine(WebRootPath, SeedDataFolder); + + Console.WriteLine("************ WIDESEA DataBase Set *****************"); + + Console.WriteLine($"Master DB Type: {DBContext.DbType}"); + + Console.WriteLine(); + + // 鍒涘缓鏁版嵁搴� + Console.WriteLine($"Create Database(The Db Id:{DBContext.ConnId})..."); + + if (DBContext.DbType != SqlSugar.DbType.Oracle) + { + dbContext.Db.DbMaintenance.CreateDatabase(); + ConsoleHelper.WriteSuccessLine($"Database Created Successfully!"); + } + else + { + //Oracle 鏁版嵁搴撲笉鏀寔璇ユ搷浣� + ConsoleHelper.WriteSuccessLine($"Oracle 鏁版嵁搴撲笉鏀寔璇ユ搷浣滐紝鍙墜鍔ㄥ垱寤篛racle鏁版嵁搴�!"); + } + + // 鍒涘缓鏁版嵁搴撹〃锛岄亶鍘嗘寚瀹氬懡鍚嶇┖闂翠笅鐨刢lass锛� + // 娉ㄦ剰涓嶈鎶婂叾浠栧懡鍚嶇┖闂翠笅鐨勪篃娣诲姞杩涙潵銆� + Console.WriteLine("Create Tables..."); + + var path = AppDomain.CurrentDomain.RelativeSearchPath ?? AppDomain.CurrentDomain.BaseDirectory; + var referencedAssemblies = Directory.GetFiles(path, MainDb.AssemblyName).Select(Assembly.LoadFrom).ToArray(); + + var modelTypes = referencedAssemblies + .SelectMany(a => a.DefinedTypes) + .Select(type => type.AsType()) + .Where(x => x.IsClass && x.Namespace is MainDb.EntityNameSpace && x.GetCustomAttribute<SugarTable>() != null) + .ToList(); + + modelTypes.ForEach(t => + { + //var diffString = dbContext.Db.CodeFirst.GetDifferenceTables(t).ToDiffString(); + // 杩欓噷鍙敮鎸佹坊鍔犺〃锛屼笉鏀寔鍒犻櫎 + // 濡傛灉鎯宠鍒犻櫎锛屾暟鎹簱鐩存帴鍙抽敭鍒犻櫎锛屾垨鑰呰仈绯籗qlSugar浣滆�咃紱 + IDbMaintenance dbMaintenance = dbContext.Db.DbMaintenance; + if (!dbMaintenance.IsAnyTable(t.Name, false)) + { + ConsoleHelper.WriteSuccessLine($"Table [{t.Name}] Created Successfully"); + dbContext.Db.CodeFirst.InitTables(t); + + string seedData = FileHelper.ReadFile(string.Format(SeedDataFolder, t.Name), Encoding.UTF8); + + #region AddSeedData + if (seedData != "涓嶅瓨鍦ㄧ浉搴旂殑鐩綍") + { + List<Dictionary<string, object>>? dicFile = JsonConvert.DeserializeObject<List<Dictionary<string, object>>>(seedData); + + if (dicFile != null && dicFile.Count > 0) + { + List<Dictionary<string, object>> dic = new List<Dictionary<string, object>>(); + + List<string> columnNames = dbContext.Db.DbMaintenance.GetColumnInfosByTableName(t.Name, false).Select(x => x.DbColumnName).ToList(); + var a = t.GetProperties().FirstOrDefault(x => !columnNames.Contains(x.Name)); + + List<PropertyInfo> propertyInfos = t.GetProperties().Where(x => columnNames.Contains(x.Name)).ToList(); + for (int j = 0; j < dicFile.Count; j++) + { + Dictionary<string, object> keyValuePairs = new Dictionary<string, object>(); + for (int i = 0; i < propertyInfos.Count; i++) + { + PropertyInfo propertyInfo = propertyInfos[i]; + SugarColumn? sugarColumn = propertyInfo.GetCustomAttribute<SugarColumn>(); + if (sugarColumn != null) + { + if (!sugarColumn.IsIgnore) + { + keyValuePairs.Add(propertyInfo.Name, dicFile[j][propertyInfo.Name]); + } + } + } + dic.Add(keyValuePairs); + } + + if (dic.Count > 0) + { + for (int i = 0; i < dic.Count; i++) + { + if (dic[i].ContainsKey("CreateDate")) + dic[i]["CreateDate"] = DateTime.Now; + else + dic[i].Add("CreateDate", DateTime.Now); + } + string str = $"SET IDENTITY_INSERT {t.Name} ON;"; + + str += dbContext.Db.Insertable(dic).AS(t.Name).ToSqlString(); + + str += ($"SET IDENTITY_INSERT {t.Name} OFF;"); + + dbContext.Db.Ado.ExecuteCommand(str); + + ConsoleHelper.WriteSuccessLine($"Table [{t.Name}] SeedData Added Successfully"); + } + } + } + #endregion + } + else + { + List<string> columnNames = dbContext.Db.DbMaintenance.GetColumnInfosByTableName(t.Name, false).Select(x => x.DbColumnName).ToList(); + if (t.GetProperties().FirstOrDefault(x => !columnNames.Contains(x.Name)) != null) + { + bool isChange = true; + List<PropertyInfo> propertyInfos = t.GetProperties().Where(x => !columnNames.Contains(x.Name)).ToList(); + for (int i = 0; i < propertyInfos.Count; i++) + { + PropertyInfo propertyInfo = propertyInfos[i]; + SugarColumn? sugarColumn = propertyInfo.GetCustomAttribute<SugarColumn>(); + if (sugarColumn != null) + { + if (!sugarColumn.IsIgnore) + { + if (!sugarColumn.IsNullable) + { + isChange = false; + break; + } + } + } + } + if (isChange) + dbContext.Db.CodeFirst.InitTables(t); + } + } + }); + ConsoleHelper.WriteSuccessLine($"Tables Created Successfully!"); + Console.WriteLine(); + + + } + catch (Exception ex) + { + // 1銆佽嫢鏄疢ysql,鏌ョ湅甯歌闂:https://github.com/anjoy8/Blog.Core/issues/148#issue-776281770 + //2銆佽嫢鏄疧racle,鏌ョ湅甯歌闂:https://github.com/anjoy8/Blog.Core/issues/148#issuecomment-752340231 + throw new Exception("閿欒锛�" + ex.Message); + } + } + + /// <summary> + /// 鍒濆鍖� 澶氱鎴� + /// </summary> + /// <param name="dbContext"></param> + /// <returns></returns> + public static async Task TenantSeedAsync(DBContext dbContext) + { + + if (BaseDBConfig.MutiConnectionString.Where(x => x.ConnId != MainDb.CurrentDbConnId).Any()) + { + Console.WriteLine($@"Init Multi Tenant Db"); + foreach (MutiDBOperate tenant in BaseDBConfig.MutiConnectionString.Where(x => x.ConnId != MainDb.CurrentDbConnId)) + { + + Console.WriteLine($@"Init Multi Tenant Db : {tenant.ConnId}"); + ConnectionConfig connectionConfig = new ConnectionConfig() + { + ConfigId = tenant.ConnId, + ConnectionString = tenant.Connection, + IsAutoCloseConnection = true, + MoreSettings = new ConnMoreSettings() + { + IsAutoRemoveDataCache = true + }, + DbType = (DbType)tenant.DbType, + }; + await InitTenantSeedAsync(dbContext.Db.AsTenant(), connectionConfig); + } + + Console.WriteLine(DateTime.Now + $@"Init Multi Tenant Db Finish"); + } + + //tenants = await myContext.Db.Queryable<SysTenant>().Where(s => s.TenantType == TenantTypeEnum.Tables).ToListAsync(); + //if (tenants.Any()) + //{ + // await InitTenantSeedAsync(myContext, tenants); + //} + } + + #region 澶氱鎴� 澶氬簱 鍒濆鍖� + + /// <summary> + /// 鍒濆鍖栧搴� + /// </summary> + /// <param name="itenant"></param> + /// <param name="config"></param> + /// <returns></returns> + public static async Task InitTenantSeedAsync(ITenant itenant, ConnectionConfig config) + { + Console.WriteLine(DateTime.Now + $@"Init Multi Tenant Db"); + //itenant.RemoveConnection(config.ConfigId); + itenant.AddConnection(config); + + var db = itenant.GetConnectionScope(config.ConfigId); + + db.DbMaintenance.CreateDatabase(); + ConsoleHelper.WriteSuccessLine($"Init Multi Tenant Db : {config.ConfigId} Database created successfully!"); + + Console.WriteLine($@"Init Multi Tenant Db : {config.ConfigId} Create Tables"); + + // 鑾峰彇鎵�鏈夊疄浣撹〃-鍒濆鍖栫鎴蜂笟鍔¤〃 + var entityTypes = TenantUtil.GetTenantEntityTypes(TenantTypeEnum.Db); + if (!entityTypes.Any()) return; + foreach (var entityType in entityTypes) + { + //var splitTable = entityType.GetCustomAttribute<SplitTableAttribute>(); + //if (splitTable == null) + db.CodeFirst.InitTables(entityType); + //else + // db.CodeFirst.SplitTables().InitTables(entityType); + + Console.WriteLine(entityType.Name); + } + Console.WriteLine(DateTime.Now + $@"Init Multi Tenant Db Finish"); + //澶氱鎴峰垵濮嬪寲绉嶅瓙鏁版嵁 + //await TenantSeedDataAsync(db, TenantTypeEnum.Db); + } + + #endregion + + //private static async Task TenantSeedDataAsync(ISqlSugarClient db, TenantTypeEnum tenantType) + //{ + // // 鑾峰彇鎵�鏈夌瀛愰厤缃�-鍒濆鍖栨暟鎹� + // var seedDataTypes = AssemblysExtensions.GetAllAssemblies().SelectMany(s => s.DefinedTypes) + // .Where(u => !u.IsInterface && !u.IsAbstract && u.IsClass) + // .Where(u => + // { + // var esd = u.GetInterfaces().FirstOrDefault(i => i.HasImplementedRawGeneric(typeof(IEntitySeedData<>))); + // if (esd is null) + // { + // return false; + // } + + // var eType = esd.GenericTypeArguments[0]; + // return eType.IsTenantEntity(tenantType); + // }); + // if (!seedDataTypes.Any()) return; + // foreach (var seedType in seedDataTypes) + // { + // dynamic instance = Activator.CreateInstance(seedType); + // //鍒濆鍖栨暟鎹� + // { + // var seedData = instance.InitSeedData(); + // if (seedData != null && Enumerable.Any(seedData)) + // { + // var entityType = seedType.GetInterfaces().First().GetGenericArguments().First(); + // var entity = db.EntityMaintenance.GetEntityInfo(entityType); + + // if (!await db.Queryable(entity.DbTableName, "").AnyAsync()) + // { + // await db.Insertable(Enumerable.ToList(seedData)).ExecuteCommandAsync(); + // Console.WriteLine($"Table:{entity.DbTableName} init success!"); + // } + // } + // } + + // //绉嶅瓙鏁版嵁 + // { + // var seedData = instance.SeedData(); + // if (seedData != null && Enumerable.Any(seedData)) + // { + // var entityType = seedType.GetInterfaces().First().GetGenericArguments().First(); + // var entity = db.EntityMaintenance.GetEntityInfo(entityType); + + // await db.Storageable(Enumerable.ToList(seedData)).ExecuteCommandAsync(); + // Console.WriteLine($"Table:{entity.DbTableName} seedData success!"); + // } + // } + + // //鑷畾涔夊鐞� + // { + // await instance.CustomizeSeedData(db); + // } + // } + //} + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Seed/FrameSeed.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Seed/FrameSeed.cs" new file mode 100644 index 0000000..4711bda --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Seed/FrameSeed.cs" @@ -0,0 +1,582 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Seed +{ + public class FrameSeed + { + + /// <summary> + /// 鐢熸垚Controller灞� + /// </summary> + /// <param name="sqlSugarClient">sqlsugar瀹炰緥</param> + /// <param name="ConnId">鏁版嵁搴撻摼鎺D</param> + /// <param name="tableNames">鏁版嵁搴撹〃鍚嶆暟缁勶紝榛樿绌猴紝鐢熸垚鎵�鏈夎〃</param> + /// <param name="isMuti"></param> + /// <returns></returns> + public static bool CreateControllers(SqlSugarScope sqlSugarClient, string ConnId = null, bool isMuti = false, string[] tableNames = null) + { + Create_Controller_ClassFileByDBTalbe(sqlSugarClient, ConnId, $@"C:\my-file\Blog.Core.Api.Controllers", "Blog.Core.Api.Controllers", tableNames, "", isMuti); + return true; + } + + /// <summary> + /// 鐢熸垚Model灞� + /// </summary> + /// <param name="sqlSugarClient">sqlsugar瀹炰緥</param> + /// <param name="ConnId">鏁版嵁搴撻摼鎺D</param> + /// <param name="tableNames">鏁版嵁搴撹〃鍚嶆暟缁勶紝榛樿绌猴紝鐢熸垚鎵�鏈夎〃</param> + /// <param name="isMuti"></param> + /// <returns></returns> + public static bool CreateModels(SqlSugarScope sqlSugarClient, string ConnId, bool isMuti = false, string[] tableNames = null) + { + Create_Model_ClassFileByDBTalbe(sqlSugarClient, ConnId, $@"C:\my-file\Blog.Core.Model", "Blog.Core.Model.Models", tableNames, "", isMuti); + return true; + } + + /// <summary> + /// 鐢熸垚IRepository灞� + /// </summary> + /// <param name="sqlSugarClient">sqlsugar瀹炰緥</param> + /// <param name="ConnId">鏁版嵁搴撻摼鎺D</param> + /// <param name="isMuti"></param> + /// <param name="tableNames">鏁版嵁搴撹〃鍚嶆暟缁勶紝榛樿绌猴紝鐢熸垚鎵�鏈夎〃</param> + /// <returns></returns> + public static bool CreateIRepositorys(SqlSugarScope sqlSugarClient, string ConnId, bool isMuti = false, string[] tableNames = null) + { + Create_IRepository_ClassFileByDBTalbe(sqlSugarClient, ConnId, $@"C:\my-file\Blog.Core.IRepository", "Blog.Core.IRepository", tableNames, "", isMuti); + return true; + } + + + + /// <summary> + /// 鐢熸垚 IService 灞� + /// </summary> + /// <param name="sqlSugarClient">sqlsugar瀹炰緥</param> + /// <param name="ConnId">鏁版嵁搴撻摼鎺D</param> + /// <param name="isMuti"></param> + /// <param name="tableNames">鏁版嵁搴撹〃鍚嶆暟缁勶紝榛樿绌猴紝鐢熸垚鎵�鏈夎〃</param> + /// <returns></returns> + public static bool CreateIServices(SqlSugarScope sqlSugarClient, string ConnId, bool isMuti = false, string[] tableNames = null) + { + Create_IServices_ClassFileByDBTalbe(sqlSugarClient, ConnId, $@"C:\my-file\Blog.Core.IServices", "Blog.Core.IServices", tableNames, "", isMuti); + return true; + } + + + + /// <summary> + /// 鐢熸垚 Repository 灞� + /// </summary> + /// <param name="sqlSugarClient">sqlsugar瀹炰緥</param> + /// <param name="ConnId">鏁版嵁搴撻摼鎺D</param> + /// <param name="isMuti"></param> + /// <param name="tableNames">鏁版嵁搴撹〃鍚嶆暟缁勶紝榛樿绌猴紝鐢熸垚鎵�鏈夎〃</param> + /// <returns></returns> + public static bool CreateRepository(SqlSugarScope sqlSugarClient, string ConnId, bool isMuti = false, string[] tableNames = null) + { + Create_Repository_ClassFileByDBTalbe(sqlSugarClient, ConnId, $@"C:\my-file\Blog.Core.Repository", "Blog.Core.Repository", tableNames, "", isMuti); + return true; + } + + + + /// <summary> + /// 鐢熸垚 Service 灞� + /// </summary> + /// <param name="sqlSugarClient">sqlsugar瀹炰緥</param> + /// <param name="ConnId">鏁版嵁搴撻摼鎺D</param> + /// <param name="isMuti"></param> + /// <param name="tableNames">鏁版嵁搴撹〃鍚嶆暟缁勶紝榛樿绌猴紝鐢熸垚鎵�鏈夎〃</param> + /// <returns></returns> + public static bool CreateServices(SqlSugarScope sqlSugarClient, string ConnId, bool isMuti = false, string[] tableNames = null) + { + Create_Services_ClassFileByDBTalbe(sqlSugarClient, ConnId, $@"C:\my-file\Blog.Core.Services", "Blog.Core.Services", tableNames, "", isMuti); + return true; + } + + + #region 鏍规嵁鏁版嵁搴撹〃鐢熶骇Controller灞� + + /// <summary> + /// 鍔熻兘鎻忚堪:鏍规嵁鏁版嵁搴撹〃鐢熶骇Controller灞� + /// 浣溿��銆�鑰�:Blog.Core + /// </summary> + /// <param name="sqlSugarClient"></param> + /// <param name="ConnId">鏁版嵁搴撻摼鎺D</param> + /// <param name="strPath">瀹炰綋绫诲瓨鏀捐矾寰�</param> + /// <param name="strNameSpace">鍛藉悕绌洪棿</param> + /// <param name="lstTableNames">鐢熶骇鎸囧畾鐨勮〃</param> + /// <param name="strInterface">瀹炵幇鎺ュ彛</param> + /// <param name="isMuti"></param> + /// <param name="blnSerializable">鏄惁搴忓垪鍖�</param> + private static void Create_Controller_ClassFileByDBTalbe( + SqlSugarScope sqlSugarClient, + string ConnId, + string strPath, + string strNameSpace, + string[] lstTableNames, + string strInterface, + bool isMuti = false, + bool blnSerializable = false) + { + var IDbFirst = sqlSugarClient.DbFirst; + if (lstTableNames != null && lstTableNames.Length > 0) + { + IDbFirst = IDbFirst.Where(lstTableNames); + } + var ls = IDbFirst.IsCreateDefaultValue().IsCreateAttribute() + + .SettingClassTemplate(p => p = +@"using Blog.Core.IServices; +using Blog.Core.Model; +using Blog.Core.Model.Models; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; +using System; +using System.Linq.Expressions; +using System.Threading.Tasks; + +namespace " + strNameSpace + @" +{ + [Route(""api/[controller]/[action]"")] + [ApiController] + [Authorize(Permissions.Name)] + public class {ClassName}Controller : ControllerBase + { + /// <summary> + /// 鏈嶅姟鍣ㄦ帴鍙o紝鍥犱负鏄ā鏉跨敓鎴愶紝鎵�浠ラ瀛楁瘝鏄ぇ鍐欑殑锛岃嚜宸卞彲浠ラ噸鏋勪笅 + /// </summary> + private readonly I{ClassName}Services _{ClassName}Services; + + public {ClassName}Controller(I{ClassName}Services {ClassName}Services) + { + _{ClassName}Services = {ClassName}Services; + } + + [HttpGet] + public async Task<MessageModel<PageModel<{ClassName}>>> Get(int page = 1, string key = """",int intPageSize = 50) + { + if (string.IsNullOrEmpty(key) || string.IsNullOrWhiteSpace(key)) + { + key = """"; + } + + Expression<Func<{ClassName}, bool>> whereExpression = a => true; + + return new MessageModel<PageModel<{ClassName}>>() + { + msg = ""鑾峰彇鎴愬姛"", + success = true, + response = await _{ClassName}Services.QueryPage(whereExpression, page, intPageSize) + }; + + } + + [HttpGet(""{id}"")] + public async Task<MessageModel<{ClassName}>> Get(string id) + { + return new MessageModel<{ClassName}>() + { + msg = ""鑾峰彇鎴愬姛"", + success = true, + response = await _{ClassName}Services.QueryById(id) + }; + } + + [HttpPost] + public async Task<MessageModel<string>> Post([FromBody] {ClassName} request) + { + var data = new MessageModel<string>(); + + var id = await _{ClassName}Services.Add(request); + data.success = id > 0; + if (data.success) + { + data.response = id.ObjToString(); + data.msg = ""娣诲姞鎴愬姛""; + } + + return data; + } + + [HttpPut] + public async Task<MessageModel<string>> Put([FromBody] {ClassName} request) + { + var data = new MessageModel<string>(); + data.success = await _{ClassName}Services.Update(request); + if (data.success) + { + data.msg = ""鏇存柊鎴愬姛""; + data.response = request?.id.ObjToString(); + } + + return data; + } + + [HttpDelete] + public async Task<MessageModel<string>> Delete(int id) + { + var data = new MessageModel<string>(); + var model = await _{ClassName}Services.QueryById(id); + model.IsDeleted = true; + data.success = await _departmentServices.Update(model); + if (data.success) + { + data.msg = ""鍒犻櫎鎴愬姛""; + data.response = model?.Id.ObjToString(); + } + + return data; + } + } +}") + + .ToClassStringList(strNameSpace); + + Dictionary<string, string> newdic = new Dictionary<string, string>(); + //寰幆澶勭悊 棣栧瓧姣嶅皬鍐� 骞舵彃鍏ユ柊鐨� Dictionary + foreach (KeyValuePair<string, string> item in ls) + { + string newkey = "_" + item.Key.First().ToString().ToLower() + item.Key.Substring(1); + string newvalue = item.Value.Replace("_" + item.Key, newkey); + newdic.Add(item.Key, newvalue); + } + CreateFilesByClassStringList(newdic, strPath, "{0}Controller"); + } + #endregion + + + #region 鏍规嵁鏁版嵁搴撹〃鐢熶骇Model灞� + + /// <summary> + /// 鍔熻兘鎻忚堪:鏍规嵁鏁版嵁搴撹〃鐢熶骇Model灞� + /// 浣溿��銆�鑰�:Blog.Core + /// </summary> + /// <param name="sqlSugarClient"></param> + /// <param name="ConnId">鏁版嵁搴撻摼鎺D</param> + /// <param name="strPath">瀹炰綋绫诲瓨鏀捐矾寰�</param> + /// <param name="strNameSpace">鍛藉悕绌洪棿</param> + /// <param name="lstTableNames">鐢熶骇鎸囧畾鐨勮〃</param> + /// <param name="strInterface">瀹炵幇鎺ュ彛</param> + /// <param name="isMuti"></param> + /// <param name="blnSerializable">鏄惁搴忓垪鍖�</param> + private static void Create_Model_ClassFileByDBTalbe( + SqlSugarScope sqlSugarClient, + string ConnId, + string strPath, + string strNameSpace, + string[] lstTableNames, + string strInterface, + bool isMuti = false, + bool blnSerializable = false) + { + //澶氬簱鏂囦欢鍒嗙 + if (isMuti) + { + strPath = strPath + @"\Models\" + ConnId; + strNameSpace = strNameSpace + "." + ConnId; + } + + var IDbFirst = sqlSugarClient.DbFirst; + if (lstTableNames != null && lstTableNames.Length > 0) + { + IDbFirst = IDbFirst.Where(lstTableNames); + } + var ls = IDbFirst.IsCreateDefaultValue().IsCreateAttribute() + + .SettingClassTemplate(p => p = +@"{using} + +namespace " + strNameSpace + @" +{ +{ClassDescription} + [SugarTable( ""{ClassName}"", """ + ConnId + @""")]" + (blnSerializable ? "\n [Serializable]" : "") + @" + public class {ClassName}" + (string.IsNullOrEmpty(strInterface) ? "" : (" : " + strInterface)) + @" + { + public {ClassName}() + { + } +{PropertyName} + } +}") + //.SettingPropertyDescriptionTemplate(p => p = string.Empty) + .SettingPropertyTemplate(p => p = +@"{SugarColumn} + public {PropertyType} {PropertyName} { get; set; }") + + //.SettingConstructorTemplate(p => p = " this._{PropertyName} ={DefaultValue};") + + .ToClassStringList(strNameSpace); + CreateFilesByClassStringList(ls, strPath, "{0}"); + } + #endregion + + + #region 鏍规嵁鏁版嵁搴撹〃鐢熶骇IRepository灞� + + /// <summary> + /// 鍔熻兘鎻忚堪:鏍规嵁鏁版嵁搴撹〃鐢熶骇IRepository灞� + /// 浣溿��銆�鑰�:Blog.Core + /// </summary> + /// <param name="sqlSugarClient"></param> + /// <param name="ConnId">鏁版嵁搴撻摼鎺D</param> + /// <param name="strPath">瀹炰綋绫诲瓨鏀捐矾寰�</param> + /// <param name="strNameSpace">鍛藉悕绌洪棿</param> + /// <param name="lstTableNames">鐢熶骇鎸囧畾鐨勮〃</param> + /// <param name="strInterface">瀹炵幇鎺ュ彛</param> + /// <param name="isMuti"></param> + private static void Create_IRepository_ClassFileByDBTalbe( + SqlSugarScope sqlSugarClient, + string ConnId, + string strPath, + string strNameSpace, + string[] lstTableNames, + string strInterface, + bool isMuti = false + ) + { + //澶氬簱鏂囦欢鍒嗙 + if (isMuti) + { + strPath = strPath + @"\" + ConnId; + strNameSpace = strNameSpace + "." + ConnId; + } + + var IDbFirst = sqlSugarClient.DbFirst; + if (lstTableNames != null && lstTableNames.Length > 0) + { + IDbFirst = IDbFirst.Where(lstTableNames); + } + var ls = IDbFirst.IsCreateDefaultValue().IsCreateAttribute() + + .SettingClassTemplate(p => p = +@"using Blog.Core.IRepository.Base; +using Blog.Core.Model.Models" + (isMuti ? "." + ConnId + "" : "") + @"; + +namespace " + strNameSpace + @" +{ + /// <summary> + /// I{ClassName}Repository + /// </summary> + public interface I{ClassName}Repository : IBaseRepository<{ClassName}>" + (string.IsNullOrEmpty(strInterface) ? "" : (" , " + strInterface)) + @" + { + } +}") + + .ToClassStringList(strNameSpace); + CreateFilesByClassStringList(ls, strPath, "I{0}Repository"); + } + #endregion + + + #region 鏍规嵁鏁版嵁搴撹〃鐢熶骇IServices灞� + + /// <summary> + /// 鍔熻兘鎻忚堪:鏍规嵁鏁版嵁搴撹〃鐢熶骇IServices灞� + /// 浣溿��銆�鑰�:Blog.Core + /// </summary> + /// <param name="sqlSugarClient"></param> + /// <param name="ConnId">鏁版嵁搴撻摼鎺D</param> + /// <param name="strPath">瀹炰綋绫诲瓨鏀捐矾寰�</param> + /// <param name="strNameSpace">鍛藉悕绌洪棿</param> + /// <param name="lstTableNames">鐢熶骇鎸囧畾鐨勮〃</param> + /// <param name="strInterface">瀹炵幇鎺ュ彛</param> + /// <param name="isMuti"></param> + private static void Create_IServices_ClassFileByDBTalbe( + SqlSugarScope sqlSugarClient, + string ConnId, + string strPath, + string strNameSpace, + string[] lstTableNames, + string strInterface, + bool isMuti = false) + { + //澶氬簱鏂囦欢鍒嗙 + if (isMuti) + { + strPath = strPath + @"\" + ConnId; + strNameSpace = strNameSpace + "." + ConnId; + } + + var IDbFirst = sqlSugarClient.DbFirst; + if (lstTableNames != null && lstTableNames.Length > 0) + { + IDbFirst = IDbFirst.Where(lstTableNames); + } + var ls = IDbFirst.IsCreateDefaultValue().IsCreateAttribute() + + .SettingClassTemplate(p => p = +@"using Blog.Core.IServices.BASE; +using Blog.Core.Model.Models" + (isMuti ? "." + ConnId + "" : "") + @"; + +namespace " + strNameSpace + @" +{ + /// <summary> + /// I{ClassName}Services + /// </summary> + public interface I{ClassName}Services :IBaseServices<{ClassName}>" + (string.IsNullOrEmpty(strInterface) ? "" : (" , " + strInterface)) + @" + { + } +}") + + .ToClassStringList(strNameSpace); + CreateFilesByClassStringList(ls, strPath, "I{0}Services"); + } + #endregion + + + + #region 鏍规嵁鏁版嵁搴撹〃鐢熶骇 Repository 灞� + + /// <summary> + /// 鍔熻兘鎻忚堪:鏍规嵁鏁版嵁搴撹〃鐢熶骇 Repository 灞� + /// 浣溿��銆�鑰�:Blog.Core + /// </summary> + /// <param name="sqlSugarClient"></param> + /// <param name="ConnId">鏁版嵁搴撻摼鎺D</param> + /// <param name="strPath">瀹炰綋绫诲瓨鏀捐矾寰�</param> + /// <param name="strNameSpace">鍛藉悕绌洪棿</param> + /// <param name="lstTableNames">鐢熶骇鎸囧畾鐨勮〃</param> + /// <param name="strInterface">瀹炵幇鎺ュ彛</param> + /// <param name="isMuti"></param> + private static void Create_Repository_ClassFileByDBTalbe( + SqlSugarScope sqlSugarClient, + string ConnId, + string strPath, + string strNameSpace, + string[] lstTableNames, + string strInterface, + bool isMuti = false) + { + //澶氬簱鏂囦欢鍒嗙 + if (isMuti) + { + strPath = strPath + @"\" + ConnId; + strNameSpace = strNameSpace + "." + ConnId; + } + + var IDbFirst = sqlSugarClient.DbFirst; + if (lstTableNames != null && lstTableNames.Length > 0) + { + IDbFirst = IDbFirst.Where(lstTableNames); + } + var ls = IDbFirst.IsCreateDefaultValue().IsCreateAttribute() + + .SettingClassTemplate(p => p = +@"using Blog.Core.IRepository" + (isMuti ? "." + ConnId + "" : "") + @"; +using Blog.Core.IRepository.UnitOfWork; +using Blog.Core.Model.Models" + (isMuti ? "." + ConnId + "" : "") + @"; +using Blog.Core.Repository.Base; + +namespace " + strNameSpace + @" +{ + /// <summary> + /// {ClassName}Repository + /// </summary> + public class {ClassName}Repository : BaseRepository<{ClassName}>, I{ClassName}Repository" + (string.IsNullOrEmpty(strInterface) ? "" : (" , " + strInterface)) + @" + { + public {ClassName}Repository(IUnitOfWork unitOfWork) : base(unitOfWork) + { + } + } +}") + .ToClassStringList(strNameSpace); + + + CreateFilesByClassStringList(ls, strPath, "{0}Repository"); + } + #endregion + + + #region 鏍规嵁鏁版嵁搴撹〃鐢熶骇 Services 灞� + + /// <summary> + /// 鍔熻兘鎻忚堪:鏍规嵁鏁版嵁搴撹〃鐢熶骇 Services 灞� + /// 浣溿��銆�鑰�:Blog.Core + /// </summary> + /// <param name="sqlSugarClient"></param> + /// <param name="ConnId">鏁版嵁搴撻摼鎺D</param> + /// <param name="strPath">瀹炰綋绫诲瓨鏀捐矾寰�</param> + /// <param name="strNameSpace">鍛藉悕绌洪棿</param> + /// <param name="lstTableNames">鐢熶骇鎸囧畾鐨勮〃</param> + /// <param name="strInterface">瀹炵幇鎺ュ彛</param> + /// <param name="isMuti"></param> + private static void Create_Services_ClassFileByDBTalbe( + SqlSugarScope sqlSugarClient, + string ConnId, + string strPath, + string strNameSpace, + string[] lstTableNames, + string strInterface, + bool isMuti = false) + { + //澶氬簱鏂囦欢鍒嗙 + if (isMuti) + { + strPath = strPath + @"\" + ConnId; + strNameSpace = strNameSpace + "." + ConnId; + } + + var IDbFirst = sqlSugarClient.DbFirst; + if (lstTableNames != null && lstTableNames.Length > 0) + { + IDbFirst = IDbFirst.Where(lstTableNames); + } + var ls = IDbFirst.IsCreateDefaultValue().IsCreateAttribute() + + .SettingClassTemplate(p => p = +@" +using Blog.Core.IServices" + (isMuti ? "." + ConnId + "" : "") + @"; +using Blog.Core.Model.Models" + (isMuti ? "." + ConnId + "" : "") + @"; +using Blog.Core.Services.BASE; +using Blog.Core.IRepository.Base; + +namespace " + strNameSpace + @" +{ + public class {ClassName}Services : BaseServices<{ClassName}>, I{ClassName}Services" + (string.IsNullOrEmpty(strInterface) ? "" : (" , " + strInterface)) + @" + { + private readonly IBaseRepository<{ClassName}> _dal; + public {ClassName}Services(IBaseRepository<{ClassName}> dal) + { + this._dal = dal; + base.BaseDal = dal; + } + } +}") + .ToClassStringList(strNameSpace); + + CreateFilesByClassStringList(ls, strPath, "{0}Services"); + } + #endregion + + + #region 鏍规嵁妯℃澘鍐呭鎵归噺鐢熸垚鏂囦欢 + /// <summary> + /// 鏍规嵁妯℃澘鍐呭鎵归噺鐢熸垚鏂囦欢 + /// </summary> + /// <param name="ls">绫绘枃浠跺瓧绗︿覆list</param> + /// <param name="strPath">鐢熸垚璺緞</param> + /// <param name="fileNameTp">鏂囦欢鍚嶆牸寮忔ā鏉�</param> + private static void CreateFilesByClassStringList(Dictionary<string, string> ls, string strPath, string fileNameTp) + { + + foreach (var item in ls) + { + var fileName = $"{string.Format(fileNameTp, item.Key)}.cs"; + var fileFullPath = Path.Combine(strPath, fileName); + if (!Directory.Exists(strPath)) + { + Directory.CreateDirectory(strPath); + } + File.WriteAllText(fileFullPath, item.Value, Encoding.UTF8); + } + } + #endregion + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Tenants/ITenantEntity.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Tenants/ITenantEntity.cs" new file mode 100644 index 0000000..ca499c4 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Tenants/ITenantEntity.cs" @@ -0,0 +1,21 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Tenants +{ + /// <summary> + /// 绉熸埛妯″瀷鎺ュ彛 + /// </summary> + public interface ITenantEntity + { + /// <summary> + /// 绉熸埛Id + /// </summary> + [SugarColumn(DefaultValue = "0")] + public long TenantId { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Tenants/MultiTenantAttribute.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Tenants/MultiTenantAttribute.cs" new file mode 100644 index 0000000..a0927c3 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Tenants/MultiTenantAttribute.cs" @@ -0,0 +1,56 @@ +锘縰sing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Tenants +{ + /// <summary> + /// 鏍囪瘑 澶氱鎴� 鐨勪笟鍔¤〃 <br/> + /// 榛樿璁剧疆鏄搴� <br/> + /// 鍏叡琛ㄦ棤闇�鍖哄垎 鐩存帴浣跨敤涓诲簱 鍚勮嚜涓氬姟鍦ㄥ悇鑷簱涓� <br/> + /// </summary> + [AttributeUsage(AttributeTargets.Class)] + public class MultiTenantAttribute : Attribute + { + public MultiTenantAttribute() + { + } + + public MultiTenantAttribute(TenantTypeEnum tenantType) + { + TenantType = tenantType; + } + + + public TenantTypeEnum TenantType { get; set; } = TenantTypeEnum.Db; + } + + /// <summary> + /// 绉熸埛闅旂鏂规 + /// </summary> + public enum TenantTypeEnum + { + None = 0, + + /// <summary> + /// Id闅旂 + /// </summary> + [Description("Id闅旂")] + Id = 1, + + /// <summary> + /// 搴撻殧绂� + /// </summary> + [Description("搴撻殧绂�")] + Db = 2, + + /// <summary> + /// 琛ㄩ殧绂� + /// </summary> + [Description("琛ㄩ殧绂�")] + Tables = 3, + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Tenants/TenantUtil.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Tenants/TenantUtil.cs" new file mode 100644 index 0000000..a0a9755 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Tenants/TenantUtil.cs" @@ -0,0 +1,127 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB; + +namespace WIDESEA_Core.Tenants +{ + public static class TenantUtil + { + //public static SysTenant DefaultTenantConfig(this SysTenant tenant) + //{ + // tenant.DbType ??= DbType.Sqlite; + + // //濡傛灉娌℃湁閰嶇疆杩炴帴 + // if (tenant.Connection.IsNullOrEmpty()) + // { + // //姝ゅ榛樿閰嶇疆 Sqlite 鍦板潃 + // //瀹為檯涓氬姟涓� 涔熶細鏈夎繍缁淬�佺郴缁熺鐞嗗憳绛夋潵缁存姢 + // switch (tenant.DbType.Value) + // { + // case DbType.Sqlite: + // tenant.Connection = $"DataSource={Path.Combine(Environment.CurrentDirectory, tenant.ConfigId)}.db"; + // break; + // } + // } + + // return tenant; + //} + + //public static ConnectionConfig GetConnectionConfig(this SysTenant tenant) + //{ + // if (tenant.DbType is null) + // { + // throw new ArgumentException("Tenant DbType Must"); + // } + + + // return new ConnectionConfig() + // { + // ConfigId = tenant.ConfigId, + // DbType = tenant.DbType.Value, + // ConnectionString = tenant.Connection, + // IsAutoCloseConnection = true, + // MoreSettings = new ConnMoreSettings() + // { + // IsAutoRemoveDataCache = true + // }, + // }; + //} + + public static List<Type> GetTenantEntityTypes(TenantTypeEnum? tenantType = null) + { + List<Type> types = RepositorySetting.Entitys.Where(u => !u.IsInterface && !u.IsAbstract && u.IsClass).ToList(); + + List<Type> returnTypes = types.Where(s => IsTenantEntity(s, tenantType)).ToList(); + return returnTypes; + } + + public static bool IsTenantEntity(this Type u, TenantTypeEnum? tenantType = null) + { + var mta = u.GetCustomAttribute<MultiTenantAttribute>(); + if (mta is null) + { + return false; + } + + if (tenantType != null) + { + if (mta.TenantType != tenantType) + { + return false; + } + } + + return true; + } + + public static string GetTenantTableName(this Type type, ISqlSugarClient db, string id) + { + var entityInfo = db.EntityMaintenance.GetEntityInfo(type); + return $@"{entityInfo.DbTableName}_{id}"; + } + + //public static string GetTenantTableName(this Type type, ISqlSugarClient db, SysTenant tenant) + //{ + // return GetTenantTableName(type, db, tenant.Id.ToString()); + //} + + public static void SetTenantTable(this ISqlSugarClient db, string id) + { + var types = GetTenantEntityTypes(TenantTypeEnum.Tables); + + foreach (var type in types) + { + db.MappingTables.Add(type.Name, type.GetTenantTableName(db, id)); + } + } + + public static List<SelectModel> GetTenantSelectModels() + { + List<SelectModel> selectModels = new List<SelectModel>() + { + new SelectModel + { + FieldName = MainDb.TenantId + }, + //new SelectModel + //{ + // FieldName = MainDb.TenantName + //}, + new SelectModel + { + FieldName = MainDb.ConnectionString, + }, + new SelectModel + { + FieldName = MainDb.TenantDbType + } + }; + return selectModels; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/EntityProperties.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/EntityProperties.cs" new file mode 100644 index 0000000..a57e31b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/EntityProperties.cs" @@ -0,0 +1,367 @@ +锘縰sing SqlSugar; +using System; +using System.Collections; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using System.Linq; +using System.Linq.Expressions; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Const; +using WIDESEA_Core.Enums; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.Utilities +{ + public static class EntityProperties + { + /// <summary> + /// 楠岃瘉鏁版嵁搴撳瓧娈电被鍨嬩笌鍊兼槸鍚︽纭紝 + /// </summary> + /// <param name="value">鍊�</param> + /// <param name="propertyInfo">瑕侀獙璇佺殑绫荤殑灞炴�э紝鑻ヤ笉涓簄ull锛屽垯浼氬垽鏂瓧绗︿覆鐨勯暱搴︽槸鍚︽纭�</param> + /// <returns>(bool, string, object)bool鎴愬惁鏍¢獙鎴愬姛,string鏍¢獙澶辫触淇℃伅,object,褰撳墠鏍¢獙鐨勫��</returns> + public static (bool, string, object) ValidationVal(this PropertyInfo propertyInfo, object value) + { + string dbType = ""; + SugarColumn sugarColumn = null; + if (propertyInfo != null) + { + sugarColumn = propertyInfo.GetCustomAttribute<SugarColumn>(); + dbType = propertyInfo.PropertyType != null ? propertyInfo.GetProperWithDbType() : SqlDbTypeName.NVarChar; + } + dbType = dbType.ToLower(); + string val = value?.ToString(); + //楠岃瘉闀垮害 + string reslutMsg = string.Empty; + if (dbType == SqlDbTypeName.Int) + { + if (!value.IsInt()) + reslutMsg = "鍙兘涓烘湁鏁堟暣鏁�"; + } //2021.10.12澧炲姞灞炴�ф牎楠宭ong绫诲瀷鐨勬敮鎸� + else if (dbType == SqlDbTypeName.BigInt) + { + if (!long.TryParse(val, out _)) + { + reslutMsg = "鍙兘涓烘湁鏁堟暣鏁�"; + } + } + else if (dbType == SqlDbTypeName.DateTime + || dbType == SqlDbTypeName.Date + || dbType == SqlDbTypeName.SmallDateTime + || dbType == SqlDbTypeName.SmallDate + ) + { + if (!value.IsDate()) + reslutMsg = "蹇呴』涓烘棩鏈熸牸寮�"; + } + else if (dbType == SqlDbTypeName.Float || dbType == SqlDbTypeName.Decimal || dbType == SqlDbTypeName.Double) + { + + if (!val.IsNumber(null)) + { + reslutMsg = "涓嶆槸鏈夋晥鏁板瓧"; + } + } + else if (dbType == SqlDbTypeName.UniqueIdentifier) + { + if (!val.IsGuid()) + { + reslutMsg = propertyInfo.Name + "Guid涓嶆纭�"; + } + } + else if (propertyInfo != null + && (dbType == SqlDbTypeName.VarChar + || dbType == SqlDbTypeName.NVarChar + || dbType == SqlDbTypeName.NChar + || dbType == SqlDbTypeName.Char + || dbType == SqlDbTypeName.Text)) + { + + //榛樿nvarchar(max) 銆乼ext 闀垮害涓嶈兘瓒呰繃20000 + if (val.Length > 200000) + { + reslutMsg = $"瀛楃闀垮害鏈�澶氥��200000銆�"; + } + else + { + + int length = sugarColumn.Length; + if (length == 0) { return (true, null, value); } + //鍒ゆ柇鍙屽瓧鑺備笌鍗曞瓧娈� + else if (length < 8000 && + ((dbType.Substring(0, 1) != "n" + && Encoding.UTF8.GetBytes(val.ToCharArray()).Length > length) + || val.Length > length) + ) + { + reslutMsg = $"鏈�澶氬彧鑳姐�恵length}銆戜釜瀛楃銆�"; + } + } + } + if (!string.IsNullOrEmpty(reslutMsg) && propertyInfo != null) + { + reslutMsg = sugarColumn.ColumnDescription + reslutMsg; + } + return (reslutMsg == "" ? true : false, reslutMsg, value); + } + + public static List<(bool, string, object)> ValidationValueForDbType(this PropertyInfo propertyInfo, params object[] values) + { + List<(bool, string, object)> result = new List<(bool, string, object)>(); + foreach (object value in values) + { + result.Add(propertyInfo.ValidationVal(value)); + } + return result; + } + + private static readonly Dictionary<Type, string> ProperWithDbType = new Dictionary<Type, string>() { + { typeof(string),SqlDbTypeName.NVarChar }, + { typeof(DateTime),SqlDbTypeName.DateTime}, + {typeof(long),SqlDbTypeName.BigInt }, + {typeof(int),SqlDbTypeName.Int}, + { typeof(decimal),SqlDbTypeName.Decimal }, + { typeof(float),SqlDbTypeName.Float }, + { typeof(double),SqlDbTypeName.Double }, + { typeof(byte),SqlDbTypeName.Int },//绫诲瀷寰呭畬 + { typeof(Guid),SqlDbTypeName.UniqueIdentifier} + }; + + public static string GetProperWithDbType(this PropertyInfo propertyInfo) + { + bool result = ProperWithDbType.TryGetValue(propertyInfo.PropertyType, out string value); + if (result) + { + return value; + } + return SqlDbTypeName.NVarChar; + } + + /// <summary> + /// 鍒ゆ柇hash鐨勫垪鏄惁涓哄搴旂殑瀹炰綋锛屽苟涓斿�兼槸鍚︽湁鏁� + /// </summary> + /// <param name="typeinfo"></param> + /// <param name="dic"></param> + /// <param name="removeNotContains">绉婚櫎涓嶅瓨鍦ㄥ瓧娈�</param> + /// <param name="removerKey">绉婚櫎涓婚敭</param> + /// <returns></returns> + public static string ValidateDicInEntity(this Type typeinfo, Dictionary<string, object> dic, bool removerKey, PropertyInfo[] propertyInfo, string[]? ignoreFields = null) + { + if (dic == null || dic.Count == 0) { return "鍙傛暟鏃犳晥"; } + + // 涓嶅瓨鍦ㄧ殑瀛楁鐩存帴绉婚櫎 + dic.Where(x => !propertyInfo.Any(p => p.Name == x.Key.FirstLetterToUpper())).Select(s => s.Key).ToList().ForEach(f => + { + dic.Remove(f); + }); + + string keyName = typeinfo.GetKeyName(); + //绉婚櫎涓婚敭 + if (removerKey) + dic.Remove(keyName); + //else + //{ + // if (!dic.ContainsKey(keyName)) + // return "璇蜂紶鍏ヤ富閿弬鏁�"; + //} + + foreach (PropertyInfo property in propertyInfo) + { + SugarColumn? sugarColumn = property.GetCustomAttribute<SugarColumn>(); + if (sugarColumn == null) + { + Navigate? navigate = property.GetCustomAttribute<Navigate>(); + if(navigate != null) + { + continue; + } + return "璇烽厤缃甋ugarColumn灞炴��"; + } + + //蹇界暐涓庝富閿殑瀛楁涓嶅仛楠岃瘉 + if (property.Name == keyName.FirstLetterToUpper() || (ignoreFields != null && ignoreFields.Contains(property.Name)) || sugarColumn.IsOnlyIgnoreInsert || sugarColumn.IsOnlyIgnoreUpdate || sugarColumn.IsIgnore) + continue; + + //涓嶅湪缂栬緫涓殑鍒楋紝鏄惁涔熻蹇呭~ + if (!dic.ContainsKey(property.Name.FirstLetterToLower())) + { + if (!sugarColumn.IsNullable) + { + if (sugarColumn.DefaultValue == null) + return sugarColumn.ColumnDescription + "涓哄繀椤绘彁浜ら」"; + continue; + } + continue; + } + if(dic[property.Name.FirstLetterToLower()] != null) + { + string str = dic[property.Name.FirstLetterToLower()].ToString(); + //灏嗘墍鏈夌┖鍊艰缃负null + if (str == string.Empty) + dic[property.Name.FirstLetterToLower()] = null; + } + + } + return string.Empty; + } + + public static string ValidateDicInEntity(this Type typeinfo, List<Dictionary<string, object>> dicList, bool removerKey, string[] ignoreFields = null) + { + PropertyInfo[] propertyInfo = typeinfo.GetProperties(); + string reslutMsg = string.Empty; + foreach (Dictionary<string, object> dic in dicList) + { + reslutMsg = typeinfo.ValidateDicInEntity(dic, removerKey, propertyInfo, ignoreFields); + if (!string.IsNullOrEmpty(reslutMsg)) + return reslutMsg; + } + return reslutMsg; + } + + public static string GetKeyName(this Type typeinfo) + { + return typeinfo.GetProperties().GetKeyName(); + } + + public static string GetKeyName(this PropertyInfo[] properties) + { + foreach (PropertyInfo property in properties) + { + SugarColumn? sugarColumn = property.GetCustomAttribute<SugarColumn>(); + if (sugarColumn != null) + { + if (sugarColumn.IsPrimaryKey) + return property.Name; + } + } + return null; + } + + public static PropertyInfo GetKeyProperty(this Type typeinfo) + { + PropertyInfo[] properties = typeinfo.GetProperties(); + foreach (PropertyInfo property in properties) + { + SugarColumn sugarColumn = property.GetCustomAttribute<SugarColumn>(); + if (sugarColumn?.IsPrimaryKey ?? false) + { + return property; + } + } + return null; + } + + public static Type GetDetailType(this Type typeinfo) + { + PropertyInfo[] properties = typeinfo.GetProperties(); + foreach (PropertyInfo property in properties) + { + Navigate? navigate = property.GetCustomAttribute<Navigate>(); + if (navigate is not null) + { + if (navigate.GetNavigateType() == NavigateType.OneToOne) + return property.PropertyType; + else + return property.PropertyType.GenericTypeArguments[0]; + } + } + return null; + } + + public static string GetMainIdByDetail(this Type typeinfo) + { + PropertyInfo[] properties = typeinfo.GetProperties(); + foreach (PropertyInfo property in properties) + { + Navigate? navigate = property.GetCustomAttribute<Navigate>(); + if (navigate is not null) + { + return navigate.GetName(); + } + } + return null; + } + + public static void SetDetailId<T>(this Type typeinfo, T enetiy, object id, string name) + { + PropertyInfo property = typeinfo.GetProperty(name); + if (property != null) + { + property.SetValue(enetiy, id); + } + } + + public static PropertyInfo? GetNavigatePro(this Type typeinfo) + { + PropertyInfo[] properties = typeinfo.GetProperties(); + foreach (PropertyInfo property in properties) + { + Navigate? navigate = property.GetCustomAttribute<Navigate>(); + if (navigate is not null) + { + return property; + } + } + return null; + } + + public static object GetPropertyValue<T>(this Type typeinfo, T data, string propertyName) + { + if (typeinfo != typeof(T)) + return null; + + PropertyInfo? property = typeinfo.GetProperty(propertyName); + if (property != null) + { + return property.GetValue(data); + } + return null; + } + + public static void ValidatePageOptions<TEntity>(PageDataOptions options, ref ISugarQueryable<TEntity> sugarQueryable) + { + string where = string.Empty; + PropertyInfo[] entityProperties = typeof(TEntity).GetProperties(); + List<SearchParameters> searchParametersList = new List<SearchParameters>(); + if (options.Filter != null && options.Filter.Count > 0) + { + searchParametersList.AddRange(options.Filter); + } + else if (!string.IsNullOrEmpty(options.Wheres)) + { + try + { + searchParametersList = options.Wheres.DeserializeObject<List<SearchParameters>>(); + options.Filter = searchParametersList; + } + catch { } + } + for (int i = 0; i < searchParametersList.Count; i++) + { + if (string.IsNullOrEmpty(searchParametersList[i].Value)) + { + continue; + } + + PropertyInfo? property = entityProperties.Where(c => c.Name.ToUpper() == searchParametersList[i].Name.ToUpper()).FirstOrDefault(); + + if (property == null) continue; + + List<(bool, string, object)> results = property.ValidationValueForDbType(searchParametersList[i].Value.Split(',')).ToList(); + if (results == null || results.Count() == 0) + { + continue; + } + for (int j = 0; j < results.Count(); j++) + { + LinqExpressionType expressionType = searchParametersList[i].DisplayType.GetLinqCondition(); + Expression<Func<TEntity, bool>> expression = property.GetWhereExpression<TEntity>(results[j].Item3, null, expressionType); + sugarQueryable = sugarQueryable.Where(expression); + } + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/LambdaExtensions.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/LambdaExtensions.cs" new file mode 100644 index 0000000..a8e0099 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/LambdaExtensions.cs" @@ -0,0 +1,248 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Linq.Expressions; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Enums; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.Utilities +{ + public static class LambdaExtensions + { + /// <summary> + /// + /// </summary> + /// <typeparam name="T"></typeparam> + /// <param name="propertyName">瀛楁鍚�</param> + /// <param name="propertyValue">琛ㄨ揪寮忕殑鍊�</param> + /// <param name="expressionType">鍒涘缓琛ㄨ揪寮忕殑绫诲瀷,濡�:p=>p.propertyName != propertyValue + /// p=>p.propertyName.Contains(propertyValue)</param> + /// <returns></returns> + public static Expression<Func<T, bool>> CreateExpression<T>(this string propertyName, object propertyValue, LinqExpressionType expressionType) + { + return propertyName.CreateExpression<T>(propertyValue, null, expressionType); + } + + /// <summary> + /// + /// </summary> + /// <typeparam name="T"></typeparam> + /// <param name="propertyName">瀛楁鍚�</param> + /// <param name="propertyValue">琛ㄨ揪寮忕殑鍊�</param> + /// <param name="expressionType">鍒涘缓琛ㄨ揪寮忕殑绫诲瀷,濡�:p=>p.propertyName != propertyValue + /// p=>p.propertyName.Contains(propertyValue)</param> + /// <returns></returns> + private static Expression<Func<T, bool>> CreateExpression<T>( + this string propertyName, + object propertyValue, + ParameterExpression parameter, + LinqExpressionType expressionType) + { + Type proType = null; + PropertyInfo propertyInfo = typeof(T).GetProperty(propertyName); + if (propertyInfo != null) + proType = propertyInfo.PropertyType; + else + { + propertyInfo = typeof(T).GetProperty(propertyName.FirstLetterToLower()); + if (propertyInfo != null) + proType = propertyInfo.PropertyType; + else + { + propertyInfo = typeof(T).GetProperty(propertyName.FirstLetterToUpper()); + if (propertyInfo != null) + proType = propertyInfo.PropertyType; + else + { + throw new Exception($"鏈壘鍒拌灞炴��,type:{typeof(T)}"); + } + } + } + //鍒涘缓鑺傜偣鍙橀噺濡俻=>鐨勮妭鐐筽 + // parameter ??= Expression.Parameter(typeof(T), "p");//鍒涘缓鍙傛暟p + parameter = parameter ?? Expression.Parameter(typeof(T), "p"); + + //鍒涘缓鑺傜偣鐨勫睘鎬=>p.name 灞炴�ame + MemberExpression memberProperty = Expression.PropertyOrField(parameter, propertyName); + if (expressionType == LinqExpressionType.In) + { + if (!(propertyValue is System.Collections.IList list) || list.Count == 0) throw new Exception("灞炴�у�肩被鍨嬩笉姝g‘"); + + bool isStringValue = true; + List<object> objList = new List<object>(); + + if (proType.ToString() != "System.String") + { + isStringValue = false; + foreach (var value in list) + { + objList.Add(value.ToString().ChangeType(proType)); + } + list = objList; + } + + if (isStringValue) + { + //string 绫诲瀷鐨勫瓧娈碉紝濡傛灉鍊煎甫鏈�'鍗曞紩鍙�,EF浼氶粯璁ゅ彉鎴�''涓や釜鍗曞紩鍙� + MethodInfo method = typeof(System.Collections.IList).GetMethod("Contains"); + //鍒涘缓闆嗗悎甯搁噺骞惰缃负甯搁噺鐨勫�� + ConstantExpression constantCollection = Expression.Constant(list); + //鍒涘缓涓�涓〃绀鸿皟鐢ㄥ甫鍙傛暟鐨勬柟娉曠殑锛歯ew string[]{"1","a"}.Contains("a"); + MethodCallExpression methodCall = Expression.Call(constantCollection, method, memberProperty); + return Expression.Lambda<Func<T, bool>>(methodCall, parameter); + } + //闈瀞tring瀛楁锛屾寜涓婇潰鏂瑰紡澶勭悊鎶ュ紓甯窷ull TypeMapping in Sql Tree + BinaryExpression body = null; + foreach (var value in list) + { + ConstantExpression constantExpression = Expression.Constant(value); + UnaryExpression unaryExpression = Expression.Convert(memberProperty, constantExpression.Type); + + body = body == null + ? Expression.Equal(unaryExpression, constantExpression) + : Expression.OrElse(body, Expression.Equal(unaryExpression, constantExpression)); + } + return Expression.Lambda<Func<T, bool>>(body, parameter); + } + + // object value = propertyValue; + ConstantExpression constant = proType.ToString() == "System.String" + ? Expression.Constant(propertyValue) : Expression.Constant(propertyValue.ToString().ChangeType(proType)); + + // DateTime鍙�夋嫨浜嗘棩鏈熺殑鏃跺�欒嚜鍔ㄥ湪缁撴潫鏃ユ湡鍔犱竴澶╋紝淇DateTime绫诲瀷浣跨敤鏃ユ湡鍖洪棿鏌ヨ鏃犳硶鏌ヨ鍒扮粨鏉熸棩鏈熺殑闂 + if ((proType == typeof(DateTime) || proType == typeof(DateTime?)) && expressionType == LinqExpressionType.LessThanOrEqual && propertyValue.ToString().Length == 10) + { + constant = Expression.Constant(Convert.ToDateTime(propertyValue.ToString()).AddDays(1)); + } + + UnaryExpression member = Expression.Convert(memberProperty, constant.Type); + Expression<Func<T, bool>> expression; + switch (expressionType) + { + //p=>p.propertyName == propertyValue + case LinqExpressionType.Equal: + expression = Expression.Lambda<Func<T, bool>>(Expression.Equal(member, constant), parameter); + break; + //p=>p.propertyName != propertyValue + case LinqExpressionType.NotEqual: + expression = Expression.Lambda<Func<T, bool>>(Expression.NotEqual(member, constant), parameter); + break; + // p => p.propertyName > propertyValue + case LinqExpressionType.GreaterThan: + expression = Expression.Lambda<Func<T, bool>>(Expression.GreaterThan(member, constant), parameter); + break; + // p => p.propertyName < propertyValue + case LinqExpressionType.LessThan: + expression = Expression.Lambda<Func<T, bool>>(Expression.LessThan(member, constant), parameter); + break; + // p => p.propertyName >= propertyValue + case LinqExpressionType.ThanOrEqual: + expression = Expression.Lambda<Func<T, bool>>(Expression.GreaterThanOrEqual(member, constant), parameter); + break; + // p => p.propertyName <= propertyValue + case LinqExpressionType.LessThanOrEqual: + expression = Expression.Lambda<Func<T, bool>>(Expression.LessThanOrEqual(member, constant), parameter); + break; + // p => p.propertyName.Contains(propertyValue) + // p => !p.propertyName.Contains(propertyValue) + case LinqExpressionType.Contains: + case LinqExpressionType.NotContains: + MethodInfo method = typeof(string).GetMethod("Contains", new[] { typeof(string) }); + constant = Expression.Constant(propertyValue, typeof(string)); + if (expressionType == LinqExpressionType.Contains) + { + expression = Expression.Lambda<Func<T, bool>>(Expression.Call(member, method, constant), parameter); + } + else + { + expression = Expression.Lambda<Func<T, bool>>(Expression.Not(Expression.Call(member, method, constant)), parameter); + } + break; + default: + // p => p.false + expression = False<T>(); + break; + } + return expression; + } + + /// <summary> + /// 鍒涘缓lambda琛ㄨ揪寮忥細p=>false + /// </summary> + /// <typeparam name="T"></typeparam> + /// <returns></returns> + public static Expression<Func<T, bool>> False<T>() + { + + return p => false; + } + + public static Expression<Func<TEntity, bool>> GetWhereExpression<TEntity>(this PropertyInfo propertyInfo, object propertyValue, ParameterExpression parameter, LinqExpressionType expressionType) + { + Type proType = propertyInfo.PropertyType; + ConstantExpression constant = proType.ToString() == "System.String" + ? Expression.Constant(propertyValue) : Expression.Constant(propertyValue.ToString().ChangeType(proType)); + + // DateTime鍙�夋嫨浜嗘棩鏈熺殑鏃跺�欒嚜鍔ㄥ湪缁撴潫鏃ユ湡鍔犱竴澶╋紝淇DateTime绫诲瀷浣跨敤鏃ユ湡鍖洪棿鏌ヨ鏃犳硶鏌ヨ鍒扮粨鏉熸棩鏈熺殑闂 + if ((proType == typeof(DateTime) || proType == typeof(DateTime?)) && expressionType == LinqExpressionType.LessThanOrEqual && propertyValue.ToString().Length == 10) + { + constant = Expression.Constant(Convert.ToDateTime(propertyValue.ToString()).AddDays(1)); + } + parameter = parameter ?? Expression.Parameter(typeof(TEntity), "b"); + //鍒涘缓鑺傜偣鐨勫睘鎬=>p.name 灞炴�ame + MemberExpression memberProperty = Expression.PropertyOrField(parameter, propertyInfo.Name); + UnaryExpression member = Expression.Convert(memberProperty, constant.Type); + Expression<Func<TEntity, bool>> expression = p => false; + switch (expressionType) + { + //p=>p.propertyName == propertyValue + case LinqExpressionType.Equal: + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.Equal(member, constant), parameter); + break; + //p=>p.propertyName != propertyValue + case LinqExpressionType.NotEqual: + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.NotEqual(member, constant), parameter); + break; + // p => p.propertyName > propertyValue + case LinqExpressionType.GreaterThan: + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.GreaterThan(member, constant), parameter); + break; + // p => p.propertyName < propertyValue + case LinqExpressionType.LessThan: + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.LessThan(member, constant), parameter); + break; + // p => p.propertyName >= propertyValue + case LinqExpressionType.ThanOrEqual: + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.GreaterThanOrEqual(member, constant), parameter); + break; + // p => p.propertyName <= propertyValue + case LinqExpressionType.LessThanOrEqual: + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.LessThanOrEqual(member, constant), parameter); + break; + // p => p.propertyName.Contains(propertyValue) + // p => !p.propertyName.Contains(propertyValue) + case LinqExpressionType.Contains: + case LinqExpressionType.NotContains: + MethodInfo method = typeof(string).GetMethod("Contains", new[] { typeof(string) }); + constant = Expression.Constant(propertyValue, typeof(string)); + if (expressionType == LinqExpressionType.Contains) + { + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.Call(member, method, constant), parameter); + } + else + { + expression = Expression.Lambda<Func<TEntity, bool>>(Expression.Not(Expression.Call(member, method, constant)), parameter); + } + break; + default: + // + expression = p => false; + break; + } + return expression; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/ModelValidate.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/ModelValidate.cs" new file mode 100644 index 0000000..b8bb9a9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/ModelValidate.cs" @@ -0,0 +1,239 @@ +锘縰sing Microsoft.AspNetCore.Mvc.ModelBinding; +using Microsoft.Extensions.DependencyModel; +using Microsoft.IdentityModel.Tokens; +using OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime; +using OfficeOpenXml.FormulaParsing.Excel.Functions.Text; +using SqlSugar; +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.Helper; + +namespace WIDESEA_Core.Utilities +{ + public class ModelValidate + { + /// <summary> + /// 楠岃瘉瀹炰綋鍙傛暟 + /// </summary> + /// <typeparam name="T"></typeparam> + /// <param name="data"></param> + /// <returns></returns> + public static (bool, string, object?) ValidateModelData<T>(T data) where T : class, new() + { + Type modelType = typeof(T); + if (data == null) return (false, "浼犲叆鍙傛暟涓嶅彲涓簄ull", data); + ModelValidateAttribute? modelAttribute = modelType.GetCustomAttribute<ModelValidateAttribute>(); + if (modelAttribute == null) return (false, $"{modelType.Name}鏈畾涔夈�怣odelValidateAttribute銆戠壒鎬�", data); + PropertyInfo[] propertyInfos = modelType.GetProperties(); + return SimpleValidate(propertyInfos, data); + } + + public static (bool, string, object?) ValidateModelData(object data, Type type) + { + if (data == null) return (false, "浼犲叆鍙傛暟涓嶅彲涓簄ull", data); + ModelValidateAttribute? modelAttribute = type.GetCustomAttribute<ModelValidateAttribute>(); + if (modelAttribute == null) return (false, $"{type.Name}鏈畾涔夈�怣odelValidateAttribute銆戠壒鎬�", data); + PropertyInfo[] propertyInfos = type.GetProperties(); + return SimpleValidate(propertyInfos, data); + } + + /// <summary> + /// 楠岃瘉瀹炰綋鍙傛暟 + /// </summary> + /// <typeparam name="T"></typeparam> + /// <param name="data"></param> + /// <returns></returns> + public static (bool, string, object?) ValidateModelData<T>(List<T> datas) where T : class, new() + { + Type modelType = typeof(T); + if (datas == null) return (false, "浼犲叆鍙傛暟涓嶅彲涓簄ull", datas); + if (datas.Count == 0) return (false, "闆嗗悎涓暟涓嶅彲绛変簬0", datas); + foreach (T data in datas) + { + if (data == null) return (false, "浼犲叆鍙傛暟涓嶅彲涓簄ull", data); + ModelValidateAttribute? modelAttribute = modelType.GetCustomAttribute<ModelValidateAttribute>(); + if (modelAttribute == null) return (false, $"{modelType.Name}鏈畾涔夈�怣odelValidateAttribute銆戠壒鎬�", data); + PropertyInfo[] propertyInfos = modelType.GetProperties(); + (bool, string, object?) result = SimpleValidate(propertyInfos, data); + if (!result.Item1) return result; + } + + return (true, $"鎴愬姛", datas); + } + + private static (bool, string, object?) SimpleValidate<T>(PropertyInfo[] propertyInfos, T data) where T : class, new() + { + try + { + foreach (PropertyInfo propertyInfo in propertyInfos) + { + PropertyValidateAttribute? propertyAttribute = propertyInfo.GetCustomAttribute<PropertyValidateAttribute>(); + if (propertyAttribute == null) continue; + + object? value = propertyInfo.GetValue(data, null); + if (value is IList) + { + IList list = (IList)value; + Type? t = list.GetType().GetGenericArguments().FirstOrDefault(); + if (t != null && t.IsClass) + { + foreach (var item in list) + { + (bool, string, object?) result = ValidateModelData(item, t); + if (!result.Item1) return result; + } + } + } + + if (propertyAttribute.NotNullAndEmpty) + { + if (value == null) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})涓嶅彲涓簄ull", data); + if (string.IsNullOrEmpty(value.ToString())) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})涓嶅彲涓虹┖瀛楃涓�", data); + } + + if (propertyAttribute.MinValue > int.MinValue) + { + if (value == null) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})涓嶅彲涓簄ull", data); + if (propertyAttribute.IsContainMinValue) + { + if (Convert.ToInt32(value.ToString()) < propertyAttribute.MinValue) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})鐨勫�笺�恵value}銆戜笉鍙皬浜庛�恵propertyAttribute.MinValue}銆�", data); + } + else + { + if (Convert.ToInt32(value.ToString()) <= propertyAttribute.MinValue) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})鐨勫�笺�恵value}銆戣澶т簬銆恵propertyAttribute.MinValue}銆�", data); + } + } + + if (propertyAttribute.MaxValue < int.MaxValue) + { + if (value == null) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})涓嶅彲涓簄ull", data); + if (propertyAttribute.IsContainMaxValue) + { + if (Convert.ToInt32(value.ToString()) >= propertyAttribute.MaxValue) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})鐨勫�笺�恵value}銆戜笉鍙ぇ浜庛�恵propertyAttribute.MaxValue}銆�", data); + } + else + { + if (Convert.ToInt32(value.ToString()) > propertyAttribute.MaxValue) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})鐨勫�笺�恵value}銆戣灏忎簬銆恵propertyAttribute.MaxValue}銆�", data); + } + } + + if (!string.IsNullOrEmpty(propertyAttribute.NotNullAndEmptyWithProperty)) + { + PropertyInfo? property = propertyInfos.FirstOrDefault(x => x.Name == propertyAttribute.NotNullAndEmptyWithProperty); + if (property != null) + { + object? tempValue = property.GetValue(data); + if (tempValue != null && !string.IsNullOrEmpty(tempValue.ToString())) + { + Type[] types = propertyInfo.PropertyType.GenericTypeArguments; + if (types.Length == 1) + { + string str = value.Serialize(); + if (str == "[]") + { + return (false, $"銆恵property.Name}銆戝睘鎬х殑鍊奸潪绌烘椂銆恵propertyInfo.Name}銆戝睘鎬х殑鍊间篃涓嶅彲涓虹┖", data); + } + } + else if (types.Length == 0) + { + if (value == null) + { + return (false, $"銆恵property.Name}銆戝睘鎬х殑鍊奸潪绌烘椂銆恵propertyInfo.Name}銆戝睘鎬х殑鍊间篃涓嶅彲涓虹┖", data); + } + } + + } + } + else + { + return (false, $"鏈壘鍒般�恵propertyInfo.Name}銆戠壒鎬у睘鎬с�恵propertyAttribute.NotNullAndEmptyWithProperty}銆�", data); + } + } + + if (propertyAttribute.NotNullAndEmptyWithPropertyAndValue != null && propertyAttribute.NotNullAndEmptyWithPropertyAndValue.Length == 2) + { + PropertyInfo? property = propertyInfos.FirstOrDefault(x => x.Name == propertyAttribute.NotNullAndEmptyWithPropertyAndValue[0]); + if (property != null) + { + object? tempValue = property.GetValue(data); + if (tempValue != null && !string.IsNullOrEmpty(tempValue.ToString())) + { + Type[] types = propertyInfo.PropertyType.GenericTypeArguments; + if (types.Length == 1) + { + if (tempValue.ChangeType(property.PropertyType).ToString() == propertyAttribute.NotNullAndEmptyWithPropertyAndValue[1].ChangeType(property.PropertyType).ToString()) + { + string str = value.Serialize(); + + if (typeof(IList).IsAssignableFrom(property.PropertyType) && str == "[]") + { + return (false, $"銆恵property.Name}銆戝睘鎬х殑鍊间负銆恵propertyAttribute.NotNullAndEmptyWithPropertyAndValue[1]}銆戞椂銆恵propertyInfo.Name}銆戝睘鎬х殑鍊间笉鍙负绌�", data); + } + else if (property.PropertyType.IsArray && str == "[]") + { + return (false, $"銆恵property.Name}銆戝睘鎬х殑鍊间负銆恵propertyAttribute.NotNullAndEmptyWithPropertyAndValue[1]}銆戞椂銆恵propertyInfo.Name}銆戝睘鎬х殑鍊间笉鍙负绌�", data); + } + } + } + else if (types.Length == 0) + { + if (tempValue.ChangeType(property.PropertyType).ToString() == propertyAttribute.NotNullAndEmptyWithPropertyAndValue[1].ChangeType(property.PropertyType).ToString() && value == null && string.IsNullOrEmpty(value.ToString())) + { + return (false, $"銆恵property.Name}銆戝睘鎬х殑鍊间负銆恵propertyAttribute.NotNullAndEmptyWithPropertyAndValue[1]}銆戞椂銆恵propertyInfo.Name}銆戝睘鎬х殑鍊间笉鍙负绌�", data); + } + } + } + } + else + { + return (false, $"鏈壘鍒板睘鎬с�恵propertyAttribute.NotNullAndEmptyWithProperty}銆�", data); + } + } + + if (propertyAttribute.Check != null && propertyAttribute.Check.Length > 0) + { + if (value == null) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})涓嶅彲涓簄ull", data); + if (propertyAttribute.Check.FirstOrDefault(x => x.ToString() == value.ToString()) == null) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})浣跨敤浜咰heck绾︽潫锛屼紶鍏ョ殑鍊间笉鍦▄propertyAttribute.Check.Serialize()}涓�", data); + } + + if (!string.IsNullOrEmpty(propertyAttribute.StartWith) && !string.IsNullOrWhiteSpace(propertyAttribute.EndWith)) + { + if (value == null) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})涓嶅彲涓簄ull", data); + else + { + if (value.ToString().StartsWith(propertyAttribute.StartWith.Trim())) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})蹇呴』浠propertyAttribute.StartWith}寮�澶�", data); + } + } + + if (!string.IsNullOrEmpty(propertyAttribute.EndWith) && !string.IsNullOrWhiteSpace(propertyAttribute.EndWith)) + { + if (value == null) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})涓嶅彲涓簄ull", data); + else + { + if (value.ToString().EndsWith(propertyAttribute.EndWith.Trim())) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}({propertyInfo.Name})蹇呴』浠propertyAttribute.EndWith}缁撳熬", data); + } + } + + if (propertyAttribute.MaxLength > propertyAttribute.MinLength && propertyAttribute.MinLength > 0) + { + if (value == null) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}涓嶅彲涓簄ull", data); + if (value.ToString().Length > propertyAttribute.MaxLength) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}鐨勫�艰秴鍑烘渶澶ч暱搴︺�恵propertyAttribute.MaxLength}銆戯紝鏁版嵁:{value}", data); + + if (value.ToString().Length < propertyAttribute.MinLength) return (false, $"{(string.IsNullOrEmpty(propertyAttribute.Description) ? propertyInfo.Name : propertyAttribute.Description)}鐨勫�煎皬浜庢渶灏忛暱搴︺�恵propertyAttribute.MinLength}銆戯紝鏁版嵁:{value}", data); + } + } + } + catch (Exception ex) + { + return (false, $"鏁版嵁楠岃瘉寮傚父,寮傚父淇℃伅:{ex.Message}", data); + } + return (true, "楠岃瘉鎴愬姛", data); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/ParamsValidator.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/ParamsValidator.cs" new file mode 100644 index 0000000..1be56f5 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/ParamsValidator.cs" @@ -0,0 +1,48 @@ +锘縰sing Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; + +namespace WIDESEA_Core.Utilities +{ + public static class ParamsValidator + { + public static void ActionParamsValidator(this ActionExecutingContext context) + { + List<object> obj = context.ActionDescriptor.EndpointMetadata.ToList(); + + if (obj.Any(x => x is MethodParamsValidateAttribute)) + { + foreach (var param in context.ActionDescriptor.Parameters) + { + ModelValidateAttribute? modelValidate = param.ParameterType.GetCustomAttribute<ModelValidateAttribute>(); + if (modelValidate != null && context.ActionArguments.TryGetValue(param.Name, out object? value) && value != null) + { + (bool, string, object?) result = ModelValidate.ValidateModelData(value, param.ParameterType); + if (!result.Item1) + { + context.Result = new JsonResult(new WebResponseContent() + { + Status = false, + Data = result.Item3, + Message = result.Item2 + }); + } + } + //else + //{ + // if (param.ParameterType == typeof(SaveModel) && context.ActionArguments.TryGetValue(param.Name, out value) && value != null) + // { + + // } + //} + } + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/VierificationCode.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/VierificationCode.cs" new file mode 100644 index 0000000..b0cdec4 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/Utilities/VierificationCode.cs" @@ -0,0 +1,122 @@ +锘縰sing SkiaSharp; +using System; +using System.Collections.Generic; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Core.Utilities +{ + public static class VierificationCode + { + private static readonly string[] _chars = new string[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "P", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" }; + + private static readonly SKColor[] colors = { SKColors.Black, SKColors.Green, SKColors.Brown }; + + private static readonly string[] fonts = { "Verdana", "Microsoft Sans Serif", "Comic Sans MS", "Arial", "瀹嬩綋" }; + public static string RandomText() + { + string code = "";//浜х敓鐨勯殢鏈烘暟 + int temp = -1; + Random rand = new Random(); + for (int i = 1; i < 5; i++) + { + if (temp != -1) + { + rand = new Random(i * temp * unchecked((int)DateTime.Now.Ticks)); + } + int t = rand.Next(61); + if (temp != -1 && temp == t) + { + return RandomText(); + } + temp = t; + code += _chars[t]; + } + return code; + } + public static string CreateBase64Imgage(string code) + { + var random = new Random(); + var info = new SKImageInfo((int)code.Length * 18, 32); + using var bitmap = new SKBitmap(info); + using var canvas = new SKCanvas(bitmap); + + canvas.Clear(SKColors.White); + + using var pen = new SKPaint(); + pen.FakeBoldText = true; + pen.Style = SKPaintStyle.Fill; + pen.TextSize = 20;// 0.6f * info.Width * pen.TextSize / pen.MeasureText(code); + + //缁樺埗闅忔満瀛楃 + for (int i = 0; i < code.Length; i++) + { + pen.Color = random.GetRandom(colors);//闅忔満棰滆壊绱㈠紩鍊� + + pen.Typeface = SKTypeface.FromFamilyName(random.GetRandom(fonts), 700, 20, SKFontStyleSlant.Italic);//閰嶇疆瀛椾綋 + var point = new SKPoint() + { + X = i * 16, + Y = 22// info.Height - ((i + 1) % 2 == 0 ? 2 : 4), + + }; + canvas.DrawText(code.Substring(i, 1), point, pen);//缁樺埗涓�涓獙璇佸瓧绗� + + } + + // 缁樺埗鍣偣 + var points = Enumerable.Range(0, 100).Select( + _ => new SKPoint(random.Next(bitmap.Width), random.Next(bitmap.Height)) + ).ToArray(); + canvas.DrawPoints( + SKPointMode.Points, + points, + pen); + + //缁樺埗璐濆灏旂嚎鏉� + for (int i = 0; i < 2; i++) + { + var p1 = new SKPoint(0, 0); + var p2 = new SKPoint(0, 0); + var p3 = new SKPoint(0, 0); + var p4 = new SKPoint(0, 0); + + var touchPoints = new SKPoint[] { p1, p2, p3, p4 }; + + using var bPen = new SKPaint(); + bPen.Color = random.GetRandom(colors); + bPen.Style = SKPaintStyle.Stroke; + + using var path = new SKPath(); + path.MoveTo(touchPoints[0]); + path.CubicTo(touchPoints[1], touchPoints[2], touchPoints[3]); + canvas.DrawPath(path, bPen); + } + return bitmap.ToBase64String(SKEncodedImageFormat.Png); + } + + public static T GetRandom<T>(this Random random, T[] tArray) + { + if (random == null) random = new Random(); + return tArray[random.Next(tArray.Length)]; + } + + /// <summary> + /// SKBitmap杞珺ase64String + /// </summary> + /// <param name="bitmap"></param> + /// <param name="format"></param> + /// <returns></returns> + public static string ToBase64String(this SKBitmap bitmap, SKEncodedImageFormat format) + { + using var memStream = new MemoryStream(); + using var wstream = new SKManagedWStream(memStream); + bitmap.Encode(wstream, format, 32); + memStream.TryGetBuffer(out ArraySegment<byte> buffer); + return $"{Convert.ToBase64String(buffer.Array, 0, (int)memStream.Length)}"; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/WIDESEA_Core.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/WIDESEA_Core.csproj" new file mode 100644 index 0000000..be85784 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Core/WIDESEA_Core.csproj" @@ -0,0 +1,41 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + <Version>1.0.0</Version> + <Authors></Authors> + <Description></Description> + </PropertyGroup> + + <ItemGroup> + <PackageReference Include="Autofac" Version="8.0.0" /> + <PackageReference Include="Autofac.Extensions.DependencyInjection" Version="9.0.0" /> + <PackageReference Include="Autofac.Extras.DynamicProxy" Version="7.1.0" /> + <PackageReference Include="AutoMapper" Version="13.0.1" /> + <PackageReference Include="HslCommunication" Version="12.1.3" /> + <PackageReference Include="Magicodes.IE.EPPlus" Version="2.7.5.1" /> + <PackageReference Include="Magicodes.IE.Excel" Version="2.7.5.1" /> + <PackageReference Include="MailKit" Version="4.7.1.1" /> + <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.29" /> + <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" /> + <PackageReference Include="MiniProfiler.AspNetCore.Mvc" Version="4.3.8" /> + <PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> + <PackageReference Include="OfficeOpenXml.Core.ExcelPackage" Version="1.0.0" /> + <PackageReference Include="Quartz" Version="3.13.1" /> + <PackageReference Include="SkiaSharp" Version="2.88.8" /> + <PackageReference Include="SqlSugarCore" Version="5.1.4.167" /> + <PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" /> + <PackageReference Include="Swashbuckle.AspNetCore.Filters" Version="7.0.5" /> + <PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="6.5.0" /> + <PackageReference Include="System.Linq.Dynamic.Core" Version="1.4.5" /> + <PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" /> + </ItemGroup> + + <ItemGroup> + <Folder Include="ServiceExtensions\" /> + <Folder Include="SystemConfig\" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/CachePointGroupDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/CachePointGroupDTO.cs" new file mode 100644 index 0000000..edd66c5 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/CachePointGroupDTO.cs" @@ -0,0 +1,35 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_DTO.Basic +{ + public class CachePointGroupDTO + { + public int IdA { get; set; } + + public int IdB { get; set; } + + public string PointCodeA { get; set; } + + public string PointCodeB { get; set; } + + public int PointTypeA { get; set; } + + public int PointTypeB { get; set; } + + public int PointStatusA { get; set; } + + public int PointStatusB { get; set; } + + public int DepthA { get; set; } + + public int DepthB { get; set; } + + public int EnableStatusA { get; set; } + + public int EnableStatusB { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/InitializationLocationDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/InitializationLocationDTO.cs" new file mode 100644 index 0000000..cd6e309 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/InitializationLocationDTO.cs" @@ -0,0 +1,43 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; + +namespace WIDESEA_DTO.Basic +{ + [ModelValidate] + public class InitializationLocationDTO + { + /// <summary> + /// 宸烽亾鍙� + /// </summary> + [PropertyValidate("宸烽亾鍙�", NotNullAndEmpty = true)] + public string Roadway { get; set; } + + /// <summary> + /// 琛� + /// </summary> + [PropertyValidate("琛�", MinValue = 1, IsContainMinValue = false)] + public int MaxRow { get; set; } + + /// <summary> + /// 鍒� + /// </summary> + [PropertyValidate("鍒�", MinValue = 1, IsContainMinValue = false)] + public int MaxColumn { get; set; } + + /// <summary> + /// 灞� + /// </summary> + [PropertyValidate("灞�", MinValue = 1, IsContainMinValue = false)] + public int MaxLayer { get; set; } + + /// <summary> + /// 鏄惁鍗曟繁璐т綅 + /// </summary> + [PropertyValidate("娣卞害", MinValue = 1, NotNullAndEmpty = true, IsContainMinValue = true)] + public int Depth { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/InnerCodeDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/InnerCodeDTO.cs" new file mode 100644 index 0000000..3d2e1a6 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/InnerCodeDTO.cs" @@ -0,0 +1,16 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_DTO.Basic +{ + public class InnerCodeDTO + { + public string matCode { get; set; } + public string batchNo { get; set; } + public string purchaseOrderNo { get; set; } + public int qty { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/LocationGroupDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/LocationGroupDTO.cs" new file mode 100644 index 0000000..a3df6d3 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/LocationGroupDTO.cs" @@ -0,0 +1,35 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_DTO.Basic +{ + public class LocationGroupDTO + { + public int IdA { get; set; } + + public int IdB { get; set; } + + public string LocationCodeA { get; set; } + + public string LocationCodeB { get; set; } + + public int LocationTypeA { get; set; } + + public int LocationTypeB { get; set; } + + public int LocationStatusA { get; set; } + + public int LocationStatusB { get; set; } + + public int DepthA { get; set; } + + public int DepthB { get; set; } + + public int EnableStatusA { get; set; } + + public int EnableStatusB { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/MatSerNumAnalysisModel.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/MatSerNumAnalysisModel.cs" new file mode 100644 index 0000000..d8c83e1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/MatSerNumAnalysisModel.cs" @@ -0,0 +1,59 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.CodeConfigEnum; + +namespace WIDESEA_DTO.Basic +{ + /// <summary> + /// + /// </summary> + [AnalysisRule, ModelValidate] + public class MatSerNumAnalysisModel + { + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [AnalysisItemRule(AnalysisFormatTypeEnum.MTC), PropertyValidate("鐗╂枡缂栧彿", NotNullAndEmpty = true)] + public string MaterielCode { get; set; } + + /// <summary> + /// 鎵规鍙� + /// </summary> + [AnalysisItemRule(AnalysisFormatTypeEnum.BHN), PropertyValidate("鎵规鍙�", NotNullAndEmpty = true)] + public string LotNo { get; set; } + + /// <summary> + /// 鐢熶骇鏃ユ湡 + /// </summary> + [AnalysisItemRule(AnalysisFormatTypeEnum.MTPD), PropertyValidate("鐢熶骇鏃ユ湡", NotNullAndEmpty = true)] + public string ProductionDate { get; set; } + + /// <summary> + /// 鏈夋晥鏈� + /// </summary> + [AnalysisItemRule(AnalysisFormatTypeEnum.ED), PropertyValidate("鏈夋晥鏈�", NotNullAndEmpty = true)] + public string EffectiveDate { get; set; } + + /// <summary> + /// 閲囪喘鍗曞彿 + /// </summary> + [AnalysisItemRule(AnalysisFormatTypeEnum.ODN), PropertyValidate("閲囪喘鍗曞彿", NotNullAndEmpty = true)] + public string PurchaseOrderNo { get; set; } + + /// <summary> + /// 鏁伴噺 + /// </summary> + [AnalysisItemRule(AnalysisFormatTypeEnum.MTQ), PropertyValidate("鏁伴噺", NotNullAndEmpty = true)] + public float Quantity { get; set; } + + /// <summary> + /// 鍘熷鏁版嵁 + /// </summary> + [AnalysisItemRule(AnalysisFormatTypeEnum.BD), PropertyValidate("鍘熷鏁版嵁", NotNullAndEmpty = true)] + public string SerialNumber { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/SupplierDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/SupplierDTO.cs" new file mode 100644 index 0000000..f5d96aa --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Basic/SupplierDTO.cs" @@ -0,0 +1,79 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; + +namespace WIDESEA_DTO.Basic +{ + [ModelValidate] + public class SupplierDTO + { + /// <summary> + /// 渚涘簲鍟嗙紪鐮� + /// </summary> + [PropertyValidate("渚涘簲鍟嗙紪鐮�", NotNullAndEmpty = true)] + public string Code { get; set; } + + /// <summary> + /// 渚涘簲鍟嗗叏绉� + /// </summary> + [PropertyValidate("渚涘簲鍟嗗叏绉�", NotNullAndEmpty = true)] + public string Name { get; set; } + + /// <summary> + /// 渚涘簲鍟嗙畝绉� + /// </summary> + [PropertyValidate("渚涘簲鍟嗙畝绉�", NotNullAndEmpty = true)] + public string ShortName { get; set; } + + /// <summary> + /// 鑱旂郴浜� + /// </summary> + [PropertyValidate("鑱旂郴浜�", NotNullAndEmpty = true)] + public string Contacts { get; set; } + + /// <summary> + /// 鑱旂郴鐢佃瘽 + /// </summary> + [PropertyValidate("鑱旂郴鐢佃瘽", NotNullAndEmpty = true)] + public string ContactNumber { get; set; } + + /// <summary> + /// 鑱旂郴鍦板潃 + /// </summary> + [PropertyValidate("鑱旂郴鍦板潃", NotNullAndEmpty = true)] + public string ContactAddress { get; set; } + + /// <summary> + /// 鐢靛瓙閭 + /// </summary> + [PropertyValidate("鐢靛瓙閭", NotNullAndEmpty = true)] + public string Email { get; set; } + + /// <summary> + /// 鎻忚堪 + /// </summary> + [PropertyValidate("鎻忚堪", NotNullAndEmpty = true)] + public string Description { get; set; } + + /// <summary> + /// 鐘舵�� + /// </summary> + [PropertyValidate("鐘舵��", NotNullAndEmpty = true)] + public int State { get; set; } + + /// <summary> + /// 搴撳瓨缁勭粐 + /// </summary> + [PropertyValidate("搴撳瓨缁勭粐", NotNullAndEmpty = true)] + public string InvOrgId { get; set; } = "娣畨鐗瑰垱浜屽巶"; + + /// <summary> + /// 鎿嶄綔绫诲瀷 + /// </summary> + [PropertyValidate("鎿嶄綔绫诲瀷", NotNullAndEmpty = true,Check = new object[] { 0, 1, 2 })] + public string OperateType { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/InboundOrderAddDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/InboundOrderAddDTO.cs" new file mode 100644 index 0000000..8665342 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/InboundOrderAddDTO.cs" @@ -0,0 +1,79 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; + +namespace WIDESEA_DTO.Inbound +{ + [ModelValidate] + public class InboundOrderAddDTO + { + /// <summary> + /// 涓婃父鍗曟嵁缂栧彿 + /// </summary> + [PropertyValidate("涓婃父鍗曟嵁缂栧彿", NotNullAndEmpty = true)] + public string OrderNo { get; set; } + + /// <summary> + /// 鍗曟嵁绫诲瀷 + /// </summary> + [PropertyValidate("鍗曟嵁绫诲瀷", NotNullAndEmpty = true)] + public int Type { get; set; } + + /// <summary> + /// 鎿嶄綔绫诲瀷 + /// </summary> + [PropertyValidate("鎿嶄綔绫诲瀷", Check = new object[] { 1, 2, 3, 4 })] + public int OperateType { get; set; } + + /// <summary> + /// 閲囪喘鏁伴噺 + /// </summary> + [PropertyValidate("閲囪喘鏁伴噺", MinValue = 0, IsContainMinValue = false)] + public float Amount { get; set; } + + /// <summary> + /// 涓嬪崟鏃ユ湡 + /// </summary> + [PropertyValidate("涓嬪崟鏃ユ湡", NotNullAndEmpty = true)] + public string OrderDate { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + public string Note { get; set; } + + [PropertyValidate("鍗曟嵁鏄庣粏淇℃伅", NotNullAndEmpty = true)] + public List<InboundOrderDetailAddDTO> MList { get; set; } + } + + [ModelValidate] + public class InboundOrderDetailAddDTO + { + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [PropertyValidate("鐗╂枡缂栧彿", NotNullAndEmpty = true)] + public string MaterielCode { get; set; } + + /// <summary> + /// 鏁伴噺 + /// </summary> + [PropertyValidate("鏁伴噺", NotNullAndEmpty = true, MinValue = 0, IsContainMinValue = false)] + public float Qty { get; set; } + + /// <summary> + /// 浠撳簱缂栧彿 + /// </summary> + [PropertyValidate("浠撳簱缂栧彿", NotNullAndEmpty = true)] + public int WaId { get; set; } + + /// <summary> + /// 鍗曚綅 + /// </summary> + [PropertyValidate("鍗曚綅", NotNullAndEmpty = true)] + public string Unit { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/InboundOrderDetailAddDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/InboundOrderDetailAddDTO.cs" new file mode 100644 index 0000000..37aca4d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/InboundOrderDetailAddDTO.cs" @@ -0,0 +1,11 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; + +namespace WIDESEA_DTO.Inbound +{ + +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/InboundOrderGetDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/InboundOrderGetDTO.cs" new file mode 100644 index 0000000..f9defcf --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/InboundOrderGetDTO.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_DTO.Inbound +{ + public class InboundOrderGetDTO + { + public string OrderNo { get; set; } + public int pageNo { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/MaterielGroupDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/MaterielGroupDTO.cs" new file mode 100644 index 0000000..f29b9b9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/MaterielGroupDTO.cs" @@ -0,0 +1,22 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; + +namespace WIDESEA_DTO.Inbound +{ + [ModelValidate] + public class MaterielGroupDTO + { + [PropertyValidate("鎵樼洏缂栧彿", NotNullAndEmpty = true)] + public string PalletCode { get; set; } + + [PropertyValidate("鍗曟嵁缂栧彿", NotNullAndEmpty = true)] + public string OrderNo { get; set; } + + [PropertyValidate("搴忓垪鍙锋潯鐮�", NotNullAndEmpty = true)] + public List<string> SerialNumbers { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderAddDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderAddDTO.cs" new file mode 100644 index 0000000..7d949ad --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderAddDTO.cs" @@ -0,0 +1,37 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; + +namespace WIDESEA_DTO.Outbound +{ + [ModelValidate] + public class OutboundOrderAddDTO + { + /// <summary> + /// 涓婃父鍗曟嵁缂栧彿 + /// </summary> + public string UpperOrderNo { get; set; } + + /// <summary> + /// 鍗曟嵁缂栧彿 + /// </summary> + public string OrderNo { get; set; } + + /// <summary> + /// 鍗曟嵁绫诲瀷 + /// </summary> + [PropertyValidate("鍗曟嵁绫诲瀷", NotNullAndEmpty = true)] + public int OrderType { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + public string Remark { get; set; } + + [PropertyValidate("鍗曟嵁鏄庣粏淇℃伅", NotNullAndEmpty = true)] + public List<OutboundOrderDetailAddDTO> Details { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderDetailAddDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderDetailAddDTO.cs" new file mode 100644 index 0000000..e5bbbf8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderDetailAddDTO.cs" @@ -0,0 +1,39 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; + +namespace WIDESEA_DTO.Outbound +{ + [ModelValidate] + public class OutboundOrderDetailAddDTO + { + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [PropertyValidate("鐗╂枡缂栧彿", NotNullAndEmpty = true)] + public string MaterielCode { get; set; } + + /// <summary> + /// 鐗╂枡鍚嶇О + /// </summary> + public string MaterielName { get; set; } + /// <summary> + /// 鎵规鍙� + /// </summary> + public string BatchNo { get; set; } + + /// <summary> + /// 鍗曟嵁鏁伴噺 + /// </summary> + [PropertyValidate("鍗曟嵁鏁伴噺", NotNullAndEmpty = true, MinValue = 0, IsContainMinValue = false)] + public decimal OrderQuantity { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderGetDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderGetDTO.cs" new file mode 100644 index 0000000..e029706 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Outbound/OutboundOrderGetDTO.cs" @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_DTO.Outbound +{ + public class OutboundOrderGetDTO + { + public string OrderNo { get; set; } + public int pageNo { get; set; } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Stock/StockSelectViewDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Stock/StockSelectViewDTO.cs" new file mode 100644 index 0000000..d90115b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Stock/StockSelectViewDTO.cs" @@ -0,0 +1,22 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_DTO.Stock +{ + public class StockSelectViewDTO + { + + public string MaterielCode { get; set; } + + public string MaterielName { get; set; } + + public float UseableQuantity { get; set; } + + public string PalletCode { get; set; } + + public string LocationCode { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Stock/StockViewDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Stock/StockViewDTO.cs" new file mode 100644 index 0000000..39e46e9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Stock/StockViewDTO.cs" @@ -0,0 +1,133 @@ +锘� +using Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Model.Models; + +namespace WIDESEA_DTO.Stock +{ + /// <summary> + /// + /// </summary> + public class StockViewDTO + { + /// <summary> + /// 浠撳簱ID + /// </summary> + public int WarehouseId { get; set; } + /// <summary> + /// 璐т綅缂栧彿 + /// </summary> + public string LocationCode { get; set; } + + /// <summary> + /// 璐т綅鍚嶇О + /// </summary> + public string LocationName { get; set; } + + /// <summary> + /// 璐т綅鍒� + /// </summary> + public int Column { get; set; } + + /// <summary> + /// 璐т綅琛� + /// </summary> + public int Row { get; set; } + + /// <summary> + /// 璐т綅灞� + /// </summary> + public int Layer { get; set; } + + /// <summary> + /// 璐т綅娣卞害 + /// </summary> + public int Depth { get; set; } + + /// <summary> + /// 璐т綅鐘舵�� + /// </summary> + public int LocationStatus { get; set; } + + /// <summary> + /// 璐т綅绫诲瀷 + /// </summary> + public int LocationType { get; set; } + + /// <summary> + /// 宸烽亾缂栧彿 + /// </summary> + public string RoadwayNo { get; set; } + + /// <summary> + /// 绂佺敤鐘舵�� + /// </summary> + public int EnalbeStatus { get; set; } + + /// <summary> + /// 搴撳瓨涓婚敭 + /// </summary> + public int StockId { get; set; } + + /// <summary> + /// 鎵樼洏鍙� + /// </summary> + public string PalletCode { get; set; } + + /// <summary> + /// + /// </summary> + public bool IsFull { get; set; } + + /// <summary> + /// 鐗╂枡缂栫爜 + /// </summary> + public string MaterielCode { get; set; } + + /// <summary> + /// 鐗╂枡鎵瑰彿 + /// </summary> + public string BatchNo { get; set; } + + /// <summary> + /// 搴撳瓨鐘舵�� + /// </summary> + public int StockStatus { get; set; } + + /// <summary> + /// 搴撳瓨澶囨敞 + /// </summary> + public string StockRemark { get; set; } + + /// <summary> + /// 鍒涘缓浜� + /// </summary> + public string Creater { get; set; } + + /// <summary> + /// 鍒涘缓鏃堕棿 + /// </summary> + public DateTime CreateDate { get; set; } + + /// <summary> + /// 淇敼浜� + /// </summary> + public string Modifier { get; set; } + + /// <summary> + /// 淇敼鏃堕棿 + /// </summary> + public DateTime? ModifyDate { get; set; } + + /// <summary> + /// 搴撳瓨璇︽儏 + /// </summary> + [Navigate(NavigateType.OneToMany, nameof(Dt_StockInfoDetail.StockId), nameof(StockId))] + public List<Dt_StockInfoDetail> Details { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/ActionDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/ActionDTO.cs" new file mode 100644 index 0000000..57ed299 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/ActionDTO.cs" @@ -0,0 +1,16 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_DTO.System +{ + public class ActionDTO + { + public int ActionId { get; set; } + public int MenuId { get; set; } + public string Text { get; set; } + public string Value { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/DictionaryDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/DictionaryDTO.cs" new file mode 100644 index 0000000..c914b41 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/DictionaryDTO.cs" @@ -0,0 +1,29 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_DTO.System +{ + /// <summary> + /// + /// </summary> + public class DictionaryDTO + { + /// <summary> + /// + /// </summary> + public object Key { get; set; } + + /// <summary> + /// + /// </summary> + public object Value { get; set; } + + /// <summary> + /// + /// </summary> + public object Extra { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/MenuDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/MenuDTO.cs" new file mode 100644 index 0000000..44d8bde --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/MenuDTO.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Model.Models; + +namespace WIDESEA_DTO.System +{ + public class MenuDTO : Sys_Menu + { + public List<ActionDTO> Actions { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/UserPermissions.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/UserPermissions.cs" new file mode 100644 index 0000000..9c892bb --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/UserPermissions.cs" @@ -0,0 +1,17 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_DTO.System +{ + public class UserPermissionDTO + { + public int Id { get; set; } + public int Pid { get; set; } + public string Text { get; set; } + public bool IsApp { get; set; } + public List<ActionDTO> Actions { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/VueDictionaryDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/VueDictionaryDTO.cs" new file mode 100644 index 0000000..ffa7f3b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/System/VueDictionaryDTO.cs" @@ -0,0 +1,19 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_DTO.System +{ + public class VueDictionaryDTO + { + public string DicNo { get; set; } + + public string Config { get; set; } + + public object Data { get; set; } + + public bool SaveCache { get; set; } = true; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Task/WCSTaskDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Task/WCSTaskDTO.cs" new file mode 100644 index 0000000..570a8c1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Task/WCSTaskDTO.cs" @@ -0,0 +1,104 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_DTO.Task +{ + /// <summary> + /// + /// </summary> + public class WCSTaskDTO + { + /// <summary> + /// 涓婚敭 + /// </summary> + public int TaskId { get; set; } + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + public int TaskNum { get; set; } + /// <summary> + /// AGV浠诲姟鍙� + /// </summary> + public string AgvTaskNum { get; set; } + /// <summary> + /// 鎵樼洏缂栧彿 + /// </summary> + public string PalletCode { get; set; } + + /// <summary> + /// 鎵樼洏绫诲瀷 + /// </summary> + public int PalletType { get; set; } + + /// <summary> + /// 璁惧缂栧彿 + /// </summary> + public string DeviceCode { get; set; } + + /// <summary> + /// 宸烽亾鍙� + /// </summary> + public string Roadway { get; set; } + + /// <summary> + /// 浠诲姟绫诲瀷 + /// </summary> + public int TaskType { get; set; } + + /// <summary> + /// 浠诲姟鐘舵�� + /// </summary> + public int TaskState { get; set; } + + /// <summary> + /// 璧峰鍦板潃 + /// </summary> + public string SourceAddress { get; set; } + + /// <summary> + /// 鐩爣鍦板潃 + /// </summary> + public string TargetAddress { get; set; } + + /// <summary> + /// 褰撳墠浣嶇疆 + /// </summary> + public string CurrentAddress { get; set; } + + /// <summary> + /// 涓嬩竴鍦板潃 + /// </summary> + public string NextAddress { get; set; } + + /// <summary> + /// 寮傚父淇℃伅 + /// </summary> + public string? ExceptionMessage { get; set; } + + /// <summary> + /// 浼樺厛绾� + /// </summary> + public int Grade { get; set; } + + /// <summary> + /// WMS浠诲姟涓婚敭 + /// </summary> + public int WMSId { get; set; } + + /// <summary> + /// 浠诲姟涓嬪彂鏃堕棿 + /// </summary> + public DateTime? Dispatchertime { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Task/WMSTaskDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Task/WMSTaskDTO.cs" new file mode 100644 index 0000000..c28210f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/Task/WMSTaskDTO.cs" @@ -0,0 +1,104 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_DTO.Task +{ + /// <summary> + /// 浠诲姟DTO + /// </summary> + public class WMSTaskDTO + { + /// <summary> + /// WMS浠诲姟涓婚敭 + /// </summary> + public int TaskId { get; set; } + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + public int TaskNum { get; set; } + + /// <summary> + /// 鎵樼洏鍙� + /// </summary> + public string PalletCode { get; set; } + + /// <summary> + /// 宸烽亾鍙� + /// </summary> + public string RoadWay { get; set; } + + /// <summary> + /// 浠诲姟绫诲瀷 + /// </summary> + public int TaskType { get; set; } + + /// <summary> + /// 浠诲姟鐘舵�� + /// </summary> + public int TaskStatus { get; set; } + + /// <summary> + /// 璧风偣 + /// </summary> + public string SourceAddress { get; set; } + + /// <summary> + /// 缁堢偣 + /// </summary> + public string TargetAddress { get; set; } + + /// <summary> + /// 浼樺厛绾� + /// </summary> + public int Grade { get; set; } + + /// <summary> + /// + /// </summary> + public int WarehouseId { get; set; } + + /// <summary> + /// + /// </summary> + public string AGVArea { get; set; } + + /// <summary> + /// + /// </summary> + public int PalletType { get; set; } + + /// <summary> + /// + /// </summary> + public string CurrentAddress { get; set; } + /// <summary> + /// + /// </summary> + public string NextAddress { get; set; } + /// <summary> + /// + /// </summary> + public int Depth { get; set; } + /// <summary> + /// + /// </summary> + public string OrderNo { get; set; } + /// <summary> + /// + /// </summary> + public int SourceKey { get; set; } + /// <summary> + /// + /// </summary> + public DateTime Dispatchertime { get; set; } + /// <summary> + /// + /// </summary> + public int MaterialType { get; set; } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/WIDESEA_DTO.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/WIDESEA_DTO.csproj" new file mode 100644 index 0000000..502ce7c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_DTO/WIDESEA_DTO.csproj" @@ -0,0 +1,14 @@ +锘�<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + <GenerateDocumentationFile>True</GenerateDocumentationFile> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_Model\WIDESEA_Model.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IBasicService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IBasicService.cs" new file mode 100644 index 0000000..b62017b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IBasicService.cs" @@ -0,0 +1,31 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; + +namespace WIDESEA_IBasicService +{ + public interface IBasicService: IDependency + { + /// <summary> + /// 璐т綅涓氬姟灞� + /// </summary> + ILocationInfoService LocationInfoService { get; } + + /// <summary> + /// 鐗╂枡涓氬姟灞� + /// </summary> + IMaterielInfoService MaterielInfoService { get; } + + /// <summary> + /// 浠撳簱涓氬姟灞� + /// </summary> + IWarehouseService WarehouseService { get; } + + IPalletCodeInfoService PalletCodeInfoService { get; } + + IMaterielCodeInfoService MaterielCodeInfoService { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/ILocationInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/ILocationInfoService.cs" new file mode 100644 index 0000000..e9f0459 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/ILocationInfoService.cs" @@ -0,0 +1,55 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.CommonEnum; +using WIDESEA_Common.LocationEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_DTO.Basic; +using WIDESEA_Model.Models; + +namespace WIDESEA_IBasicService +{ + public interface ILocationInfoService : IService<Dt_LocationInfo> + { + IRepository<Dt_LocationInfo> Repository { get; } + + /// <summary> + /// 鎵归噺鍚敤璐т綅 + /// </summary> + /// <param name="keys">璐т綅涓婚敭鏁扮粍</param> + /// <returns></returns> + WebResponseContent LocationEnableStatus(int[] keys); + + /// <summary> + /// 鎵归噺绂佺敤璐т綅 + /// </summary> + /// <param name="keys">璐т綅涓婚敭鏁扮粍</param> + /// <returns></returns> + WebResponseContent LocationDisableStatus(int[] keys); + + /// <summary> + /// 鍗曚釜鍚敤璐т綅 + /// </summary> + /// <param name="key">璐т綅涓婚敭</param> + /// <returns></returns> + WebResponseContent LocationEnableStatus(int key); + + /// <summary> + /// 鍗曚釜绂佺敤璐т綅 + /// </summary> + /// <param name="key">璐т綅涓婚敭</param> + /// <returns></returns> + WebResponseContent LocationDisableStatus(int key); + + /// <summary> + /// 鍒濆鍖栬揣浣� + /// </summary> + /// <param name="initializationLocationDTO"></param> + /// <returns></returns> + WebResponseContent InitializationLocation(InitializationLocationDTO initializationLocationDTO); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IMaterielCodeInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IMaterielCodeInfoService.cs" new file mode 100644 index 0000000..7db7943 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IMaterielCodeInfoService.cs" @@ -0,0 +1,16 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_IBasicService +{ + public interface IMaterielCodeInfoService : IService<Dt_MaterielCodeInfo> + { + public IRepository<Dt_MaterielCodeInfo> Repository { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IMaterielInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IMaterielInfoService.cs" new file mode 100644 index 0000000..fc325d5 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IMaterielInfoService.cs" @@ -0,0 +1,18 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_DTO.Basic; +using WIDESEA_Model.Models; + +namespace WIDESEA_IBasicService +{ + public interface IMaterielInfoService : IService<Dt_MaterielInfo> + { + IRepository<Dt_MaterielInfo> Repository { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IPalletCodeInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IPalletCodeInfoService.cs" new file mode 100644 index 0000000..ea6190a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IPalletCodeInfoService.cs" @@ -0,0 +1,17 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_IBasicService +{ + public interface IPalletCodeInfoService : IService<Dt_PalletCodeInfo> + { + public IRepository<Dt_PalletCodeInfo> Repository { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IWarehouseService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IWarehouseService.cs" new file mode 100644 index 0000000..2a49178 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/IWarehouseService.cs" @@ -0,0 +1,17 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_IBasicService +{ + public interface IWarehouseService : IService<Dt_Warehouse> + { + IRepository<Dt_Warehouse> Repository { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/WIDESEA_IBasicService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/WIDESEA_IBasicService.csproj" new file mode 100644 index 0000000..a70161f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IBasicService/WIDESEA_IBasicService.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_DTO\WIDESEA_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ICheckService/ICheckOrderResultService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ICheckService/ICheckOrderResultService.cs" new file mode 100644 index 0000000..8bb2659 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ICheckService/ICheckOrderResultService.cs" @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_ICheckService +{ + public interface ICheckOrderResultService : IService<Dt_CheckOrderResult> + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ICheckService/ICheckOrderService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ICheckService/ICheckOrderService.cs" new file mode 100644 index 0000000..4de5428 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ICheckService/ICheckOrderService.cs" @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_ICheckService +{ + public interface ICheckOrderService : IService<Dt_CheckOrder> + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ICheckService/WIDESEA_ICheckService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ICheckService/WIDESEA_ICheckService.csproj" new file mode 100644 index 0000000..a70161f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ICheckService/WIDESEA_ICheckService.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_DTO\WIDESEA_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderDetailService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderDetailService.cs" new file mode 100644 index 0000000..f87a463 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderDetailService.cs" @@ -0,0 +1,17 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_IInboundService +{ + public interface IInboundOrderDetailService : IService<Dt_InboundOrderDetail> + { + IRepository<Dt_InboundOrderDetail> Repository { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderDetail_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderDetail_HtyService.cs" new file mode 100644 index 0000000..de22b2d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderDetail_HtyService.cs" @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_IInboundService +{ + public interface IInboundOrderDetail_HtyService : IService<Dt_InboundOrderDetail_Hty> + { + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderService.cs" new file mode 100644 index 0000000..bd67259 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderService.cs" @@ -0,0 +1,20 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_DTO; +using WIDESEA_DTO.Inbound; +using WIDESEA_Model.Models; + +namespace WIDESEA_IInboundService +{ + public interface IInboundOrderService : IService<Dt_InboundOrder> + { + IRepository<Dt_InboundOrder> Repository { get; } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrder_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrder_HtyService.cs" new file mode 100644 index 0000000..785e4f7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrder_HtyService.cs" @@ -0,0 +1,17 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseServices; +using WIDESEA_DTO.Inbound; +using WIDESEA_Model.Models; + +namespace WIDESEA_IInboundService +{ + public interface IInboundOrder_HtyService : IService<Dt_InboundOrder_Hty> + { + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundService.cs" new file mode 100644 index 0000000..15237d5 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundService.cs" @@ -0,0 +1,16 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; + +namespace WIDESEA_IInboundService +{ + public interface IInboundService : IDependency + { + IInboundOrderDetailService InboundOrderDetailService { get; } + + IInboundOrderService InbounOrderService { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/WIDESEA_IInboundService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/WIDESEA_IInboundService.csproj" new file mode 100644 index 0000000..a70161f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IInboundService/WIDESEA_IInboundService.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_DTO\WIDESEA_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutStockLockInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutStockLockInfoService.cs" new file mode 100644 index 0000000..ea944e0 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutStockLockInfoService.cs" @@ -0,0 +1,23 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.StockEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Enums; +using WIDESEA_Model.Models; + +namespace WIDESEA_IOutboundService +{ + public interface IOutStockLockInfoService : IService<Dt_OutStockLockInfo> + { + /// <summary> + /// + /// </summary> + IRepository<Dt_OutStockLockInfo> Repository { get; } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrderDetailService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrderDetailService.cs" new file mode 100644 index 0000000..dcaeb06 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrderDetailService.cs" @@ -0,0 +1,22 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.LocationEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Enums; +using WIDESEA_DTO.Stock; +using WIDESEA_Model.Models; + +namespace WIDESEA_IOutboundService +{ + public interface IOutboundOrderDetailService : IService<Dt_OutboundOrderDetail> + { + IRepository<Dt_OutboundOrderDetail> Repository { get; } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrderDetail_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrderDetail_HtyService.cs" new file mode 100644 index 0000000..644c89e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrderDetail_HtyService.cs" @@ -0,0 +1,19 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Enums; +using WIDESEA_DTO.Stock; +using WIDESEA_Model.Models; + +namespace WIDESEA_IOutboundService +{ + public interface IOutboundOrderDetail_HtyService : IService<Dt_OutboundOrderDetail_Hty> + { + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrderService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrderService.cs" new file mode 100644 index 0000000..9d307c2 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrderService.cs" @@ -0,0 +1,20 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_DTO.Inbound; +using WIDESEA_DTO.Outbound; +using WIDESEA_Model.Models; + +namespace WIDESEA_IOutboundService +{ + public interface IOutboundOrderService : IService<Dt_OutboundOrder> + { + IRepository<Dt_OutboundOrder> Repository { get; } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrder_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrder_HtyService.cs" new file mode 100644 index 0000000..355ced4 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundOrder_HtyService.cs" @@ -0,0 +1,10 @@ +锘縰sing WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_IOutboundService +{ + public interface IOutboundOrder_HtyService : IService<Dt_OutboundOrder_Hty> + { + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundService.cs" new file mode 100644 index 0000000..7e86e2f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundService.cs" @@ -0,0 +1,18 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; + +namespace WIDESEA_IOutboundService +{ + public interface IOutboundService:IDependency + { + IOutboundOrderDetailService OutboundOrderDetailService { get; } + + IOutboundOrderService OutboundOrderService { get; } + + IOutStockLockInfoService OutboundStockLockInfoService { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/WIDESEA_IOutboundService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/WIDESEA_IOutboundService.csproj" new file mode 100644 index 0000000..a70161f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IOutboundService/WIDESEA_IOutboundService.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_DTO\WIDESEA_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/ILocationStatusChangeRecordService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/ILocationStatusChangeRecordService.cs" new file mode 100644 index 0000000..ed24872 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/ILocationStatusChangeRecordService.cs" @@ -0,0 +1,18 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.LocationEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_IRecordService +{ + public interface ILocationStatusChangeRecordService : IService<Dt_LocationStatusChangeRecord> + { + IRepository<Dt_LocationStatusChangeRecord> Repository { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/IRecordService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/IRecordService.cs" new file mode 100644 index 0000000..5c9e120 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/IRecordService.cs" @@ -0,0 +1,16 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; + +namespace WIDESEA_IRecordService +{ + public interface IRecordService : IDependency + { + ILocationStatusChangeRecordService LocationStatusChangeRecordSetvice { get; } + + IStockQuantityChangeRecordService StockQuantityChangeRecordService { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/IStockQuantityChangeRecordService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/IStockQuantityChangeRecordService.cs" new file mode 100644 index 0000000..b1221bb --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/IStockQuantityChangeRecordService.cs" @@ -0,0 +1,18 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.StockEnum; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Enums; +using WIDESEA_Model.Models; + +namespace WIDESEA_IRecordService +{ + public interface IStockQuantityChangeRecordService : IService<Dt_StockQuantityChangeRecord> + { + IRepository<Dt_StockQuantityChangeRecord> Repository { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/WIDESEA_IRecordService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/WIDESEA_IRecordService.csproj" new file mode 100644 index 0000000..a70161f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IRecordService/WIDESEA_IRecordService.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_DTO\WIDESEA_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoDetailService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoDetailService.cs" new file mode 100644 index 0000000..92c9c04 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoDetailService.cs" @@ -0,0 +1,11 @@ +锘縰sing WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_IStockService +{ + public interface IStockInfoDetailService : IService<Dt_StockInfoDetail> + { + IRepository<Dt_StockInfoDetail> Repository { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoDetail_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoDetail_HtyService.cs" new file mode 100644 index 0000000..fb266b6 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoDetail_HtyService.cs" @@ -0,0 +1,11 @@ +锘縰sing WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_IStockService +{ + public interface IStockInfoDetail_HtyService : IService<Dt_StockInfoDetail_Hty> + { + IRepository<Dt_StockInfoDetail_Hty> Repository { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs" new file mode 100644 index 0000000..102691d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfoService.cs" @@ -0,0 +1,11 @@ +锘縰sing WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_IStockService +{ + public interface IStockInfoService : IService<Dt_StockInfo> + { + IRepository<Dt_StockInfo> Repository { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfo_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfo_HtyService.cs" new file mode 100644 index 0000000..5353c68 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockInfo_HtyService.cs" @@ -0,0 +1,17 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_DTO.Stock; +using WIDESEA_Model.Models; + +namespace WIDESEA_IStockService +{ + public interface IStockInfo_HtyService : IService<Dt_StockInfo_Hty> + { + IRepository<Dt_StockInfo_Hty> Repository { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockService.cs" new file mode 100644 index 0000000..eb21726 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockService.cs" @@ -0,0 +1,20 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; + +namespace WIDESEA_IStockService +{ + public interface IStockService : IDependency + { + IStockInfoDetailService StockInfoDetailService { get; } + + IStockInfoService StockInfoService { get; } + + IStockInfoDetail_HtyService StockInfoDetail_HtyService { get; } + + IStockInfo_HtyService StockInfo_HtyService { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockViewService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockViewService.cs" new file mode 100644 index 0000000..4dbc93f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/IStockViewService.cs" @@ -0,0 +1,18 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseServices; +using WIDESEA_DTO.Stock; + +namespace WIDESEA_IStockService +{ + public interface IStockViewService : IDependency + { + PageGridData<StockViewDTO> GetPageData(PageDataOptions options); + + object GetDetailPage(PageDataOptions pageData); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/WIDESEA_IStockService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/WIDESEA_IStockService.csproj" new file mode 100644 index 0000000..a70161f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_IStockService/WIDESEA_IStockService.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_DTO\WIDESEA_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_DictionaryListService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_DictionaryListService.cs" new file mode 100644 index 0000000..cd1edb7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_DictionaryListService.cs" @@ -0,0 +1,11 @@ +锘縰sing WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_ISystemService +{ + public interface ISys_DictionaryListService : IService<Sys_DictionaryList> + { + IRepository<Sys_DictionaryList> Repository { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_DictionaryService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_DictionaryService.cs" new file mode 100644 index 0000000..aa5aab0 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_DictionaryService.cs" @@ -0,0 +1,19 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_DTO.System; +using WIDESEA_Model.Models; + +namespace WIDESEA_ISystemService +{ + public interface ISys_DictionaryService : IService<Sys_Dictionary> + { + IRepository<Sys_Dictionary> Repository { get; } + + List<VueDictionaryDTO> GetVueDictionary(string[] dicNos); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_LogService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_LogService.cs" new file mode 100644 index 0000000..27dcb29 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_LogService.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_ISystemService +{ + public interface ISys_LogService : IService<Sys_Log> + { + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_MenuService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_MenuService.cs" new file mode 100644 index 0000000..8458ff9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_MenuService.cs" @@ -0,0 +1,39 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_DTO.System; +using WIDESEA_Model.Models; + +namespace WIDESEA_ISystemService +{ + public interface ISys_MenuService : IService<Sys_Menu> + { + IRepository<Sys_Menu> Repository { get; } + + object GetCurrentMenuActionList(); + + object GetMenuActionList(int roleId); + + List<MenuDTO> GetUserMenuList(int roleId); + List<MenuDTO> GetUserMenuListPDA(int roleId); + + List<ActionDTO> GetActions(int menuId, List<ActionDTO> menuActions, List<Permissions> permissions, int roleId); + + object GetMenu(); + + object GetTreeItem(int menuId); + + WebResponseContent Save(Sys_Menu menu); + + WebResponseContent DelMenu(int menuId); + + object? GetTreeMenuPDAStash(int ParentId); + + List<Permissions> GetPermissions(int roleId); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_RoleAuthService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_RoleAuthService.cs" new file mode 100644 index 0000000..ea38971 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_RoleAuthService.cs" @@ -0,0 +1,16 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_ISystemService +{ + public interface ISys_RoleAuthService : IService<Sys_RoleAuth> + { + IRepository<Sys_RoleAuth> Repository { get; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_RoleService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_RoleService.cs" new file mode 100644 index 0000000..493cfcd --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_RoleService.cs" @@ -0,0 +1,35 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_DTO.System; +using WIDESEA_Core; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; +using WIDESEA_Model.Models.System; +using WIDESEA_Core.BaseRepository; + +namespace WIDESEA_ISystemService +{ + public interface ISys_RoleService : IService<Sys_Role> + { + IRepository<Sys_Role> Repository { get; } + + List<int> GetAllChildrenRoleId(int roleId); + + List<RoleNodes> GetAllChildren(int roleId); + + WebResponseContent GetCurrentTreePermission(); + + WebResponseContent GetUserTreePermission(int RoleId); + + WebResponseContent GetCurrentTreePermissionPDA(); + + WebResponseContent GetUserTreePermissionPDA(int RoleId); + + WebResponseContent SavePermission(List<UserPermissionDTO> userPermissions, int roleId); + + WebResponseContent SavePermissionPDA(List<UserPermissionDTO> userPermissions, int roleId); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_TenantService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_TenantService.cs" new file mode 100644 index 0000000..c8de583 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_TenantService.cs" @@ -0,0 +1,19 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model.Models; + +namespace WIDESEA_ISystemService +{ + public interface ISys_TenantService : IService<Sys_Tenant> + { + IRepository<Sys_Tenant> Repository { get; } + + WebResponseContent InitTenantInfo(string tenantName, int tenantType); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_UserService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_UserService.cs" new file mode 100644 index 0000000..0692b26 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/ISys_UserService.cs" @@ -0,0 +1,26 @@ +锘縰sing Microsoft.AspNetCore.Mvc; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Model; +using WIDESEA_Model.Models; + +namespace WIDESEA_ISystemService +{ + public interface ISys_UserService : IService<Sys_User> + { + IRepository<Sys_User> Repository { get; } + + WebResponseContent Login(LoginInfo loginInfo); + + WebResponseContent GetCurrentUserInfo(); + + WebResponseContent ModifyPwd(string oldPwd, string newPwd); + WebResponseContent ModifyUserPwd(string password, string userName); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/WIDESEA_ISystemService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/WIDESEA_ISystemService.csproj" new file mode 100644 index 0000000..8b9ba57 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ISystemService/WIDESEA_ISystemService.csproj" @@ -0,0 +1,13 @@ +锘�<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_DTO\WIDESEA_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITaskService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITaskService.cs" new file mode 100644 index 0000000..f1150ae --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITaskService.cs" @@ -0,0 +1,43 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEA_ITaskInfoService + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.CommonEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Enums; +using WIDESEA_DTO; +using WIDESEA_DTO.Stock; +using WIDESEA_DTO.Task; +using WIDESEA_Model.Models; + +namespace WIDESEA_ITaskInfoService +{ + public interface ITaskService : IService<Dt_Task> + { + IRepository<Dt_Task> Repository { get; } + + WebResponseContent DeviceRequestInboundTaskSimple(string stationCode, string palletCode); + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITask_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITask_HtyService.cs" new file mode 100644 index 0000000..8bd7243 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITask_HtyService.cs" @@ -0,0 +1,18 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Enums; +using WIDESEA_DTO.Stock; +using WIDESEA_Model.Models; + +namespace WIDESEA_ITaskInfoService; + +public interface ITask_HtyService : IService<Dt_Task_Hty> +{ +} \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/WIDESEA_ITaskInfoService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/WIDESEA_ITaskInfoService.csproj" new file mode 100644 index 0000000..a70161f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/WIDESEA_ITaskInfoService.csproj" @@ -0,0 +1,13 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_DTO\WIDESEA_DTO.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderDetailService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderDetailService.cs" new file mode 100644 index 0000000..0c7afc5 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderDetailService.cs" @@ -0,0 +1,25 @@ +锘縰sing Org.BouncyCastle.Crypto; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Enums; +using WIDESEA_Core.Helper; +using WIDESEA_IInboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_InboundService +{ + public class InboundOrderDetailService : ServiceBase<Dt_InboundOrderDetail, IRepository<Dt_InboundOrderDetail>>, IInboundOrderDetailService + { + public IRepository<Dt_InboundOrderDetail> Repository => BaseDal; + + public InboundOrderDetailService(IRepository<Dt_InboundOrderDetail> BaseDal) : base(BaseDal) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderDetail_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderDetail_HtyService.cs" new file mode 100644 index 0000000..919284a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderDetail_HtyService.cs" @@ -0,0 +1,23 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Enums; +using WIDESEA_Core.Helper; +using WIDESEA_IInboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_InboundService +{ + public class InboundOrderDetail_HtyService : ServiceBase<Dt_InboundOrderDetail_Hty, IRepository<Dt_InboundOrderDetail_Hty>>, IInboundOrderDetail_HtyService + { + public IRepository<Dt_InboundOrderDetail_Hty> Repository => BaseDal; + + public InboundOrderDetail_HtyService(IRepository<Dt_InboundOrderDetail_Hty> BaseDal) : base(BaseDal) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs" new file mode 100644 index 0000000..f3f6996 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs" @@ -0,0 +1,25 @@ +锘縰sing AutoMapper; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_IBasicService; +using WIDESEA_IInboundService; +using WIDESEA_IRecordService; +using WIDESEA_Model.Models; + +namespace WIDESEA_InboundService +{ + public class InboundOrderService : ServiceBase<Dt_InboundOrder, IRepository<Dt_InboundOrder>>, IInboundOrderService + { + private readonly IMapper _mapper; + private readonly IUnitOfWorkManage _unitOfWorkManage; + + public IRepository<Dt_InboundOrder> Repository => BaseDal; + + public InboundOrderService(IRepository<Dt_InboundOrder> BaseDal, IMapper mapper, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal) + { + _mapper = mapper; + _unitOfWorkManage = unitOfWorkManage; + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrder_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrder_HtyService.cs" new file mode 100644 index 0000000..bc3f32d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrder_HtyService.cs" @@ -0,0 +1,30 @@ +锘縰sing AutoMapper; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection.Metadata; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Enums; +using WIDESEA_Core.Helper; +using WIDESEA_Core.Utilities; +using WIDESEA_DTO; +using WIDESEA_DTO.Inbound; +using WIDESEA_IBasicService; +using WIDESEA_IInboundService; +using WIDESEA_IStockService; +using WIDESEA_Model.Models; + +namespace WIDESEA_InboundService +{ + public class InboundOrder_HtyService : ServiceBase<Dt_InboundOrder_Hty, IRepository<Dt_InboundOrder_Hty>>, IInboundOrder_HtyService + { + public InboundOrder_HtyService(IRepository<Dt_InboundOrder_Hty> BaseDal) : base(BaseDal) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundService.cs" new file mode 100644 index 0000000..97a2766 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/InboundService.cs" @@ -0,0 +1,22 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_IInboundService; + +namespace WIDESEA_InboundService +{ + public class InboundService : IInboundService + { + public IInboundOrderDetailService InboundOrderDetailService { get; } + + public IInboundOrderService InbounOrderService { get; } + + public InboundService(IInboundOrderDetailService inboundOrderDetailService, IInboundOrderService inbounOrderService) + { + InboundOrderDetailService = inboundOrderDetailService; + InbounOrderService = inbounOrderService; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/WIDESEA_InboundService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/WIDESEA_InboundService.csproj" new file mode 100644 index 0000000..2796822 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_InboundService/WIDESEA_InboundService.csproj" @@ -0,0 +1,17 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_IBasicService\WIDESEA_IBasicService.csproj" /> + <ProjectReference Include="..\WIDESEA_IInboundService\WIDESEA_IInboundService.csproj" /> + <ProjectReference Include="..\WIDESEA_IRecordService\WIDESEA_IRecordService.csproj" /> + <ProjectReference Include="..\WIDESEA_IStockService\WIDESEA_IStockService.csproj" /> + <ProjectReference Include="..\WIDESEA_ITaskInfoService\WIDESEA_ITaskInfoService.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/LoginInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/LoginInfo.cs" new file mode 100644 index 0000000..678745b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/LoginInfo.cs" @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Model +{ + public class LoginInfo + { + public string UserName { get; set; } + + public string Password { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_ApprovalFlow.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_ApprovalFlow.cs" new file mode 100644 index 0000000..f63ed62 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_ApprovalFlow.cs" @@ -0,0 +1,41 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 瀹℃壒娴佺▼琛� + /// </summary> + [SugarTable(nameof(Dt_ApprovalFlow), "瀹℃壒娴佺▼琛�")] + public class Dt_ApprovalFlow : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 瀹℃壒娴佺▼缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "瀹℃壒娴佺▼缂栧彿")] + public string FlowCode { get; set; } + + /// <summary> + /// 瀹℃壒娴佺▼鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "瀹℃壒娴佺▼鍚嶇О")] + public string FlowName { get; set; } + + /// <summary> + /// 瀹℃壒娴佺▼鎻忚堪 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "瀹℃壒娴佺▼鎻忚堪")] + public string FlowDes { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_ApprovalNode.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_ApprovalNode.cs" new file mode 100644 index 0000000..6381da3 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_ApprovalNode.cs" @@ -0,0 +1,53 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 瀹℃壒鑺傜偣琛� + /// </summary> + [SugarTable(nameof(Dt_ApprovalNode), "瀹℃壒鑺傜偣琛�")] + public class Dt_ApprovalNode : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 瀹℃壒娴佺▼缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "瀹℃壒娴佺▼缂栧彿锛屽閿�")] + public int FlowId { get; set; } + + /// <summary> + /// 瀹℃壒鑺傜偣鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "瀹℃壒鑺傜偣鍚嶇О")] + public string NodeName { get; set; } + + /// <summary> + /// 鑺傜偣绫诲瀷锛堝鍗曚汉瀹℃壒銆佸浜哄鎵广�佷細绛剧瓑锛� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鑺傜偣绫诲瀷锛堝鍗曚汉瀹℃壒銆佸浜哄鎵广�佷細绛剧瓑锛�")] + public int NodeType { get; set; } + + /// <summary> + /// 瀹℃壒浜鸿鑹诧紙濡傞儴闂ㄧ粡鐞嗐�佹�荤粡鐞嗙瓑锛� + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "瀹℃壒浜鸿鑹诧紙濡傞儴闂ㄧ粡鐞嗐�佹�荤粡鐞嗙瓑锛�")] + public int ApproverRole { get; set; } + + /// <summary> + /// 鑺傜偣椤哄簭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鑺傜偣椤哄簭")] + public int NodeSequence { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_ApprovalTask.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_ApprovalTask.cs" new file mode 100644 index 0000000..c1126f5 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_ApprovalTask.cs" @@ -0,0 +1,71 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 瀹℃壒浠诲姟琛� + /// </summary> + [SugarTable(nameof(Dt_ApprovalTask), "瀹℃壒浠诲姟琛�")] + public class Dt_ApprovalTask : BaseEntity + { + /// <summary> + /// 瀹℃壒浠诲姟缂栧彿锛屼富閿� + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "瀹℃壒浠诲姟缂栧彿锛屼富閿�")] + public int Id { get; set; } + + /// <summary> + /// 瀹℃壒娴佺▼缂栧彿锛屽閿� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "瀹℃壒娴佺▼缂栧彿锛屽閿�")] + public int FlowId { get; set; } + + /// <summary> + /// 瀹℃壒鑺傜偣缂栧彿锛屽閿� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "瀹℃壒鑺傜偣缂栧彿锛屽閿�")] + public int NodeId { get; set; } + + /// <summary> + /// 鐢宠浜虹敤鎴风紪鍙� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐢宠浜虹敤鎴风紪鍙�")] + public int ApplicantUserId { get; set; } + + /// <summary> + /// 鐢宠浜虹敤鎴峰悕绉� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐢宠浜虹敤鎴峰悕绉�")] + public string ApplicantUserName { get; set; } + + /// <summary> + /// 浠诲姟鐘舵�侊紙濡傚緟瀹℃壒銆佸凡瀹℃壒銆佸凡椹冲洖绛夛級 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "浠诲姟鐘舵�侊紙濡傚緟瀹℃壒銆佸凡瀹℃壒銆佸凡椹冲洖绛夛級")] + public int Status { get; set; } + + /// <summary> + /// 瀹℃壒鎰忚鍐呭 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "瀹℃壒鎰忚鍐呭")] + public string OpinionContent { get; set; } + + /// <summary> + /// 瀹℃壒浜� + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "瀹℃壒浜�")] + public string AuditUser { get; set; } + + /// <summary> + /// 鏉ユ簮涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏉ユ簮涓婚敭")] + public int SourceKey { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_NodeTransition.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_NodeTransition.cs" new file mode 100644 index 0000000..7944396 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/ApprovalFlow/Dt_NodeTransition.cs" @@ -0,0 +1,41 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鑺傜偣璺宠浆琛� + /// </summary> + [SugarTable(nameof(Dt_NodeTransition), "鑺傜偣璺宠浆琛�")] + public class Dt_NodeTransition : BaseEntity + { + /// <summary> + /// 璺宠浆缂栧彿 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "璺宠浆缂栧彿锛屼富閿�")] + public int Id { get; set; } + + /// <summary> + /// 璧峰鑺傜偣缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "璧峰鑺傜偣缂栧彿锛屽閿�")] + public int FromNodeId { get; set; } + + /// <summary> + /// 鐩爣鑺傜偣缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐩爣鑺傜偣缂栧彿锛屽閿�")] + public int ToNodeId { get; set; } + + /// <summary> + /// 璺宠浆鏉′欢锛堝鈥滃悓鎰忓垯璺宠浆鍒颁笅涓�鑺傜偣鈥濓紝鈥滄嫆缁濆垯缁撴潫娴佺▼鈥濈瓑锛� + /// </summary> + [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "璺宠浆鏉′欢锛堝鈥滃悓鎰忓垯璺宠浆鍒颁笅涓�鑺傜偣鈥濓紝鈥滄嫆缁濆垯缁撴潫娴佺▼鈥濈瓑锛�")] + public string Condition { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_ApiInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_ApiInfo.cs" new file mode 100644 index 0000000..e0dc8f8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_ApiInfo.cs" @@ -0,0 +1,43 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鎺ュ彛淇℃伅 + /// </summary> + [SugarTable(nameof(Dt_ApiInfo), "鎺ュ彛淇℃伅")] + public class Dt_ApiInfo : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + /// <summary> + /// 鎺ュ彛缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎺ュ彛缂栧彿")] + public string ApiCode { get; set; } + /// <summary> + /// 鎺ュ彛鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鎺ュ彛鍚嶇О")] + public string ApiName { get; set; } + /// <summary> + /// 鎺ュ彛鍦板潃 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "鎺ュ彛鍦板潃")] + public string ApiAddress { get; set; } + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_CustomerInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_CustomerInfo.cs" new file mode 100644 index 0000000..cbbddb4 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_CustomerInfo.cs" @@ -0,0 +1,47 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 瀹㈡埛淇℃伅 + /// </summary> + [SugarTable(nameof(Dt_CustomerInfo), "瀹㈡埛淇℃伅")] + public class Dt_CustomerInfo : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 瀹㈡埛缂栫爜 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "瀹㈡埛缂栫爜")] + public string Code { get; set; } + + /// <summary> + /// 瀹㈡埛鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "瀹㈡埛鍚嶇О")] + public string Name { get; set; } + + /// <summary> + /// 瀹㈡埛鍏ㄧО + /// </summary> + [SugarColumn(IsNullable = true, Length = 100, ColumnDescription = "瀹㈡埛鍏ㄧО")] + public string NickName { get; set; } + + /// <summary> + /// 瀹㈡埛鐘舵�� 0:绂佺敤 1:鍙敤 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐘舵��")] + public bool State { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_LocationInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_LocationInfo.cs" new file mode 100644 index 0000000..d47c6b7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_LocationInfo.cs" @@ -0,0 +1,95 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 璐т綅淇℃伅 + /// </summary> + [SugarTable(nameof(Dt_LocationInfo), "璐т綅淇℃伅")] + public class Dt_LocationInfo : BaseEntity, BaseWarehouseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 浠撳簱缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱缂栧彿")] + public int WarehouseId { get; set; } + + /// <summary> + /// 璐т綅缂栧彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 30, ColumnDescription = "璐т綅缂栧彿")] + public string LocationCode { get; set; } + + /// <summary> + /// 璐т綅鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "璐т綅鍚嶇О")] + public string LocationName { get; set; } + + /// <summary> + /// 宸烽亾缂栧彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "宸烽亾缂栧彿")] + public string RoadwayNo { get; set; } + + /// <summary> + /// 璐т綅琛� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "璐т綅琛�")] + public int Row { get; set; } + + /// <summary> + /// 璐т綅鍒� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "璐т綅鍒�")] + public int Column { get; set; } + + /// <summary> + /// 璐т綅灞� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "璐т綅灞�")] + public int Layer { get; set; } + + /// <summary> + /// 璐т綅娣卞害 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "璐т綅娣卞害")] + public int Depth { get; set; } + + /// <summary> + /// 璐т綅绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "璐т綅绫诲瀷")] + public int LocationType { get; set; } + + /// <summary> + /// 璐т綅鐘舵�� + /// </summary> + [SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "璐т綅鐘舵��")] + public int LocationStatus { get; set; } + + /// <summary> + /// 绂佺敤鐘舵�� + /// </summary> + [SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "绂佺敤鐘舵��")] + public int EnableStatus { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielCodeInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielCodeInfo.cs" new file mode 100644 index 0000000..37610d3 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielCodeInfo.cs" @@ -0,0 +1,70 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鐗╂枡鐮佷俊鎭� + /// </summary> + [SugarTable(nameof(Dt_MaterielCodeInfo), "鐗╂枡鐮佷俊鎭�")] + public class Dt_MaterielCodeInfo : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栧彿")] + public string MaterielCode { get; set; } + + /// <summary> + /// 浠撳簱涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱缂栧彿")] + public int WarehouseId { get; set; } + + /// <summary> + /// 鎵规鍙� + /// </summary> + [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "鎵规鍙�")] + public string LotNo { get; set; } + + /// <summary> + /// 鐢熶骇鏃ユ湡 + /// </summary> + [ImporterHeader(Name = "鐢熶骇鏃ユ湡")] + [ExporterHeader(DisplayName = "鐢熶骇鏃ユ湡")] + [SugarColumn(IsNullable = false, IsOnlyIgnoreUpdate = true, ColumnDescription = "鐢熶骇鏃ユ湡")] + public DateTime ProductionDate { get; set; } + + /// <summary> + /// 鏈夋晥鏈� + /// </summary> + [ImporterHeader(Name = "鏈夋晥鏈�")] + [ExporterHeader(DisplayName = "鏈夋晥鏈�")] + [SugarColumn(IsNullable = false, IsOnlyIgnoreUpdate = true, ColumnDescription = "鏈夋晥鏈�")] + public DateTime EffectiveDate { get; set; } + + /// <summary> + /// 閲囪喘鍗曞彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "閲囪喘鍗曞彿")] + public string PurchaseOrderNo { get; set; } + + /// <summary> + /// 鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏁伴噺")] + public float Quantity { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielInfo.cs" new file mode 100644 index 0000000..682c4fe --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielInfo.cs" @@ -0,0 +1,128 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.CommonEnum; +using WIDESEA_Common.MaterielEnum; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鐗╂枡淇℃伅 + /// </summary> + [SugarTable(nameof(Dt_MaterielInfo), "鐗╂枡淇℃伅")] + [SugarIndex("unique_materielinfo_materielcode", nameof(MaterielCode), OrderByType.Asc, true)] + public class Dt_MaterielInfo : BaseEntity//, BaseWarehouseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 浠撳簱缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱缂栧彿")] + public int WarehouseId { get; set; } + + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栧彿")] + public string MaterielCode { get; set; } + + /// <summary> + /// 鐗╂枡鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "鐗╂枡鍚嶇О")] + public string MaterielName { get; set; } + + /// <summary> + /// 鐗╂枡瑙勬牸 + /// </summary> + [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "鐗╂枡瑙勬牸")] + public string MaterielSpec { get; set; } + + /// <summary> + /// 鐗╂枡鍩烘湰鍒嗙被(1:鎴愬搧銆�2:鍗婃垚鍝併��3:鍘熸潗鏂欍��4:澶囦欢) + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐗╂枡鍩烘湰鍒嗙被(1:鎴愬搧銆�2:鍗婃垚鍝併��3:鍘熸潗鏂欍��4:澶囦欢)")] + public MaterielTypeEnum MaterielType { get; set; } + + /// <summary> + /// 鐗╂枡灞炴�у垎绫�(1:閲囪喘浠躲��2:鑷埗浠躲��3:閲囪喘&鑷埗浠�) + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐗╂枡灞炴�у垎绫�(1:閲囪喘浠躲��2:鑷埗浠躲��3:閲囪喘&鑷埗浠�)")] + public MaterielSourceTypeEnum MaterielSourceType { get; set; } + + /// <summary> + /// 鍩烘湰鍗曚綅(buyUnitId/StockUnitId) + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍩烘湰鍗曚綅(buyUnitId/StockUnitId)")] + public string MaterielUnit { get; set; } + + /// <summary> + /// 鐗堟湰鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗堟湰鍚嶇О")] + public string MaterielVersion { get; set; } + + /// <summary> + /// 鐗╂枡灏哄 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鐗╂枡灏哄")] + public float? MaterielSize { get; set; } + + /// <summary> + /// 鐗╂枡闀垮害 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鐗╂枡闀垮害")] + public float? MaterielLength { get; set; } + + /// <summary> + /// 鐗╂枡鍘氬害 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鐗╂枡鍘氬害")] + public float? MaterielThickness { get; set; } + + /// <summary> + /// 鐗╂枡瀹藉害 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鐗╂枡瀹藉害")] + public float? MaterielWide { get; set; } + + /// <summary> + /// 鐗╂枡鍨嬪彿 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鐗╂枡鍨嬪彿")] + public string MaterielModel { get; set; } + + /// <summary> + /// 鐗╂枡鐘舵��(0:绂佺敤銆�1:鍙敤) + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐗╂枡鐘舵��(0:绂佺敤銆�1:鍙敤)")] + public EnableEnum MaterielState { get; set; } + + /// <summary> + /// 搴撳瓨缁勭粐(榛樿:娣畨鐗瑰垱浜屽巶) + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "搴撳瓨缁勭粐(榛樿:娣畨鐗瑰垱浜屽巶)")] + public string MaterielInvOrgId { get; set; } + + /// <summary> + /// 鏄惁闇�瑕佽川妫� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁闇�瑕佽川妫�")] + public WhetherEnum IsCheck { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_PalletCodeInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_PalletCodeInfo.cs" new file mode 100644 index 0000000..cfbc12e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_PalletCodeInfo.cs" @@ -0,0 +1,41 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鎵樼洏缂栧彿淇℃伅 + /// </summary> + [SugarTable(nameof(Dt_PalletCodeInfo), "鎵樼洏缂栧彿淇℃伅")] + public class Dt_PalletCodeInfo : BaseEntity + { + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱涓婚敭")] + public int WarehouseId { get; set; } + + [SugarColumn(IsNullable = false, ColumnDescription = "鎵樼洏绫诲瀷")] + public int PalletType { get; set; } + + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鎵樼洏缂栧彿")] + public string PalletCode { get; set; } + + [SugarColumn(IsNullable = false, ColumnDescription = "娴佹按鍙�")] + public int SerialNo { get; set; } + + [SugarColumn(IsNullable = false, ColumnDescription = "鎵撳嵃鐘舵��")] + public int Status { get; set; } + + [SugarColumn(IsNullable = false, ColumnDescription = "灏哄")] + public int Size { get; set; } + + [SugarColumn(IsNullable = false, ColumnDescription = "鎵樼洏绫诲瀷涓婚敭")] + public int PalletTypeId { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_PalletTypeInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_PalletTypeInfo.cs" new file mode 100644 index 0000000..5e15a8c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_PalletTypeInfo.cs" @@ -0,0 +1,89 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鎵樼洏绫诲瀷 + /// </summary> + [SugarTable(nameof(Dt_PalletTypeInfo), "鎵樼洏绫诲瀷")] + public class Dt_PalletTypeInfo : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 鎵樼洏绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鎵樼洏绫诲瀷")] + public int PalletType { get; set; } + + /// <summary> + /// 鎵樼洏鍙疯捣濮嬪瓧绗︿覆 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵樼洏鍙疯捣濮嬪瓧绗︿覆")] + public string CodeStartStr { get; set; } + + /// <summary> + /// 鎵樼洏绫诲瀷鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵樼洏绫诲瀷鍚嶇О")] + public string TypeName { get; set; } + + /// <summary> + /// 闀垮害 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "闀垮害")] + public int Length { get; set; } + + /// <summary> + /// 瀹藉害 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "瀹藉害")] + public int Width { get; set; } + + /// <summary> + /// 楂樺害 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "楂樺害")] + public int Height { get; set; } + + /// <summary> + /// 鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐘舵��")] + public int Enbale { get; set; } + + /// <summary> + /// 浠撳簱缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱缂栧彿")] + public int WarehouseId { get; set; } + + /// <summary> + /// 鎵�灞炲眰 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵�灞炲眰")] + public string SortNum { get; set; } + + /// <summary> + /// 鍗犵敤璐т綅鏁� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍗犵敤璐т綅鏁�")] + public int LocaitonCount { get; set; } + + /// <summary> + /// 澶ф墭鐩樻槸鍚︽斁濂囨暟鍒� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "澶ф墭鐩樻槸鍚︽斁濂囨暟鍒�")] + public bool IsOdd { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_SupplierInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_SupplierInfo.cs" new file mode 100644 index 0000000..557e906 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_SupplierInfo.cs" @@ -0,0 +1,83 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 渚涘簲鍟嗕俊鎭� + /// </summary> + [SugarTable(nameof(Dt_SupplierInfo), "渚涘簲鍟嗕俊鎭�")] + public class Dt_SupplierInfo : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 渚涘簲鍟嗙紪鐮� + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "渚涘簲鍟嗙紪鐮�")] + public string SupplierCode { get; set; } + + /// <summary> + /// 渚涘簲鍟嗗悕绉� + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "渚涘簲鍟嗗悕绉�")] + public string SupplierName { get; set; } + + /// <summary> + /// 渚涘簲鍟嗙畝绉� + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "渚涘簲鍟嗙畝绉�")] + public string SupplierShortName { get; set; } + + /// <summary> + /// 鑱旂郴浜� + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鑱旂郴浜�")] + public string Contacts { get; set; } + + /// <summary> + /// 鑱旂郴鐢佃瘽 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鑱旂郴鐢佃瘽")] + public string ContactNumber { get; set; } + + /// <summary> + /// 鑱旂郴鍦板潃 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "鑱旂郴鍦板潃")] + public string ContactAddress { get; set; } + + /// <summary> + /// 鐢靛瓙閭 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鐢靛瓙閭")] + public string Email { get; set; } + + /// <summary> + /// 鎻忚堪 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "鎻忚堪")] + public string Description { get; set; } + + /// <summary> + /// 搴撳瓨缁勭粐 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "搴撳瓨缁勭粐")] + public string InvOrgId { get; set; } + + /// <summary> + /// 鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐘舵��")] + public int Status { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_UserInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_UserInfo.cs" new file mode 100644 index 0000000..5e5066e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_UserInfo.cs" @@ -0,0 +1,61 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鍛樺伐淇℃伅 + /// </summary> + [SugarTable(nameof(Dt_UserInfo), "鍛樺伐淇℃伅")] + public class Dt_UserInfo : BaseEntity + { + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 鍛樺伐鍙� + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鍛樺伐鍙�")] + public string Code { get; set; } + + /// <summary> + /// 閮ㄩ棬缂栫爜 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "閮ㄩ棬缂栫爜")] + public string DeptNo { get; set; } + /// <summary> + /// 閮ㄩ棬鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "閮ㄩ棬鍚嶇О")] + public string DeptName { get; set; } + + /// <summary> + /// 鍛樺伐鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鍛樺伐鍚嶇О")] + public string Name { get; set; } + + /// <summary> + /// 鐘舵�� 0:绂佺敤銆�1:鍙敤锛涢粯璁や负1 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐘舵��")] + public int State { get; set; } + + /// <summary> + /// 搴撳瓨缁勭粐 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "搴撳瓨缁勭粐")] + public string InvOrgId { get; set; } + + /// <summary> + /// 绫诲瀷 1=浠撶鍛橈紝2=璐ㄦ鍛� + /// </summary> + //[SugarColumn(IsNullable = false, ColumnDescription = "绫诲瀷")] + //public int Type { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_Warehouse.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_Warehouse.cs" new file mode 100644 index 0000000..fa11459 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_Warehouse.cs" @@ -0,0 +1,59 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 浠撳簱淇℃伅 + /// </summary> + [SugarTable(nameof(Dt_Warehouse), "浠撳簱淇℃伅")] + public class Dt_Warehouse : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int WarehouseId { get; set; } + + /// <summary> + /// 浠撳簱缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "浠撳簱缂栧彿")] + public string WarehouseCode { get; set; } + + /// <summary> + /// 浠撳簱鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "浠撳簱鍚嶇О")] + public string WarehouseName { get; set; } + + /// <summary> + /// 浠撳簱绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "浠撳簱绫诲瀷")] + public string WarehouseType { get; set; } + + /// <summary> + /// 浠撳簱鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "浠撳簱鐘舵��")] + public int WarehouseStatus { get; set; } + + /// <summary> + /// 浠撳簱鎻忚堪 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "浠撳簱鎻忚堪")] + public string WarehouseDes { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Check/Dt_CheckOrder.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Check/Dt_CheckOrder.cs" new file mode 100644 index 0000000..6c4bd35 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Check/Dt_CheckOrder.cs" @@ -0,0 +1,120 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.CodeConfigEnum; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 璐ㄦ鍗� + /// </summary> + [SugarTable(nameof(Dt_CheckOrder), "璐ㄦ鍗�")] + public class Dt_CheckOrder : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int CheckOrderId { get; set; } + + /// <summary> + /// 妫�楠屽崟鍙� + /// </summary> + [CodeRule(RuleCodeEnum.CheckOrderRule)] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "妫�楠屽崟鍙�")] + public string CheckOrderNo { get; set; } + + /// <summary> + /// 鏀惰揣鍗曞彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鏀惰揣鍗曞彿")] + public string ReceiveOrderNo { get; set; } + + /// <summary> + /// 璐ㄦ鍗曠姸鎬� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "璐ㄦ鍗曠姸鎬�")] + public int CheckOrderStatus { get; set; } + + /// <summary> + /// 瀹℃壒鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "瀹℃壒鐘舵��")] + public int AuditStatus { get; set; } + + /// <summary> + /// 鏀惰揣鍗曟槑缁嗚鍙� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏀惰揣鍗曟槑缁嗚鍙�")] + public int ReceiveDetailRowNo { get; set; } + + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栧彿")] + public string MaterielCode { get; set; } + + /// <summary> + /// 鍚堟牸鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鍚堟牸鏁伴噺")] + public float? QualifiedQuantity { get; set; } + + /// <summary> + /// 鐗归噰鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鐗归噰鏁伴噺")] + public float? DefectedQuantity { get; set; } + + /// <summary> + /// 閫�璐ф暟閲� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "閫�璐ф暟閲�")] + public float? ReturnQuantity { get; set; } + + /// <summary> + /// 鎶ュ簾鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鎶ュ簾鏁伴噺")] + public float? ScrappedQuantity { get; set; } + + /// <summary> + /// 妫�楠屾�绘暟(鏀惰揣鏁伴噺) + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "妫�楠屾�绘暟")] + public float ReceivedQuantity { get; set; } + + /// <summary> + /// 妫�楠岀粨鏋� + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "妫�楠岀粨鏋�")] + public string Result { get; set; } + + /// <summary> + /// 鐗归噰璇存槑 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鐗归噰璇存槑")] + public string DefectedNote { get; set; } + + /// <summary> + /// 妫�楠屼汉 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "妫�楠屼汉")] + public string CheckUserName { get; set; } + /// <summary> + /// 妫�楠屼笂浼犵姸鎬� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "妫�楠屼笂浼犵姸鎬�")] + public int UploadStatus { get; set; } + /// <summary> + /// 璐ㄦ缁撴灉 + /// </summary> + [Navigate(NavigateType.OneToMany, nameof(Dt_CheckOrderResult.CheckOrderId), nameof(CheckOrderId))] + public List<Dt_CheckOrderResult> Details { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Check/Dt_CheckOrderResult.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Check/Dt_CheckOrderResult.cs" new file mode 100644 index 0000000..12bbcc7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Check/Dt_CheckOrderResult.cs" @@ -0,0 +1,53 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 妫�楠岀粨鏋� + /// </summary> + [SugarTable(nameof(Dt_CheckOrderResult), "妫�楠岀粨鏋�")] + public class Dt_CheckOrderResult : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 妫�楠屽崟涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "妫�楠屽崟涓婚敭")] + public int CheckOrderId { get; set; } + + /// <summary> + /// 缂洪櫡浠g爜 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "缂洪櫡浠g爜")] + public string DefectCode { get; set; } + + /// <summary> + /// 妫�楠岀粨鏋� + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "妫�楠岀粨鏋�")] + public string Result { get; set; } + + /// <summary> + /// 鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鏁伴噺")] + public float Quantity { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "澶囨敞")] + public string Note { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Config/Dt_AnalysisRuleConfig.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Config/Dt_AnalysisRuleConfig.cs" new file mode 100644 index 0000000..7813561 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Config/Dt_AnalysisRuleConfig.cs" @@ -0,0 +1,65 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 缂栫爜瑙f瀽瑙勫垯閰嶇疆 + /// </summary> + [SugarTable(nameof(Dt_AnalysisRuleConfig),"缂栫爜瑙f瀽瑙勫垯閰嶇疆")] + public class Dt_AnalysisRuleConfig : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 瑙勫垯缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "瑙勫垯缂栧彿")] + public string AnalysisCode { get; set; } + + /// <summary> + /// 瑙勫垯鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "瑙勫垯鍚嶇О")] + public string AnalysisName { get; set; } + + /// <summary> + /// 鍓嶇紑瀛楃涓� + /// </summary> + [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "鍓嶇紑瀛楃涓�")] + public string StartStr { get; set; } + + /// <summary> + /// 缁撴潫瀛楃涓� + /// </summary> + [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "缁撴潫瀛楃涓�")] + public string EndStr { get; set; } + + /// <summary> + /// 鍒嗗壊瀛楃涓� + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鍒嗗壊瀛楃涓�")] + public string SplitStr { get; set; } + + /// <summary> + /// 缂栫爜瑙勫垯 + /// </summary> + [SugarColumn(IsNullable = false, Length = 100, ColumnDescription = "缂栫爜瑙勫垯")] + public string Format { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Config/Dt_CodeRuleConfig.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Config/Dt_CodeRuleConfig.cs" new file mode 100644 index 0000000..e25fc30 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Config/Dt_CodeRuleConfig.cs" @@ -0,0 +1,71 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 缂栫爜鐢熸垚瑙勫垯閰嶇疆 + /// </summary> + [SugarTable(nameof(Dt_CodeRuleConfig), "缂栫爜鐢熸垚瑙勫垯閰嶇疆")] + public class Dt_CodeRuleConfig : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 瑙勫垯缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "瑙勫垯缂栧彿")] + public string RuleCode { get; set; } + + /// <summary> + /// 瑙勫垯鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "瑙勫垯鍚嶇О")] + public string RuleName { get; set; } + + /// <summary> + /// 娴佹按鍙疯捣濮嬪�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "娴佹按鍙疯捣濮嬪��")] + public int StartVal { get; set; } + + /// <summary> + /// 鍓嶇紑瀛楃涓� + /// </summary> + [SugarColumn(IsNullable = true, Length = 2, ColumnDescription = "鍓嶇紑瀛楃涓�")] + public string StartStr { get; set; } + + /// <summary> + /// 缂栫爜瑙勫垯 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "缂栫爜瑙勫垯")] + public string Format { get; set; } + + /// <summary> + /// 娴佹按鍙烽暱搴� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "娴佹按鍙烽暱搴�")] + public int Length { get; set; } + + /// <summary> + /// 娴佹按鍙峰綋鍓嶅�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "娴佹按鍙峰綋鍓嶅��")] + public int CurrentVal { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrder.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrder.cs" new file mode 100644 index 0000000..63042a0 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrder.cs" @@ -0,0 +1,80 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.CodeConfigEnum; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鍏ュ簱鍗� + /// </summary> + [SugarTable(nameof(Dt_InboundOrder), "鍏ュ簱鍗�")] + public class Dt_InboundOrder : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 浠撳簱涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱涓婚敭")] + public int WarehouseId { get; set; } + + /// <summary> + /// 鍗曟嵁缂栧彿 + /// </summary> + [CodeRule(RuleCodeEnum.InboundOrderRule)] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍗曟嵁缂栧彿")] + public string InboundOrderNo { get; set; } + + /// <summary> + /// 涓婃父鍗曟嵁缂栧彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "涓婃父鍗曟嵁缂栧彿")] + public string UpperOrderNo { get; set; } + + /// <summary> + /// 渚涘簲鍟嗙紪鍙� + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "渚涘簲鍟嗙紪鍙�")] + public string SupplierId { get; set; } + + /// <summary> + /// 鍗曟嵁绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍗曟嵁绫诲瀷")] + public int OrderType { get; set; } + + /// <summary> + /// 鍗曟嵁鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍗曟嵁鐘舵��")] + public int OrderStatus { get; set; } + + /// <summary> + /// 鍒涘缓鏂瑰紡 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍒涘缓鏂瑰紡")] + public int CreateType { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + + /// <summary> + /// 鍏ュ簱鍗曟槑缁� + /// </summary> + [Navigate(NavigateType.OneToMany, nameof(Dt_InboundOrderDetail.OrderId), nameof(Id))] + public List<Dt_InboundOrderDetail> Details { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs" new file mode 100644 index 0000000..1238647 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail.cs" @@ -0,0 +1,89 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鍏ュ簱鍗曟槑缁� + /// </summary> + [SugarTable(nameof(Dt_InboundOrderDetail), "鍏ュ簱鍗曟槑缁�")] + public class Dt_InboundOrderDetail : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 鍏ュ簱鍗曚富閿� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍏ュ簱鍗曚富閿�")] + public int OrderId { get; set; } + + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栧彿")] + public string MaterielCode { get; set; } + + /// <summary> + /// 鐗╂枡鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡鍚嶇О")] + public string MaterielName { get; set; } + + /// <summary> + /// 鎵规鍙� + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵规鍙�")] + public string BatchNo { get; set; } + + /// <summary> + /// 鍗曟嵁鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍗曟嵁鏁伴噺")] + public float OrderQuantity { get; set; } + + /// <summary> + /// 缁勭洏鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "缁勭洏鏁伴噺", DefaultValue = "0")] + public float ReceiptQuantity { get; set; } + + /// <summary> + /// 涓婃灦鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "涓婃灦鏁伴噺", DefaultValue = "0")] + public float OverInQuantity { get; set; } + + /// <summary> + /// 璁㈠崟鏄庣粏鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "璁㈠崟鏄庣粏鐘舵��")] + public int OrderDetailStatus { get; set; } + + /// <summary> + /// 鍗曚綅 + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鍗曚綅")] + public string Unit { get; set; } + + /// <summary> + /// 鏀惰揣鍗曟槑缁嗚鍙� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏀惰揣鍗曟槑缁嗚鍙�")] + public int RowNo { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail_Hty.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail_Hty.cs" new file mode 100644 index 0000000..34e13aa --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrderDetail_Hty.cs" @@ -0,0 +1,42 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鍏ュ簱鍗曟槑缁� + /// </summary> + [SugarTable(nameof(Dt_InboundOrderDetail_Hty), "鍏ュ簱鍗曟槑缁�")] + public class Dt_InboundOrderDetail_Hty : Dt_InboundOrderDetail, IBaseHistoryEntity + { + /// <summary> + /// 鍘熻〃涓婚敭 + /// </summary> + [ImporterHeader(Name = "鍘熻〃涓婚敭")] + [ExporterHeader(DisplayName = "鍘熻〃涓婚敭")] + [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "鍘熻〃涓婚敭")] + public int SourceId { get; set; } + + /// <summary> + /// 鎿嶄綔绫诲瀷 + /// </summary> + [ImporterHeader(Name = "鎿嶄綔绫诲瀷")] + [ExporterHeader(DisplayName = "鎿嶄綔绫诲瀷")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎿嶄綔绫诲瀷")] + public string OperateType { get; set; } + + /// <summary> + /// 绉诲叆鍘嗗彶鏃堕棿 + /// </summary> + [ImporterHeader(Name = "绉诲叆鍘嗗彶鏃堕棿")] + [ExporterHeader(DisplayName = "绉诲叆鍘嗗彶鏃堕棿")] + [SugarColumn(IsNullable = false, ColumnDescription = "绉诲叆鍘嗗彶鏃堕棿")] + public DateTime InsertTime { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrder_Hty.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrder_Hty.cs" new file mode 100644 index 0000000..2442f67 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_InboundOrder_Hty.cs" @@ -0,0 +1,44 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.CodeConfigEnum; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鍏ュ簱鍗曞巻鍙� + /// </summary> + [SugarTable(nameof(Dt_InboundOrder_Hty), "鍏ュ簱鍗曞巻鍙�")] + public class Dt_InboundOrder_Hty : Dt_InboundOrder, IBaseHistoryEntity + { + /// <summary> + /// 鍘熻〃涓婚敭 + /// </summary> + [ImporterHeader(Name = "鍘熻〃涓婚敭")] + [ExporterHeader(DisplayName = "鍘熻〃涓婚敭")] + [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "鍘熻〃涓婚敭")] + public int SourceId { get; set; } + + /// <summary> + /// 鎿嶄綔绫诲瀷 + /// </summary> + [ImporterHeader(Name = "鎿嶄綔绫诲瀷")] + [ExporterHeader(DisplayName = "鎿嶄綔绫诲瀷")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎿嶄綔绫诲瀷")] + public string OperateType { get; set; } + + /// <summary> + /// 绉诲叆鍘嗗彶鏃堕棿 + /// </summary> + [ImporterHeader(Name = "绉诲叆鍘嗗彶鏃堕棿")] + [ExporterHeader(DisplayName = "绉诲叆鍘嗗彶鏃堕棿")] + [SugarColumn(IsNullable = false, ColumnDescription = "绉诲叆鍘嗗彶鏃堕棿")] + public DateTime InsertTime { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_PurchaseOrder.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_PurchaseOrder.cs" new file mode 100644 index 0000000..52c9f66 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_PurchaseOrder.cs" @@ -0,0 +1,77 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 閲囪喘鍗� + /// </summary> + [SugarTable(nameof(Dt_PurchaseOrder), "閲囪喘鍗�"), ModelValidate] + public class Dt_PurchaseOrder : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 閲囪喘鍗曞彿 + /// </summary> + [PropertyValidate("閲囪喘鍗曞彿", NotNullAndEmpty = true)] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "閲囪喘鍗曞彿")] + public string PurchaseOrderNo { get; set; } + + /// <summary> + /// 鍗曟嵁绫诲瀷(S:鏍囧噯鍏ュ簱銆乂:瀵勫敭琛ョ粰鍏ュ簱) + /// </summary> + [PropertyValidate("鍗曟嵁绫诲瀷", NotNullAndEmpty = true, Check = new[] { "S", "V" })] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍗曟嵁绫诲瀷")] + public string PurchaseOrderType { get; set; } + + /// <summary> + /// 渚涘簲鍟嗙紪鍙� + /// </summary> + [PropertyValidate("渚涘簲鍟嗙紪鍙�", NotNullAndEmpty = true)] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "渚涘簲鍟嗙紪鍙�")] + public string SupplierCode { get; set; } + + /// <summary> + /// 閲囪喘鏁伴噺 + /// </summary> + [PropertyValidate("閲囪喘鏁伴噺", MinValue = 0, IsContainMinValue = false)] + [SugarColumn(IsNullable = false, ColumnDescription = "閲囪喘鏁伴噺")] + public float OrderQuantity { get; set; } + + /// <summary> + /// 閲囪喘鍗曠姸鎬� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "閲囪喘鍗曠姸鎬�")] + public int PurchaseOrderStatus { get; set; } + + /// <summary> + /// 涓嬪崟鏃ユ湡 + /// </summary> + [PropertyValidate("涓嬪崟鏃ユ湡", NotNullAndEmpty = true)] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "涓嬪崟鏃ユ湡")] + public string OrderDate { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + + /// <summary> + /// 鐗╂枡鍒楄〃 + /// </summary> + [PropertyValidate("鐗╂枡鍒楄〃", NotNullAndEmpty = true), Navigate(NavigateType.OneToMany, nameof(Dt_PurchaseOrderDetail.PurchaseOrderId), nameof(Id))] + public List<Dt_PurchaseOrderDetail> Details { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_PurchaseOrderDetail.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_PurchaseOrderDetail.cs" new file mode 100644 index 0000000..70e71fc --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_PurchaseOrderDetail.cs" @@ -0,0 +1,71 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 閲囪喘鍗曟槑缁� + /// </summary> + [SugarTable(nameof(Dt_PurchaseOrderDetail), "閲囪喘鍗曟槑缁�"), ModelValidate] + public class Dt_PurchaseOrderDetail : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 澶磋〃涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "澶磋〃涓婚敭")] + public int PurchaseOrderId { get; set; } + + /// <summary> + /// 琛屽彿 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "琛屽彿")] + public int RowNo { get; set; } + + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栧彿")] + public string MaterielCode { get; set; } + + /// <summary> + /// 閲囪喘鍗曟槑缁嗙姸鎬� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "閲囪喘鍗曟槑缁嗙姸鎬�")] + public int PurchaseDetailStatus { get; set; } + + /// <summary> + /// 浠撳簱缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnName = "WarehouseId", ColumnDescription = "浠撳簱缂栧彿")] + public int WarehouseId { get; set; } + + /// <summary> + /// 鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏁伴噺")] + public float PurchaseDetailQuantity { get; set; } + /// <summary> + /// 宸叉敹璐ф暟閲� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "宸叉敹璐ф暟閲�")] + public float PurchaseDetailReceiveQty { get; set; } + + /// <summary> + /// 鍗曚綅 + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鍗曚綅")] + public string Unit { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_ReceiveOrder.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_ReceiveOrder.cs" new file mode 100644 index 0000000..c48f4f8 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_ReceiveOrder.cs" @@ -0,0 +1,92 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.CodeConfigEnum; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鏀惰揣鍗� + /// </summary> + [SugarTable(nameof(Dt_ReceiveOrder), "鏀惰揣鍗�")] + public class Dt_ReceiveOrder : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int ReceiveOrderId { get; set; } + + /// <summary> + /// 鏀惰揣鍗曞彿 + /// </summary> + [CodeRule(RuleCodeEnum.ReceiveOrderRule)] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鏀惰揣鍗曞彿")] + public string ReceiveOrderNo { get; set; } + + /// <summary> + /// 璁㈠崟绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "璁㈠崟绫诲瀷")] + public int ReceiveOrderType { get; set; } + + /// <summary> + /// 璁㈠崟鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "璁㈠崟鐘舵��")] + public int ReceiveOrderStatus { get; set; } + + /// <summary> + /// 涓婁紶鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "涓婁紶鐘舵��")] + public int UploadStatus { get; set; } + + /// <summary> + /// 瀹㈡埛浠e彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "瀹㈡埛浠e彿")] + public string CustomerId { get; set; } + + /// <summary> + /// 渚涘簲鍟嗕唬鍙� + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "渚涘簲鍟嗕唬鍙�")] + public string SuppliersId { get; set; } + + /// <summary> + /// 浠撳簱涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱涓婚敭")] + public int WarehouseId { get; set; } + + /// <summary> + /// 鏀惰揣鏃ユ湡 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鏀惰揣鏃ユ湡")] + public DateTime ReceiveDate { get; set; } + + /// <summary> + /// 閫佽揣鍗曞彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "閫佽揣鍗曞彿")] + public string DeliveryCode { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + + /// <summary> + /// 鏀惰揣鍗曟槑缁� + /// </summary> + [Navigate(NavigateType.OneToMany, nameof(Dt_ReceiveOrderDetail.ReceiveOrderId), nameof(ReceiveOrderId))] + public List<Dt_ReceiveOrderDetail> Details { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_ReceiveOrderDetail.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_ReceiveOrderDetail.cs" new file mode 100644 index 0000000..36534f9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Inbound/Dt_ReceiveOrderDetail.cs" @@ -0,0 +1,101 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鏀惰揣鍗曟槑缁� + /// </summary> + [SugarTable(nameof(Dt_ReceiveOrderDetail), "鏀惰揣鍗曟槑缁�")] + public class Dt_ReceiveOrderDetail : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 鏀惰揣鍗曚富閿� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏀惰揣鍗曚富閿�")] + public int ReceiveOrderId { get; set; } + + /// <summary> + /// 閲囪喘鍗曞彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "閲囪喘鍗曞彿")] + public string PurchaseOrderNo { get; set; } + + /// <summary> + /// 閲囪喘鍗曟槑缁嗚鍙� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "閲囪喘鍗曟槑缁嗚鍙�")] + public int PurchaseOrderDetailRowNo { get; set; } + + /// <summary> + /// 琛屽彿 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "琛屽彿")] + public int RowNo { get; set; } + + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栧彿")] + public string MaterielCode { get; set; } + + /// <summary> + /// 鎵规鍙� + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵规鍙�")] + public string LotNo { get; set; } + + /// <summary> + /// 鏀惰揣鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏀惰揣鏁伴噺")] + public float ReceivedQuantity { get; set; } + + /// <summary> + /// 鏄惁瑕佹楠� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁瑕佹楠�")] + public int IfInspection { get; set; } + + /// <summary> + /// 鍚◣浠锋牸 + /// </summary> + [SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "鍚◣浠锋牸")] + public decimal PriceInTax { get; set; } + + /// <summary> + /// 绋庣巼 + /// </summary> + [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "绋庣巼")] + public string TaxRate { get; set; } + + /// <summary> + /// 甯佸埆缂栫爜 + /// </summary> + [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "甯佸埆缂栫爜")] + public string CurrCode { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + + /// <summary> + /// 鍗曚綅 + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "")] + public string Unit { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_MesOutboundOrder.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_MesOutboundOrder.cs" new file mode 100644 index 0000000..235c50e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_MesOutboundOrder.cs" @@ -0,0 +1,116 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.CodeConfigEnum; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// + /// </summary> + [SugarTable(nameof(Dt_MesOutboundOrder))] + public class Dt_MesOutboundOrder : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 浠撳簱涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱涓婚敭")] + public int WarehouseId { get; set; } + + /// <summary> + /// 鍗曟嵁缂栧彿 + /// </summary> + [CodeRule(RuleCodeEnum.OutboundOrderRule)] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍗曟嵁缂栧彿", IsOnlyIgnoreUpdate = true)] + public string OrderNo { get; set; } + + /// <summary> + /// 浠诲姟鍗曞彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "浠诲姟鍗曞彿")] + public string TaskNo { get; set; } + + /// <summary> + /// 鍗曟嵁绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍗曟嵁绫诲瀷", IsOnlyIgnoreUpdate = true)] + public int OrderType { get; set; } + + /// <summary> + /// 鍗曟嵁鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍗曟嵁鐘舵��")] + public int OrderStatus { get; set; } + + /// <summary> + /// 鍒涘缓鏂瑰紡 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍒涘缓鏂瑰紡", IsOnlyIgnoreUpdate = true)] + public int CreateType { get; set; } + + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栧彿")] + public string MaterialCode { get; set; } + + /// <summary> + /// 鐗╂枡鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "鐗╂枡鍚嶇О")] + public string MaterialName { get; set; } + + /// <summary> + /// 鍗曚綅 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鍗曚綅")] + public string Unit { get; set; } + + /// <summary> + /// 鍗曟嵁鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍗曟嵁鏁伴噺")] + public float OrderQuantity { get; set; } + + /// <summary> + /// 閿佸畾鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "閿佸畾鏁伴噺", DefaultValue = "0")] + public float LockQuantity { get; set; } + + /// <summary> + /// 宸插嚭鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "宸插嚭鏁伴噺", DefaultValue = "0")] + public float OverOutQuantity { get; set; } + + /// <summary> + /// 绾夸綋 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "绾夸綋")] + public string Line { get; set; } + + /// <summary> + /// 绾胯竟浠撳湴鍧�鐮� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "绾胯竟浠撳湴鍧�鐮�")] + public string TargetAddressCode { get; set; } + + /// <summary> + /// 瑁佸垏瀹� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "瑁佸垏瀹�")] + public float Width { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundLockInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundLockInfo.cs" new file mode 100644 index 0000000..190c8ae --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundLockInfo.cs" @@ -0,0 +1,112 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鍑哄簱璇︽儏 + /// </summary> + [SugarTable(nameof(Dt_OutStockLockInfo), "鍑哄簱璇︽儏")] + public class Dt_OutStockLockInfo : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 鍗曟嵁缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍗曟嵁缂栧彿")] + public string OrderNo { get; set; } + + /// <summary> + /// 鍗曟嵁鏄庣粏涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍗曟嵁鏄庣粏涓婚敭")] + public int OrderDetailId { get; set; } + + /// <summary> + /// 鍗曟嵁绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍗曟嵁绫诲瀷")] + public int OrderType { get; set; } + + /// <summary> + /// 鎵规鍙� + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵规鍙�")] + public string BatchNo { get; set; } + + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栧彿")] + public string MaterielCode { get; set; } + + /// <summary> + /// 鐗╂枡鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "鐗╂枡鍚嶇О")] + public string MaterielName { get; set; } + + /// <summary> + /// 搴撳瓨涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "搴撳瓨涓婚敭")] + public int StockId { get; set; } + + /// <summary> + /// 鍗曟嵁鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍗曟嵁鏁伴噺")] + public float OrderQuantity { get; set; } + + /// <summary> + /// 鍘熷搴撳瓨閲� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍘熷搴撳瓨閲�")] + public float OriginalQuantity { get; set; } + + /// <summary> + /// 鍒嗛厤鍑哄簱閲� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍒嗛厤鍑哄簱閲�")] + public float AssignQuantity { get; set; } + + /// <summary> + /// 璐т綅缂栧彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "璐т綅缂栧彿")] + public string LocationCode { get; set; } + + /// <summary> + /// 鎵樼洏缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵樼洏缂栧彿")] + public string PalletCode { get; set; } + /// <summary> + /// 鍗曚綅 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鍗曚綅")] + public string Unit { get; set; } + /// <summary> + /// 浠诲姟鍙� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "浠诲姟鍙�")] + public int? TaskNum { get; set; } + + /// <summary> + /// 鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐘舵��")] + public int Status { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrder.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrder.cs" new file mode 100644 index 0000000..c5aff01 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrder.cs" @@ -0,0 +1,86 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.CodeConfigEnum; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鍑哄簱鍗� + /// </summary> + [SugarTable(nameof(Dt_OutboundOrder), "鍑哄簱鍗�")] + public class Dt_OutboundOrder : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 浠撳簱涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱涓婚敭")] + public int WarehouseId { get; set; } + + /// <summary> + /// 鍗曟嵁缂栧彿 + /// </summary> + [CodeRule(RuleCodeEnum.OutboundOrderRule)] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍗曟嵁缂栧彿", IsOnlyIgnoreUpdate = true)] + public string OrderNo { get; set; } + + /// <summary> + /// 涓婃父鍗曟嵁缂栧彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "涓婃父鍗曟嵁缂栧彿", IsOnlyIgnoreUpdate = true)] + public string UpperOrderNo { get; set; } + + /// <summary> + /// 鍗曟嵁绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍗曟嵁绫诲瀷", IsOnlyIgnoreUpdate = true)] + public int OrderType { get; set; } + + /// <summary> + /// 鍗曟嵁鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍗曟嵁鐘舵��")] + public int OrderStatus { get; set; } + + /// <summary> + /// 鍒涘缓鏂瑰紡 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍒涘缓鏂瑰紡", IsOnlyIgnoreUpdate = true)] + public int CreateType { get; set; } + + /// <summary> + /// 閮ㄩ棬缂栧彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "閮ㄩ棬缂栧彿")] + public string DepartmentCode { get; set; } + + /// <summary> + /// 閮ㄩ棬鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "閮ㄩ棬鍚嶇О")] + public string DepartmentName { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + + /// <summary> + /// 鍑哄簱鍗曟槑缁� + /// </summary> + [Navigate(NavigateType.OneToMany, nameof(Dt_OutboundOrderDetail.OrderId), nameof(Id))] + public List<Dt_OutboundOrderDetail> Details { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail.cs" new file mode 100644 index 0000000..78a2c67 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail.cs" @@ -0,0 +1,87 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鍑哄簱鍗曟槑缁� + /// </summary> + [SugarTable(nameof(Dt_OutboundOrderDetail), "鍑哄簱鍗曟槑缁�")] + public class Dt_OutboundOrderDetail : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 鍑哄簱鍗曚富閿� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍑哄簱鍗曚富閿�")] + public int OrderId { get; set; } + + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栧彿")] + public string MaterielCode { get; set; } + + /// <summary> + /// 鐗╂枡鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "鐗╂枡鍚嶇О")] + public string MaterielName { get; set; } + + /// <summary> + /// 鎵规鍙� + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鎵规鍙�")] + public string BatchNo { get; set; } + + /// <summary> + /// 琛屽彿 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "琛屽彿")] + public int RowNo { get; set; } + + /// <summary> + /// 鍗曟嵁鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍗曟嵁鏁伴噺")] + public float OrderQuantity { get; set; } + + /// <summary> + /// 閿佸畾鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "閿佸畾鏁伴噺", DefaultValue = "0")] + public float LockQuantity { get; set; } + + /// <summary> + /// 宸插嚭鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "宸插嚭鏁伴噺", DefaultValue = "0")] + public float OverOutQuantity { get; set; } + + /// <summary> + /// 璁㈠崟鏄庣粏鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "璁㈠崟鏄庣粏鐘舵��")] + public int OrderDetailStatus { get; set; } + /// <summary> + /// 鍗曚綅 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鍗曚綅")] + public string Unit { get; set; } + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail_Hty.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail_Hty.cs" new file mode 100644 index 0000000..01d46d6 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail_Hty.cs" @@ -0,0 +1,42 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// + /// </summary> + [SugarTable(nameof(Dt_OutboundOrderDetail_Hty), "鍑哄簱鍗曟槑缁�")] + public class Dt_OutboundOrderDetail_Hty : Dt_OutboundOrderDetail, IBaseHistoryEntity + { + /// <summary> + /// 鍘熻〃涓婚敭 + /// </summary> + [ImporterHeader(Name = "鍘熻〃涓婚敭")] + [ExporterHeader(DisplayName = "鍘熻〃涓婚敭")] + [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "鍘熻〃涓婚敭")] + public int SourceId { get; set; } + + /// <summary> + /// 鎿嶄綔绫诲瀷 + /// </summary> + [ImporterHeader(Name = "鎿嶄綔绫诲瀷")] + [ExporterHeader(DisplayName = "鎿嶄綔绫诲瀷")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎿嶄綔绫诲瀷")] + public string OperateType { get; set; } + + /// <summary> + /// 绉诲叆鍘嗗彶鏃堕棿 + /// </summary> + [ImporterHeader(Name = "绉诲叆鍘嗗彶鏃堕棿")] + [ExporterHeader(DisplayName = "绉诲叆鍘嗗彶鏃堕棿")] + [SugarColumn(IsNullable = false, ColumnDescription = "绉诲叆鍘嗗彶鏃堕棿")] + public DateTime InsertTime { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrder_Hty.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrder_Hty.cs" new file mode 100644 index 0000000..c53b331 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrder_Hty.cs" @@ -0,0 +1,44 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.CodeConfigEnum; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// + /// </summary> + [SugarTable(nameof(Dt_OutboundOrder_Hty), "鍑哄簱鍗�")] + public class Dt_OutboundOrder_Hty : Dt_OutboundOrder, IBaseHistoryEntity + { + /// <summary> + /// 鍘熻〃涓婚敭 + /// </summary> + [ImporterHeader(Name = "鍘熻〃涓婚敭")] + [ExporterHeader(DisplayName = "鍘熻〃涓婚敭")] + [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "鍘熻〃涓婚敭")] + public int SourceId { get; set; } + + /// <summary> + /// 鎿嶄綔绫诲瀷 + /// </summary> + [ImporterHeader(Name = "鎿嶄綔绫诲瀷")] + [ExporterHeader(DisplayName = "鎿嶄綔绫诲瀷")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎿嶄綔绫诲瀷")] + public string OperateType { get; set; } + + /// <summary> + /// 绉诲叆鍘嗗彶鏃堕棿 + /// </summary> + [ImporterHeader(Name = "绉诲叆鍘嗗彶鏃堕棿")] + [ExporterHeader(DisplayName = "绉诲叆鍘嗗彶鏃堕棿")] + [SugarColumn(IsNullable = false, ColumnDescription = "绉诲叆鍘嗗彶鏃堕棿")] + public DateTime InsertTime { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Record/Dt_LocationStatusChangeRecord.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Record/Dt_LocationStatusChangeRecord.cs" new file mode 100644 index 0000000..357b358 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Record/Dt_LocationStatusChangeRecord.cs" @@ -0,0 +1,77 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 璐т綅鐘舵�佸彉鍔ㄨ褰� + /// </summary> + [SugarTable(nameof(Dt_LocationStatusChangeRecord), "璐т綅鐘舵�佸彉鍔ㄨ褰�")] + public class Dt_LocationStatusChangeRecord : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 璐т綅涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "璐т綅涓婚敭")] + public int LocationId { get; set; } + + /// <summary> + /// 璐т綅缂栧彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 30, ColumnDescription = "璐т綅缂栧彿")] + public string LocationCode { get; set; } + + /// <summary> + /// 鍙樺姩鍓嶈揣浣嶇姸鎬� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍙樺姩鍓嶈揣浣嶇姸鎬�")] + public int BeforeStatus { get; set; } + + /// <summary> + /// 鍙樺姩鍚庤揣浣嶇姸鎬� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍙樺姩鍚庤揣浣嶇姸鎬�")] + public int AfterStatus { get; set; } + + /// <summary> + /// 鍙樺姩绫诲瀷锛堝嚭搴撱�佸叆搴撱�佹墜鍔ㄨ皟鏁�...锛� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍙樺姩绫诲瀷锛堝嚭搴撱�佸叆搴撱�佹墜鍔ㄨ皟鏁�...锛�")] + public int ChangeType { get; set; } + + /// <summary> + /// 鍗曟嵁涓婚敭 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鍗曟嵁涓婚敭")] + public int? OrderId { get; set; } + + /// <summary> + /// 鍗曟嵁缂栧彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鍗曟嵁缂栧彿")] + public string OrderNo { get; set; } + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "浠诲姟鍙�")] + public int? TaskNum { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Record/Dt_StockQuantityChangeRecord.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Record/Dt_StockQuantityChangeRecord.cs" new file mode 100644 index 0000000..269dbae --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Record/Dt_StockQuantityChangeRecord.cs" @@ -0,0 +1,101 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 搴撳瓨鍙樺姩淇℃伅璁板綍 + /// </summary> + [SugarTable(nameof(Dt_StockQuantityChangeRecord), "搴撳瓨鍙樺姩淇℃伅璁板綍")] + public class Dt_StockQuantityChangeRecord : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 搴撳瓨鏄庣粏涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "搴撳瓨鏄庣粏涓婚敭")] + public int StockDetailId { get; set; } + + /// <summary> + /// 鎵樼洏缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵樼洏缂栧彿")] + public string PalleCode { get; set; } + + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栧彿")] + public string MaterielCode { get; set; } + + /// <summary> + /// 鐗╂枡鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "鐗╂枡鍚嶇О")] + public string MaterielName { get; set; } + + /// <summary> + /// 鎵规鍙� + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵规鍙�")] + public string BatchNo { get; set; } + + /// <summary> + /// 搴忓垪鍙� + /// </summary> + [SugarColumn(IsNullable = false, Length = 100, ColumnDescription = "搴忓垪鍙�")] + public string SerilNumber { get; set; } + + /// <summary> + /// 鍗曟嵁缂栧彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鍗曟嵁缂栧彿")] + public string OrderNo { get; set; } + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "浠诲姟鍙�")] + public int? TaskNum { get; set; } + + /// <summary> + /// 鍙樺姩绫诲瀷锛堝嚭搴撱�佸叆搴撱�佹墜鍔ㄨ皟鏁�...锛� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍙樺姩绫诲瀷锛堝嚭搴撱�佸叆搴撱�佹墜鍔ㄨ皟鏁�...锛�")] + public int ChangeType { get; set; } + + /// <summary> + /// 鍙樺姩鏁伴噺锛堟鏁拌〃绀哄鍔狅紝璐熸暟琛ㄧず鍑忓皯锛� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍙樺姩鏁伴噺锛堟鏁拌〃绀哄鍔狅紝璐熸暟琛ㄧず鍑忓皯锛�")] + public float ChangeQuantity { get; set; } + + /// <summary> + /// 鍙樺姩鍓嶅簱瀛橀噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍙樺姩鍓嶅簱瀛橀噺", DefaultValue = "0")] + public float BeforeQuantity { get; set; } + + /// <summary> + /// 鍙樺姩鍚庡簱瀛橀噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍙樺姩鍚庡簱瀛橀噺", DefaultValue = "0")] + public float AfterQuantity { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs" new file mode 100644 index 0000000..85fea92 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs" @@ -0,0 +1,65 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 搴撳瓨淇℃伅 + /// </summary> + [SugarTable(nameof(Dt_StockInfo), "搴撳瓨淇℃伅")] + public class Dt_StockInfo : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 鎵樼洏缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵樼洏缂栧彿")] + public string PalletCode { get; set; } + + /// <summary> + /// 鎵樼洏绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鎵樼洏绫诲瀷")] + public int PalletType { get; set; } + + /// <summary> + /// 璐т綅缂栧彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 30, ColumnDescription = "璐т綅缂栧彿")] + public string LocationCode { get; set; } + + /// <summary> + /// 浠撳簱涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱涓婚敭")] + public int WarehouseId { get; set; } + + /// <summary> + /// 搴撳瓨鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "搴撳瓨鐘舵��")] + public int StockStatus { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + + /// <summary> + /// 搴撳瓨鏄庣粏 + /// </summary> + [Navigate(NavigateType.OneToMany, nameof(Dt_StockInfoDetail.StockId), nameof(Id))] + public List<Dt_StockInfoDetail> Details { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfoDetail.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfoDetail.cs" new file mode 100644 index 0000000..8e69b63 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfoDetail.cs" @@ -0,0 +1,106 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// + /// </summary> + [SugarTable(nameof(Dt_StockInfoDetail), "搴撳瓨淇℃伅鏄庣粏")] + public class Dt_StockInfoDetail : BaseEntity + { + /// <summary> + /// + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 搴撳瓨淇℃伅涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "搴撳瓨淇℃伅涓婚敭")] + public int StockId { get; set; } + + /// <summary> + /// 鐗╂枡缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鐗╂枡缂栧彿")] + public string MaterielCode { get; set; } + + /// <summary> + /// 鐗╂枡鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "鐗╂枡鍚嶇О")] + public string MaterielName { get; set; } + + /// <summary> + /// 鍗曟嵁缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍗曟嵁缂栧彿")] + public string OrderNo { get; set; } + + /// <summary> + /// 鎵规鍙� + /// </summary> + [SugarColumn(IsNullable = true, Length = 100, ColumnDescription = "鎵规鍙�")] + public string BatchNo { get; set; } + + /// <summary> + /// 鐢熶骇鏃ユ湡 + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鐢熶骇鏃ユ湡")] + public string ProductionDate { get; set; } + + /// <summary> + /// 鏈夋晥鏈� + /// </summary> + [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鏈夋晥鏈�")] + public string EffectiveDate { get; set; } + + /// <summary> + /// 搴忓垪鍙� + /// </summary> + [SugarColumn(IsNullable = false, Length = 100, ColumnDescription = "搴忓垪鍙�")] + public string SerialNumber { get; set; } + + /// <summary> + /// 搴撳瓨鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "搴撳瓨鏁伴噺")] + public float StockQuantity { get; set; } + + /// <summary> + /// 鍑哄簱鏁伴噺 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍑哄簱鏁伴噺", DefaultValue = "0")] + public float OutboundQuantity { get; set; } + + /// <summary> + /// 搴撳瓨鏄庣粏鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "搴撳瓨鏄庣粏鐘舵��")] + public int Status { get; set; } + + /// <summary> + /// 鍗曚綅 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鍗曚綅")] + public string Unit { get; set; } + /// <summary> + /// 鍏ュ簱鍗曟槑缁嗚鍙� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鍏ュ簱鍗曟槑缁嗚鍙�")] + public int InboundOrderRowNo { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfoDetail_Hty.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfoDetail_Hty.cs" new file mode 100644 index 0000000..82096fc --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfoDetail_Hty.cs" @@ -0,0 +1,42 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 搴撳瓨淇℃伅鏄庣粏鍘嗗彶 + /// </summary> + [SugarTable(nameof(Dt_StockInfoDetail_Hty), "搴撳瓨淇℃伅鏄庣粏鍘嗗彶")] + public class Dt_StockInfoDetail_Hty : Dt_StockInfoDetail, IBaseHistoryEntity + { + /// <summary> + /// 鍘熻〃涓婚敭 + /// </summary> + [ImporterHeader(Name = "鍘熻〃涓婚敭")] + [ExporterHeader(DisplayName = "鍘熻〃涓婚敭")] + [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "鍘熻〃涓婚敭")] + public int SourceId { get; set; } + + /// <summary> + /// 鎿嶄綔绫诲瀷 + /// </summary> + [ImporterHeader(Name = "鎿嶄綔绫诲瀷")] + [ExporterHeader(DisplayName = "鎿嶄綔绫诲瀷")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎿嶄綔绫诲瀷")] + public string OperateType { get; set; } + + /// <summary> + /// 绉诲叆鍘嗗彶鏃堕棿 + /// </summary> + [ImporterHeader(Name = "绉诲叆鍘嗗彶鏃堕棿")] + [ExporterHeader(DisplayName = "绉诲叆鍘嗗彶鏃堕棿")] + [SugarColumn(IsNullable = false, ColumnDescription = "绉诲叆鍘嗗彶鏃堕棿")] + public DateTime InsertTime { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo_Hty.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo_Hty.cs" new file mode 100644 index 0000000..00a0f08 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo_Hty.cs" @@ -0,0 +1,42 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 搴撳瓨淇℃伅鍘嗗彶 + /// </summary> + [SugarTable(nameof(Dt_StockInfo_Hty), "搴撳瓨淇℃伅")] + public class Dt_StockInfo_Hty : Dt_StockInfo, IBaseHistoryEntity + { + /// <summary> + /// 鍘熻〃涓婚敭 + /// </summary> + [ImporterHeader(Name = "鍘熻〃涓婚敭")] + [ExporterHeader(DisplayName = "鍘熻〃涓婚敭")] + [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "鍘熻〃涓婚敭")] + public int SourceId { get; set; } + + /// <summary> + /// 鎿嶄綔绫诲瀷 + /// </summary> + [ImporterHeader(Name = "鎿嶄綔绫诲瀷")] + [ExporterHeader(DisplayName = "鎿嶄綔绫诲瀷")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎿嶄綔绫诲瀷")] + public string OperateType { get; set; } + + /// <summary> + /// 绉诲叆鍘嗗彶鏃堕棿 + /// </summary> + [ImporterHeader(Name = "绉诲叆鍘嗗彶鏃堕棿")] + [ExporterHeader(DisplayName = "绉诲叆鍘嗗彶鏃堕棿")] + [SugarColumn(IsNullable = false, ColumnDescription = "绉诲叆鍘嗗彶鏃堕棿")] + public DateTime InsertTime { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/RoleAuthor.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/RoleAuthor.cs" new file mode 100644 index 0000000..4cd4407 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/RoleAuthor.cs" @@ -0,0 +1,14 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Model +{ + public class RoleAuthor + { + public int menuId { get; set; } + public string actions { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/RoleNodes.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/RoleNodes.cs" new file mode 100644 index 0000000..25b6b51 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/RoleNodes.cs" @@ -0,0 +1,15 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEA_Model.Models.System +{ + public class RoleNodes + { + public int Id { get; set; } + public int ParentId { get; set; } + public string RoleName { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Dictionary.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Dictionary.cs" new file mode 100644 index 0000000..fb358b0 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Dictionary.cs" @@ -0,0 +1,81 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using WIDESEA_Core.DB.Models; +using WIDESEA_Core.Filter; +using WIDESEA_Core.Tenants; + +namespace WIDESEA_Model.Models +{ + [MultiTenant] + [Exporter(ExporterHeaderFilter = typeof(ExporterHeaderFilter))] + [SugarTable("Sys_Dictionary", "瀛楀吀鏁版嵁")] + public class Sys_Dictionary : BaseEntity + { + /// <summary> + /// 瀛楀吀ID + /// </summary> + [ExporterHeader(DisplayName = "瀛楀吀ID")] + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "瀛楀吀ID")] + public int DicId { get; set; } + + /// <summary> + /// 閰嶇疆椤� + /// </summary> + [ExporterHeader(DisplayName = "閰嶇疆椤�")] + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "閰嶇疆椤�")] + public string Config { get; set; } + + /// <summary> + /// Sql璇彞 + /// </summary> + [ExporterHeader(DisplayName = "Sql璇彞")] + [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "Sql璇彞")] + public string Sql { get; set; } + + /// <summary> + /// 瀛楀吀鍚嶇О + /// </summary> + [ExporterHeader(DisplayName = "瀛楀吀鍚嶇О")] + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "瀛楀吀鍚嶇О")] + public string DicName { get; set; } + + /// <summary> + /// 瀛楀吀缂栧彿 + /// </summary> + [ExporterHeader(DisplayName = "瀛楀吀缂栧彿")] + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "瀛楀吀缂栧彿")] + public string DicNo { get; set; } + + /// <summary> + /// 鏄惁鍚敤 + /// </summary> + [ExporterHeader(DisplayName = "鏄惁鍚敤")] + [SugarColumn(IsNullable = true, ColumnDescription = "鏄惁鍚敤")] + public byte? Enable { get; set; } + + /// <summary> + /// 鎺掑簭鍙� + /// </summary> + [ExporterHeader(DisplayName = "鎺掑簭鍙�")] + [SugarColumn(IsNullable = true, ColumnDescription = "鎺掑簭鍙�")] + public int? OrderNo { get; set; } + + /// <summary> + /// 鐖剁骇ID + /// </summary> + [ExporterHeader(DisplayName = "鐖剁骇ID")] + [SugarColumn(IsNullable = true, ColumnDescription = "鐖剁骇ID")] + public int ParentId { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [ExporterHeader(DisplayName = "澶囨敞")] + [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + + [ExporterHeader(IsIgnore = true)] + [Navigate(NavigateType.OneToMany, nameof(DicId),nameof(DicId)), SugarColumn(IsIgnore = true, IsNullable = true)] + public List<Sys_DictionaryList> DicList { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_DictionaryList.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_DictionaryList.cs" new file mode 100644 index 0000000..e29f6fc --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_DictionaryList.cs" @@ -0,0 +1,57 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; +using SqlSugar; +using WIDESEA_Core.Tenants; + +namespace WIDESEA_Model.Models +{ + [SugarTable("Sys_DictionaryList", "瀛楀吀鏄庣粏"), MultiTenant] + public class Sys_DictionaryList : BaseEntity + { + /// <summary> + /// 瀛楀吀鍒楄〃ID + /// </summary> + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "瀛楀吀鍒楄〃ID")] + public int DicListId { get; set; } + + /// <summary> + /// 鏁版嵁婧怲ext + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鏁版嵁婧怲ext")] + public string DicName { get; set; } + + /// <summary> + /// 鏁版嵁婧怴alue + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鏁版嵁婧怴alue")] + public string DicValue { get; set; } + + /// <summary> + /// 鏁版嵁婧怚D + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏁版嵁婧怚D")] + public int DicId { get; set; } + + /// <summary> + /// 鏄惁鍙敤 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鏄惁鍙敤")] + public byte? Enable { get; set; } + + /// <summary> + /// 鎺掑簭鍙� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鎺掑簭鍙�")] + public int? OrderNo { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Log.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Log.cs" new file mode 100644 index 0000000..a2d31ba --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Log.cs" @@ -0,0 +1,83 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using SqlSugar; +using WIDESEA_Core.DB.Models; +using WIDESEA_Core.Tenants; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鎺ュ彛鏃ュ織 + /// </summary> + [SugarTable(nameof(Sys_Log), "鎺ュ彛鏃ュ織")] + public class Sys_Log + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int Id { get; set; } + + /// <summary> + /// 寮�濮嬫椂闂� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "寮�濮嬫椂闂�")] + public DateTime? BeginDate { get; set; } + + /// <summary> + /// 鏃堕暱 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鏃堕暱")] + public int? ElapsedTime { get; set; } + + /// <summary> + /// 缁撴潫鏃堕棿 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "缁撴潫鏃堕棿")] + public DateTime EndDate { get; set; } + + /// <summary> + /// 璇锋眰鍙傛暟 + /// </summary> + [SugarColumn(IsNullable = true, Length = int.MaxValue, ColumnDescription = "璇锋眰鍙傛暟")] + public string RequestParam { get; set; } + + /// <summary> + /// 鍝嶅簲鍙傛暟 + /// </summary> + [SugarColumn(IsNullable = true, Length = int.MaxValue, ColumnDescription = "鍝嶅簲鍙傛暟")] + public string ResponseParam { get; set; } + + /// <summary> + /// 鍝嶅簲鐘舵�� + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鍝嶅簲鐘舵��")] + public int? Success { get; set; } + + /// <summary> + /// 璇锋眰鍦板潃 + /// </summary> + [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "璇锋眰鍦板潃")] + public string Url { get; set; } + + /// <summary> + /// 鐢ㄦ埛IP + /// </summary> + [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "鐢ㄦ埛IP")] + public string UserIP { get; set; } + + /// <summary> + /// 鐢ㄦ埛鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鐢ㄦ埛鍚嶇О")] + public string? UserName { get; set; } + + /// <summary> + /// 鐢ㄦ埛涓婚敭 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鐢ㄦ埛涓婚敭")] + public int? UserId { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Menu.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Menu.cs" new file mode 100644 index 0000000..b2e79be --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Menu.cs" @@ -0,0 +1,81 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using SqlSugar; +using WIDESEA_Core.DB.Models; +using WIDESEA_Core.Tenants; + +namespace WIDESEA_Model.Models +{ + [SugarTable("Sys_Menu", "鑿滃崟閰嶇疆"), MultiTenant] + public class Sys_Menu : BaseEntity + { + /// <summary> + /// 鑿滃崟ID + /// </summary> + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "鑿滃崟ID")] + public int MenuId { get; set; } + + /// <summary> + /// 鑿滃崟鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鑿滃崟鍚嶇О")] + public string MenuName { get; set; } + + /// <summary> + /// 鏉冮檺 + /// </summary> + [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "鏉冮檺")] + public string Auth { get; set; } + + /// <summary> + /// 鍥炬爣 + /// </summary> + [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "鍥炬爣")] + public string Icon { get; set; } + + /// <summary> + /// 鎻忚堪 + /// </summary> + [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "鎻忚堪")] + public string Description { get; set; } + + /// <summary> + /// 鏄惁鍚敤 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鏄惁鍚敤")] + public byte? Enable { get; set; } + + /// <summary> + /// 琛ㄥ悕 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "琛ㄥ悕")] + public string TableName { get; set; } + + /// <summary> + /// 鐖剁骇ID + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐖剁骇ID")] + public int ParentId { get; set; } + + /// <summary> + /// 璺緞 + /// </summary> + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "璺緞")] + public string Url { get; set; } + + /// <summary> + /// 鎺掑簭鍙� + /// </summary> + [SugarColumn(IsNullable = true,ColumnDescription ="鎺掑簭鍙�")] + public int? OrderNo { get; set; } + + /// <summary> + /// 鑿滃崟绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鑿滃崟绫诲瀷")] + public int MenuType { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Role.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Role.cs" new file mode 100644 index 0000000..00dcd63 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Role.cs" @@ -0,0 +1,54 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using SqlSugar; +using WIDESEA_Core.DB.Models; +using WIDESEA_Core.Tenants; + +namespace WIDESEA_Model.Models +{ + [SugarTable("Sys_Role", "瑙掕壊琛�"), MultiTenant] + public class Sys_Role : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "涓婚敭")] + public int RoleId { get; set; } + + /// <summary> + /// 閮ㄩ棬鍚嶇О + /// </summary> + [SugarColumn(IsNullable = true, IsIgnore = true, Length = 50, ColumnDescription = "閮ㄩ棬鍚嶇О")] + public string DeptName { get; set; } + + /// <summary> + /// 閮ㄩ棬涓婚敭 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "閮ㄩ棬涓婚敭")] + public int? DeptId { get; set; } + + /// <summary> + /// 鏄惁鍚敤 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁鍚敤")] + public byte Enable { get; set; } + + /// <summary> + /// 鐖禝D + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐖禝D")] + public int ParentId { get; set; } + + /// <summary> + /// 瑙掕壊鍚嶇О + /// </summary> + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "瑙掕壊鍚嶇О")] + public string RoleName { get; set; } + + [Navigate(NavigateType.OneToMany, nameof(ParentId), nameof(RoleId)), SugarColumn(IsIgnore = true, IsNullable = true)] + public List<Sys_Role> Roles { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_RoleAuth.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_RoleAuth.cs" new file mode 100644 index 0000000..1d9c5ff --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_RoleAuth.cs" @@ -0,0 +1,48 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using SqlSugar; +using WIDESEA_Core.DB.Models; +using WIDESEA_Core.Tenants; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 瑙掕壊韬唤楠岃瘉绠$悊琛� + /// </summary> + [SugarTable("Sys_RoleAuth", "瑙掕壊韬唤楠岃瘉绠$悊"), MultiTenant] + public class Sys_RoleAuth : BaseEntity + { + /// <summary> + /// 瑙掕壊韬唤楠岃瘉ID + /// </summary> + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "瑙掕壊韬唤楠岃瘉ID")] + public int AuthId { get; set; } + + /// <summary> + /// 鐢ㄦ埛鏉冮檺 + /// </summary> + [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "鐢ㄦ埛鏉冮檺")] + public string AuthValue { get; set; } + + /// <summary> + /// 鑿滃崟ID + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鑿滃崟ID")] + public int MenuId { get; set; } + + /// <summary> + /// 瑙掕壊ID + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "瑙掕壊ID")] + public int? RoleId { get; set; } + + /// <summary> + /// 鐢ㄦ埛ID + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鐢ㄦ埛ID")] + public int? UserId { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_RoleDataPermission.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_RoleDataPermission.cs" new file mode 100644 index 0000000..b1d50cf --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_RoleDataPermission.cs" @@ -0,0 +1,27 @@ +锘�//using SqlSugar; +//using System; +//using System.Collections.Generic; +//using System.Linq; +//using System.Text; +//using System.Threading.Tasks; +//using WIDESEA_Core.DB.Models; + +//namespace WIDESEA_Model.Models +//{ +// [SugarTable(nameof(Sys_RoleDataPermission))] +// public class Sys_RoleDataPermission : BaseEntity +// { +// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] +// public int Id { get; set; } + +// public int RoleId { get; set; } + +// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "瑙掕壊鍚嶇О")] +// public string RoleName { get; set; } + +// public int WarehouseId { get; set; } + +// [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "")] +// public string WarehouseName { get; set; } +// } +//} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Tenant.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Tenant.cs" new file mode 100644 index 0000000..33836b0 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Tenant.cs" @@ -0,0 +1,57 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; +using WIDESEA_Core.Tenants; + +namespace WIDESEA_Model.Models +{ + [SugarTable("Sys_Tenant", "绉熸埛")] + public class Sys_Tenant : BaseEntity + { + /// <summary> + /// 绉熸埛ID + /// </summary> + [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "绉熸埛ID")] + public int TenantId { get; set; } + + /// <summary> + /// 绉熸埛鍚嶇О + /// </summary> + [SugarColumn(Length = 200, IsNullable = false, ColumnDescription = "绉熸埛鍚嶇О")] + public string TenantName { get; set; } + + /// <summary> + /// 绉熸埛绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "绉熸埛绫诲瀷")] + public int TenantType { get; set; } + + /// <summary> + /// 鏁版嵁搴撶被鍨� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏁版嵁搴撶被鍨�")] + public int DbType { get; set; } + + /// <summary> + /// 杩炴帴瀛楃涓� + /// </summary> + [SugarColumn(Length = 1000, IsNullable = false, ColumnDescription = "杩炴帴瀛楃涓�")] + public string ConnectionString { get; set; } + + /// <summary> + /// 鐘舵�� + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鐘舵��")] + public int Status { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(Length = 2000, IsNullable = true, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_User.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_User.cs" new file mode 100644 index 0000000..99c6a1e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_User.cs" @@ -0,0 +1,127 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.DB.Models; +using WIDESEA_Core.Tenants; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 鐢ㄦ埛淇℃伅琛� + /// </summary> + //[SugarTable("SysUserInfo")] + [SugarTable("Sys_User", "鐢ㄦ埛琛�")] //('鏁版嵁搴撹〃鍚�'锛�'鏁版嵁搴撹〃澶囨敞') + public class Sys_User : BaseEntity + { + /// <summary> + /// 鐢ㄦ埛ID + /// </summary> + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "鐢ㄦ埛ID")] + public int UserId { get; set; } + + /// <summary> + ///甯愬彿 + /// </summary> + [SugarColumn(Length = 100, IsNullable = false, ColumnDescription = "甯愬彿")] + public string UserName { get; set; } + + /// <summary> + /// 瑙掕壊ID + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "瑙掕壊ID")] + public int RoleId { get; set; } + + /// <summary> + /// 瑙掕壊鍚嶇О + /// </summary> + [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "瑙掕壊鍚嶇О")] + public string RoleName { get; set; } + + /// <summary> + /// 鐢佃瘽 + /// </summary> + [SugarColumn(Length = 11, IsNullable = true, ColumnDescription = "鐢佃瘽")] + public string PhoneNo { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + + /// <summary> + /// 瀵嗙爜 + /// </summary> + [SugarColumn(Length = 200, IsNullable = false, ColumnDescription = "瀵嗙爜")] + public string UserPwd { get; set; } + + /// <summary> + /// 鐪熷疄濮撳悕 + /// </summary> + [SugarColumn(Length = 100, IsNullable = false, ColumnDescription = "鐪熷疄濮撳悕")] + public string UserTrueName { get; set; } + + /// <summary> + /// 閮ㄩ棬 + /// </summary> + [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "閮ㄩ棬")] + public string DeptName { get; set; } + + /// <summary> + /// 閮ㄩ棬ID + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "閮ㄩ棬ID")] + public int? DeptId { get; set; } + + /// <summary> + /// 閭 + /// </summary> + [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "閭")] + public string Email { get; set; } + + /// <summary> + /// 鏄惁鍙敤 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁鍙敤")] + public byte Enable { get; set; } + + /// <summary> + /// 鎬у埆 + /// </summary> + [SugarColumn(IsNullable = true, ColumnDescription = "鎬у埆")] + public int? Gender { get; set; } + + /// <summary> + /// 澶村儚 + /// </summary> + [SugarColumn(Length = 500, IsNullable = true, ColumnDescription = "澶村儚")] + public string HeadImageUrl { get; set; } + + /// <summary> + /// 鏈�鍚庡瘑鐮佷慨鏀规椂闂� + /// </summary> + [SugarColumn(IsNullable = true, IsOnlyIgnoreInsert = true, ColumnDescription = "鏈�鍚庡瘑鐮佷慨鏀规椂闂�")] + public DateTime? LastModifyPwdDate { get; set; } + + /// <summary> + /// 鍦板潃 + /// </summary> + [SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "鍦板潃")] + public string Address { get; set; } + + /// <summary> + /// 浠ょ墝 + /// </summary> + [SugarColumn(Length = 500, IsNullable = true, ColumnDescription = "浠ょ墝")] + public string Token { get; set; } + + /// <summary> + /// 绉熸埛ID + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "绉熸埛ID", DefaultValue = "0")] + public long TenantId { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/TaskInfo/Dt_Task.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/TaskInfo/Dt_Task.cs" new file mode 100644 index 0000000..4744830 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/TaskInfo/Dt_Task.cs" @@ -0,0 +1,146 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.OtherEnum; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 浠诲姟淇℃伅 + /// </summary> + [SugarTable(nameof(Dt_Task), "浠诲姟淇℃伅"), SugarIndex("unique_task_taskNum", nameof(TaskNum), OrderByType.Asc, true)] + public class Dt_Task : BaseEntity + { + /// <summary> + /// 涓婚敭 + /// </summary> + [ImporterHeader(Name = "涓婚敭")] + [ExporterHeader(DisplayName = "涓婚敭")] + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] + public int TaskId { get; set; } + + /// <summary> + /// 浠诲姟鍙� + /// </summary> + [ImporterHeader(Name = "浠诲姟鍙�")] + [ExporterHeader(DisplayName = "浠诲姟鍙�")] + [SugarColumn(IsNullable = false, ColumnDescription = "浠诲姟鍙�"), Sequence(nameof(SequenceEnum.SeqTaskNum), 100000000)] + public int TaskNum { get; set; } + + /// <summary> + /// 鎵樼洏缂栧彿 + /// </summary> + [ImporterHeader(Name = "鎵樼洏缂栧彿")] + [ExporterHeader(DisplayName = "鎵樼洏缂栧彿")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵樼洏缂栧彿")] + public string PalletCode { get; set; } + + /// <summary> + /// 鎵樼洏绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鎵樼洏绫诲瀷")] + public int PalletType { get; set; } + + /// <summary> + /// 宸烽亾鍙� + /// </summary> + [ImporterHeader(Name = "宸烽亾鍙�")] + [ExporterHeader(DisplayName = "宸烽亾鍙�")] + [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "宸烽亾鍙�")] + public string Roadway { get; set; } + + /// <summary> + /// 浠诲姟绫诲瀷 + /// </summary> + [ImporterHeader(Name = "浠诲姟绫诲瀷")] + [ExporterHeader(DisplayName = "浠诲姟绫诲瀷")] + [SugarColumn(IsNullable = false, ColumnDescription = "浠诲姟绫诲瀷")] + public int TaskType { get; set; } + + /// <summary> + /// 浠诲姟鐘舵�� + /// </summary> + [ImporterHeader(Name = "浠诲姟鐘舵��")] + [ExporterHeader(DisplayName = "浠诲姟鐘舵��")] + [SugarColumn(IsNullable = false, ColumnDescription = "浠诲姟鐘舵��")] + public int TaskStatus { get; set; } + + /// <summary> + /// 璧峰鍦板潃 + /// </summary> + [ImporterHeader(Name = "璧峰鍦板潃")] + [ExporterHeader(DisplayName = "璧峰鍦板潃")] + [SugarColumn(IsNullable = false, Length = 30, ColumnDescription = "璧峰鍦板潃")] + public string SourceAddress { get; set; } + + /// <summary> + /// 鐩爣鍦板潃 + /// </summary> + [ImporterHeader(Name = "鐩爣鍦板潃")] + [ExporterHeader(DisplayName = "鐩爣鍦板潃")] + [SugarColumn(IsNullable = false, Length = 30, ColumnDescription = "鐩爣鍦板潃")] + public string TargetAddress { get; set; } + + /// <summary> + /// 褰撳墠浣嶇疆 + /// </summary> + [ImporterHeader(Name = "褰撳墠浣嶇疆")] + [ExporterHeader(DisplayName = "褰撳墠浣嶇疆")] + [SugarColumn(IsNullable = false, Length = 30, ColumnDescription = "褰撳墠浣嶇疆")] + public string CurrentAddress { get; set; } + + /// <summary> + /// 涓嬩竴鍦板潃 + /// </summary> + [ImporterHeader(Name = "涓嬩竴鍦板潃")] + [ExporterHeader(DisplayName = "涓嬩竴鍦板潃")] + [SugarColumn(IsNullable = false, Length = 30, ColumnDescription = "涓嬩竴鍦板潃")] + public string NextAddress { get; set; } + + /// <summary> + /// 浠撳簱涓婚敭 + /// </summary> + [ImporterHeader(Name = "浠撳簱涓婚敭")] + [ExporterHeader(DisplayName = "浠撳簱涓婚敭")] + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱涓婚敭")] + public int WarehouseId { get; set; } + + /// <summary> + /// 鍗曟嵁缂栧彿 + /// </summary> + [ImporterHeader(Name = "鍗曟嵁缂栧彿")] + [ExporterHeader(DisplayName = "鍗曟嵁缂栧彿")] + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鍗曟嵁缂栧彿")] + public string? OrderNo { get; set; } + + /// <summary> + /// 浼樺厛绾� + /// </summary> + [ImporterHeader(Name = "浼樺厛绾�")] + [ExporterHeader(DisplayName = "浼樺厛绾�")] + [SugarColumn(IsNullable = false, ColumnDescription = "浼樺厛绾�")] + public int Grade { get; set; } + + /// <summary> + /// 浠诲姟涓嬪彂鏃堕棿 + /// </summary> + [ImporterHeader(Name = "浠诲姟涓嬪彂鏃堕棿")] + [ExporterHeader(DisplayName = "浠诲姟涓嬪彂鏃堕棿")] + [SugarColumn(IsNullable = true, ColumnDescription = "浠诲姟涓嬪彂鏃堕棿")] + public DateTime? Dispatchertime { get; set; } + + /// <summary> + /// 澶囨敞 + /// </summary> + [ImporterHeader(Name = "澶囨敞")] + [ExporterHeader(DisplayName = "澶囨敞")] + [SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "澶囨敞")] + public string Remark { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/TaskInfo/Dt_Task_Hty.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/TaskInfo/Dt_Task_Hty.cs" new file mode 100644 index 0000000..f903756 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/Models/TaskInfo/Dt_Task_Hty.cs" @@ -0,0 +1,44 @@ +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.OtherEnum; +using WIDESEA_Core.Attributes; +using WIDESEA_Core.DB.Models; + +namespace WIDESEA_Model.Models +{ + /// <summary> + /// 浠诲姟淇℃伅鍘嗗彶 + /// </summary> + [SugarTable(nameof(Dt_Task_Hty), "浠诲姟淇℃伅鍘嗗彶")] + public class Dt_Task_Hty : Dt_Task, IBaseHistoryEntity + { + /// <summary> + /// 鍘熻〃涓婚敭 + /// </summary> + [ImporterHeader(Name = "鍘熻〃涓婚敭")] + [ExporterHeader(DisplayName = "鍘熻〃涓婚敭")] + [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "鍘熻〃涓婚敭")] + public int SourceId { get; set; } + + /// <summary> + /// 鎿嶄綔绫诲瀷 + /// </summary> + [ImporterHeader(Name = "鎿嶄綔绫诲瀷")] + [ExporterHeader(DisplayName = "鎿嶄綔绫诲瀷")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎿嶄綔绫诲瀷")] + public string OperateType { get; set; } + + /// <summary> + /// 绉诲叆鍘嗗彶鏃堕棿 + /// </summary> + [ImporterHeader(Name = "绉诲叆鍘嗗彶鏃堕棿")] + [ExporterHeader(DisplayName = "绉诲叆鍘嗗彶鏃堕棿")] + [SugarColumn(IsNullable = false, ColumnDescription = "绉诲叆鍘嗗彶鏃堕棿")] + public DateTime InsertTime { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/WIDESEA_Model.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/WIDESEA_Model.csproj" new file mode 100644 index 0000000..efb20bf --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_Model/WIDESEA_Model.csproj" @@ -0,0 +1,19 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + <GenerateDocumentationFile>True</GenerateDocumentationFile> + </PropertyGroup> + + <ItemGroup> + <PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" /> + </ItemGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_Common\WIDESEA_Common.csproj" /> + <ProjectReference Include="..\WIDESEA_Core\WIDESEA_Core.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs" new file mode 100644 index 0000000..96bdd97 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs" @@ -0,0 +1,29 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.StockEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Enums; +using WIDESEA_Core.Helper; +using WIDESEA_IRecordService; +using WIDESEA_IStockService; +using WIDESEA_Model.Models; + +namespace WIDESEA_IOutboundService +{ + public partial class OutStockLockInfoService : ServiceBase<Dt_OutStockLockInfo, IRepository<Dt_OutStockLockInfo>>, IOutStockLockInfoService + { + public IRepository<Dt_OutStockLockInfo> Repository => BaseDal; + public IUnitOfWorkManage _unitOfWorkManage; + + public OutStockLockInfoService(IRepository<Dt_OutStockLockInfo> BaseDal, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderDetailService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderDetailService.cs" new file mode 100644 index 0000000..45c6d75 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderDetailService.cs" @@ -0,0 +1,20 @@ +锘縰sing WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_IOutboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_OutboundService +{ + public partial class OutboundOrderDetailService : ServiceBase<Dt_OutboundOrderDetail, IRepository<Dt_OutboundOrderDetail>>, IOutboundOrderDetailService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + + public IRepository<Dt_OutboundOrderDetail> Repository => BaseDal; + + public OutboundOrderDetailService(IRepository<Dt_OutboundOrderDetail> BaseDal, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderDetail_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderDetail_HtyService.cs" new file mode 100644 index 0000000..084c166 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderDetail_HtyService.cs" @@ -0,0 +1,19 @@ +锘縰sing WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_IOutboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_OutboundService +{ + public partial class OutboundOrderDetail_HtyService : ServiceBase<Dt_OutboundOrderDetail_Hty, IRepository<Dt_OutboundOrderDetail_Hty>>, IOutboundOrderDetail_HtyService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + + public IRepository<Dt_OutboundOrderDetail_Hty> Repository => BaseDal; + + public OutboundOrderDetail_HtyService(IRepository<Dt_OutboundOrderDetail_Hty> BaseDal, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs" new file mode 100644 index 0000000..eac2e66 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs" @@ -0,0 +1,22 @@ +锘縰sing AutoMapper; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_IOutboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_OutboundService +{ + public class OutboundOrderService : ServiceBase<Dt_OutboundOrder, IRepository<Dt_OutboundOrder>>, IOutboundOrderService + { + private readonly IMapper _mapper; + private readonly IUnitOfWorkManage _unitOfWorkManage; + public IRepository<Dt_OutboundOrder> Repository => BaseDal; + + public OutboundOrderService(IRepository<Dt_OutboundOrder> BaseDal, IMapper mapper, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal) + { + _mapper = mapper; + _unitOfWorkManage = unitOfWorkManage; + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrder_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrder_HtyService.cs" new file mode 100644 index 0000000..2b1c783 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrder_HtyService.cs" @@ -0,0 +1,19 @@ +锘縰sing AutoMapper; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_IOutboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_OutboundService +{ + public partial class OutboundOrder_HtyService : ServiceBase<Dt_OutboundOrder_Hty, IRepository<Dt_OutboundOrder_Hty>>, IOutboundOrder_HtyService + { + private readonly IMapper _mapper; + public IRepository<Dt_OutboundOrder_Hty> Repository => BaseDal; + + public OutboundOrder_HtyService(IRepository<Dt_OutboundOrder_Hty> BaseDal, IMapper mapper) : base(BaseDal) + { + _mapper = mapper; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundService.cs" new file mode 100644 index 0000000..0b2aae4 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundService.cs" @@ -0,0 +1,21 @@ +锘縰sing WIDESEA_IOutboundService; + +namespace WIDESEA_OutboundService +{ + public class OutboundService : IOutboundService + { + + public IOutboundOrderDetailService OutboundOrderDetailService { get; } + + public IOutboundOrderService OutboundOrderService { get; } + + public IOutStockLockInfoService OutboundStockLockInfoService { get; } + + public OutboundService(IOutboundOrderDetailService outboundOrderDetailService, IOutboundOrderService outboundOrderService, IOutStockLockInfoService outboundStockLockInfoService) + { + OutboundOrderDetailService = outboundOrderDetailService; + OutboundOrderService = outboundOrderService; + OutboundStockLockInfoService = outboundStockLockInfoService; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/WIDESEA_OutboundService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/WIDESEA_OutboundService.csproj" new file mode 100644 index 0000000..b11d170 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_OutboundService/WIDESEA_OutboundService.csproj" @@ -0,0 +1,16 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_IBasicService\WIDESEA_IBasicService.csproj" /> + <ProjectReference Include="..\WIDESEA_IOutboundService\WIDESEA_IOutboundService.csproj" /> + <ProjectReference Include="..\WIDESEA_IRecordService\WIDESEA_IRecordService.csproj" /> + <ProjectReference Include="..\WIDESEA_IStockService\WIDESEA_IStockService.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/LocationStatusChangeRecordService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/LocationStatusChangeRecordService.cs" new file mode 100644 index 0000000..d159a29 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/LocationStatusChangeRecordService.cs" @@ -0,0 +1,16 @@ +锘縰sing WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_IRecordService; +using WIDESEA_Model.Models; + +namespace WIDESEA_RecordService +{ + public partial class LocationStatusChangeRecordService : ServiceBase<Dt_LocationStatusChangeRecord, IRepository<Dt_LocationStatusChangeRecord>>, ILocationStatusChangeRecordService + { + public LocationStatusChangeRecordService(IRepository<Dt_LocationStatusChangeRecord> BaseDal) : base(BaseDal) + { + } + + public IRepository<Dt_LocationStatusChangeRecord> Repository => BaseDal; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/RecordService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/RecordService.cs" new file mode 100644 index 0000000..5b98765 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/RecordService.cs" @@ -0,0 +1,22 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_IRecordService; + +namespace WIDESEA_RecordService +{ + public class RecordService : IRecordService + { + public ILocationStatusChangeRecordService LocationStatusChangeRecordSetvice { get; } + + public IStockQuantityChangeRecordService StockQuantityChangeRecordService { get; } + + public RecordService(ILocationStatusChangeRecordService locationStatusChangeRecordSetvice, IStockQuantityChangeRecordService stockQuantityChangeRecordService) + { + LocationStatusChangeRecordSetvice = locationStatusChangeRecordSetvice; + StockQuantityChangeRecordService = stockQuantityChangeRecordService; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/StockQuantityChangeRecordService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/StockQuantityChangeRecordService.cs" new file mode 100644 index 0000000..db3e38b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/StockQuantityChangeRecordService.cs" @@ -0,0 +1,19 @@ +锘縰sing AutoMapper; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_IRecordService; +using WIDESEA_Model.Models; + +namespace WIDESEA_RecordService +{ + public partial class StockQuantityChangeRecordService : ServiceBase<Dt_StockQuantityChangeRecord, IRepository<Dt_StockQuantityChangeRecord>>, IStockQuantityChangeRecordService + { + private readonly IMapper _mapper; + public StockQuantityChangeRecordService(IRepository<Dt_StockQuantityChangeRecord> BaseDal, IMapper mapper) : base(BaseDal) + { + _mapper = mapper; + } + + public IRepository<Dt_StockQuantityChangeRecord> Repository => BaseDal; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/WIDESEA_RecordService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/WIDESEA_RecordService.csproj" new file mode 100644 index 0000000..91486e2 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_RecordService/WIDESEA_RecordService.csproj" @@ -0,0 +1,13 @@ +锘�<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_IRecordService\WIDESEA_IRecordService.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoDetailService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoDetailService.cs" new file mode 100644 index 0000000..47ccfdf --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoDetailService.cs" @@ -0,0 +1,26 @@ +锘縰sing WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_IStockService; +using WIDESEA_Model.Models; + +namespace WIDESEA_StockService +{ + public partial class StockInfoDetailService : ServiceBase<Dt_StockInfoDetail, IRepository<Dt_StockInfoDetail>>, IStockInfoDetailService + { + public StockInfoDetailService(IRepository<Dt_StockInfoDetail> BaseDal) : base(BaseDal) + { + } + + public IRepository<Dt_StockInfoDetail> Repository => BaseDal; + + public bool ExistSerialNumber(string SerialNumber) + { + return BaseDal.QueryFirst(x => x.SerialNumber == SerialNumber) != null; + } + + public bool ExistSerialNumbers(List<string> SerialNumbers) + { + return BaseDal.QueryFirst(x => SerialNumbers.Contains(x.SerialNumber)) != null; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoDetail_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoDetail_HtyService.cs" new file mode 100644 index 0000000..d637998 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoDetail_HtyService.cs" @@ -0,0 +1,15 @@ +锘縰sing WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_IStockService; +using WIDESEA_Model.Models; + +namespace WIDESEA_StockService +{ + public partial class StockInfoDetail_HtyService : ServiceBase<Dt_StockInfoDetail_Hty, IRepository<Dt_StockInfoDetail_Hty>>, IStockInfoDetail_HtyService + { + public StockInfoDetail_HtyService(IRepository<Dt_StockInfoDetail_Hty> BaseDal) : base(BaseDal) + { + } + public IRepository<Dt_StockInfoDetail_Hty> Repository => BaseDal; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs" new file mode 100644 index 0000000..339d933 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs" @@ -0,0 +1,21 @@ +锘縰sing AutoMapper; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_IStockService; +using WIDESEA_Model.Models; + +namespace WIDESEA_StockService +{ + public partial class StockInfoService : ServiceBase<Dt_StockInfo, IRepository<Dt_StockInfo>>, IStockInfoService + { + private readonly IMapper _mapper; + + public IRepository<Dt_StockInfo> Repository => BaseDal; + + public StockInfoService(IRepository<Dt_StockInfo> BaseDal, IMapper mapper) : base(BaseDal) + { + _mapper = mapper; + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfo_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfo_HtyService.cs" new file mode 100644 index 0000000..6552a65 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockInfo_HtyService.cs" @@ -0,0 +1,20 @@ +锘縰sing AutoMapper; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_IStockService; +using WIDESEA_Model.Models; + +namespace WIDESEA_StockService +{ + public partial class StockInfo_HtyService : ServiceBase<Dt_StockInfo_Hty, IRepository<Dt_StockInfo_Hty>>, IStockInfo_HtyService + { + private readonly IMapper _mapper; + + public IRepository<Dt_StockInfo_Hty> Repository => BaseDal; + + public StockInfo_HtyService(IRepository<Dt_StockInfo_Hty> BaseDal, IMapper mapper) : base(BaseDal) + { + _mapper = mapper; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockSerivce.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockSerivce.cs" new file mode 100644 index 0000000..5747dac --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockSerivce.cs" @@ -0,0 +1,27 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_IStockService; + +namespace WIDESEA_StockService +{ + public class StockSerivce:IStockService + { + public IStockInfoDetailService StockInfoDetailService { get; } + + public IStockInfoService StockInfoService { get; } + public IStockInfoDetail_HtyService StockInfoDetail_HtyService { get; } + + public IStockInfo_HtyService StockInfo_HtyService { get; } + + public StockSerivce(IStockInfoDetailService stockInfoDetailService, IStockInfoService stockInfoService, IStockInfoDetail_HtyService stockInfoDetail_HtyService, IStockInfo_HtyService stockInfo_HtyService) + { + StockInfoDetailService = stockInfoDetailService; + StockInfoService = stockInfoService; + StockInfoDetail_HtyService = stockInfoDetail_HtyService; + StockInfo_HtyService = stockInfo_HtyService; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockViewService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockViewService.cs" new file mode 100644 index 0000000..7f7fcea --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/StockViewService.cs" @@ -0,0 +1,101 @@ +锘縰sing SqlSugar; +using System.Dynamic; +using System.Reflection; +using WIDESEA_Common.LocationEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.DB.Models; +using WIDESEA_Core.Helper; +//using WIDESEA_Core.HostedService; +using WIDESEA_Core.Utilities; +using WIDESEA_DTO.Stock; +using WIDESEA_IStockService; +using WIDESEA_Model.Models; + +namespace WIDESEA_StockService +{ + public partial class StockViewService : IStockViewService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly SqlSugarClient _dbBase; + + public StockViewService(IUnitOfWorkManage unitOfWorkManage) + { + _unitOfWorkManage = unitOfWorkManage; + _dbBase = unitOfWorkManage.GetDbClient(); + } + + public virtual PageGridData<StockViewDTO> GetPageData(PageDataOptions options) + { + string where = options.ValidatePageOptions(typeof(StockViewDTO).GetProperties()); + //鑾峰彇鎺掑簭瀛楁 + //Dictionary<string, OrderByType> orderbyDic = options.GetPageDataSort(typeof(StockViewDTO).GetProperties()); + //List<OrderByModel> orderByModels = new List<OrderByModel>(); + //foreach (var item in orderbyDic) + //{ + // OrderByModel orderByModel = new OrderByModel() + // { + // FieldName = item.Key, + // OrderByType = item.Value + // }; + // orderByModels.Add(orderByModel); + //} + int totalCount = 0; + + ISugarQueryable<Dt_StockInfo> sugarQueryable1 = _dbBase.Queryable<Dt_StockInfo>(); + ISugarQueryable<Dt_LocationInfo> sugarQueryable = _dbBase.Queryable<Dt_LocationInfo>(); + ISugarQueryable<Dt_StockInfoDetail> sugarQueryable2 = _dbBase.Queryable<Dt_StockInfoDetail>(); + + + List<StockViewDTO> list = sugarQueryable1.InnerJoin(sugarQueryable, (b, a) => a.LocationCode == b.LocationCode).WhereIF(!string.IsNullOrEmpty(where), where).Select((b, a) => new StockViewDTO + { + LocationCode = b.LocationCode, + Column = a.Column, + CreateDate = b.CreateDate, + Creater = b.Creater, + Depth = a.Depth, + EnalbeStatus = a.EnableStatus, + Layer = a.Layer, + LocationName = a.LocationName, + LocationStatus = a.LocationStatus, + LocationType = a.LocationType, + Modifier = b.Modifier, + ModifyDate = b.ModifyDate, + PalletCode = b.PalletCode, + StockRemark = b.Remark, + RoadwayNo = a.RoadwayNo, + Row = a.Row, + StockId = b.Id, + StockStatus = b.StockStatus, + Details = b.Details, + }).ToPageList(options.Page, options.Rows, ref totalCount); + + + return new PageGridData<StockViewDTO>(totalCount, list); + + } + + public virtual object GetDetailPage(PageDataOptions pageData) + { + Type t = typeof(StockViewDTO); + + if (pageData.Value == null) return new PageGridData<object>(total: 0, null); + string keyName = t.GetKeyName(); + ////鐢熸垚鏌ヨ鏉′欢 + //Expression<Func<TEntity, bool>> whereExpression = keyName.CreateExpression<TEntity>(pageData.Value, LinqExpressionType.Equal); + int totalCount = 0; + PropertyInfo? propertyInfo = t.GetProperties().FirstOrDefault(x => x.GetCustomAttribute<Navigate>() != null); + if (propertyInfo != null) + { + Type detailType = propertyInfo.PropertyType.GetGenericArguments()[0]; + Navigate? navigate = propertyInfo.GetCustomAttribute<Navigate>(); + if (navigate != null) + { + List<ExpandoObject> list = _dbBase.Queryable(detailType.Name, "detail").Where(navigate.GetName(), "=", pageData.Value).ToPageList(pageData.Page, pageData.Rows, ref totalCount); + return new PageGridData<ExpandoObject>(totalCount, list); + } + } + return new PageGridData<object>(total: 0, null); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/WIDESEA_StockService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/WIDESEA_StockService.csproj" new file mode 100644 index 0000000..aa7acf1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_StockService/WIDESEA_StockService.csproj" @@ -0,0 +1,14 @@ +锘�<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_IRecordService\WIDESEA_IRecordService.csproj" /> + <ProjectReference Include="..\WIDESEA_IStockService\WIDESEA_IStockService.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_DictionaryListService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_DictionaryListService.cs" new file mode 100644 index 0000000..5f574a4 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_DictionaryListService.cs" @@ -0,0 +1,21 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_ISystemService; +using WIDESEA_Model.Models; + +namespace WIDESEA_SystemService +{ + public class Sys_DictionaryListService : ServiceBase<Sys_DictionaryList, IRepository<Sys_DictionaryList>>, ISys_DictionaryListService + { + public Sys_DictionaryListService(IRepository<Sys_DictionaryList> BaseDal) : base(BaseDal) + { + } + + public IRepository<Sys_DictionaryList> Repository => BaseDal; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_DictionaryService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_DictionaryService.cs" new file mode 100644 index 0000000..4e2449d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_DictionaryService.cs" @@ -0,0 +1,224 @@ +锘縰sing Newtonsoft.Json; +using OfficeOpenXml.FormulaParsing.Excel.Functions.Information; +using OfficeOpenXml.FormulaParsing.Excel.Functions.Text; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.CommonEnum; +using WIDESEA_Common.LocationEnum; +using WIDESEA_Common.OrderEnum; +using WIDESEA_Common.StockEnum; +using WIDESEA_Common.TaskEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Caches; +using WIDESEA_Core.DB; +using WIDESEA_Core.Enums; +using WIDESEA_Core.Helper; +using WIDESEA_Core.Utilities; +using WIDESEA_DTO.System; +using WIDESEA_ISystemService; +using WIDESEA_Model.Models; + +namespace WIDESEA_SystemService +{ + public class Sys_DictionaryService : ServiceBase<Sys_Dictionary, IRepository<Sys_Dictionary>>, ISys_DictionaryService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly ICacheService _cacheService; + + public Sys_DictionaryService(IRepository<Sys_Dictionary> BaseDal, IUnitOfWorkManage unitOfWorkManage, ICacheService cacheService) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + _cacheService = cacheService; + } + + public IRepository<Sys_Dictionary> Repository => BaseDal; + + public override WebResponseContent AddData(SaveModel saveModel) + { + string validResult = typeof(Sys_Dictionary).ValidateDicInEntity(saveModel.MainData, true, TProperties); + + if (!string.IsNullOrEmpty(validResult)) + { + return WebResponseContent.Instance.Error(validResult); + } + + Sys_Dictionary dictionary = saveModel.MainData.DicToModel<Sys_Dictionary>(); + if (!string.IsNullOrEmpty(_cacheService.Get(dictionary.DicNo))) + _cacheService.Remove(dictionary.DicNo); + return base.AddData(saveModel); + } + + public override WebResponseContent UpdateData(SaveModel saveModel) + { + Sys_Dictionary dictionary = saveModel.MainData.DicToModel<Sys_Dictionary>(); + _cacheService.Remove(dictionary.DicNo); + return base.UpdateData(saveModel); + } + + public IEnumerable<Sys_Dictionary> GetDictionaries(IEnumerable<string> dicNos, bool executeSql = true) + { + List<Sys_Dictionary> Dictionaries = GetDictionaries(dicNos.ToList()); + + foreach (var item in Dictionaries) + { + if (executeSql) + { + // 2020.05.01澧炲姞鏍规嵁鐢ㄦ埛淇℃伅鍔犺浇瀛楀吀鏁版嵁婧恠ql + string sql = item.Sql; + if (!string.IsNullOrEmpty(sql)) + { + item.DicList = Query(sql); + } + } + } + + return Dictionaries; + } + + List<Sys_DictionaryList> Query(string sql) + { + try + { + return BaseDal.QueryDynamicDataBySql(sql, null).Select(s => new Sys_DictionaryList() + { + DicName = s.value, + DicValue = s.key.ToString() + }).ToList(); + } + catch (Exception ex) + { + return new List<Sys_DictionaryList>(); + } + } + + private List<Sys_Dictionary> GetDictionaries(List<string> dicNos) + { + //base.QueryData().ToList(); + List<Sys_Dictionary> _dictionaries = Db.Queryable<Sys_Dictionary>().Where(x => x.Enable == 1 && dicNos.Contains(x.DicNo)).Includes(x => x.DicList).ToList(); + return _dictionaries; + } + + public List<VueDictionaryDTO> GetVueDictionary(string[] dicNos) + { + if (dicNos == null || dicNos.Count() == 0) return new List<VueDictionaryDTO>(); + List<VueDictionaryDTO> vueDictionaryDTOs = new List<VueDictionaryDTO>(); + + List<string> cacheDicNos = new List<string>(); + foreach (string n in dicNos) + { + string str = _cacheService.Get(n); + if (!string.IsNullOrEmpty(str)) + { + VueDictionaryDTO? vueDictionary = JsonConvert.DeserializeObject<VueDictionaryDTO>(str); + + if (vueDictionary != null) + { + vueDictionaryDTOs.Add(vueDictionary); + cacheDicNos.Add(n); + } + } + } + if (dicNos.Where(x => !cacheDicNos.Contains(x)).Count() > 0) + { + List<VueDictionaryDTO> selectDics = GetDictionaries(dicNos.Where(x => !cacheDicNos.Contains(x))).Select(s => new VueDictionaryDTO + { + DicNo = s.DicNo, + Config = s.Config, + //dbSql = s.Sql, + Data = s.DicList.OrderByDescending(o => o.OrderNo).Select(list => new { key = list.DicValue, value = list.DicName }), + SaveCache = false + }).ToList(); + + foreach (var item in selectDics) + { + if (!_cacheService.Exists(item.DicNo) && item.SaveCache) + { + _cacheService.Add(item.DicNo, item.Serialize()); + } + } + vueDictionaryDTOs.AddRange(selectDics); + } + + //object GetSourceData(string dicNo, string dbSql, object data) + //{ + // if (string.IsNullOrEmpty(dbSql)) + // { + // return data; + // } + // return BaseDal.QueryObjectDataBySql(dbSql, null); + //} + //List<VueDictionaryDTO> vueDictionaryDTOs = dicConfig.Select(item => new VueDictionaryDTO + //{ + // DicNo = item.dicNo, + // Config = item.config, + // Data = GetSourceData(item.dicNo, item.dbSql, item.list) + //}).ToList(); + + try + { + List<string> dicList = dicNos.ToList(); + if (dicNos.Where(x => !cacheDicNos.Contains(x)).Count() > 0) + { + string str = AppSettings.Configuration["dics"]; + if (!string.IsNullOrEmpty(str)) + { + List<string> cusDics = new List<string>(); + + List<string> dics = str.Split(",").ToList(); + + foreach (var item in dics) + { + if (dicNos.Contains(item) && !cacheDicNos.Contains(item)) + { + dicList.Remove(item); + cusDics.Add(item); + } + } + + foreach (var item in cusDics) + { + VueDictionaryDTO vueDictionaryDTO = GetVueDictionary(item.Trim()); + if (vueDictionaryDTO != null) + { + vueDictionaryDTOs.Add(vueDictionaryDTO); + if (!_cacheService.Exists(item) && vueDictionaryDTO.SaveCache) + { + _cacheService.Add(item, vueDictionaryDTO.Serialize()); + } + } + } + } + } + } + catch + { + + } + return vueDictionaryDTOs; + } + + private VueDictionaryDTO GetVueDictionary(string key) + { + VueDictionaryDTO result = null; + try + { + switch (key) + { + default: + return result; + } + } + catch (Exception ex) + { + return null; + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_LogService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_LogService.cs" new file mode 100644 index 0000000..6b8859f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_LogService.cs" @@ -0,0 +1,19 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_ISystemService; +using WIDESEA_Model.Models; + +namespace WIDESEA_SystemService +{ + public class Sys_LogService : ServiceBase<Sys_Log, IRepository<Sys_Log>>, ISys_LogService + { + public Sys_LogService(IRepository<Sys_Log> BaseDal) : base(BaseDal) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_MenuService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_MenuService.cs" new file mode 100644 index 0000000..e98d2e1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_MenuService.cs" @@ -0,0 +1,396 @@ +锘縰sing AutoMapper; +using SqlSugar; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Helper; +using WIDESEA_DTO.System; +using WIDESEA_ISystemService; +using WIDESEA_Model; +using WIDESEA_Model.Models; + +namespace WIDESEA_SystemService +{ + public class Sys_MenuService : ServiceBase<Sys_Menu, IRepository<Sys_Menu>>, ISys_MenuService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly IMapper _mapper; + + public IRepository<Sys_Menu> Repository => BaseDal; + + public Sys_MenuService(IRepository<Sys_Menu> BaseDal, IUnitOfWorkManage unitOfWorkManage, IMapper mapper) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + _mapper = mapper; + } + + /// <summary> + /// 鑾峰彇褰撳墠鐢ㄦ埛鎵�鏈夎彍鍗曚笌鏉冮檺 + /// </summary> + /// <returns></returns> + public object GetCurrentMenuActionList() + { + object obj = GetMenuActionList(App.User.RoleId); + if (obj is IEnumerable<object> list) + { + if (list.Any()) + { + return obj; + } + else + { + return WebResponseContent.Instance.Error("鏈幏鍙栧埌鑿滃崟淇℃伅"); + } + } + return obj; + } + + public List<MenuDTO> GetAllPDAMenu() + { + List<Sys_Menu> menus = BaseDal.QueryData(x => (x.Enable == 1 || x.Enable == 2) && x.MenuType == 1).OrderByDescending(a => a.OrderNo).ThenByDescending(q => q.ParentId).ToList(); + List<MenuDTO> _menus = _mapper.Map<List<MenuDTO>>(menus); + _menus.ForEach(x => + { + if (!string.IsNullOrEmpty(x.Auth) && x.Auth.Length > 10) + { + try + { + x.Actions = x.Auth.DeserializeObject<List<ActionDTO>>(); + } + catch { } + } + x.Actions ??= new List<ActionDTO>(); + }); + string test = _menus.Serialize(); + return _menus; + } + + private List<Permissions> MenuActionToArray(List<Permissions> permissions) + { + permissions.ForEach(x => + { + try + { + x.UserAuthArr = string.IsNullOrEmpty(x.UserAuth) + ? new string[0] + : x.UserAuth.DeserializeObject<List<ActionDTO>>().Select(s => s.Value).ToArray(); + } + catch { } + finally + { + if (x.UserAuthArr == null) + { + x.UserAuthArr = new string[0]; + } + } + }); + return permissions; + } + + private List<Permissions> ActionToArray(List<Permissions> permissions) + { + permissions.ForEach(x => + { + try + { + var menuAuthArr = x.MenuAuth.DeserializeObject<List<ActionDTO>>(); + x.UserAuthArr = string.IsNullOrEmpty(x.UserAuth) + ? new string[0] + : x.UserAuth.Split(",").Where(c => menuAuthArr.Any(m => m.Value == c)).ToArray(); + + } + catch { } + finally + { + if (x.UserAuthArr == null) + { + x.UserAuthArr = new string[0]; + } + } + }); + return permissions; + } + + /// <summary> + /// 鑾峰彇瑙掕壊鏉冮檺鏃堕�氳繃瀹夊叏瀛楀吀閿佸畾鐨勮鑹瞚d + /// </summary> + private static ConcurrentDictionary<string, object> objKeyValue = new ConcurrentDictionary<string, object>(); + public List<Permissions> GetPermissions(int roleId) + { + if (App.User.IsRoleIdSuperAdmin(roleId)) + { + //2020.12.27澧炲姞鑿滃崟鐣岄潰涓婁笉鏄剧ず锛屼絾鍙互鍒嗛厤鏉冮檺 + var permissions = BaseDal.QueryData(x => x.Enable == 1 || x.Enable == 2) + .Select(a => new Permissions + { + MenuId = a.MenuId, + ParentId = a.ParentId, + TableName = (a.TableName ?? "").ToLower(), + UserAuth = a.Auth, + MenuType = a.MenuType + }).ToList(); + return MenuActionToArray(permissions); + } + + //閿佸畾姣忎釜瑙掕壊锛岄�氳繃瀹夊叏瀛楀吀鍑忓皯閿佺矑搴︼紝鍚﹀垯澶氫釜鍚屾椂瑙掕壊鑾峰彇缂撳瓨浼氬鑷撮樆濉� + object objId = objKeyValue.GetOrAdd(roleId.ToString(), new object()); + //閿佸畾姣忎釜瑙掕壊 + lock (objId) + { + //娌℃湁redis/memory缂撳瓨瑙掕壊鐨勭増鏈彿鎴栦笌褰撳墠鏈嶅姟鍣ㄧ殑瑙掕壊鐗堟湰鍙蜂笉鍚屾椂锛屽埛鏂扮紦瀛� + + List<Permissions> _permissions = BaseDal.QueryTabs<Sys_Menu, Sys_RoleAuth, Permissions>((a, b) => new object[] { JoinType.Inner, a.MenuId == b.MenuId }, (a, b) => new Permissions { MenuId = a.MenuId, ParentId = a.ParentId, TableName = (a.TableName ?? "").ToLower(), MenuAuth = a.Auth, UserAuth = b.AuthValue ?? "", MenuType = a.MenuType }, (a, b) => b.RoleId == roleId, x => true); + + ActionToArray(_permissions); + + return _permissions; + } + } + + public List<MenuDTO> GetAllMenuPDA() + { + if (App.User.IsRoleIdSuperAdmin(App.User.RoleId)) + { + return GetAllPDAMenu(); + } + List<int> menuIds = GetPermissions(App.User.RoleId).Select(x => x.MenuId).ToList(); + return GetAllPDAMenu().Where(x => menuIds.Contains(x.MenuId)).ToList(); + } + + /// <summary> + /// 鑾峰彇PDA棣栭〉浠撳簱鏉冮檺 + /// </summary> + /// <returns></returns> + public object GetTreeMenuPDAStash(int ParentId) + { + List<MenuDTO> _menus = GetAllMenuPDA().Where(x => x.ParentId == ParentId).ToList(); + return _menus; + } + + public List<MenuDTO> GetAllMenu() + { + List<Sys_Menu> menus = BaseDal.QueryData(x => (x.Enable == 1 || x.Enable == 2) && x.MenuType == App.User.MenuType).OrderByDescending(a => a.OrderNo).ThenByDescending(q => q.ParentId).ToList(); + List<MenuDTO> _menus = _mapper.Map<List<MenuDTO>>(menus); + _menus.ForEach(x => + { + if (!string.IsNullOrEmpty(x.Auth) && x.Auth.Length > 10) + { + try + { + x.Actions = x.Auth.DeserializeObject<List<ActionDTO>>(); + } + catch { } + } + x.Actions ??= new List<ActionDTO>(); + }); + string test = _menus.Serialize(); + return _menus; + } + + public object GetSuperAdminMenu() + { + return GetAllMenu().Select(x => + new + { + id = x.MenuId, + name = x.MenuName, + url = x.Url, + parentId = x.ParentId, + icon = x.Icon, + x.Enable, + x.TableName, // 2022.03.26澧炵Щ鍔ㄧ鍔犺彍鍗曠被鍨� + permission = x.Actions.Select(s => s.Value).ToArray() + }).ToList(); + } + + public object GetMenuByRoleId(int roleId) + { + var menu = from a in GetPermissions(roleId) + join b in GetAllMenu() + on a.MenuId equals b.MenuId + orderby b.OrderNo descending + select new + { + id = a.MenuId, + name = b.MenuName, + url = b.Url, + parentId = b.ParentId, + icon = b.Icon, + b.Enable, + b.TableName, + permission = a.UserAuthArr + }; + return menu.ToList(); + } + + /// <summary> + /// 鏍规嵁瑙掕壊ID鑾峰彇鑿滃崟涓庢潈闄� + /// </summary> + /// <param name="roleId"></param> + /// <returns></returns> + public object GetMenuActionList(int roleId) + { + if (App.User.IsRoleIdSuperAdmin(roleId)) + { + return GetSuperAdminMenu(); + } + return GetMenuByRoleId(roleId); + } + + + public List<MenuDTO> GetUserMenuList(int roleId) + { + if (App.User.IsRoleIdSuperAdmin(roleId)) + { + return GetAllMenu(); + } + List<int> menuIds = GetPermissions(roleId).Select(x => x.MenuId).ToList(); + return GetAllMenu().Where(x => menuIds.Contains(x.MenuId)).ToList(); + } + + public List<MenuDTO> GetUserMenuListPDA(int roleId) + { + if (App.User.IsRoleIdSuperAdmin(roleId)) + { + return GetAllMenuPDA(); + } + List<int> menuIds = GetPermissions(roleId).Select(x => x.MenuId).ToList(); + return GetAllMenuPDA().Where(x => menuIds.Contains(x.MenuId)).ToList(); + } + + public List<ActionDTO> GetActions(int menuId, List<ActionDTO> menuActions, List<Permissions> permissions, int roleId) + { + if (App.User.IsRoleIdSuperAdmin(roleId)) + { + return menuActions; + } + + return menuActions.Where(p => permissions + .Exists(w => menuId == w.MenuId + && w.UserAuthArr.Contains(p.Value))) + .ToList(); + } + + public object GetMenu(List<int> menuIds) + { + return BaseDal.QueryData(x => menuIds.Contains(x.MenuId)).Select(a => + new + { + id = a.MenuId, + parentId = a.ParentId, + name = a.MenuName, + a.MenuType, + a.OrderNo + }).OrderByDescending(a => a.OrderNo) + .ThenByDescending(q => q.parentId).ToList(); + } + + /// <summary> + /// 缂栬緫淇敼鑿滃崟鏃�,鑾峰彇鎵�鏈夎彍鍗� + /// </summary> + /// <returns></returns> + public object GetMenu() + { + if (App.User.IsRoleIdSuperAdmin(App.User.RoleId)) + { + List<int> menuIds = BaseDal.QueryData().Select(x => x.MenuId).ToList(); + return GetMenu(menuIds); + } + else + { + List<int> menuIds = GetPermissions(App.User.RoleId).Select(x => x.MenuId).ToList(); + return GetMenu(menuIds); + } + } + + /// <summary> + /// 缂栬緫鑿滃崟鏃讹紝鑾峰彇鑿滃崟淇℃伅 + /// </summary> + /// <param name="menuId"></param> + /// <returns></returns> + public object GetTreeItem(int menuId) + { + return GetTreeItem(menuId); + } + + /// <summary> + /// 鏂板缓鎴栫紪杈戣彍鍗� + /// </summary> + /// <param name="menu"></param> + /// <returns></returns> + public WebResponseContent Save(Sys_Menu menu) + { + WebResponseContent webResponse = new WebResponseContent(); + if (menu == null) return webResponse.Error("娌℃湁鑾峰彇鍒版彁浜ょ殑鍙傛暟"); + if (menu.MenuId > 0 && menu.MenuId == menu.ParentId) return webResponse.Error("鐖剁骇ID涓嶈兘鏄綋鍓嶈彍鍗曠殑ID"); + try + { + //webResponse = menu.ValidationEntity(x => new { x.MenuName, x.TableName }); + //if (!webResponse.Status) return webResponse; + if (menu.TableName != "/" && menu.TableName != ".") + { + // 2022.03.26澧炵Щ鍔ㄧ鍔犺彍鍗曠被鍨嬪垽鏂� + Sys_Menu sysMenu = BaseDal.QueryFirst(x => x.TableName == menu.TableName); + if (sysMenu != null) + { + if (sysMenu.MenuType == menu.MenuType) + { + if ((menu.MenuId > 0 && sysMenu.MenuId != menu.MenuId) + || menu.MenuId <= 0) + { + return webResponse.Error($"瑙嗗浘/琛ㄥ悕銆恵menu.TableName}銆戝凡琚叾浠栬彍鍗曚娇鐢�"); + } + } + } + } + bool _changed = false; + if (menu.MenuId <= 0) + { + int id = BaseDal.AddData(menu); + menu.MenuId = id; + } + else + { + //2020.05.07鏂板绂佹閫夋嫨涓婄骇瑙掕壊涓鸿嚜宸� + if (menu.MenuId == menu.ParentId) + { + return webResponse.Error($"鐖剁骇id涓嶈兘涓鸿嚜宸�"); + } + if (BaseDal.QueryFirst(x => x.ParentId == menu.MenuId && menu.ParentId == x.MenuId) != null) + { + return webResponse.Error($"涓嶈兘閫夋嫨姝ょ埗绾d锛岄�夋嫨鐨勭埗绾d涓庡綋鍓嶈彍鍗曞舰鎴愪緷璧栧叧绯�"); + } + + _changed = BaseDal.QueryData(c => c.MenuId == menu.MenuId).Select(s => s.Auth).FirstOrDefault() != menu.Auth; + + BaseDal.UpdateData(menu); + } + webResponse.OK("淇濆瓨鎴愬姛", menu); + } + catch (Exception ex) + { + webResponse.Error(ex.Message); + } + return webResponse; + + } + + public WebResponseContent DelMenu(int menuId) + { + WebResponseContent webResponse = new WebResponseContent(); + if (BaseDal.QueryFirst(x => x.ParentId == menuId) != null) + { + return webResponse = WebResponseContent.Instance.Error("褰撳墠鑿滃崟瀛樺湪瀛愯彍鍗�,璇峰厛鍒犻櫎瀛愯彍鍗�!"); + } + BaseDal.DeleteDataById(menuId); + + return webResponse = WebResponseContent.Instance.OK("鍒犻櫎鎴愬姛"); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_RoleAuthService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_RoleAuthService.cs" new file mode 100644 index 0000000..4c64284 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_RoleAuthService.cs" @@ -0,0 +1,21 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_ISystemService; +using WIDESEA_Model.Models; + +namespace WIDESEA_SystemService +{ + public class Sys_RoleAuthService : ServiceBase<Sys_RoleAuth, IRepository<Sys_RoleAuth>>, ISys_RoleAuthService + { + public Sys_RoleAuthService(IRepository<Sys_RoleAuth> BaseDal) : base(BaseDal) + { + } + + public IRepository<Sys_RoleAuth> Repository => BaseDal; + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_RoleService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_RoleService.cs" new file mode 100644 index 0000000..fb668b1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_RoleService.cs" @@ -0,0 +1,358 @@ +锘縰sing Microsoft.AspNetCore.DataProtection.KeyManagement; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_DTO.System; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.HttpContextUser; +using WIDESEA_ISystemService; +using WIDESEA_Model.Models; +using WIDESEA_Model.Models.System; +using WIDESEA_Core.Helper; +//using WIDESEA_Core.HostedService; + +namespace WIDESEA_SystemService +{ + public class Sys_RoleService : ServiceBase<Sys_Role, IRepository<Sys_Role>>, ISys_RoleService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly ISys_MenuService _MenuService; + private readonly ISys_RoleAuthService _RoleAuthService; + + public IRepository<Sys_Role> Repository => BaseDal; + + public Sys_RoleService(IRepository<Sys_Role> BaseDal, ISys_MenuService MenuService, IUnitOfWorkManage unitOfWorkManage, ISys_RoleAuthService roleAuthService) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + _MenuService = MenuService; + _RoleAuthService = roleAuthService; + } + + public List<int> GetAllChildrenRoleId(int roleId) + { + return GetAllChildren(roleId).Select(x => x.Id).ToList(); + } + + public List<RoleNodes> GetAllChildren(int roleId) + { + if (roleId <= 0) return new List<RoleNodes>() { }; + var roles = GetAllRoleId(); + if (App.User.IsRoleIdSuperAdmin(roleId)) return roles; + + var list = GetChildren(roles, roleId); + return list; + } + + public List<RoleNodes> GetAllRoleId() + { + List<RoleNodes> roles = BaseDal.QueryData().Select(s => new RoleNodes() { Id = s.RoleId, ParentId = s.ParentId, RoleName = s.RoleName }).ToList(); + + return roles; + } + + /// <summary> + /// 鑾峰彇鎵�鏈夊瓙鑺傜偣 + /// </summary> + /// <param name="roleId"></param> + private List<RoleNodes> GetChildren(List<RoleNodes> roles, int roleId) + { + List<RoleNodes> rolesChildren = roles.Where(x => x.Id == roleId).Distinct().ToList(); + + for (int i = 0; i < rolesChildren.Count; i++) + { + RoleNodes node = rolesChildren[i]; + var children = roles.Where(x => x.ParentId == node.Id && !rolesChildren.Any(c => c.Id == x.Id)).Distinct().ToList(); + rolesChildren.AddRange(children); + } + return rolesChildren; + } + + /// <summary> + /// 缂栬緫鏉冮檺鏃惰幏鍙栧綋鍓嶇敤鎴蜂笅鐨勬墍鏈夎鑹蹭笌褰撳墠鐢ㄦ埛鐨勮彍鍗曟潈闄� + /// </summary> + /// <returns></returns> + public WebResponseContent GetCurrentTreePermission() + { + WebResponseContent content = GetCurrentUserTreePermission(); + int roleId = App.User.RoleId; + return WebResponseContent.Instance.OK(null, new + { + tree = content.Data, + roles = GetAllChildren(roleId) + }); + } + + /// <summary> + /// 缂栬緫鏉冮檺鏃讹紝鑾峰彇褰撳墠鐢ㄦ埛鐨勬墍鏈夎彍鍗曟潈闄� + /// </summary> + /// <returns></returns> + public WebResponseContent GetCurrentUserTreePermission() + { + return GetUserTreePermission(App.User.RoleId); + } + + /// <summary> + /// 缂栬緫鏉冮檺鏃讹紝鑾峰彇鎸囧畾瑙掕壊鐨勬墍鏈夎彍鍗曟潈闄� + /// </summary> + /// <param name="roleId"></param> + /// <returns></returns> + public WebResponseContent GetUserTreePermission(int roleId) + { + if (!App.User.IsRoleIdSuperAdmin(roleId) && App.User.RoleId != roleId) + { + if (!(GetAllChildren(App.User.RoleId)).Exists(x => x.Id == roleId)) + { + return WebResponseContent.Instance.Error("娌℃湁鏉冮檺鑾峰彇姝よ鑹茬殑鏉冮檺淇℃伅"); + } + } + //鑾峰彇鐢ㄦ埛鏉冮檺 + List<Permissions> permissions = _MenuService.GetPermissions(roleId); + //鏉冮檺鐢ㄦ埛鏉冮檺鏌ヨ鎵�鏈夌殑鑿滃崟淇℃伅 + List<MenuDTO> menus = _MenuService.GetUserMenuList(roleId); + //鑾峰彇褰撳墠鐢ㄦ埛鏉冮檺濡�:(Add,Search)瀵瑰簲鐨勬樉绀烘枃鏈俊鎭:Add锛氭坊鍔狅紝Search:鏌ヨ + var data = menus.Select(x => new + { + Id = x.MenuId, + Pid = x.ParentId, + Text = x.MenuName, + IsApp = x.MenuType == 1, + Actions = _MenuService.GetActions(x.MenuId, x.Actions, permissions, roleId) + }); + return WebResponseContent.Instance.OK(null, data); + } + public WebResponseContent GetCurrentTreePermissionPDA() + { + WebResponseContent content = GetCurrentUserTreePermissionPDA(); + int roleId = App.User.RoleId; + return WebResponseContent.Instance.OK(null, new + { + tree = content.Data, + roles = GetAllChildren(roleId) + }); + } + + /// <summary> + /// 缂栬緫鏉冮檺鏃讹紝鑾峰彇褰撳墠鐢ㄦ埛鐨勬墍鏈夎彍鍗曟潈闄� + /// </summary> + /// <returns></returns> + public WebResponseContent GetCurrentUserTreePermissionPDA() + { + return GetUserTreePermissionPDA(App.User.RoleId); + } + public WebResponseContent GetUserTreePermissionPDA(int roleId) + { + if (!App.User.IsRoleIdSuperAdmin(roleId) && App.User.RoleId != roleId) + { + if (!(GetAllChildren(App.User.RoleId)).Exists(x => x.Id == roleId)) + { + return WebResponseContent.Instance.Error("娌℃湁鏉冮檺鑾峰彇姝よ鑹茬殑鏉冮檺淇℃伅"); + } + } + //鑾峰彇鐢ㄦ埛鏉冮檺 + List<Permissions> permissions = _MenuService.GetPermissions(roleId); + //鏉冮檺鐢ㄦ埛鏉冮檺鏌ヨ鎵�鏈夌殑鑿滃崟淇℃伅 + List<MenuDTO> menus = _MenuService.GetUserMenuListPDA(roleId); + + //鑾峰彇褰撳墠鐢ㄦ埛鏉冮檺濡�:(Add,Search)瀵瑰簲鐨勬樉绀烘枃鏈俊鎭:Add锛氭坊鍔狅紝Search:鏌ヨ + var data = menus.Where(x => x.MenuType == 1).Select(x => new + { + Id = x.MenuId, + Pid = x.ParentId, + Text = x.MenuName, + IsApp = x.MenuType == 1, + Actions = _MenuService.GetActions(x.MenuId, x.Actions, permissions, roleId) + }); + return WebResponseContent.Instance.OK(null, data); + } + + /// <summary> + /// 淇濆瓨瑙掕壊鏉冮檺 + /// </summary> + /// <param name="userPermissions"></param> + /// <param name="roleId"></param> + /// <returns></returns> + public WebResponseContent SavePermission(List<UserPermissionDTO> userPermissions, int roleId) + { + WebResponseContent content = new WebResponseContent(); + string message = ""; + try + { + if (!GetAllChildren(App.User.RoleId).Exists(x => x.Id == roleId)) + return WebResponseContent.Instance.Error("娌℃湁鏉冮檺淇敼姝よ鑹茬殑鏉冮檺淇℃伅"); + //褰撳墠鐢ㄦ埛鐨勬潈闄� + List<Permissions> permissions = _MenuService.GetPermissions(App.User.RoleId); + + List<int> menuIds = _MenuService.Repository.QueryData(x => x.MenuId, x => x.MenuType == 1); + + List<int> originalMeunIds = new List<int>(); + //琚垎閰嶈鑹茬殑鏉冮檺 + List<Sys_RoleAuth> roleAuths = _RoleAuthService.Repository.QueryData(x => x.RoleId == roleId && menuIds.Contains(x.MenuId)); + List<Sys_RoleAuth> updateAuths = new List<Sys_RoleAuth>(); + foreach (UserPermissionDTO x in userPermissions) + { + Permissions per = permissions.FirstOrDefault(p => p.MenuId == x.Id); + //涓嶈兘鍒嗛厤瓒呰繃褰撳墠鐢ㄦ埛鐨勬潈闄� + if (per == null) continue; + //per.UserAuthArr.Contains(a.Value)鏍¢獙鏉冮檺鑼冨洿 + string[] arr = x.Actions == null || x.Actions.Count == 0 + ? new string[0] + : x.Actions.Where(a => per.UserAuthArr.Contains(a.Value)) + .Select(s => s.Value).ToArray(); + + //濡傛灉褰撳墠鏉冮檺娌℃湁鍒嗛厤杩囷紝璁剧疆Auth_Id榛樿涓�0锛岃〃绀烘柊澧炵殑鏉冮檺 + var auth = roleAuths.Where(r => r.MenuId == x.Id).Select(s => new { s.AuthId, s.AuthValue, s.MenuId }).FirstOrDefault(); + string newAuthValue = string.Join(",", arr); + //鏉冮檺娌℃湁鍙戠敓鍙樺寲鍒欎笉澶勭悊 + if (auth == null || auth.AuthValue != newAuthValue) + { + updateAuths.Add(new Sys_RoleAuth() + { + RoleId = roleId, + MenuId = x.Id, + AuthValue = string.Join(",", arr), + AuthId = auth == null ? 0 : auth.AuthId, + ModifyDate = DateTime.Now, + Modifier = App.User.UserName, + CreateDate = DateTime.Now, + Creater = App.User.UserName + }); + } + else + { + originalMeunIds.Add(auth.MenuId); + } + + } + //鏇存柊鏉冮檺 + _RoleAuthService.Repository.UpdateData(updateAuths); + //鏂板鐨勬潈闄� + _RoleAuthService.Repository.AddData(updateAuths); + + //鑾峰彇鏉冮檺鍙栨秷鐨勬潈闄� + int[] authIds = roleAuths.Where(x => userPermissions.Select(u => u.Id) + .ToList().Contains(x.MenuId) || originalMeunIds.Contains(x.MenuId)) + .Select(s => s.AuthId) + .ToArray(); + List<Sys_RoleAuth> delAuths = roleAuths.Where(x => x.AuthValue != "" && !authIds.Contains(x.AuthId)).ToList(); + delAuths.ForEach(x => + { + x.AuthValue = ""; + }); + //灏嗗彇娑堢殑鏉冮檺璁剧疆涓�"" + _RoleAuthService.Repository.DeleteData(delAuths); + + int addCount = updateAuths.Where(x => x.AuthId <= 0).Count(); + int updateCount = updateAuths.Where(x => x.AuthId > 0).Count(); + + string _version = DateTime.Now.ToString("yyyyMMddHHMMssfff"); + + + content.OK($"淇濆瓨鎴愬姛锛氭柊澧炲姞閰嶈彍鍗曟潈闄恵addCount}鏉�,鏇存柊鑿滃崟{updateCount}鏉�,鍒犻櫎鏉冮檺{delAuths.Count}鏉�"); + } + catch (Exception ex) + { + message = "寮傚父淇℃伅锛�" + ex.Message + ex.StackTrace + ","; + } + + return content; + } + + /// <summary> + /// 淇濆瓨瑙掕壊鏉冮檺 + /// </summary> + /// <param name="userPermissions"></param> + /// <param name="roleId"></param> + /// <returns></returns> + public WebResponseContent SavePermissionPDA(List<UserPermissionDTO> userPermissions, int roleId) + { + WebResponseContent content = new WebResponseContent(); + string message = ""; + try + { + if (!GetAllChildren(App.User.RoleId).Exists(x => x.Id == roleId)) + return WebResponseContent.Instance.Error("娌℃湁鏉冮檺淇敼姝よ鑹茬殑鏉冮檺淇℃伅"); + //褰撳墠鐢ㄦ埛鐨勬潈闄� + List<Permissions> permissions = _MenuService.GetPermissions(App.User.RoleId); + + List<int> originalMeunIds = new List<int>(); + + List<int> menuIds = _MenuService.Repository.QueryData(x => x.MenuId, x => x.MenuType == 1); + + //琚垎閰嶈鑹茬殑鏉冮檺 + List<Sys_RoleAuth> roleAuths = _RoleAuthService.Repository.QueryData(x => x.RoleId == roleId && menuIds.Contains(x.MenuId)); + List<Sys_RoleAuth> updateAuths = new List<Sys_RoleAuth>(); + foreach (UserPermissionDTO x in userPermissions) + { + Permissions per = permissions.FirstOrDefault(p => p.MenuId == x.Id); + //涓嶈兘鍒嗛厤瓒呰繃褰撳墠鐢ㄦ埛鐨勬潈闄� + if (per == null) continue; + //per.UserAuthArr.Contains(a.Value)鏍¢獙鏉冮檺鑼冨洿 + string[] arr = x.Actions == null || x.Actions.Count == 0 + ? new string[0] + : x.Actions.Where(a => per.UserAuthArr.Contains(a.Value)) + .Select(s => s.Value).ToArray(); + + //濡傛灉褰撳墠鏉冮檺娌℃湁鍒嗛厤杩囷紝璁剧疆Auth_Id榛樿涓�0锛岃〃绀烘柊澧炵殑鏉冮檺 + var auth = roleAuths.Where(r => r.MenuId == x.Id).Select(s => new { s.AuthId, s.AuthValue, s.MenuId }).FirstOrDefault(); + string newAuthValue = string.Join(",", arr); + //鏉冮檺娌℃湁鍙戠敓鍙樺寲鍒欎笉澶勭悊 + if (auth == null || auth.AuthValue != newAuthValue) + { + updateAuths.Add(new Sys_RoleAuth() + { + RoleId = roleId, + MenuId = x.Id, + AuthValue = string.Join(",", arr), + AuthId = auth == null ? 0 : auth.AuthId, + ModifyDate = DateTime.Now, + Modifier = App.User.UserName, + CreateDate = DateTime.Now, + Creater = App.User.UserName + }); + } + else + { + originalMeunIds.Add(auth.MenuId); + } + + } + //鏇存柊鏉冮檺 + _RoleAuthService.Repository.UpdateData(updateAuths); + //鏂板鐨勬潈闄� + _RoleAuthService.Repository.AddData(updateAuths); + + //鑾峰彇鏉冮檺鍙栨秷鐨勬潈闄� + int[] authIds = roleAuths.Where(x => userPermissions.Select(u => u.Id) + .ToList().Contains(x.MenuId) || originalMeunIds.Contains(x.MenuId)) + .Select(s => s.AuthId) + .ToArray(); + List<Sys_RoleAuth> delAuths = roleAuths.Where(x => x.AuthValue != "" && !authIds.Contains(x.AuthId)).ToList(); + delAuths.ForEach(x => + { + x.AuthValue = ""; + }); + //灏嗗彇娑堢殑鏉冮檺璁剧疆涓�"" + _RoleAuthService.Repository.DeleteData(delAuths); + + int addCount = updateAuths.Where(x => x.AuthId <= 0).Count(); + int updateCount = updateAuths.Where(x => x.AuthId > 0).Count(); + + string _version = DateTime.Now.ToString("yyyyMMddHHMMssfff"); + + + content.OK($"淇濆瓨鎴愬姛锛氭柊澧炲姞閰嶈彍鍗曟潈闄恵addCount}鏉�,鏇存柊鑿滃崟{updateCount}鏉�,鍒犻櫎鏉冮檺{delAuths.Count}鏉�"); + } + catch (Exception ex) + { + message = "寮傚父淇℃伅锛�" + ex.Message + ex.StackTrace + ","; + } + + return content; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_TenantService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_TenantService.cs" new file mode 100644 index 0000000..9a7f4d9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_TenantService.cs" @@ -0,0 +1,82 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core; +using WIDESEA_Core.AOP; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Const; +using WIDESEA_Core.Helper; +using WIDESEA_Core.Seed; +using WIDESEA_ISystemService; +using WIDESEA_Model.Models; + +namespace WIDESEA_SystemService +{ + public class Sys_TenantService : ServiceBase<Sys_Tenant, IRepository<Sys_Tenant>>, ISys_TenantService + { + private IUnitOfWorkManage _unitOfWorkManage; + + public IRepository<Sys_Tenant> Repository => BaseDal; + + public Sys_TenantService(IRepository<Sys_Tenant> BaseDal, IUnitOfWorkManage unitOfWorkManage) : base(BaseDal) + { + _unitOfWorkManage = unitOfWorkManage; + } + + public WebResponseContent InitTenantInfo(string tenantName, int tenantType) + { + WebResponseContent content = new WebResponseContent(); + try + { + Sys_Tenant tenant = new Sys_Tenant() + { + ConnectionString = TenantConst.DBConStr, + DbType = 1, + Status = 1, + TenantName = tenantName, + TenantType = tenantType, + CreateDate = DateTime.Now, + Creater = "1111" + }; + + int tenantId = BaseDal.Db.Insertable(tenant).ExecuteReturnIdentity(); + + tenant = BaseDal.QueryFirst(x => x.TenantId == tenantId); + + tenant.ConnectionString = string.Format(TenantConst.DBConStr, ".", "Tenant_WMSDB_" + tenantId, "sa", "P@ssw0rd").EncryptDES(AppSecret.DB); + + BaseDal.UpdateData(tenant); + + InitTenantDb(tenant); + content = WebResponseContent.Instance.OK(); + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + return content; + } + + public void InitTenantDb(Sys_Tenant tenant) + { + string conStr = tenant.ConnectionString.DecryptDES(AppSecret.DB); + + ConnectionConfig connectionConfig = new ConnectionConfig() + { + ConfigId = tenant.TenantId, + ConnectionString = conStr, + DbType = (DbType)tenant.DbType, + IsAutoCloseConnection = true, + AopEvents = new AopEvents() + { + DataExecuting = SqlSugarAop.DataExecuting + } + }; + DBSeed.InitTenantSeedAsync(Db.AsTenant(), connectionConfig); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_UserService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_UserService.cs" new file mode 100644 index 0000000..cea2a5f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/Sys_UserService.cs" @@ -0,0 +1,269 @@ +锘縰sing WIDESEA_Core.Authorization; +using WIDESEA_Core; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Const; +using WIDESEA_Core.Helper; +using WIDESEA_Core.HttpContextUser; +using WIDESEA_ISystemService; +using WIDESEA_Model; +using WIDESEA_Model.Models; +using WIDESEA_Core.BaseRepository; +using System.Net; +using WIDESEA_Core.Caches; +using SqlSugar; +using ICacheService = WIDESEA_Core.Caches.ICacheService; +using HslCommunication.WebSocket; +using System.Drawing.Drawing2D; +using System.Linq; +using MailKit.Search; +using OrderByType = SqlSugar.OrderByType; +using System.Drawing.Printing; +//using WIDESEA_Core.HostedService; + +namespace WIDESEA_SystemService +{ + public class Sys_UserService : ServiceBase<Sys_User, IRepository<Sys_User>>, ISys_UserService + { + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly ICacheService _cacheService; + private readonly ISys_MenuService _menuService; + private readonly ISys_RoleService _roleService; + + public IRepository<Sys_User> Repository => BaseDal; + + public Sys_UserService(IRepository<Sys_User> repository, IUnitOfWorkManage unitOfWorkManage, ICacheService cacheService, ISys_MenuService menuService, ISys_RoleService roleService) : base(repository) + { + _unitOfWorkManage = unitOfWorkManage; + _cacheService = cacheService; + _menuService = menuService; + _roleService = roleService; + } + + public WebResponseContent Login(LoginInfo loginInfo) + { + WebResponseContent content = new WebResponseContent(); + try + { + //BaseDal.QueryFirst(x => x.UserName == loginInfo.UserName); + + string msg = string.Empty; + + #region 涓存椂浣跨敤 + try + { + loginInfo.Password = loginInfo.Password.EncryptDES(AppSecret.User); + } + catch + { + + } + #endregion + + UserInfo user = BaseDal.QueryFirst(x => x.UserName == loginInfo.UserName && x.UserPwd == loginInfo.Password, x => new UserInfo { HeadImageUrl = x.HeadImageUrl, RoleId = x.RoleId, TenantId = x.TenantId, UserId = x.UserId, UserName = x.UserName, UserTrueName = x.UserTrueName }); + if (user != null) + { + object obj = _menuService.GetMenuActionList(user.RoleId); + if (obj is not IEnumerable<object> list) + { + return WebResponseContent.Instance.Error("鏃犵櫥褰曟潈闄�"); + } + if (!list.Any()) + { + return WebResponseContent.Instance.Error("鏃犵櫥褰曟潈闄�"); + } + + string token = JwtHelper.IssueJwt(new TokenModelJwt() + { + UserId = user.UserId, + RoleId = user.RoleId, + UserName = user.UserName, + TenantId = user.TenantId, + }); + App.User.UpdateToke(token, user.UserId); + + //if (PermissionDataHostService.UserRoles.FirstOrDefault(x => x.UserId == user.UserId) == null) + // PermissionDataHostService.UserRoles.AddRange(PermissionDataHostService.GetUserRoles(Db, user.UserId)); + + content = WebResponseContent.Instance.OK(data: new { token, userName = user.UserName, img = user.HeadImageUrl, user.UserTrueName }); + } + else + { + content = WebResponseContent.Instance.Error("璐﹀彿鎴栧瘑鐮侀敊璇�"); + } + } + catch (Exception ex) + { + content = WebResponseContent.Instance.Error(ex.Message); + } + + return content; + } + + public override WebResponseContent UpdateData(SaveModel saveModel) + { + UpdateIgnoreColOnExecute = x => + { + return new List<string> + { + nameof(Sys_User.UserPwd), + nameof(Sys_User.TenantId) + }; + }; + return base.UpdateData(saveModel); + } + + public override PageGridData<Sys_User> GetPageData(PageDataOptions options) + { + int roleId = -1; + //鏍戝舰鑿滃崟浼犳煡璇㈣鑹蹭笅鎵�鏈夌敤鎴� + if (options.Value != null) + { + roleId = options.Value.ObjToInt(); + } + + if (roleId <= 0) + { + if (App.User.IsHighestRole) return base.GetPageData(options); + roleId = App.User.RoleId; + } + int totalCount = 0; + List<int> roleIds = _roleService.GetAllChildrenRoleId(roleId).Where(x => x != roleId).ToList(); + ISugarQueryable<Sys_User> sugarQueryable = Db.Queryable<Sys_User>(); + ValidatePageOptions(options, ref sugarQueryable); + + Dictionary<string, OrderByType> orderbyDic = options.GetPageDataSort(TProperties); + List<OrderByModel> orderByModels = new List<OrderByModel>(); + foreach (var item in orderbyDic) + { + OrderByModel orderByModel = new OrderByModel() + { + FieldName = item.Key, + OrderByType = item.Value + }; + orderByModels.Add(orderByModel); + } + List<Sys_User> users = sugarQueryable.Where(x => roleIds.Contains(x.RoleId) || x.UserId == App.User.UserId).OrderBy(orderByModels).ToPageList(options.Page, options.Rows, ref totalCount); + return new PageGridData<Sys_User> { Rows = users, Total = totalCount }; + } + + public override WebResponseContent AddData(SaveModel saveModel) + { + string pwd = "123456"; + string uesrName = saveModel.MainData[nameof(Sys_User.UserName).FirstLetterToLower()].ToString(); + saveModel.MainData[nameof(Sys_User.UserPwd).FirstLetterToLower()] = pwd.EncryptDES(AppSecret.User); + + WebResponseContent content = base.AddData(saveModel); + if (content.Status) + { + return WebResponseContent.Instance.OK($"鐢ㄦ埛鏂板缓鎴愬姛.甯愬彿{uesrName}瀵嗙爜{pwd}"); + } + else + { + return content; + } + } + + /// <summary> + /// 涓汉涓績鑾峰彇褰撳墠鐢ㄦ埛淇℃伅 + /// </summary> + /// <returns></returns> + public WebResponseContent GetCurrentUserInfo() + { + var data = BaseDal.QueryFirst(x => x.UserId == App.User.UserId, s => new + { + s.UserName, + s.UserTrueName, + s.Address, + s.PhoneNo, + s.Email, + s.Remark, + s.Gender, + s.RoleName, + s.HeadImageUrl, + s.CreateDate + }); + return WebResponseContent.Instance.OK(null, data); + } + + /// <summary> + /// 淇敼瀵嗙爜 + /// </summary> + /// <param name="parameters"></param> + /// <returns></returns> + public WebResponseContent ModifyPwd(string oldPwd, string newPwd) + { + WebResponseContent content = WebResponseContent.Instance; + oldPwd = oldPwd?.Trim(); + newPwd = newPwd?.Trim(); + string message = ""; + try + { + if (string.IsNullOrEmpty(oldPwd)) return WebResponseContent.Instance.Error("鏃у瘑鐮佷笉鑳戒负绌�"); + if (string.IsNullOrEmpty(newPwd)) return WebResponseContent.Instance.Error("鏂板瘑鐮佷笉鑳戒负绌�"); + if (newPwd.Length < 6) return WebResponseContent.Instance.Error("瀵嗙爜涓嶈兘灏戜簬6浣�"); + + int userId = App.User.UserId; + string userCurrentPwd = BaseDal.QueryFirst(x => x.UserId == userId, s => s.UserPwd); + + string _oldPwd = oldPwd.EncryptDES(AppSecret.User); + if (_oldPwd != userCurrentPwd) return WebResponseContent.Instance.Error("鏃у瘑鐮佷笉姝g‘"); + + string _newPwd = newPwd.EncryptDES(AppSecret.User); + if (userCurrentPwd == _newPwd) return WebResponseContent.Instance.Error("鏂板瘑鐮佷笉鑳戒笌鏃у瘑鐮佺浉鍚�"); + + + BaseDal.UpdateData(new Sys_User + { + UserId = userId, + UserPwd = _newPwd, + LastModifyPwdDate = DateTime.Now + }, new List<string> + { + nameof(Sys_User.LastModifyPwdDate), + nameof(Sys_User.UserPwd) + }); + + content = WebResponseContent.Instance.OK("瀵嗙爜淇敼鎴愬姛"); + } + catch (Exception ex) + { + message = ex.Message; + content = WebResponseContent.Instance.Error("鏈嶅姟鍣ㄤ簡鐐归棶棰�,璇风◢鍚庡啀璇�"); + } + return content; + } + public WebResponseContent ModifyUserPwd(string password, string userName) + { + WebResponseContent content = new WebResponseContent(); + string message = ""; + password = password?.Trim(); + try + { + if (string.IsNullOrEmpty(password)) return WebResponseContent.Instance.Error("瀵嗙爜涓嶈兘涓虹┖"); + //鑾峰彇鐢ㄦ埛 + Sys_User user = BaseDal.QueryFirst(x => x.UserName == userName); + if (user == null) return WebResponseContent.Instance.Error("鐢ㄦ埛涓嶅瓨鍦�"); + user.UserPwd = password.EncryptDES(AppSecret.User); + BaseDal.UpdateData(user); + if (App.User.UserId == user.UserId) + { + string token = JwtHelper.IssueJwt(new TokenModelJwt() + { + UserId = user.UserId, + RoleId = user.RoleId, + UserName = user.UserName, + TenantId = user.TenantId, + }); + _cacheService.AddOrUpdate(user.UserId.ToString(), token); + } + return content.OK("鏇存敼鎴愬姛"); + } + catch (Exception ex) + { + message = ex.Message; + content.Error("鏈嶅姟鍣ㄤ簡鐐归棶棰�,璇风◢鍚庡啀璇�"); + } + return content; + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/WIDESEA_SystemService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/WIDESEA_SystemService.csproj" new file mode 100644 index 0000000..37aa4de --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_SystemService/WIDESEA_SystemService.csproj" @@ -0,0 +1,13 @@ +锘�<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_ISystemService\WIDESEA_ISystemService.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs" new file mode 100644 index 0000000..b7c8f5b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs" @@ -0,0 +1,81 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Reflection; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Core.Enums; +using WIDESEA_Core; +using WIDESEA_Model.Models; +using WIDESEA_Core.Helper; +using Microsoft.Extensions.Logging; +using MailKit.Search; +using System.Reflection.Metadata; +using static WIDESEA_ITaskInfoService.ITaskService; +using WIDESEA_Common; +using WIDESEA_Core.LogHelper; +using WIDESEA_DTO.Task; +using WIDESEA_Common.TaskEnum; +using WIDESEA_Common.StockEnum; +using WIDESEA_Common.LocationEnum; + +namespace WIDESEA_TaskInfoService +{ + public partial class TaskService + { + + /// <summary> + /// 浠呯敵璇蜂换鍔★紝璁¦CS鏍规嵁璺敱纭畾涓嬩竴鍦板潃 + /// </summary> + /// <param name="stationCode"></param> + /// <param name="palletCode"></param> + /// <returns></returns> + public WebResponseContent DeviceRequestInboundTaskSimple(string stationCode, string palletCode) + { + try + { + Dt_Task task = Repository.QueryFirst(x => x.PalletCode == palletCode); + if (task != null) + { + PushTasksToWCS(new List<Dt_Task> { task }); + return WebResponseContent.Instance.OK($"璇ユ墭鐩樺凡鐢熸垚浠诲姟", _mapper.Map<WMSTaskDTO>(task)); + } + + Dt_Task newTask = new Dt_Task() + { + CurrentAddress = stationCode, + Grade = 0, + NextAddress = stationCode,//鍫嗗灈鏈� + PalletCode = palletCode, + OrderNo = "1", + Roadway = "1", + SourceAddress = "", + TargetAddress = "2-20-1", + TaskType = TaskTypeEnum.Inbound.ObjToInt(), + TaskStatus = TaskStatusEnum.New.ObjToInt(), + WarehouseId = 1, + //PalletType = GetPalletType(warehouse, palletCode),//GetPalletType(warehouse, palletCode) + Creater = "WCS", + CreateDate = DateTime.Now + }; + + _unitOfWorkManage.BeginTran(); + int taskId = BaseDal.AddData(newTask); + newTask.TaskId = taskId; + //_stockRepository.UpdateData(stockInfo); + //_locationInfoRepository.UpdateData(locationInfo); + _unitOfWorkManage.CommitTran(); + WMSTaskDTO wMSTaskDTO = _mapper.Map<WMSTaskDTO>(newTask); + + //PushTasksToWCS(new List<Dt_Task> { newTask }); + return WebResponseContent.Instance.OK(data: wMSTaskDTO); + } + catch (Exception ex) + { + _unitOfWorkManage.RollbackTran(); + return WebResponseContent.Instance.Error(ex.Message); + } + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs" new file mode 100644 index 0000000..50c96b0 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs" @@ -0,0 +1,95 @@ +锘�#region << 鐗� 鏈� 娉� 閲� >> +/*---------------------------------------------------------------- + * 鍛藉悕绌洪棿锛歐IDESEA_TaskInfoService + * 鍒涘缓鑰咃細鑳$搴� + * 鍒涘缓鏃堕棿锛�2024/8/2 16:13:36 + * 鐗堟湰锛歏1.0.0 + * 鎻忚堪锛� + * + * ---------------------------------------------------------------- + * 淇敼浜猴細 + * 淇敼鏃堕棿锛� + * 鐗堟湰锛歏1.0.1 + * 淇敼璇存槑锛� + * + *----------------------------------------------------------------*/ +#endregion << 鐗� 鏈� 娉� 閲� >> + +using AutoMapper; +using Newtonsoft.Json; +using SqlSugar; +using WIDESEA_Common.TaskEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Helper; +using WIDESEA_DTO.Task; +using WIDESEA_IBasicService; +using WIDESEA_IInboundService; +using WIDESEA_IOutboundService; +using WIDESEA_IRecordService; +using WIDESEA_IStockService; +using WIDESEA_ITaskInfoService; +using WIDESEA_Model.Models; + +namespace WIDESEA_TaskInfoService +{ + public partial class TaskService : ServiceBase<Dt_Task, IRepository<Dt_Task>>, ITaskService + { + private readonly IMapper _mapper; + private readonly IUnitOfWorkManage _unitOfWorkManage; + private readonly IRepository<Dt_StockInfo> _stockRepository; + private readonly IRepository<Dt_Warehouse> _warehouseRepository; + private readonly IRepository<Dt_LocationInfo> _locationInfoRepository; + private readonly IBasicService _basicService; + + public IRepository<Dt_Task> Repository => BaseDal; + + private Dictionary<string, OrderByType> _taskOrderBy = new() + { + {nameof(Dt_Task.Grade),OrderByType.Desc }, + {nameof(Dt_Task.CreateDate),OrderByType.Asc}, + }; + + public List<int> TaskTypes => typeof(TaskTypeEnum).GetEnumIndexList(); + + public List<int> TaskOutboundTypes => typeof(TaskTypeEnum).GetEnumIndexList(); + + public TaskService(IRepository<Dt_Task> BaseDal, IMapper mapper, IUnitOfWorkManage unitOfWorkManage, IRepository<Dt_StockInfo> stockRepository, IBasicService basicService, IRepository<Dt_Warehouse> warehouseRepository, IRepository<Dt_LocationInfo> locationInfoRepository) : base(BaseDal) + { + _mapper = mapper; + _unitOfWorkManage = unitOfWorkManage; + _stockRepository = stockRepository; + _basicService = basicService; + _warehouseRepository = warehouseRepository; + _locationInfoRepository = locationInfoRepository; + } + /// <summary> + /// 浠诲姟淇℃伅鎺ㄩ�佽嚦WCS + /// </summary> + /// <returns></returns> + public WebResponseContent PushTasksToWCS(List<Dt_Task> tasks, string agvDescription = "") + { + try + { + List<WMSTaskDTO> taskDTOs = _mapper.Map<List<WMSTaskDTO>>(tasks); + taskDTOs.ForEach(x => + { + x.AGVArea = agvDescription; + }); + string url = AppSettings.Get("WCS"); + if (string.IsNullOrEmpty(url)) + { + return WebResponseContent.Instance.Error($"鏈壘鍒癢CSApi鍦板潃,璇锋鏌ラ厤缃枃浠�"); + } + string response = HttpHelper.Post($"{url}/api/Task/ReceiveTask", taskDTOs.Serialize()); + + return JsonConvert.DeserializeObject<WebResponseContent>(response) ?? WebResponseContent.Instance.Error("杩斿洖閿欒"); + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/Task_HtyService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/Task_HtyService.cs" new file mode 100644 index 0000000..73bd716 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/Task_HtyService.cs" @@ -0,0 +1,13 @@ +锘縰sing WIDESEA_Core.BaseRepository; +using WIDESEA_Core.BaseServices; +using WIDESEA_ITaskInfoService; +using WIDESEA_Model.Models; + +namespace WIDESEA_TaskInfoService; + +public class Task_HtyService : ServiceBase<Dt_Task_Hty, IRepository<Dt_Task_Hty>>, ITask_HtyService +{ + public Task_HtyService(IRepository<Dt_Task_Hty> BaseDal) : base(BaseDal) + { + } +} \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WIDESEA_TaskInfoService.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WIDESEA_TaskInfoService.csproj" new file mode 100644 index 0000000..5272e9b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WIDESEA_TaskInfoService.csproj" @@ -0,0 +1,18 @@ +锘�<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_IBasicService\WIDESEA_IBasicService.csproj" /> + <ProjectReference Include="..\WIDESEA_IInboundService\WIDESEA_IInboundService.csproj" /> + <ProjectReference Include="..\WIDESEA_IOutboundService\WIDESEA_IOutboundService.csproj" /> + <ProjectReference Include="..\WIDESEA_IRecordService\WIDESEA_IRecordService.csproj" /> + <ProjectReference Include="..\WIDESEA_IStockService\WIDESEA_IStockService.csproj" /> + <ProjectReference Include="..\WIDESEA_ITaskInfoService\WIDESEA_ITaskInfoService.csproj" /> + </ItemGroup> + +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer.sln" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer.sln" new file mode 100644 index 0000000..f86f859 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer.sln" @@ -0,0 +1,366 @@ +锘� +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34701.34 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_WMSServer", "WIDESEA_WMSServer\WIDESEA_WMSServer.csproj", "{D81A65B5-47D1-40C1-8FDE-7D24FF003F51}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_Core", "WIDESEA_Core\WIDESEA_Core.csproj", "{111BD7AA-9749-4506-9772-79F9EF14754C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_Common", "WIDESEA_Common\WIDESEA_Common.csproj", "{AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_Model", "WIDESEA_Model\WIDESEA_Model.csproj", "{00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Service", "Service", "{60DE2920-37C6-4C2B-A053-6B1B2DAF047A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_DTO", "WIDESEA_DTO\WIDESEA_DTO.csproj", "{929DF936-042C-4EEC-8722-A831FC2F0AEA}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "System", "System", "{F40FDE85-110F-4B31-AA62-E2BD432028E0}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_ISystemService", "WIDESEA_ISystemService\WIDESEA_ISystemService.csproj", "{00A5A08A-8A36-4972-8863-7DCF8DBC7978}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_SystemService", "WIDESEA_SystemService\WIDESEA_SystemService.csproj", "{D8C9593B-B31C-4650-8F44-962E9096A0CF}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TaskInfo", "TaskInfo", "{65441FA0-9B61-45F6-AC6F-76E4468617BA}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Stock", "Stock", "{9F5EEC4F-B525-4527-AA48-404EA6E46FFC}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Outbound", "Outbound", "{839D91F1-D8B5-4FA0-8980-DD2ED1012D87}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Inbound", "Inbound", "{A8175EEC-87F8-4560-8D95-1027B33B6301}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Basic", "Basic", "{2228B322-FB4C-49C0-8C1C-0264ED6787FB}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{99C8A9CA-A406-4889-BEE1-8865179376B9}" + ProjectSection(SolutionItems) = preProject + .editorconfig = .editorconfig + EndProjectSection +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_IBasicService", "WIDESEA_IBasicService\WIDESEA_IBasicService.csproj", "{5F260E03-095A-4870-8419-5B72CB62929E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_BasicService", "WIDESEA_BasicService\WIDESEA_BasicService.csproj", "{D11C804C-2FF4-4C18-A3EE-2F0574427BB3}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_IInboundService", "WIDESEA_IInboundService\WIDESEA_IInboundService.csproj", "{3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_InboundService", "WIDESEA_InboundService\WIDESEA_InboundService.csproj", "{9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_IOutboundService", "WIDESEA_IOutboundService\WIDESEA_IOutboundService.csproj", "{69C05DDB-1AA6-4090-9916-029CD0E95B10}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_OutboundService", "WIDESEA_OutboundService\WIDESEA_OutboundService.csproj", "{1B884AD3-7E67-44CD-B182-DEECDD671DD2}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_IStockService", "WIDESEA_IStockService\WIDESEA_IStockService.csproj", "{49716D78-720D-475D-948C-0FC6C5F079E5}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_StockService", "WIDESEA_StockService\WIDESEA_StockService.csproj", "{7DC26D42-D8EE-46F0-BA66-A13457086885}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_ITaskInfoService", "WIDESEA_ITaskInfoService\WIDESEA_ITaskInfoService.csproj", "{CE0DB91F-5A68-448E-A419-4C26B5039F51}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_TaskInfoService", "WIDESEA_TaskInfoService\WIDESEA_TaskInfoService.csproj", "{7D7534D4-51D9-46DC-A6B7-6430042F4E12}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Record", "Record", "{551C56D1-8642-4391-B478-A1BC51D63F98}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_IRecordService", "WIDESEA_IRecordService\WIDESEA_IRecordService.csproj", "{6E0E5856-A399-4791-9EAD-84ABC43F35AA}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WIDESEA_RecordService", "WIDESEA_RecordService\WIDESEA_RecordService.csproj", "{A343A2C5-995D-45F1-A3E5-20495DD3F615}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Check", "Check", "{294A53A4-1311-4B71-A812-378A2BCB8346}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WIDESEA_ICheckService", "WIDESEA_ICheckService\WIDESEA_ICheckService.csproj", "{82EBBC95-FD6E-4E30-9F21-625DE1991C2C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WIDESEA_CheckService", "WIDESEA_CheckService\WIDESEA_CheckService.csproj", "{C57C16CE-88A7-499A-8CE1-855D55482891}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x86 = Debug|x86 + Dev|Any CPU = Dev|Any CPU + Dev|x86 = Dev|x86 + Release|Any CPU = Release|Any CPU + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D81A65B5-47D1-40C1-8FDE-7D24FF003F51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D81A65B5-47D1-40C1-8FDE-7D24FF003F51}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D81A65B5-47D1-40C1-8FDE-7D24FF003F51}.Debug|x86.ActiveCfg = Debug|Any CPU + {D81A65B5-47D1-40C1-8FDE-7D24FF003F51}.Debug|x86.Build.0 = Debug|Any CPU + {D81A65B5-47D1-40C1-8FDE-7D24FF003F51}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {D81A65B5-47D1-40C1-8FDE-7D24FF003F51}.Dev|Any CPU.Build.0 = Debug|Any CPU + {D81A65B5-47D1-40C1-8FDE-7D24FF003F51}.Dev|x86.ActiveCfg = Debug|Any CPU + {D81A65B5-47D1-40C1-8FDE-7D24FF003F51}.Dev|x86.Build.0 = Debug|Any CPU + {D81A65B5-47D1-40C1-8FDE-7D24FF003F51}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D81A65B5-47D1-40C1-8FDE-7D24FF003F51}.Release|Any CPU.Build.0 = Release|Any CPU + {D81A65B5-47D1-40C1-8FDE-7D24FF003F51}.Release|x86.ActiveCfg = Release|Any CPU + {D81A65B5-47D1-40C1-8FDE-7D24FF003F51}.Release|x86.Build.0 = Release|Any CPU + {111BD7AA-9749-4506-9772-79F9EF14754C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {111BD7AA-9749-4506-9772-79F9EF14754C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {111BD7AA-9749-4506-9772-79F9EF14754C}.Debug|x86.ActiveCfg = Debug|Any CPU + {111BD7AA-9749-4506-9772-79F9EF14754C}.Debug|x86.Build.0 = Debug|Any CPU + {111BD7AA-9749-4506-9772-79F9EF14754C}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {111BD7AA-9749-4506-9772-79F9EF14754C}.Dev|Any CPU.Build.0 = Debug|Any CPU + {111BD7AA-9749-4506-9772-79F9EF14754C}.Dev|x86.ActiveCfg = Debug|Any CPU + {111BD7AA-9749-4506-9772-79F9EF14754C}.Dev|x86.Build.0 = Debug|Any CPU + {111BD7AA-9749-4506-9772-79F9EF14754C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {111BD7AA-9749-4506-9772-79F9EF14754C}.Release|Any CPU.Build.0 = Release|Any CPU + {111BD7AA-9749-4506-9772-79F9EF14754C}.Release|x86.ActiveCfg = Release|Any CPU + {111BD7AA-9749-4506-9772-79F9EF14754C}.Release|x86.Build.0 = Release|Any CPU + {AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}.Debug|x86.ActiveCfg = Debug|Any CPU + {AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}.Debug|x86.Build.0 = Debug|Any CPU + {AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}.Dev|Any CPU.Build.0 = Debug|Any CPU + {AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}.Dev|x86.ActiveCfg = Debug|Any CPU + {AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}.Dev|x86.Build.0 = Debug|Any CPU + {AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}.Release|Any CPU.Build.0 = Release|Any CPU + {AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}.Release|x86.ActiveCfg = Release|Any CPU + {AF8F3D65-1D75-4B8F-AFD9-4150E591C44D}.Release|x86.Build.0 = Release|Any CPU + {00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}.Debug|Any CPU.Build.0 = Debug|Any CPU + {00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}.Debug|x86.ActiveCfg = Debug|Any CPU + {00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}.Debug|x86.Build.0 = Debug|Any CPU + {00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}.Dev|Any CPU.Build.0 = Debug|Any CPU + {00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}.Dev|x86.ActiveCfg = Debug|Any CPU + {00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}.Dev|x86.Build.0 = Debug|Any CPU + {00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}.Release|Any CPU.ActiveCfg = Release|Any CPU + {00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}.Release|Any CPU.Build.0 = Release|Any CPU + {00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}.Release|x86.ActiveCfg = Release|Any CPU + {00CE9885-9F24-4B6C-A7E8-0DE8C9ED7128}.Release|x86.Build.0 = Release|Any CPU + {929DF936-042C-4EEC-8722-A831FC2F0AEA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {929DF936-042C-4EEC-8722-A831FC2F0AEA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {929DF936-042C-4EEC-8722-A831FC2F0AEA}.Debug|x86.ActiveCfg = Debug|Any CPU + {929DF936-042C-4EEC-8722-A831FC2F0AEA}.Debug|x86.Build.0 = Debug|Any CPU + {929DF936-042C-4EEC-8722-A831FC2F0AEA}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {929DF936-042C-4EEC-8722-A831FC2F0AEA}.Dev|Any CPU.Build.0 = Debug|Any CPU + {929DF936-042C-4EEC-8722-A831FC2F0AEA}.Dev|x86.ActiveCfg = Debug|Any CPU + {929DF936-042C-4EEC-8722-A831FC2F0AEA}.Dev|x86.Build.0 = Debug|Any CPU + {929DF936-042C-4EEC-8722-A831FC2F0AEA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {929DF936-042C-4EEC-8722-A831FC2F0AEA}.Release|Any CPU.Build.0 = Release|Any CPU + {929DF936-042C-4EEC-8722-A831FC2F0AEA}.Release|x86.ActiveCfg = Release|Any CPU + {929DF936-042C-4EEC-8722-A831FC2F0AEA}.Release|x86.Build.0 = Release|Any CPU + {00A5A08A-8A36-4972-8863-7DCF8DBC7978}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {00A5A08A-8A36-4972-8863-7DCF8DBC7978}.Debug|Any CPU.Build.0 = Debug|Any CPU + {00A5A08A-8A36-4972-8863-7DCF8DBC7978}.Debug|x86.ActiveCfg = Debug|Any CPU + {00A5A08A-8A36-4972-8863-7DCF8DBC7978}.Debug|x86.Build.0 = Debug|Any CPU + {00A5A08A-8A36-4972-8863-7DCF8DBC7978}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {00A5A08A-8A36-4972-8863-7DCF8DBC7978}.Dev|Any CPU.Build.0 = Debug|Any CPU + {00A5A08A-8A36-4972-8863-7DCF8DBC7978}.Dev|x86.ActiveCfg = Debug|Any CPU + {00A5A08A-8A36-4972-8863-7DCF8DBC7978}.Dev|x86.Build.0 = Debug|Any CPU + {00A5A08A-8A36-4972-8863-7DCF8DBC7978}.Release|Any CPU.ActiveCfg = Release|Any CPU + {00A5A08A-8A36-4972-8863-7DCF8DBC7978}.Release|Any CPU.Build.0 = Release|Any CPU + {00A5A08A-8A36-4972-8863-7DCF8DBC7978}.Release|x86.ActiveCfg = Release|Any CPU + {00A5A08A-8A36-4972-8863-7DCF8DBC7978}.Release|x86.Build.0 = Release|Any CPU + {D8C9593B-B31C-4650-8F44-962E9096A0CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D8C9593B-B31C-4650-8F44-962E9096A0CF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D8C9593B-B31C-4650-8F44-962E9096A0CF}.Debug|x86.ActiveCfg = Debug|Any CPU + {D8C9593B-B31C-4650-8F44-962E9096A0CF}.Debug|x86.Build.0 = Debug|Any CPU + {D8C9593B-B31C-4650-8F44-962E9096A0CF}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {D8C9593B-B31C-4650-8F44-962E9096A0CF}.Dev|Any CPU.Build.0 = Debug|Any CPU + {D8C9593B-B31C-4650-8F44-962E9096A0CF}.Dev|x86.ActiveCfg = Debug|Any CPU + {D8C9593B-B31C-4650-8F44-962E9096A0CF}.Dev|x86.Build.0 = Debug|Any CPU + {D8C9593B-B31C-4650-8F44-962E9096A0CF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D8C9593B-B31C-4650-8F44-962E9096A0CF}.Release|Any CPU.Build.0 = Release|Any CPU + {D8C9593B-B31C-4650-8F44-962E9096A0CF}.Release|x86.ActiveCfg = Release|Any CPU + {D8C9593B-B31C-4650-8F44-962E9096A0CF}.Release|x86.Build.0 = Release|Any CPU + {5F260E03-095A-4870-8419-5B72CB62929E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5F260E03-095A-4870-8419-5B72CB62929E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5F260E03-095A-4870-8419-5B72CB62929E}.Debug|x86.ActiveCfg = Debug|Any CPU + {5F260E03-095A-4870-8419-5B72CB62929E}.Debug|x86.Build.0 = Debug|Any CPU + {5F260E03-095A-4870-8419-5B72CB62929E}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {5F260E03-095A-4870-8419-5B72CB62929E}.Dev|Any CPU.Build.0 = Debug|Any CPU + {5F260E03-095A-4870-8419-5B72CB62929E}.Dev|x86.ActiveCfg = Debug|Any CPU + {5F260E03-095A-4870-8419-5B72CB62929E}.Dev|x86.Build.0 = Debug|Any CPU + {5F260E03-095A-4870-8419-5B72CB62929E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5F260E03-095A-4870-8419-5B72CB62929E}.Release|Any CPU.Build.0 = Release|Any CPU + {5F260E03-095A-4870-8419-5B72CB62929E}.Release|x86.ActiveCfg = Release|Any CPU + {5F260E03-095A-4870-8419-5B72CB62929E}.Release|x86.Build.0 = Release|Any CPU + {D11C804C-2FF4-4C18-A3EE-2F0574427BB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D11C804C-2FF4-4C18-A3EE-2F0574427BB3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D11C804C-2FF4-4C18-A3EE-2F0574427BB3}.Debug|x86.ActiveCfg = Debug|Any CPU + {D11C804C-2FF4-4C18-A3EE-2F0574427BB3}.Debug|x86.Build.0 = Debug|Any CPU + {D11C804C-2FF4-4C18-A3EE-2F0574427BB3}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {D11C804C-2FF4-4C18-A3EE-2F0574427BB3}.Dev|Any CPU.Build.0 = Debug|Any CPU + {D11C804C-2FF4-4C18-A3EE-2F0574427BB3}.Dev|x86.ActiveCfg = Debug|Any CPU + {D11C804C-2FF4-4C18-A3EE-2F0574427BB3}.Dev|x86.Build.0 = Debug|Any CPU + {D11C804C-2FF4-4C18-A3EE-2F0574427BB3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D11C804C-2FF4-4C18-A3EE-2F0574427BB3}.Release|Any CPU.Build.0 = Release|Any CPU + {D11C804C-2FF4-4C18-A3EE-2F0574427BB3}.Release|x86.ActiveCfg = Release|Any CPU + {D11C804C-2FF4-4C18-A3EE-2F0574427BB3}.Release|x86.Build.0 = Release|Any CPU + {3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}.Debug|x86.ActiveCfg = Debug|Any CPU + {3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}.Debug|x86.Build.0 = Debug|Any CPU + {3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}.Dev|Any CPU.Build.0 = Debug|Any CPU + {3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}.Dev|x86.ActiveCfg = Debug|Any CPU + {3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}.Dev|x86.Build.0 = Debug|Any CPU + {3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}.Release|Any CPU.Build.0 = Release|Any CPU + {3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}.Release|x86.ActiveCfg = Release|Any CPU + {3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26}.Release|x86.Build.0 = Release|Any CPU + {9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}.Debug|x86.ActiveCfg = Debug|Any CPU + {9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}.Debug|x86.Build.0 = Debug|Any CPU + {9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}.Dev|Any CPU.Build.0 = Debug|Any CPU + {9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}.Dev|x86.ActiveCfg = Debug|Any CPU + {9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}.Dev|x86.Build.0 = Debug|Any CPU + {9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}.Release|Any CPU.Build.0 = Release|Any CPU + {9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}.Release|x86.ActiveCfg = Release|Any CPU + {9619D9B0-7E5B-42F0-BA2C-B840B3E1C258}.Release|x86.Build.0 = Release|Any CPU + {69C05DDB-1AA6-4090-9916-029CD0E95B10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {69C05DDB-1AA6-4090-9916-029CD0E95B10}.Debug|Any CPU.Build.0 = Debug|Any CPU + {69C05DDB-1AA6-4090-9916-029CD0E95B10}.Debug|x86.ActiveCfg = Debug|Any CPU + {69C05DDB-1AA6-4090-9916-029CD0E95B10}.Debug|x86.Build.0 = Debug|Any CPU + {69C05DDB-1AA6-4090-9916-029CD0E95B10}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {69C05DDB-1AA6-4090-9916-029CD0E95B10}.Dev|Any CPU.Build.0 = Debug|Any CPU + {69C05DDB-1AA6-4090-9916-029CD0E95B10}.Dev|x86.ActiveCfg = Debug|Any CPU + {69C05DDB-1AA6-4090-9916-029CD0E95B10}.Dev|x86.Build.0 = Debug|Any CPU + {69C05DDB-1AA6-4090-9916-029CD0E95B10}.Release|Any CPU.ActiveCfg = Release|Any CPU + {69C05DDB-1AA6-4090-9916-029CD0E95B10}.Release|Any CPU.Build.0 = Release|Any CPU + {69C05DDB-1AA6-4090-9916-029CD0E95B10}.Release|x86.ActiveCfg = Release|Any CPU + {69C05DDB-1AA6-4090-9916-029CD0E95B10}.Release|x86.Build.0 = Release|Any CPU + {1B884AD3-7E67-44CD-B182-DEECDD671DD2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1B884AD3-7E67-44CD-B182-DEECDD671DD2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1B884AD3-7E67-44CD-B182-DEECDD671DD2}.Debug|x86.ActiveCfg = Debug|Any CPU + {1B884AD3-7E67-44CD-B182-DEECDD671DD2}.Debug|x86.Build.0 = Debug|Any CPU + {1B884AD3-7E67-44CD-B182-DEECDD671DD2}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {1B884AD3-7E67-44CD-B182-DEECDD671DD2}.Dev|Any CPU.Build.0 = Debug|Any CPU + {1B884AD3-7E67-44CD-B182-DEECDD671DD2}.Dev|x86.ActiveCfg = Debug|Any CPU + {1B884AD3-7E67-44CD-B182-DEECDD671DD2}.Dev|x86.Build.0 = Debug|Any CPU + {1B884AD3-7E67-44CD-B182-DEECDD671DD2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1B884AD3-7E67-44CD-B182-DEECDD671DD2}.Release|Any CPU.Build.0 = Release|Any CPU + {1B884AD3-7E67-44CD-B182-DEECDD671DD2}.Release|x86.ActiveCfg = Release|Any CPU + {1B884AD3-7E67-44CD-B182-DEECDD671DD2}.Release|x86.Build.0 = Release|Any CPU + {49716D78-720D-475D-948C-0FC6C5F079E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {49716D78-720D-475D-948C-0FC6C5F079E5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {49716D78-720D-475D-948C-0FC6C5F079E5}.Debug|x86.ActiveCfg = Debug|Any CPU + {49716D78-720D-475D-948C-0FC6C5F079E5}.Debug|x86.Build.0 = Debug|Any CPU + {49716D78-720D-475D-948C-0FC6C5F079E5}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {49716D78-720D-475D-948C-0FC6C5F079E5}.Dev|Any CPU.Build.0 = Debug|Any CPU + {49716D78-720D-475D-948C-0FC6C5F079E5}.Dev|x86.ActiveCfg = Debug|Any CPU + {49716D78-720D-475D-948C-0FC6C5F079E5}.Dev|x86.Build.0 = Debug|Any CPU + {49716D78-720D-475D-948C-0FC6C5F079E5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {49716D78-720D-475D-948C-0FC6C5F079E5}.Release|Any CPU.Build.0 = Release|Any CPU + {49716D78-720D-475D-948C-0FC6C5F079E5}.Release|x86.ActiveCfg = Release|Any CPU + {49716D78-720D-475D-948C-0FC6C5F079E5}.Release|x86.Build.0 = Release|Any CPU + {7DC26D42-D8EE-46F0-BA66-A13457086885}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7DC26D42-D8EE-46F0-BA66-A13457086885}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7DC26D42-D8EE-46F0-BA66-A13457086885}.Debug|x86.ActiveCfg = Debug|Any CPU + {7DC26D42-D8EE-46F0-BA66-A13457086885}.Debug|x86.Build.0 = Debug|Any CPU + {7DC26D42-D8EE-46F0-BA66-A13457086885}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {7DC26D42-D8EE-46F0-BA66-A13457086885}.Dev|Any CPU.Build.0 = Debug|Any CPU + {7DC26D42-D8EE-46F0-BA66-A13457086885}.Dev|x86.ActiveCfg = Debug|Any CPU + {7DC26D42-D8EE-46F0-BA66-A13457086885}.Dev|x86.Build.0 = Debug|Any CPU + {7DC26D42-D8EE-46F0-BA66-A13457086885}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7DC26D42-D8EE-46F0-BA66-A13457086885}.Release|Any CPU.Build.0 = Release|Any CPU + {7DC26D42-D8EE-46F0-BA66-A13457086885}.Release|x86.ActiveCfg = Release|Any CPU + {7DC26D42-D8EE-46F0-BA66-A13457086885}.Release|x86.Build.0 = Release|Any CPU + {CE0DB91F-5A68-448E-A419-4C26B5039F51}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CE0DB91F-5A68-448E-A419-4C26B5039F51}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CE0DB91F-5A68-448E-A419-4C26B5039F51}.Debug|x86.ActiveCfg = Debug|Any CPU + {CE0DB91F-5A68-448E-A419-4C26B5039F51}.Debug|x86.Build.0 = Debug|Any CPU + {CE0DB91F-5A68-448E-A419-4C26B5039F51}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {CE0DB91F-5A68-448E-A419-4C26B5039F51}.Dev|Any CPU.Build.0 = Debug|Any CPU + {CE0DB91F-5A68-448E-A419-4C26B5039F51}.Dev|x86.ActiveCfg = Debug|Any CPU + {CE0DB91F-5A68-448E-A419-4C26B5039F51}.Dev|x86.Build.0 = Debug|Any CPU + {CE0DB91F-5A68-448E-A419-4C26B5039F51}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CE0DB91F-5A68-448E-A419-4C26B5039F51}.Release|Any CPU.Build.0 = Release|Any CPU + {CE0DB91F-5A68-448E-A419-4C26B5039F51}.Release|x86.ActiveCfg = Release|Any CPU + {CE0DB91F-5A68-448E-A419-4C26B5039F51}.Release|x86.Build.0 = Release|Any CPU + {7D7534D4-51D9-46DC-A6B7-6430042F4E12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7D7534D4-51D9-46DC-A6B7-6430042F4E12}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7D7534D4-51D9-46DC-A6B7-6430042F4E12}.Debug|x86.ActiveCfg = Debug|Any CPU + {7D7534D4-51D9-46DC-A6B7-6430042F4E12}.Debug|x86.Build.0 = Debug|Any CPU + {7D7534D4-51D9-46DC-A6B7-6430042F4E12}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {7D7534D4-51D9-46DC-A6B7-6430042F4E12}.Dev|Any CPU.Build.0 = Debug|Any CPU + {7D7534D4-51D9-46DC-A6B7-6430042F4E12}.Dev|x86.ActiveCfg = Debug|Any CPU + {7D7534D4-51D9-46DC-A6B7-6430042F4E12}.Dev|x86.Build.0 = Debug|Any CPU + {7D7534D4-51D9-46DC-A6B7-6430042F4E12}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7D7534D4-51D9-46DC-A6B7-6430042F4E12}.Release|Any CPU.Build.0 = Release|Any CPU + {7D7534D4-51D9-46DC-A6B7-6430042F4E12}.Release|x86.ActiveCfg = Release|Any CPU + {7D7534D4-51D9-46DC-A6B7-6430042F4E12}.Release|x86.Build.0 = Release|Any CPU + {6E0E5856-A399-4791-9EAD-84ABC43F35AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6E0E5856-A399-4791-9EAD-84ABC43F35AA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6E0E5856-A399-4791-9EAD-84ABC43F35AA}.Debug|x86.ActiveCfg = Debug|Any CPU + {6E0E5856-A399-4791-9EAD-84ABC43F35AA}.Debug|x86.Build.0 = Debug|Any CPU + {6E0E5856-A399-4791-9EAD-84ABC43F35AA}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {6E0E5856-A399-4791-9EAD-84ABC43F35AA}.Dev|Any CPU.Build.0 = Debug|Any CPU + {6E0E5856-A399-4791-9EAD-84ABC43F35AA}.Dev|x86.ActiveCfg = Debug|Any CPU + {6E0E5856-A399-4791-9EAD-84ABC43F35AA}.Dev|x86.Build.0 = Debug|Any CPU + {6E0E5856-A399-4791-9EAD-84ABC43F35AA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6E0E5856-A399-4791-9EAD-84ABC43F35AA}.Release|Any CPU.Build.0 = Release|Any CPU + {6E0E5856-A399-4791-9EAD-84ABC43F35AA}.Release|x86.ActiveCfg = Release|Any CPU + {6E0E5856-A399-4791-9EAD-84ABC43F35AA}.Release|x86.Build.0 = Release|Any CPU + {A343A2C5-995D-45F1-A3E5-20495DD3F615}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A343A2C5-995D-45F1-A3E5-20495DD3F615}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A343A2C5-995D-45F1-A3E5-20495DD3F615}.Debug|x86.ActiveCfg = Debug|Any CPU + {A343A2C5-995D-45F1-A3E5-20495DD3F615}.Debug|x86.Build.0 = Debug|Any CPU + {A343A2C5-995D-45F1-A3E5-20495DD3F615}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {A343A2C5-995D-45F1-A3E5-20495DD3F615}.Dev|Any CPU.Build.0 = Debug|Any CPU + {A343A2C5-995D-45F1-A3E5-20495DD3F615}.Dev|x86.ActiveCfg = Debug|Any CPU + {A343A2C5-995D-45F1-A3E5-20495DD3F615}.Dev|x86.Build.0 = Debug|Any CPU + {A343A2C5-995D-45F1-A3E5-20495DD3F615}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A343A2C5-995D-45F1-A3E5-20495DD3F615}.Release|Any CPU.Build.0 = Release|Any CPU + {A343A2C5-995D-45F1-A3E5-20495DD3F615}.Release|x86.ActiveCfg = Release|Any CPU + {A343A2C5-995D-45F1-A3E5-20495DD3F615}.Release|x86.Build.0 = Release|Any CPU + {82EBBC95-FD6E-4E30-9F21-625DE1991C2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {82EBBC95-FD6E-4E30-9F21-625DE1991C2C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {82EBBC95-FD6E-4E30-9F21-625DE1991C2C}.Debug|x86.ActiveCfg = Debug|Any CPU + {82EBBC95-FD6E-4E30-9F21-625DE1991C2C}.Debug|x86.Build.0 = Debug|Any CPU + {82EBBC95-FD6E-4E30-9F21-625DE1991C2C}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {82EBBC95-FD6E-4E30-9F21-625DE1991C2C}.Dev|Any CPU.Build.0 = Debug|Any CPU + {82EBBC95-FD6E-4E30-9F21-625DE1991C2C}.Dev|x86.ActiveCfg = Debug|Any CPU + {82EBBC95-FD6E-4E30-9F21-625DE1991C2C}.Dev|x86.Build.0 = Debug|Any CPU + {82EBBC95-FD6E-4E30-9F21-625DE1991C2C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {82EBBC95-FD6E-4E30-9F21-625DE1991C2C}.Release|Any CPU.Build.0 = Release|Any CPU + {82EBBC95-FD6E-4E30-9F21-625DE1991C2C}.Release|x86.ActiveCfg = Release|Any CPU + {82EBBC95-FD6E-4E30-9F21-625DE1991C2C}.Release|x86.Build.0 = Release|Any CPU + {C57C16CE-88A7-499A-8CE1-855D55482891}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C57C16CE-88A7-499A-8CE1-855D55482891}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C57C16CE-88A7-499A-8CE1-855D55482891}.Debug|x86.ActiveCfg = Debug|Any CPU + {C57C16CE-88A7-499A-8CE1-855D55482891}.Debug|x86.Build.0 = Debug|Any CPU + {C57C16CE-88A7-499A-8CE1-855D55482891}.Dev|Any CPU.ActiveCfg = Debug|Any CPU + {C57C16CE-88A7-499A-8CE1-855D55482891}.Dev|Any CPU.Build.0 = Debug|Any CPU + {C57C16CE-88A7-499A-8CE1-855D55482891}.Dev|x86.ActiveCfg = Debug|Any CPU + {C57C16CE-88A7-499A-8CE1-855D55482891}.Dev|x86.Build.0 = Debug|Any CPU + {C57C16CE-88A7-499A-8CE1-855D55482891}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C57C16CE-88A7-499A-8CE1-855D55482891}.Release|Any CPU.Build.0 = Release|Any CPU + {C57C16CE-88A7-499A-8CE1-855D55482891}.Release|x86.ActiveCfg = Release|Any CPU + {C57C16CE-88A7-499A-8CE1-855D55482891}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {F40FDE85-110F-4B31-AA62-E2BD432028E0} = {60DE2920-37C6-4C2B-A053-6B1B2DAF047A} + {00A5A08A-8A36-4972-8863-7DCF8DBC7978} = {F40FDE85-110F-4B31-AA62-E2BD432028E0} + {D8C9593B-B31C-4650-8F44-962E9096A0CF} = {F40FDE85-110F-4B31-AA62-E2BD432028E0} + {65441FA0-9B61-45F6-AC6F-76E4468617BA} = {60DE2920-37C6-4C2B-A053-6B1B2DAF047A} + {9F5EEC4F-B525-4527-AA48-404EA6E46FFC} = {60DE2920-37C6-4C2B-A053-6B1B2DAF047A} + {839D91F1-D8B5-4FA0-8980-DD2ED1012D87} = {60DE2920-37C6-4C2B-A053-6B1B2DAF047A} + {A8175EEC-87F8-4560-8D95-1027B33B6301} = {60DE2920-37C6-4C2B-A053-6B1B2DAF047A} + {2228B322-FB4C-49C0-8C1C-0264ED6787FB} = {60DE2920-37C6-4C2B-A053-6B1B2DAF047A} + {5F260E03-095A-4870-8419-5B72CB62929E} = {2228B322-FB4C-49C0-8C1C-0264ED6787FB} + {D11C804C-2FF4-4C18-A3EE-2F0574427BB3} = {2228B322-FB4C-49C0-8C1C-0264ED6787FB} + {3E1C6F64-6E74-4E76-9E5D-7EE6A7AA1F26} = {A8175EEC-87F8-4560-8D95-1027B33B6301} + {9619D9B0-7E5B-42F0-BA2C-B840B3E1C258} = {A8175EEC-87F8-4560-8D95-1027B33B6301} + {69C05DDB-1AA6-4090-9916-029CD0E95B10} = {839D91F1-D8B5-4FA0-8980-DD2ED1012D87} + {1B884AD3-7E67-44CD-B182-DEECDD671DD2} = {839D91F1-D8B5-4FA0-8980-DD2ED1012D87} + {49716D78-720D-475D-948C-0FC6C5F079E5} = {9F5EEC4F-B525-4527-AA48-404EA6E46FFC} + {7DC26D42-D8EE-46F0-BA66-A13457086885} = {9F5EEC4F-B525-4527-AA48-404EA6E46FFC} + {CE0DB91F-5A68-448E-A419-4C26B5039F51} = {65441FA0-9B61-45F6-AC6F-76E4468617BA} + {7D7534D4-51D9-46DC-A6B7-6430042F4E12} = {65441FA0-9B61-45F6-AC6F-76E4468617BA} + {551C56D1-8642-4391-B478-A1BC51D63F98} = {60DE2920-37C6-4C2B-A053-6B1B2DAF047A} + {6E0E5856-A399-4791-9EAD-84ABC43F35AA} = {551C56D1-8642-4391-B478-A1BC51D63F98} + {A343A2C5-995D-45F1-A3E5-20495DD3F615} = {551C56D1-8642-4391-B478-A1BC51D63F98} + {294A53A4-1311-4B71-A812-378A2BCB8346} = {60DE2920-37C6-4C2B-A053-6B1B2DAF047A} + {82EBBC95-FD6E-4E30-9F21-625DE1991C2C} = {294A53A4-1311-4B71-A812-378A2BCB8346} + {C57C16CE-88A7-499A-8CE1-855D55482891} = {294A53A4-1311-4B71-A812-378A2BCB8346} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {599A7267-7402-4143-84AE-9B407FC2BB69} + EndGlobalSection +EndGlobal diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/.config/dotnet-tools.json" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/.config/dotnet-tools.json" new file mode 100644 index 0000000..b99844e --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/.config/dotnet-tools.json" @@ -0,0 +1,12 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "dotnet-ef": { + "version": "8.0.6", + "commands": [ + "dotnet-ef" + ] + } + } +} \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" new file mode 100644 index 0000000..c62202f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" @@ -0,0 +1,30 @@ +锘縰sing HslCommunication.WebSocket; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using System.Collections.Generic; +using WIDESEA_Common.CommonEnum; +using WIDESEA_Common.LocationEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_Core.Enums; +using WIDESEA_DTO.Basic; +using WIDESEA_IBasicService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Basic +{ + /// <summary> + /// 璐т綅 + /// </summary> + [Route("api/LocationInfo")] + [ApiController] + public class LocationInfoController : ApiBaseController<ILocationInfoService, Dt_LocationInfo> + { + public LocationInfoController(ILocationInfoService service) : base(service) + { + } + + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielCodeInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielCodeInfoController.cs" new file mode 100644 index 0000000..529ed7b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielCodeInfoController.cs" @@ -0,0 +1,17 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core.BaseController; +using WIDESEA_IBasicService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Basic +{ + [Route("api/MaterielCodeInfo")] + [ApiController] + public class MaterielCodeInfoController : ApiBaseController<IMaterielCodeInfoService, Dt_MaterielCodeInfo> + { + public MaterielCodeInfoController(IMaterielCodeInfoService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs" new file mode 100644 index 0000000..58f725f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/MaterielInfoController.cs" @@ -0,0 +1,27 @@ +锘縰sing Autofac.Core; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_Core.BaseRepository; +using WIDESEA_Core.CodeConfigEnum; +using WIDESEA_Core.Helper; +using WIDESEA_DTO.Basic; +using WIDESEA_IBasicService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Basic +{ + /// <summary> + /// 鐗╂枡 + /// </summary> + [Route("api/MaterielInfo")] + [ApiController] + public class MaterielInfoController : ApiBaseController<IMaterielInfoService, Dt_MaterielInfo> + { + public MaterielInfoController(IMaterielInfoService service) : base(service) + { + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/PalletCodeInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/PalletCodeInfoController.cs" new file mode 100644 index 0000000..beb05d9 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/PalletCodeInfoController.cs" @@ -0,0 +1,19 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_IBasicService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Basic +{ + [Route("api/PalletCodeInfo")] + [ApiController] + public class PalletCodeInfoController : ApiBaseController<IPalletCodeInfoService, Dt_PalletCodeInfo> + { + public PalletCodeInfoController(IPalletCodeInfoService service) : base(service) + { + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/WarehouseController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/WarehouseController.cs" new file mode 100644 index 0000000..9a40dd7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/WarehouseController.cs" @@ -0,0 +1,22 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_IBasicService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Basic +{ + /// <summary> + /// 浠撳簱 + /// </summary> + [Route("api/Warehouse")] + [ApiController] + public class WarehouseController : ApiBaseController<IWarehouseService, Dt_Warehouse> + { + public WarehouseController(IWarehouseService service) : base(service) + { + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Check/CheckOrderController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Check/CheckOrderController.cs" new file mode 100644 index 0000000..e729346 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Check/CheckOrderController.cs" @@ -0,0 +1,23 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_ICheckService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Check +{ + /// <summary> + /// 璐ㄦ鍗� + /// </summary> + [Route("api/CheckOrder")] + [ApiController] + public class CheckOrderController : ApiBaseController<ICheckOrderService, Dt_CheckOrder> + { + public CheckOrderController(ICheckOrderService service) : base(service) + { + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Check/CheckOrderResultController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Check/CheckOrderResultController.cs" new file mode 100644 index 0000000..85e8231 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Check/CheckOrderResultController.cs" @@ -0,0 +1,22 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_ICheckService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Check +{ + /// <summary> + /// 璐ㄦ缁撴灉 + /// </summary> + [Route("api/CheckOrderResult")] + [ApiController] + public class CheckOrderResultController : ApiBaseController<ICheckOrderResultService, Dt_CheckOrderResult> + { + public CheckOrderResultController(ICheckOrderResultService service) : base(service) + { + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs" new file mode 100644 index 0000000..27e8874 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs" @@ -0,0 +1,24 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_DTO.Inbound; +using WIDESEA_IInboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Inbound +{ + /// <summary> + /// 鍏ュ簱鍗� + /// </summary> + [Route("api/InboundOrder")] + [ApiController] + public class InboundOrderController : ApiBaseController<IInboundOrderService, Dt_InboundOrder> + { + public InboundOrderController(IInboundOrderService service) : base(service) + { + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderDetailController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderDetailController.cs" new file mode 100644 index 0000000..cd51da6 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderDetailController.cs" @@ -0,0 +1,22 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_IInboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Inbound +{ + /// <summary> + /// 鍏ュ簱鍗曟槑缁� + /// </summary> + [Route("api/InboundOrderDetail")] + [ApiController] + public class InboundOrderDetailController : ApiBaseController<IInboundOrderDetailService, Dt_InboundOrderDetail> + { + public InboundOrderDetailController(IInboundOrderDetailService service) : base(service) + { + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderDetail_HtyController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderDetail_HtyController.cs" new file mode 100644 index 0000000..bdcac48 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderDetail_HtyController.cs" @@ -0,0 +1,23 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_DTO.Inbound; +using WIDESEA_IInboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Inbound +{ + /// <summary> + /// 鍏ュ簱鍗曟槑缁嗗巻鍙� + /// </summary> + [Route("api/InboundOrderDetail_Hty")] + [ApiController] + public class InboundOrderDetail_HtyController : ApiBaseController<IInboundOrderDetail_HtyService, Dt_InboundOrderDetail_Hty> + { + public InboundOrderDetail_HtyController(IInboundOrderDetail_HtyService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrder_HtyController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrder_HtyController.cs" new file mode 100644 index 0000000..efb312c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrder_HtyController.cs" @@ -0,0 +1,23 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_DTO.Inbound; +using WIDESEA_IInboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Inbound +{ + /// <summary> + /// 鍏ュ簱鍗曞巻鍙� + /// </summary> + [Route("api/InboundOrder_Hty")] + [ApiController] + public class InboundOrder_HtyController : ApiBaseController<IInboundOrder_HtyService, Dt_InboundOrder_Hty> + { + public InboundOrder_HtyController(IInboundOrder_HtyService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs" new file mode 100644 index 0000000..7eba6eb --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs" @@ -0,0 +1,23 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_IOutboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Outbound +{ + /// <summary> + /// 鍑哄簱璇︽儏 + /// </summary> + [Route("api/OutStockLockInfo")] + [ApiController] + public class OutStockLockInfoController : ApiBaseController<IOutStockLockInfoService, Dt_OutStockLockInfo> + { + public OutStockLockInfoController(IOutStockLockInfoService service) : base(service) + { + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs" new file mode 100644 index 0000000..cfd6d31 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderController.cs" @@ -0,0 +1,28 @@ +锘縰sing Autofac.Core; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_Core.CodeConfigEnum; +using WIDESEA_DTO.Inbound; +using WIDESEA_DTO.Outbound; +using WIDESEA_IOutboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Outbound +{ + /// <summary> + /// 鍑哄簱鍗� + /// </summary> + [Route("api/OutboundOrder")] + [ApiController] + public class OutboundOrderController : ApiBaseController<IOutboundOrderService, Dt_OutboundOrder> + { + public OutboundOrderController(IOutboundOrderService service) : base(service) + { + + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderDetailController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderDetailController.cs" new file mode 100644 index 0000000..1414153 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderDetailController.cs" @@ -0,0 +1,24 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_DTO.Stock; +using WIDESEA_IOutboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Outbound +{ + /// <summary> + /// 鍑哄簱鍗曟槑缁� + /// </summary> + [Route("api/OutboundOrderDetail")] + [ApiController] + public class OutboundOrderDetailController : ApiBaseController<IOutboundOrderDetailService, Dt_OutboundOrderDetail> + { + public OutboundOrderDetailController(IOutboundOrderDetailService service) : base(service) + { + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderDetail_HtyController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderDetail_HtyController.cs" new file mode 100644 index 0000000..9efe889 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrderDetail_HtyController.cs" @@ -0,0 +1,24 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_DTO.Inbound; +using WIDESEA_IInboundService; +using WIDESEA_IOutboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Inbound +{ + /// <summary> + /// 鍑哄簱鍗曟槑缁嗗巻鍙� + /// </summary> + [Route("api/OutboundOrderDetail_Hty")] + [ApiController] + public class OutboundOrderDetail_HtyController : ApiBaseController<IOutboundOrderDetail_HtyService, Dt_OutboundOrderDetail_Hty> + { + public OutboundOrderDetail_HtyController(IOutboundOrderDetail_HtyService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrder_HtyController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrder_HtyController.cs" new file mode 100644 index 0000000..7d40d61 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Outbound/OutboundOrder_HtyController.cs" @@ -0,0 +1,24 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_DTO.Inbound; +using WIDESEA_IInboundService; +using WIDESEA_IOutboundService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Inbound +{ + /// <summary> + /// 鍑哄簱鍗曞巻鍙� + /// </summary> + [Route("api/OutboundOrder_Hty")] + [ApiController] + public class OutboundOrder_HtyController : ApiBaseController<IOutboundOrder_HtyService, Dt_OutboundOrder_Hty> + { + public OutboundOrder_HtyController(IOutboundOrder_HtyService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs" new file mode 100644 index 0000000..33d6641 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/PDAController.cs" @@ -0,0 +1,113 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_Core.Helper; +using WIDESEA_DTO.Inbound; +using WIDESEA_IInboundService; +using WIDESEA_IOutboundService; +using WIDESEA_ITaskInfoService; +using System.IO; +using WIDESEA_Model.Models; +using System; + +namespace WIDESEA_WMSServer.Controllers +{ + /// <summary> + /// PDA + /// </summary> + [Route("api/PDA")] + [Authorize, ApiController] + public class PDAController : Controller + { + private readonly IInboundService _inboundService; + private readonly IOutboundService _outboundService; + private readonly ITaskService _taskService; + + public PDAController(ITaskService taskService, IInboundService inboundService, IOutboundService outboundService) + { + _inboundService = inboundService; + _outboundService = outboundService; + _taskService = taskService; + } + + /// <summary> + /// 涓嬭浇PDA + /// </summary> + /// <returns></returns> + [HttpPost, HttpGet, Route("DownLoadApp"), AllowAnonymous] + public virtual ActionResult DownLoadApp() + { + string path = $"{AppDomain.CurrentDomain.BaseDirectory}Upload/App/"; + if (!Directory.Exists(path)) Directory.CreateDirectory(path); + path += "WMS-PDA.apk"; + + if (System.IO.File.Exists(path)) + { + byte[] fileBytes = System.IO.File.ReadAllBytes(path); + return File( + fileBytes, + System.Net.Mime.MediaTypeNames.Application.Octet, + System.IO.Path.GetFileName(path) + ); + } + else + { + return Json(WebResponseContent.Instance.Error($"鏈壘鍒板畨瑁呭寘")); + } + + } + + /// <summary> + /// 涓婁紶PDA + /// </summary> + /// <param name="fileInput"></param> + /// <returns></returns> + [HttpPost, HttpGet, Route("UploadApp"), AllowAnonymous] + [Consumes("multipart/form-data")] + public WebResponseContent UploadApp(IEnumerable<IFormFile> fileInput) + { + try + { + List<IFormFile> files = fileInput.ToList(); + if (files == null || files.Count() == 0) + return new WebResponseContent { Status = true, Message = "璇烽�夋嫨涓婁紶鐨勬枃浠�" }; + IFormFile formFile = files[0]; + string dicPath = $"{AppDomain.CurrentDomain.BaseDirectory}Upload/App/"; + if (!Directory.Exists(dicPath)) Directory.CreateDirectory(dicPath); + string path = $"{dicPath}WMS-PDA{DateTime.Now:yyyyMMddhhmmss}.apk"; + dicPath = $"{dicPath}WMS-PDA.apk"; + if (System.IO.File.Exists(dicPath)) + System.IO.File.Move(dicPath, path); + + using (var stream = new FileStream(dicPath, FileMode.Create)) + { + formFile.CopyTo(stream); + } + return new WebResponseContent { Status = true, Message = "鏂囦欢涓婁紶鎴愬姛" }; + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + } + + [HttpPost, HttpGet, Route("GetPDAVersion"), AllowAnonymous] + public WebResponseContent GetPDAVersion(string version) + { + try + { + string versionP = AppSettings.Get("PDAVersion"); + if (Convert.ToInt32(versionP) > Convert.ToInt32(version)) + return WebResponseContent.Instance.OK(data: true); + else return WebResponseContent.Instance.OK(data: false); + } + catch (Exception ex) + { + return WebResponseContent.Instance.Error(ex.Message); + } + + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Record/LocationStatusChangeRecordController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Record/LocationStatusChangeRecordController.cs" new file mode 100644 index 0000000..8df163d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Record/LocationStatusChangeRecordController.cs" @@ -0,0 +1,23 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_IRecordService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Record +{ + /// <summary> + /// 璐т綅鐘舵�佸彉鍔ㄨ褰� + /// </summary> + [Route("api/LocationStatusChangeRecord")] + [ApiController] + public class LocationStatusChangeRecordController : ApiBaseController<ILocationStatusChangeRecordService, Dt_LocationStatusChangeRecord> + { + public LocationStatusChangeRecordController(ILocationStatusChangeRecordService service) : base(service) + { + } + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Record/StockQuantityChangeRecordController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Record/StockQuantityChangeRecordController.cs" new file mode 100644 index 0000000..2973d77 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Record/StockQuantityChangeRecordController.cs" @@ -0,0 +1,20 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core.BaseController; +using WIDESEA_IRecordService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Record +{ + /// <summary> + /// 搴撳瓨鏁伴噺鍙樺姩璁板綍 + /// </summary> + [Route("api/StockQuantityChangeRecord")] + [ApiController] + public class StockQuantityChangeRecordController : ApiBaseController<IStockQuantityChangeRecordService, Dt_StockQuantityChangeRecord> + { + public StockQuantityChangeRecordController(IStockQuantityChangeRecordService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" new file mode 100644 index 0000000..089a068 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoController.cs" @@ -0,0 +1,25 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_DTO.Stock; +using WIDESEA_IStockService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Stock +{ + /// <summary> + /// 搴撳瓨 + /// </summary> + [Route("api/StockInfo")] + [ApiController] + public class StockInfoController : ApiBaseController<IStockInfoService, Dt_StockInfo> + { + public StockInfoController(IStockInfoService service) : base(service) + { + } + + + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoDetailController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoDetailController.cs" new file mode 100644 index 0000000..5ff0f67 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoDetailController.cs" @@ -0,0 +1,20 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core.BaseController; +using WIDESEA_IStockService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Stock +{ + /// <summary> + /// 搴撳瓨鏄庣粏 + /// </summary> + [Route("api/StockInfoDetail")] + [ApiController] + public class StockInfoDetailController : ApiBaseController<IStockInfoDetailService, Dt_StockInfoDetail> + { + public StockInfoDetailController(IStockInfoDetailService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoDetail_HtyController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoDetail_HtyController.cs" new file mode 100644 index 0000000..59d8b50 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfoDetail_HtyController.cs" @@ -0,0 +1,22 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core.BaseController; +using WIDESEA_DTO.Stock; +using WIDESEA_IStockService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Stock +{ + /// <summary> + /// 搴撳瓨鏄庣粏鍘嗗彶 + /// </summary> + [Route("api/StockInfoDetail_Hty")] + [ApiController] + public class StockInfoDetail_HtyController : ApiBaseController<IStockInfoDetail_HtyService, Dt_StockInfoDetail_Hty> + { + public StockInfoDetail_HtyController(IStockInfoDetail_HtyService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfo_HtyController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfo_HtyController.cs" new file mode 100644 index 0000000..e7a7f70 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockInfo_HtyController.cs" @@ -0,0 +1,22 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core.BaseController; +using WIDESEA_DTO.Stock; +using WIDESEA_IStockService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Stock +{ + /// <summary> + /// 搴撳瓨鍘嗗彶 + /// </summary> + [Route("api/StockInfo_Hty")] + [ApiController] + public class StockInfo_HtyController : ApiBaseController<IStockInfo_HtyService, Dt_StockInfo_Hty> + { + public StockInfo_HtyController(IStockInfo_HtyService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockViewController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockViewController.cs" new file mode 100644 index 0000000..69857e1 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Stock/StockViewController.cs" @@ -0,0 +1,38 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Options; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_DTO.Stock; +using WIDESEA_IStockService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.Stock +{ + /// <summary> + /// 搴撳瓨瑙嗗浘 + /// </summary> + [Route("api/StockView")] + [Authorize, ApiController] + public class StockViewController : Controller + { + private readonly IStockViewService _stockViewService; + public StockViewController(IStockViewService stockViewService) + { + _stockViewService = stockViewService; + } + + [HttpPost, Route("GetPageData")] + public PageGridData<StockViewDTO> GetPageData([FromBody] PageDataOptions options) + { + return _stockViewService.GetPageData(options); + } + + [HttpPost, Route("GetDetailPage")] + public object GetDetailPage([FromBody] PageDataOptions pageData) + { + return _stockViewService.GetDetailPage(pageData); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_DictionaryController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_DictionaryController.cs" new file mode 100644 index 0000000..ac11540 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_DictionaryController.cs" @@ -0,0 +1,31 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; +using Newtonsoft.Json; +using WIDESEA_Core.BaseController; +using WIDESEA_Core.Helper; +using WIDESEA_ISystemService; +using WIDESEA_Model.Models; +using WIDESEA_DTO.System; + +namespace WIDESEA_WMSServer.Controllers +{ + /// <summary> + /// 瀛楀吀 + /// </summary> + [Route("api/Sys_Dictionary")] + [ApiController] + public class Sys_DictionaryController : ApiBaseController<ISys_DictionaryService, Sys_Dictionary> + { + private readonly IHttpContextAccessor _httpContextAccessor; + public Sys_DictionaryController(ISys_DictionaryService service, IHttpContextAccessor httpContextAccessor) : base(service) + { + _httpContextAccessor = httpContextAccessor; + } + + [HttpPost, Route("GetVueDictionary"), AllowAnonymous] + public IActionResult GetVueDictionary([FromBody] string[] dicNos) + { + return Json(Service.GetVueDictionary(dicNos)); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_DictionaryListController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_DictionaryListController.cs" new file mode 100644 index 0000000..26a8597 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_DictionaryListController.cs" @@ -0,0 +1,19 @@ +锘縰sing Microsoft.AspNetCore.Mvc; +using WIDESEA_Core.BaseController; +using WIDESEA_ISystemService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers +{ + /// <summary> + /// 瀛楀吀鏄庣粏 + /// </summary> + [Route("api/Sys_DictionaryList")] + [ApiController] + public class Sys_DictionaryListController : ApiBaseController<ISys_DictionaryListService, Sys_DictionaryList> + { + public Sys_DictionaryListController(ISys_DictionaryListService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_LogController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_LogController.cs" new file mode 100644 index 0000000..3cd2f46 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_LogController.cs" @@ -0,0 +1,20 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core.BaseController; +using WIDESEA_ISystemService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers +{ + /// <summary> + /// 鏃ュ織 + /// </summary> + [Route("api/Sys_Log")] + [ApiController] + public class Sys_LogController : ApiBaseController<ISys_LogService, Sys_Log> + { + public Sys_LogController(ISys_LogService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_MenuController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_MenuController.cs" new file mode 100644 index 0000000..d6dcb2f --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_MenuController.cs" @@ -0,0 +1,67 @@ +锘縰sing Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_ISystemService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers +{ + /// <summary> + /// 鑿滃崟 + /// </summary> + [Route("api/Sys_Menu")] + [ApiController] + public class Sys_MenuController : ApiBaseController<ISys_MenuService, Sys_Menu> + { + private readonly IHttpContextAccessor _httpContextAccessor; + public Sys_MenuController(ISys_MenuService menuService, IHttpContextAccessor httpContextAccessor) : base(menuService) + { + _httpContextAccessor = httpContextAccessor; + } + [HttpGet, HttpPost, Route("getTreeMenu")] + public IActionResult GetTreeMenu() + { + return Json(Service.GetCurrentMenuActionList()); + } + + [HttpPost, Route("getMenu")] + public IActionResult GetMenu() + { + return Json(Service.GetMenu()); + } + + [HttpPost, Route("getTreeItem")] + public IActionResult GetTreeItem(int menuId) + { + return Json(Service.GetTreeItem(menuId)); + } + + [HttpPost, Route("save")] + public ActionResult Save([FromBody] Sys_Menu menu) + { + if (App.User.UserId == 1) + { + return Json(Service.Save(menu)); + } + else + { + return Json(WebResponseContent.Instance.Error("浠呴檺瓒呯骇绠$悊鍛樹慨鏀规暟鎹�")); + } + } + [HttpPost, Route("delMenu")] + public WebResponseContent DelMenu(int menuId) + { + return Service.DelMenu(menuId); + } + + /// <summary> + /// 鑾峰彇棣栭〉鎵�鏈変粨搴撴潈闄� + /// </summary> + /// <returns></returns> + [HttpGet, HttpPost, Route("GetTreeMenuPDAStash")] + public IActionResult GetTreeMenuPDAStash(int ParentId) + { + return Json(Service.GetTreeMenuPDAStash(ParentId)); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs" new file mode 100644 index 0000000..22fc324 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_RoleController.cs" @@ -0,0 +1,84 @@ +锘縰sing Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Routing; +using WIDESEA_DTO.System; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_Core.BaseRepository; +using WIDESEA_ISystemService; +using WIDESEA_Model.Models; +using WIDESEA_Model.Models.System; + +namespace WIDESEA_WMSServer.Controllers +{ + /// <summary> + /// 瑙掕壊 + /// </summary> + [Route("api/Sys_Role")] + [ApiController] + public class Sys_RoleController : ApiBaseController<ISys_RoleService, Sys_Role> + { + private readonly IHttpContextAccessor _httpContextAccessor; + public Sys_RoleController(ISys_RoleService service, IHttpContextAccessor httpContextAccessor) : base(service) + { + _httpContextAccessor = httpContextAccessor; + } + + [HttpPost, Route("getUserChildRoles")] + public IActionResult GetUserChildRoles() + { + int roleId = App.User.RoleId; + var data = Service.GetAllChildren(roleId); + + if (App.User.IsSuperAdmin) + { + return Json(WebResponseContent.Instance.OK(null, data)); + } + //涓嶆槸瓒呯骇绠$悊锛屽皢鑷繁鐨勮鑹叉煡鍑烘潵锛屽湪鏍戝舰鑿滃崟涓婁綔涓烘牴鑺傜偣 + var self = data.Where(x => x.Id == roleId) + .Select(s => new RoleNodes() + { + Id = s.Id, + ParentId = 0,//灏嗚嚜宸辩殑瑙掕壊浣滀负root鑺傜偣 + RoleName = s.RoleName + }).ToList(); + data.AddRange(self); + return Json(WebResponseContent.Instance.OK(null, data)); + } + + [HttpPost, Route("getCurrentTreePermission")] + public IActionResult GetCurrentTreePermission() + { + return Json(Service.GetCurrentTreePermission()); + } + + [HttpPost, Route("getUserTreePermission")] + public IActionResult GetUserTreePermission(int roleId) + { + return Json(Service.GetUserTreePermission(roleId)); + } + + [HttpPost, Route("getCurrentTreePermissionPDA")] + public IActionResult GetCurrentTreePermissionPDA() + { + return Json(Service.GetCurrentTreePermissionPDA()); + } + [HttpPost, Route("getUserTreePermissionPDA")] + public IActionResult GetUserTreePermissionPDA(int roleId) + { + return Json(Service.GetUserTreePermissionPDA(roleId)); + } + + [HttpPost, Route("savePermission")] + public IActionResult SavePermission([FromBody] List<UserPermissionDTO> userPermissions, int roleId) + { + return Json(Service.SavePermission(userPermissions, roleId)); + } + + [HttpPost, Route("SavePermissionPDA")] + public IActionResult SavePermissionPDA([FromBody] List<UserPermissionDTO> userPermissions, int roleId) + { + return Json(Service.SavePermissionPDA(userPermissions, roleId)); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_TenantController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_TenantController.cs" new file mode 100644 index 0000000..d64cd8d --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_TenantController.cs" @@ -0,0 +1,36 @@ +锘� +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_Core.Const; +using WIDESEA_Core.Helper; +using WIDESEA_Core.HttpContextUser; +using WIDESEA_ISystemService; +using WIDESEA_Model; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers +{ + /// <summary> + /// 绉熸埛 + /// </summary> + [Route("api/tenant")] + [ApiController] + public class Sys_TenantController : ApiBaseController<ISys_TenantService, Sys_Tenant> + { + private readonly IHttpContextAccessor _httpContextAccessor; + + public Sys_TenantController(ISys_TenantService tenantService, IHttpContextAccessor httpContextAccessor) : base(tenantService) + { + _httpContextAccessor = httpContextAccessor; + } + + [HttpGet, Route("initTenantInfo"), AllowAnonymous] + public WebResponseContent InitTenantInfo(string tenantName, int tenantType) + { + return Service.InitTenantInfo(tenantName, tenantType); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_UserController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_UserController.cs" new file mode 100644 index 0000000..0d42fac --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_UserController.cs" @@ -0,0 +1,157 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Caching.Memory; +using Newtonsoft.Json; +using StackExchange.Profiling; +using WIDESEA_Core; +using WIDESEA_Core.Authorization; +using WIDESEA_Core.BaseController; +using WIDESEA_Core.Caches; +using WIDESEA_Core.Const; +using WIDESEA_Core.Extensions; +using WIDESEA_Core.Helper; +using WIDESEA_Core.HttpContextUser; +using WIDESEA_Core.Utilities; +using WIDESEA_ISystemService; +using WIDESEA_Model; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers +{ + /// <summary> + /// 鐢ㄦ埛 + /// </summary> + [Route("api/User")] + [ApiController] + public class Sys_UserController : ApiBaseController<ISys_UserService, Sys_User> + { + private readonly IHttpContextAccessor _httpContextAccessor; + private readonly ICacheService _cacheService; + + public Sys_UserController(ISys_UserService userService, IHttpContextAccessor httpContextAccessor, ICacheService cacheService) : base(userService) + { + _httpContextAccessor = httpContextAccessor; + _cacheService = cacheService; + } + + [HttpPost, Route("login"), AllowAnonymous] + public IActionResult Login([FromBody] LoginInfo loginInfo) + { + return Json(Service.Login(loginInfo)); + } + + [HttpPost, Route("swgLogin"), AllowAnonymous] + public dynamic SwgLogin([FromBody] SwaggerLoginRequest loginRequest) + { + if (loginRequest is null) + { + return new { result = false }; + } + + try + { + LoginInfo loginInfo = new LoginInfo + { + Password = loginRequest.pwd, + UserName = loginRequest.name + }; + var result = Service.Login(loginInfo); + if (result.Status) + { + HttpContext.SuccessSwagger(); + Dictionary<string, object>? dict = JsonConvert.DeserializeObject<Dictionary<string, object>>(result.Data.Serialize()); + if (dict != null) + { + HttpContext.SuccessSwaggerJwt((dict.ContainsKey("token") ? dict["token"].ToString() : "") ?? ""); + } + string str = HttpContext.GetSuccessSwaggerJwt(); + return new { result = true }; + } + } + catch (Exception ex) + { + + } + + return new { result = false }; + } + + [HttpPost, Route("getCurrentUserInfo")] + public WebResponseContent GetCurrentUser() + { + return Service.GetCurrentUserInfo(); + } + + [HttpPost, Route("modifyPwd")] + public IActionResult ModifyPwd(string oldPwd, string newPwd) + { + return Json(Service.ModifyPwd(oldPwd, newPwd)); + } + + [HttpGet, Route("getVierificationCode"), AllowAnonymous] + public IActionResult GetVierificationCode() + { + //var html = MiniProfiler.Current.RenderIncludes(_httpContextAccessor.HttpContext); + string code = "1234" /*VierificationCode.RandomText()*/; + var data = new + { + img = VierificationCode.CreateBase64Imgage(code), + uuid = Guid.NewGuid() + }; + + return Json(data); + } + [HttpGet, Route("SerializeJwt"), AllowAnonymous] + public WebResponseContent SerializeJwt(string code) + { + return WebResponseContent.Instance.OK(data: JwtHelper.SerializeJwt(code)); + } + [HttpPost, Route("replaceToken")] + public WebResponseContent ReplaceToken() + { + WebResponseContent responseContent = new WebResponseContent(); + try + { + string token = App.User.GetToken(); + if (string.IsNullOrEmpty(token)) + { + return responseContent = WebResponseContent.Instance.Error("token鏃犳晥锛岃閲嶆柊鐧诲綍锛�"); + } + TokenModelJwt tokenModelJwt = new TokenModelJwt() + { + RoleId = App.User.RoleId, + TenantId = App.User.TenantId, + UserId = App.User.UserId, + UserName = App.User.UserName + }; + string newToken = JwtHelper.IssueJwt(tokenModelJwt); + + App.User.UpdateToke(newToken, App.User.UserId); + return responseContent = WebResponseContent.Instance.OK(data: newToken); + } + catch (Exception ex) + { + return responseContent.Error(ex.Message); + } + + } + /// <summary> + /// 鏇存柊瀵嗙爜 + /// </summary> + /// <param name="password">瀵嗙爜</param> + /// <param name="userName">鐢ㄦ埛鍚�</param> + /// <returns></returns> + [HttpPost,Route("ModifyUserPwd")] + public WebResponseContent ModifyUserPwd(string password, string userName) + { + return Service.ModifyUserPwd(password,userName); + } + } + + public class SwaggerLoginRequest + { + public string name { get; set; } + public string pwd { get; set; } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" new file mode 100644 index 0000000..7440cd3 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" @@ -0,0 +1,36 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Common.CommonEnum; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_DTO.Stock; +using WIDESEA_DTO.Task; +using WIDESEA_ITaskInfoService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.TaskInfo +{ + /// <summary> + /// 浠诲姟 + /// </summary> + [Route("api/Task")] + [ApiController] + public class TaskController : ApiBaseController<ITaskService, Dt_Task> + { + public TaskController(ITaskService service) : base(service) + { + } + /// <summary> + /// WCS鐢宠鍏ュ簱浠诲姟(涓嶅垎閰嶈揣浣�) + /// </summary> + /// <param name="stationCode"></param> + /// <param name="palletCode"></param> + /// <returns></returns> + [HttpPost, HttpGet, Route("DeviceRequestInboundTaskSimple"), AllowAnonymous] + public WebResponseContent DeviceRequestInboundTaskSimple(string stationCode, string palletCode) + { + return Service.DeviceRequestInboundTaskSimple(stationCode, palletCode); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/Task_HtyController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/Task_HtyController.cs" new file mode 100644 index 0000000..16f12a7 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/Task_HtyController.cs" @@ -0,0 +1,23 @@ +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; +using WIDESEA_Core.BaseController; +using WIDESEA_DTO.Stock; +using WIDESEA_ITaskInfoService; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Controllers.TaskInfo +{ + /// <summary> + /// 浠诲姟鍘嗗彶 + /// </summary> + [Route("api/Task_Hty")] + [ApiController] + public class Task_HtyController : ApiBaseController<ITask_HtyService, Dt_Task_Hty> + { + public Task_HtyController(ITask_HtyService service) : base(service) + { + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutoMapperConfig.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutoMapperConfig.cs" new file mode 100644 index 0000000..2892fb3 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutoMapperConfig.cs" @@ -0,0 +1,18 @@ +锘縰sing AutoMapper; + +namespace WIDESEA_WMSServer.Filter +{ + /// <summary> + /// 闈欐�佸叏灞� AutoMapper 閰嶇疆鏂囦欢 + /// </summary> + public class AutoMapperConfig + { + public static MapperConfiguration RegisterMappings() + { + return new MapperConfiguration(cfg => + { + cfg.AddProfile(new CustomProfile()); + }); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutoMapperSetup.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutoMapperSetup.cs" new file mode 100644 index 0000000..0e51421 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutoMapperSetup.cs" @@ -0,0 +1,16 @@ +锘縩amespace WIDESEA_WMSServer.Filter +{ + /// <summary> + /// Automapper 鍚姩鏈嶅姟 + /// </summary> + public static class AutoMapperSetup + { + public static void AddAutoMapperSetup(this IServiceCollection services) + { + if (services == null) throw new ArgumentNullException(nameof(services)); + + services.AddAutoMapper(typeof(AutoMapperConfig)); + AutoMapperConfig.RegisterMappings(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutofacPropertityModuleReg.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutofacPropertityModuleReg.cs" new file mode 100644 index 0000000..d8f1854 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutofacPropertityModuleReg.cs" @@ -0,0 +1,16 @@ +锘縰sing Autofac; +using Microsoft.AspNetCore.Mvc; + +namespace WIDESEA_WMSServer.Filter +{ + public class AutofacPropertityModuleReg : Autofac.Module + { + protected override void Load(ContainerBuilder builder) + { + var controllerBaseType = typeof(ControllerBase); + builder.RegisterAssemblyTypes(typeof(Program).Assembly) + .Where(t => controllerBaseType.IsAssignableFrom(t) && t != controllerBaseType) + .PropertiesAutowired(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs" new file mode 100644 index 0000000..8636c46 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/CustomProfile.cs" @@ -0,0 +1,38 @@ +锘縰sing Autofac.Builder; +using AutoMapper; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using WIDESEA_Common.OrderEnum; +using WIDESEA_Core.Helper; +using WIDESEA_DTO; +using WIDESEA_DTO.Inbound; +using WIDESEA_DTO.Outbound; +using WIDESEA_DTO.System; +using WIDESEA_DTO.Task; +using WIDESEA_Model.Models; + +namespace WIDESEA_WMSServer.Filter +{ + public class CustomProfile : Profile + { + /// <summary> + /// 閰嶇疆鏋勯�犲嚱鏁帮紝鐢ㄦ潵鍒涘缓鍏崇郴鏄犲皠 + /// </summary> + public CustomProfile() + { + CreateMap<Sys_Menu, MenuDTO>(); + CreateMap<InboundOrderDetailAddDTO, Dt_InboundOrderDetail>().ForMember(x => x.OrderDetailStatus, b => b.MapFrom(b => 0)); + CreateMap<InboundOrderAddDTO, Dt_InboundOrder>(); + + CreateMap<Dt_StockInfoDetail, Dt_StockQuantityChangeRecord>().ForMember(x => x.SerilNumber, b => b.MapFrom(b => b.SerialNumber)).ForMember(x => x.StockDetailId, b => b.MapFrom(b => b.Id)); + CreateMap<OutboundOrderDetailAddDTO, Dt_OutboundOrderDetail>().ForMember(x => x.OrderDetailStatus, b => b.MapFrom(b => 0)); + CreateMap<OutboundOrderAddDTO, Dt_OutboundOrder>(); + CreateMap<Dt_ReceiveOrderDetail, Dt_CheckOrder>().ForMember(a => a.ReceivedQuantity, b => b.MapFrom(x => x.ReceivedQuantity)).ForMember(a => a.MaterielCode, b => b.MapFrom(x => x.MaterielCode)).ForMember(a => a.CheckOrderStatus, b => b.MapFrom(x => CheckOrderStatusEnum.NotCheck.ObjToInt())); + + CreateMap<Dt_Task, WMSTaskDTO>(); + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs" new file mode 100644 index 0000000..1b0c26a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Program.cs" @@ -0,0 +1,139 @@ +using System.Reflection; +using System.Text; +using Autofac; +using Autofac.Core; +using Autofac.Extensions.DependencyInjection; +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Mvc.Controllers; +using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; +using Microsoft.Extensions.DependencyInjection.Extensions; +using Microsoft.Extensions.FileProviders; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Serialization; +using WIDESEA_Core; +using WIDESEA_Core.Authorization; +using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Core; +using WIDESEA_Core.Extensions; +using WIDESEA_Core.Filter; +using WIDESEA_Core.Helper; +//using WIDESEA_Core.HostedService; +using WIDESEA_Core.Middlewares; +using WIDESEA_WMSServer.Filter; + +var builder = WebApplication.CreateBuilder(args); + +builder.Host.UseServiceProviderFactory(new AutofacServiceProviderFactory()).ConfigureContainer<ContainerBuilder>(builder => +{ + builder.RegisterModule<AutofacModuleRegister>();//带有接口层的服务注入 + builder.RegisterModule<AutofacPropertityModuleReg>();// +}).ConfigureAppConfiguration((hostingContext, config) => +{ + hostingContext.Configuration.ConfigureApplication(); + config.Sources.Clear(); + config.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true); +}); ; +builder.ConfigureApplication(); + +//App.ExpDateTime = DateTime.Parse("2025-03-31 00:00:00");//过期时间 + +// 2、配置服务 +builder.Services.AddSingleton(new AppSettings(builder.Configuration));//注册 +builder.Services.AddAllOptionRegister();//读取配置文件 +builder.Services.AddMemoryCacheSetup();//缓存 +builder.Services.AddWebSocketSetup(); +builder.Services.AddSqlsugarSetup();//SqlSugar 启动服务 +builder.Services.AddDbSetup();//Db 启动服务 +builder.Services.AddInitializationHostServiceSetup();//应用初始化服务注入 +//builder.Services.AddHostedService<PermissionDataHostService>();//数据权限 +builder.Services.AddAutoMapperSetup(); + +builder.Services.AddCorsSetup(); + +builder.Services.AddMiniProfilerSetup(); + +builder.Services.AddSwaggerSetup(); + +builder.Services.AddHttpContextSetup(); + + +builder.Services.AddMvc(options => +{ + options.Filters.Add(typeof(ApiAuthorizeFilter)); + options.Filters.Add(typeof(ActionExecuteFilter)); +}); + +builder.Services.AddAuthorizationSetup(); + +builder.Services.AddIpPolicyRateLimitSetup(builder.Configuration);//IPLimit限流 启动服务 + +builder.Services.AddScoped<UseServiceDIAttribute>(); + +builder.Services.AddSession(); + +builder.Services.AddHttpClient(); + +builder.Services.AddControllers(o => +{ + o.Filters.Add(typeof(GlobalExceptionsFilter));//全局异常 +}) +.AddNewtonsoftJson(options => +{ + options.SerializerSettings.ReferenceLoopHandling = ReferenceLoopHandling.Serialize; + //options.SerializerSettings.ContractResolver = new DefaultContractResolver(); + options.SerializerSettings.ContractResolver = new Newtonsoft.Json.Serialization.CamelCasePropertyNamesContractResolver(); + options.SerializerSettings.DateFormatString = "yyyy-MM-dd HH:mm:ss"; + options.SerializerSettings.NullValueHandling = NullValueHandling.Include; + options.SerializerSettings.DateTimeZoneHandling = DateTimeZoneHandling.Local; + options.SerializerSettings.Converters.Add(new StringEnumConverter()); +}); +// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle +builder.Services.AddEndpointsApiExplorer(); + +builder.Services.Replace(ServiceDescriptor.Transient<IControllerActivator, ServiceBasedControllerActivator>()); +Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); + + +var app = builder.Build(); + +// 3、配置中间件 +app.UseMiniProfiler();//性能分析器 +app.ConfigureApplication();//配置文件 +app.UseApplicationSetup();//启动配置 + +app.UseAllServicesMiddle(builder.Services); + +app.UseSession(); +app.UseSwaggerAuthorized(); +app.UseSwaggerMiddle(() => Assembly.GetExecutingAssembly().GetManifestResourceStream("WIDESEA_WMSServer.index.html") ?? throw new Exception("WIDESEA_WMSServer.index.html文件")); +app.UseIpLimitMiddle(); +app.UseApiLogMiddleware(); +//todo +//app.UseRecordAccessLogsMiddle(); + +app.UseCors(AppSettings.Get(new string[] { "Cors", "PolicyName" })); + +DefaultFilesOptions defaultFilesOptions = new DefaultFilesOptions(); +defaultFilesOptions.DefaultFileNames.Clear(); +defaultFilesOptions.DefaultFileNames.Add("index.html"); +app.UseDefaultFiles(defaultFilesOptions); +app.UseMiddleware<HttpRequestMiddleware>(); +app.UseStaticFiles(); + +app.UseStaticFiles(new StaticFileOptions +{ + FileProvider = new PhysicalFileProvider(App.WebHostEnvironment.WebRootPath) +}); + +app.UseCookiePolicy(); +app.UseStatusCodePages(); + +app.UseRouting(); + +app.UseAuthentication(); +app.UseAuthorization(); + +app.MapControllers(); + +app.Run(); diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Properties/PublishProfiles/FolderProfile.pubxml" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Properties/PublishProfiles/FolderProfile.pubxml" new file mode 100644 index 0000000..86bb19c --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Properties/PublishProfiles/FolderProfile.pubxml" @@ -0,0 +1,21 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<!-- +https://go.microsoft.com/fwlink/?LinkID=208121. +--> +<Project> + <PropertyGroup> + <DeleteExistingFiles>false</DeleteExistingFiles> + <ExcludeApp_Data>false</ExcludeApp_Data> + <LaunchSiteAfterPublish>true</LaunchSiteAfterPublish> + <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> + <LastUsedPlatform>Any CPU</LastUsedPlatform> + <PublishProvider>FileSystem</PublishProvider> + <PublishUrl>E:\IISText\HuanAn\WMS</PublishUrl> + <WebPublishMethod>FileSystem</WebPublishMethod> + <_TargetId>Folder</_TargetId> + <SiteUrlToLaunchAfterPublish /> + <TargetFramework>net6.0</TargetFramework> + <ProjectGuid>d81a65b5-47d1-40c1-8fde-7d24ff003f51</ProjectGuid> + <SelfContained>false</SelfContained> + </PropertyGroup> +</Project> \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Properties/PublishProfiles/FolderProfile1.pubxml" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Properties/PublishProfiles/FolderProfile1.pubxml" new file mode 100644 index 0000000..36847ea --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Properties/PublishProfiles/FolderProfile1.pubxml" @@ -0,0 +1,17 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<!-- +https://go.microsoft.com/fwlink/?LinkID=208121. +--> +<Project> + <PropertyGroup> + <DeleteExistingFiles>false</DeleteExistingFiles> + <ExcludeApp_Data>false</ExcludeApp_Data> + <LaunchSiteAfterPublish>true</LaunchSiteAfterPublish> + <LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration> + <LastUsedPlatform>Any CPU</LastUsedPlatform> + <PublishProvider>FileSystem</PublishProvider> + <PublishUrl>bin\Release\net6.0\publish\</PublishUrl> + <WebPublishMethod>FileSystem</WebPublishMethod> + <_TargetId>Folder</_TargetId> + </PropertyGroup> +</Project> \ No newline at end of file diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Properties/launchSettings.json" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Properties/launchSettings.json" new file mode 100644 index 0000000..16b63a2 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/Properties/launchSettings.json" @@ -0,0 +1,31 @@ +锘縶 + "$schema": "https://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:39740", + "sslPort": 0 + } + }, + "profiles": { + "WIDESEA_WMSServer": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + //"launchUrl": "swagger", + "applicationUrl": "http://localhost:5230", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + //"launchUrl": "swagger", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer.csproj" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer.csproj" new file mode 100644 index 0000000..045168a --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer.csproj" @@ -0,0 +1,87 @@ +锘�<Project Sdk="Microsoft.NET.Sdk.Web"> + + <PropertyGroup> + <TargetFramework>net6.0</TargetFramework> + <Nullable>enable</Nullable> + <ImplicitUsings>enable</ImplicitUsings> + <GenerateDocumentationFile>True</GenerateDocumentationFile> + <DocumentationFile></DocumentationFile> + </PropertyGroup> + + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> + <NoWarn>1701;1702;1591;1573;1570</NoWarn> + </PropertyGroup> + + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> + <NoWarn>1701;1702;1591;1573;1570</NoWarn> + </PropertyGroup> + + <ItemGroup> + <Compile Remove="wwwroot\Upload\**" /> + <Content Remove="wwwroot\Upload\**" /> + <EmbeddedResource Remove="wwwroot\Upload\**" /> + <None Remove="wwwroot\Upload\**" /> + </ItemGroup> + + <ItemGroup> + <Content Update="wwwroot\swg-login.html"> + <CopyToOutputDirectory>Never</CopyToOutputDirectory> + </Content> + <Content Remove="wwwroot\WIDESEA_DB.DBSeed.Json\Sys_Tenant.tsv" /> + </ItemGroup> + + <ItemGroup> + <None Include="wwwroot\WIDESEA_DB.DBSeed.Json\Sys_User.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> + </ItemGroup> + + <ItemGroup> + <None Remove="index.html" /> + </ItemGroup> + + <ItemGroup> + <EmbeddedResource Include="index.html"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </EmbeddedResource> + </ItemGroup> + + <ItemGroup> + <PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.7.3" /> + </ItemGroup> + + <ItemGroup> + <ProjectReference Include="..\WIDESEA_BasicService\WIDESEA_BasicService.csproj" /> + <ProjectReference Include="..\WIDESEA_CheckService\WIDESEA_CheckService.csproj" /> + <ProjectReference Include="..\WIDESEA_InboundService\WIDESEA_InboundService.csproj" /> + <ProjectReference Include="..\WIDESEA_OutboundService\WIDESEA_OutboundService.csproj" /> + <ProjectReference Include="..\WIDESEA_RecordService\WIDESEA_RecordService.csproj" /> + <ProjectReference Include="..\WIDESEA_StockService\WIDESEA_StockService.csproj" /> + <ProjectReference Include="..\WIDESEA_SystemService\WIDESEA_SystemService.csproj" /> + <ProjectReference Include="..\WIDESEA_TaskInfoService\WIDESEA_TaskInfoService.csproj" /> + </ItemGroup> + + <ItemGroup> + <Content Update="wwwroot\favicon.ico"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Update="wwwroot\logo.jpg.jpg"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Update="wwwroot\WIDESEA_DB.DBSeed.Json\Sys_Dictionary.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Update="wwwroot\WIDESEA_DB.DBSeed.Json\Sys_DictionaryList.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Update="wwwroot\WIDESEA_DB.DBSeed.Json\Sys_Menu.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Update="wwwroot\WIDESEA_DB.DBSeed.Json\Sys_Role.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + <Content Update="wwwroot\WIDESEA_DB.DBSeed.Json\Sys_RoleAuth.tsv"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + </ItemGroup> +</Project> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer.xml" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer.xml" new file mode 100644 index 0000000..7f7e193 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer.xml" @@ -0,0 +1,163 @@ +<?xml version="1.0"?> +<doc> + <assembly> + <name>WIDESEA_WMSServer</name> + </assembly> + <members> + <member name="M:WIDESEA_WMSServer.Controllers.Approval.ApprovalTaskController.AuditAgree(System.Int32)"> + <summary> + 鍚屾剰瀹℃壒 + </summary> + <param name="sourceKey"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.Approval.ApprovalTaskController.AuditReject(System.Int32)"> + <summary> + 椹冲洖瀹℃壒 + </summary> + <param name="sourceKey"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.Approval.ApprovalTaskController.PushTest"> + <summary> + 鎺ㄩ�佹祴璇� + </summary> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.Basic.LocationInfoController.InitializationLocation(WIDESEA_DTO.Basic.InitializationLocationDTO)"> + <summary> + 鍒濆鍖栬揣浣� + </summary> + <param name="initializationLocationDTO"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.Basic.LocationInfoController.AssignLocation(System.String,WIDESEA_Common.CommonEnum.PalletTypeEnum)"> + <summary> + 璐т綅鍒嗛厤 + </summary> + <param name="roadwayNo"></param> + <param name="palletType"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.Basic.LocationInfoController.LocationEnableStatus(System.Int32[])"> + <summary> + 鍚敤璐т綅 + </summary> + <param name="keys"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.Basic.LocationInfoController.LocationDisableStatus(System.Int32[])"> + <summary> + 绂佺敤璐т綅 + </summary> + <param name="keys"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.Check.CheckOrderController.CommitAudit(System.Int32)"> + <summary> + 鎻愪氦瀹℃牳 + </summary> + <param name="checkOrderId"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.Check.CheckOrderResultController.CommitCheckResult(System.Int32,WIDESEA_Model.Models.Dt_CheckOrderResult)"> + <summary> + 鎻愪氦璐ㄦ缁撴灉 + </summary> + <param name="checkOrderId"></param> + <param name="checkResult"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.ERP.ErpController.ReceivePurchaseOrder(WIDESEA_DTO.PurchaseOrderModel)"> + <summary> + 鎺ユ敹ERP閲囪喘鍗曚俊鎭� + </summary> + <param name="model"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.ERP.ErpController.ReceiveSupplier(WIDESEA_DTO.Basic.SupplierDTO)"> + <summary> + 鎺ユ敹ERP渚涘簲鍟嗕俊鎭� + </summary> + <param name="model"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.ERP.ErpController.ReceiveMaterial(WIDESEA_DTO.Basic.MaterielInfoDTO)"> + <summary> + 鎺ユ敹ERP鐗╂枡淇℃伅 + </summary> + <param name="model"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.ERP.ErpController.ReceiveOutOrder(WIDESEA_DTO.ERP.ErpOutOrderDTO)"> + <summary> + 鎺ユ敹ERP鍑哄簱鍗曚俊鎭� + </summary> + <param name="erpOutOrder"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.Inbound.InboundOrderController.MaterielGroup(System.Int32,System.String,System.String)"> + <summary> + 鍗曚釜鐗╂枡鐮佺粍鐩� + </summary> + <param name="inboundOrderId"></param> + <param name="palletCode"></param> + <param name="serNum"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.Inbound.InboundOrderController.MaterielGroup(System.Int32,System.String,System.Collections.Generic.List{System.String})"> + <summary> + 澶氫釜鐗╂枡鐮佺粍鐩� + </summary> + <param name="inboundOrderId"></param> + <param name="palletCode"></param> + <param name="serNums"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.Inbound.ReceiveOrderController.CreateInboundOrder(System.Int32)"> + <summary> + 鏍规嵁鏀惰揣鍗曞垱寤哄叆搴撳崟 + </summary> + <param name="receiveOrderId"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.Inbound.ReceiveOrderDetailController.AddReceiveOrderDetail(System.String,System.String)"> + <summary> + 鍒涘缓鏀惰揣鍗曟槑缁�(PDA鎵爜鏀惰揣) + </summary> + <param name="serNum"></param> + <param name="orderNo"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.TaskInfo.TaskController.RequestInboundTask(System.String,System.String)"> + <summary> + 鐢宠鍏ュ簱浠诲姟 + </summary> + <param name="palletCode"></param> + <param name="stationCode"></param> + <returns></returns> + </member> + <member name="M:WIDESEA_WMSServer.Controllers.TaskInfo.TaskController.InboundTaskCompleted(System.Int32)"> + <summary> + 鍏ュ簱浠诲姟瀹屾垚 + </summary> + <param name="taskNum"></param> + <returns></returns> + </member> + <member name="T:WIDESEA_WMSServer.Filter.AutoMapperConfig"> + <summary> + 闈欐�佸叏灞� AutoMapper 閰嶇疆鏂囦欢 + </summary> + </member> + <member name="T:WIDESEA_WMSServer.Filter.AutoMapperSetup"> + <summary> + Automapper 鍚姩鏈嶅姟 + </summary> + </member> + <member name="M:WIDESEA_WMSServer.Filter.CustomProfile.#ctor"> + <summary> + 閰嶇疆鏋勯�犲嚱鏁帮紝鐢ㄦ潵鍒涘缓鍏崇郴鏄犲皠 + </summary> + </member> + </members> +</doc> diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.Development.json" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.Development.json" new file mode 100644 index 0000000..0c208ae --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.Development.json" @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json" new file mode 100644 index 0000000..92be011 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json" @@ -0,0 +1,34 @@ +{ + "urls": "http://*:9290", //web鏈嶅姟绔彛锛屽鏋滅敤IIS閮ㄧ讲锛屾妸杩欎釜鍘绘帀 + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "dics": "inOrderType,outOrderType,inboundState,createType,enableEnum,enableStatusEnum,locationStatusEnum,locationTypeEnum,taskTypeEnum,taskStatusEnum,outboundStatusEnum,orderDetailStatusEnum,stockStatusEmun,stockChangeType,outStockStatus,receiveOrderTypeEnum,authorityScope,authorityScopes,locationChangeType,warehouses,suppliers,taskType,receiveStatus,purchaseType,purchaseOrderStatus,printStatus", + "AllowedHosts": "*", + "ConnectionStringsEncryption": false, + "MainDB": "DB_WIDESEA", //褰撳墠椤圭洰鐨勪富搴擄紝鎵�瀵瑰簲鐨勮繛鎺ュ瓧绗︿覆鐨凟nabled蹇呴』涓簍rue + //杩炴帴瀛楃涓� + //"ConnectionString": "HTI6FB1H05Krd07mNm9yBCNhofW6edA5zLs9TY~MNthRYW3kn0qKbMIsGp~3yyPDF1YZUCPBQx8U0Jfk4PH~ajNFXVIwlH85M3F~v_qKYQ3CeAz3q1mLVDn8O5uWt1~3Ut2V3KRkEwYHvW2oMDN~QIDXPxDgXN0R2oTIhc9dNu7QNaLEknblqmHhjaNSSpERdDVZIgHnMKejU_SL49tralBkZmDNi0hmkbL~837j1NWe37u9fJKmv91QPb~16JsuI9uu0EvNZ06g6PuZfOSAeFH9GMMIZiketdcJG3tHelo=", + "ConnectionString": "Data Source=.;Initial Catalog=WIDESEAWMS_SYLK;User ID=sa;Password=sa123456;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + //"ConnectionString": "Data Source=10.30.4.92;Initial Catalog=WMS_TC;User ID=sa;Password=duo123456;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + //鏃MS鏁版嵁搴撹繛鎺� + //"TeConnectionString": "Data Source=10.30.4.92;Initial Catalog=TeChuang;User ID=sa;Password=duo123456;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + //璺ㄥ煙 + "Cors": { + "PolicyName": "CorsIpAccess", //绛栫暐鍚嶇О + "EnableAllIPs": true, //褰撲负true鏃讹紝寮�鏀炬墍鏈塈P鍧囧彲璁块棶銆� + // 鏀寔澶氫釜鍩熷悕绔彛锛屾敞鎰忕鍙e彿鍚庝笉瑕佸甫/鏂滄潌锛氭瘮濡俵ocalhost:8000/锛屾槸閿欑殑 + // 娉ㄦ剰锛宧ttp://127.0.0.1:1818 鍜� http://localhost:1818 鏄笉涓�鏍风殑 + "IPs": "http://127.0.0.1:8080,http://localhost:8080,http://127.0.0.1:8081,http://localhost:8081" + }, + "LogAopEnable": false, + "PrintSql": false, //鎵撳嵃SQL璇彞 + "ApiName": "WIDESEA", + "ExpMinutes": 120, + "DBSeedEnable": true, + "PDAVersion": "4", + "WebSocketPort": 9296 +} diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/index.html" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/index.html" new file mode 100644 index 0000000..97ba152 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/WIDESEA_WMSServer/index.html" @@ -0,0 +1,188 @@ +锘�<!--1銆佺増鏈彿瑕佷笌nuget鍖呬竴鑷达紱2銆乮d涓嶈兘涓虹┖--> +<script async="async" id="mini-profiler" src="/profiler/includes.min.js?v=4.3.8+1120572909" data-version="4.3.8+1120572909" data-path="/profiler/" data-current-id="0d7e468e-0bb5-4c81-90fc-91fd1543640a" data-ids="0d7e468e-0bb5-4c81-90fc-91fd1543640a" data-position="Left" data-scheme="Light" data-authorized="true" data-children="true" data-max-traces="15" data-toggle-shortcut="Alt+P" data-trivial-milliseconds="2.0" data-ignored-duplicate-execute-types="Open,OpenAsync,Close,CloseAsync"></script> + +<!-- HTML for static distribution bundle build --> +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <!--鏋侀�熸ā寮�--> + <meta name="renderer" content="webkit" /> + <meta name="force-rendering" content="webkit" /> + <title>%(DocumentTitle)</title> + <link href="./swagger-ui.css" rel="stylesheet"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <link rel="stylesheet" type="text/css" href="./swagger-ui.css"> + <link rel="icon" type="image/png" href="./logo/favicon-32x32.png" sizes="32x32" /> + <script src="js/jquery-3.3.1.min.js"></script> + <style> + .swagger-ui .opblock-summary-control:focus { + outline: none + } + + .swagger-ui .topbar .download-url-wrapper { + display: flex; + flex: 3; + margin-bottom: 0px; + justify-content: flex-end; + } + + .swagger-ui .auth-container input[type=password], .swagger-ui .auth-container input[type=text] { + min-width: 565px; + } + + html { + box-sizing: border-box; + overflow-y: scroll; + } + + *, + *:before, + *:after { + box-sizing: inherit; + } + + body { + margin: 0; + background: #fafafa; + } + + .qqgroup { + position: absolute; + right: 0px; + top: 0px; + } + + .info { + float: left; + position: relative; + width: 100%; + } + + .download-contents { + display: none; + } + /* 婊氬姩妲� */ + ::-webkit-scrollbar { + width: 9px; + height: 9px; + } + + ::-webkit-scrollbar-track { + border-radius: 3px; + background: rgba(0,0,0,0.06); + -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.08); + } + /* 婊氬姩鏉℃粦鍧� */ + ::-webkit-scrollbar-thumb { + border-radius: 3px; + background: rgba(0,0,0,0.12); + -webkit-box-shadow: inset 0 0 10px rgba(0,0,0,0.2); + } + </style> + %(HeadContent) +</head> +<body style=" user-select: text;"> + <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="position:absolute;width:0;height:0"> + <defs> + <symbol viewBox="0 0 20 20" id="unlocked"> + <path d="M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"></path> + </symbol> + <symbol viewBox="0 0 20 20" id="locked"> + <path d="M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z" /> + </symbol> + <symbol viewBox="0 0 20 20" id="close"> + <path d="M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z" /> + </symbol> + <symbol viewBox="0 0 20 20" id="large-arrow"> + <path d="M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z" /> + </symbol> + <symbol viewBox="0 0 20 20" id="large-arrow-down"> + <path d="M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z" /> + </symbol> + + <symbol viewBox="0 0 24 24" id="jump-to"> + <path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z" /> + </symbol> + <symbol viewBox="0 0 24 24" id="expand"> + <path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z" /> + </symbol> + </defs> + </svg> + <div id="swagger-ui"></div> + <div id="footer" style="text-align: center;margin-bottom: 10px;"> + + + <br><span id="poweredby"></span> + </div> + <!-- Workaround for https://github.com/swagger-api/swagger-editor/issues/1371 --> + <script> + if (window.navigator.userAgent.indexOf("Edge") > -1) { + console.log("Removing native Edge fetch in favor of swagger-ui's polyfill") + window.fetch = undefined; + } + </script> + <script src="./swagger-ui-bundle.js"></script> + <script src="./swagger-ui-standalone-preset.js"></script> + <script> + var int = null; + + window.onload = function () { + var configObject = JSON.parse('%(ConfigObject)'); + var oauthConfigObject = JSON.parse('%(OAuthConfigObject)'); + + //鑾峰彇token鍦ㄦ鐩存帴璧嬪�硷紝鑳界洿鎺ュ簲鐢╯wagger鐨勬牱寮� + //configObject.onComplete = function () { + // ui.preauthorizeApiKey("oauth2", ""); + //}; + + // Apply mandatory parameters + configObject.dom_id = "#swagger-ui"; + configObject.presets = [SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset]; + configObject.layout = "StandaloneLayout"; + + // If oauth2RedirectUrl isn't specified, use the built-in default + if (!configObject.hasOwnProperty("oauth2RedirectUrl")) + configObject.oauth2RedirectUrl = window.location.href.replace("index.html", "oauth2-redirect.html"); + + // Build a system + const ui = SwaggerUIBundle(configObject); + + // Apply OAuth config + ui.initOAuth(oauthConfigObject); + + //娓呯┖鍏冪礌鍐呭锛岃繖閲屾竻绌轰簡閫夋嫨鐗堟湰鐨勮嫳鏂� + $(".select-label span").empty(); + + myOnload(); + + //淇敼鐗堟湰鐨勭炕璇戜负涓枃 + function myOnload() { + $(document).ready(function () { + $(".select-label span").each(function () { + var myvalue = '閫夋嫨涓�涓帴鍙g増鏈�'; + $(this).html(myvalue); + }); + }); + } + setTimeout(() => { + + //浜岀淮鐮� + $('.info').append("<div class='qqgroup'><div style=\"color: #4990e2;\"><a href=\"../allservices\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"link\">路 鏌ョ湅鎵�鏈変緷璧栨敞鍐岀殑鏈嶅姟</a><br></div></div><div style='clear: both;'></div>"); + + //淇敼 token鎺堟潈鎸夐挳涓轰腑鏂� + //$(".auth-wrapper span").empty(); + //$(document).ready(function () { + // $('.auth-wrapper span').each(function () { + // var myvalue = '鎺堟潈璁よ瘉'; + // $(this).html(myvalue); + // }); + //}); + + }, 1000) + // 鏂囨。logo + $(".link img").attr("src", "./logo/favicon-32x32.png"); + } + </script> +</body> +</html> diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\351\241\271\347\233\256\345\233\276\347\272\270/1.3.1 S146-\346\262\210\351\230\263\351\233\206\346\210\220\351\241\271\347\233\256-\344\273\223\345\272\223\346\200\273\345\233\2760317.dwl" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\351\241\271\347\233\256\345\233\276\347\272\270/1.3.1 S146-\346\262\210\351\230\263\351\233\206\346\210\220\351\241\271\347\233\256-\344\273\223\345\272\223\346\200\273\345\233\2760317.dwl" index 4dc68dc..15dc503 100644 --- "a/\351\241\271\347\233\256\350\265\204\346\226\231/\351\241\271\347\233\256\345\233\276\347\272\270/1.3.1 S146-\346\262\210\351\230\263\351\233\206\346\210\220\351\241\271\347\233\256-\344\273\223\345\272\223\346\200\273\345\233\2760317.dwl" +++ "b/\351\241\271\347\233\256\350\265\204\346\226\231/\351\241\271\347\233\256\345\233\276\347\272\270/1.3.1 S146-\346\262\210\351\230\263\351\233\206\346\210\220\351\241\271\347\233\256-\344\273\223\345\272\223\346\200\273\345\233\2760317.dwl" @@ -1,3 +1,3 @@ Administrator -DESKTOP-02E02BB -2025-04-27星期日 11:01:01 \ No newline at end of file +DESKTOP-HAU3ST3 +2025-09-04星期四 11:06:17 \ No newline at end of file diff --git "a/\351\241\271\347\233\256\350\265\204\346\226\231/\351\241\271\347\233\256\345\233\276\347\272\270/1.3.1 S146-\346\262\210\351\230\263\351\233\206\346\210\220\351\241\271\347\233\256-\344\273\223\345\272\223\346\200\273\345\233\2760317.dwl2" "b/\351\241\271\347\233\256\350\265\204\346\226\231/\351\241\271\347\233\256\345\233\276\347\272\270/1.3.1 S146-\346\262\210\351\230\263\351\233\206\346\210\220\351\241\271\347\233\256-\344\273\223\345\272\223\346\200\273\345\233\2760317.dwl2" index 7fb2513..f32fd52 100644 --- "a/\351\241\271\347\233\256\350\265\204\346\226\231/\351\241\271\347\233\256\345\233\276\347\272\270/1.3.1 S146-\346\262\210\351\230\263\351\233\206\346\210\220\351\241\271\347\233\256-\344\273\223\345\272\223\346\200\273\345\233\2760317.dwl2" +++ "b/\351\241\271\347\233\256\350\265\204\346\226\231/\351\241\271\347\233\256\345\233\276\347\272\270/1.3.1 S146-\346\262\210\351\230\263\351\233\206\346\210\220\351\241\271\347\233\256-\344\273\223\345\272\223\346\200\273\345\233\2760317.dwl2" @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"> <whprops> <username>Administrator</username> -<machinename>DESKTOP-02E02BB</machinename> +<machinename>DESKTOP-HAU3ST3</machinename> <fullname></fullname> -<datetime>2025-04-27星期日 11:01:01</datetime></whprops> \ No newline at end of file +<datetime>2025-09-04星期四 11:06:17</datetime></whprops> \ No newline at end of file -- Gitblit v1.9.3