lixiaojun
2024-01-21 4a2d607621651f355c00f25e2610e13240ecdefa
引用升级,代码微调
已重命名23个文件
已修改8个文件
37 ■■■■■ 文件已修改
Yw.Application.DOCS.Core/1-comm-file/1-mgr/SysCommFile_Controller.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.DOCS.Core/2-attach-file/1-mgr/SysAttachFile_Controller.cs 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.DOCS.Core/Properties/PublishProfiles/FolderProfile.pubxml.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.DOCS.Core/Yw.Application.DOCS.Core.csproj 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.DOCS.Core/Yw.Application.DOCS.Core.csproj.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/00-core/ConfigHelper.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/00-core/DataType.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/00-core/MemoryCacheKey.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/00-core/eFileFormat.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/01-entity/1-file/1-comm/SysCommFile.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/01-entity/1-file/2-attach/SysAttachFile.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/02-model/1-file/1-comm/SysCommFile.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/02-model/1-file/2-attach/SysAttachFile.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/03-settings/helper/DOCSFileHelper.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/03-settings/helper/DOCSParasHelper.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/03-settings/paras/DOCSParas.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/03-settings/paras/Paras_DOCS.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/03-settings/paras/Paras_DOCS_DataBase.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/04-dal/1-file/1-comm/SysCommFile.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/04-dal/1-file/2-attach/SysAttachFile.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/05-service/0-helper/CacheHelper.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/05-service/0-helper/Extensions.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/05-service/1-comm-file/Cache/SysCommFileCacheHelper.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/05-service/1-comm-file/SysCommFile.cs 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/05-service/1-comm-file/SysCommFile_Instance.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/05-service/2-attach-file/Cache/SysAttachFileCacheHelper.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/05-service/2-attach-file/SysAttachFile.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/05-service/2-attach-file/SysAttachFile_Instance.cs 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/Properties/PublishProfiles/FolderProfile.pubxml.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/Yw.Service.DOCS.Core.csproj 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Service.DOCS.Core/Yw.Service.DOCS.Core.csproj.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Yw.Application.DOCS.Core/1-comm-file/1-mgr/SysCommFile_Controller.cs
@@ -145,10 +145,6 @@
        [HttpPut]
        public bool UpdateSorter([Required] List<UpdateSortCodeInput> inputList)
        {
            if (inputList == null || inputList.Count < 1)
            {
                return false;
            }
            var list = inputList.Select(x => x.Adapt<Yw.Model.Sorter>()).ToList();
            var bol = _service.UpdateSorter(list);
            return bol;
Yw.Application.DOCS.Core/2-attach-file/1-mgr/SysAttachFile_Controller.cs
@@ -95,7 +95,7 @@
            model.FileSuffix = Path.GetExtension(uploadFile.FileName);
            model.StorageHouse = ConfigHelper.DataFolder;
            model.StorageCode = Yw.Service.FileHelper.UploadSubFile(ConfigHelper.DataFolder, uploadFile.OpenReadStream(), Path.GetExtension(uploadFile.FileName));
            model.SortCode = _service.GetMaxSortCodeByAttachTypeAndAttachID(input.AttachType, input.AttachID) + 1;
            model.SortCode = _service.GetMaxSortCode(input.AttachType, input.AttachID) + 1;
            var filePath = Yw.Service.FileHelper.GetFilePath(model.StorageHouse, model.StorageCode);
            var fileInfo = new FileInfo(filePath);
            model.FileSize = fileInfo.Length;
@@ -148,10 +148,6 @@
        [HttpPut]
        public bool UpdateSorter([Required] List<UpdateSortCodeInput> inputList)
        {
            if (inputList == null || inputList.Count < 1)
            {
                return false;
            }
            var list = inputList.Select(x => x.Adapt<Yw.Model.Sorter>()).ToList();
            var bol = _service.UpdateSorter(list);
            return bol;
Yw.Application.DOCS.Core/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -4,6 +4,6 @@
-->
<Project>
  <PropertyGroup>
    <History>True|2023-11-30T07:54:23.5609269Z;True|2023-11-30T15:39:50.5144968+08:00;True|2023-11-15T09:23:23.1277615+08:00;True|2023-11-13T11:14:23.7047654+08:00;True|2023-11-07T15:28:54.3174797+08:00;True|2023-10-27T13:22:55.8696581+08:00;True|2023-10-21T18:17:31.4681547+08:00;True|2023-10-18T17:29:57.6963038+08:00;True|2023-09-15T12:09:34.4888678+08:00;True|2023-09-14T15:15:33.6113596+08:00;True|2023-08-21T13:09:54.7440181+08:00;True|2023-07-25T15:08:42.3375388+08:00;True|2023-07-17T10:31:53.5181752+08:00;True|2023-07-17T10:31:44.6652344+08:00;True|2023-07-13T12:10:11.2591498+08:00;True|2023-05-25T18:02:16.3580168+08:00;True|2023-05-25T15:44:32.4909866+08:00;</History>
    <History>True|2024-01-21T07:19:50.6566650Z;True|2023-11-30T15:54:23.5609269+08:00;True|2023-11-30T15:39:50.5144968+08:00;True|2023-11-15T09:23:23.1277615+08:00;True|2023-11-13T11:14:23.7047654+08:00;True|2023-11-07T15:28:54.3174797+08:00;True|2023-10-27T13:22:55.8696581+08:00;True|2023-10-21T18:17:31.4681547+08:00;True|2023-10-18T17:29:57.6963038+08:00;True|2023-09-15T12:09:34.4888678+08:00;True|2023-09-14T15:15:33.6113596+08:00;True|2023-08-21T13:09:54.7440181+08:00;True|2023-07-25T15:08:42.3375388+08:00;True|2023-07-17T10:31:53.5181752+08:00;True|2023-07-17T10:31:44.6652344+08:00;True|2023-07-13T12:10:11.2591498+08:00;True|2023-05-25T18:02:16.3580168+08:00;True|2023-05-25T15:44:32.4909866+08:00;</History>
  </PropertyGroup>
</Project>
Yw.Application.DOCS.Core/Yw.Application.DOCS.Core.csproj
@@ -7,7 +7,7 @@
    <RootNamespace>Yw.Application</RootNamespace>
    <GenerateDocumentationFile>True</GenerateDocumentationFile>
    <GeneratePackageOnBuild>True</GeneratePackageOnBuild>
    <Version>1.0.1</Version>
    <Version>1.0.2</Version>
    <Description>引用升级</Description>
  </PropertyGroup>
@@ -30,8 +30,8 @@
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Yw.Application.Core" Version="1.2.7" />
    <PackageReference Include="Yw.Service.DOCS.Core" Version="1.0.0" />
    <PackageReference Include="Yw.Application.Core" Version="1.3.8" />
    <PackageReference Include="Yw.Service.DOCS.Core" Version="1.0.1" />
  </ItemGroup>
</Project>
Yw.Application.DOCS.Core/Yw.Application.DOCS.Core.csproj.user
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <_LastSelectedProfileId>D:\WorkData\模块\Code\DOCS1\Yw.Application.DOCS.Core\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
    <_LastSelectedProfileId>D:\WorkData\模块\Code\DOCS\Yw.Application.DOCS.Core\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
  </PropertyGroup>
</Project>
Yw.Service.DOCS.Core/00-core/ConfigHelper.cs
ÎļþÃû´Ó Yw.Service.DOCS.Core/0-core/ConfigHelper.cs ÐÞ¸Ä
@@ -24,6 +24,7 @@
                    {
                        OnLogExecuting = (sql, p) =>
                        {
                            LogHelper.Debug(sql);
                            // Console.WriteLine(sql);
                        }
                    }
Yw.Service.DOCS.Core/00-core/DataType.cs
Yw.Service.DOCS.Core/00-core/MemoryCacheKey.cs
Yw.Service.DOCS.Core/00-core/eFileFormat.cs
Yw.Service.DOCS.Core/01-entity/1-file/1-comm/SysCommFile.cs
Yw.Service.DOCS.Core/01-entity/1-file/2-attach/SysAttachFile.cs
Yw.Service.DOCS.Core/02-model/1-file/1-comm/SysCommFile.cs
Yw.Service.DOCS.Core/02-model/1-file/2-attach/SysAttachFile.cs
Yw.Service.DOCS.Core/03-settings/helper/DOCSFileHelper.cs
Yw.Service.DOCS.Core/03-settings/helper/DOCSParasHelper.cs
Yw.Service.DOCS.Core/03-settings/paras/DOCSParas.cs
Yw.Service.DOCS.Core/03-settings/paras/Paras_DOCS.cs
Yw.Service.DOCS.Core/03-settings/paras/Paras_DOCS_DataBase.cs
Yw.Service.DOCS.Core/04-dal/1-file/1-comm/SysCommFile.cs
Yw.Service.DOCS.Core/04-dal/1-file/2-attach/SysAttachFile.cs
Yw.Service.DOCS.Core/05-service/0-helper/CacheHelper.cs
Yw.Service.DOCS.Core/05-service/0-helper/Extensions.cs
Yw.Service.DOCS.Core/05-service/1-comm-file/Cache/SysCommFileCacheHelper.cs
Yw.Service.DOCS.Core/05-service/1-comm-file/SysCommFile.cs
ÎļþÃû´Ó Yw.Service.DOCS.Core/5-service/1-comm-file/SysCommFile.cs ÐÞ¸Ä
@@ -163,8 +163,10 @@
        public int GetMaxSortCode()
        {
            var all = GetAll();
            if (all.Count < 1)
            if (all == null || all.Count < 1)
            {
                return 0;
            }
            return all.Max(x => x.SortCode);
        }
Yw.Service.DOCS.Core/05-service/1-comm-file/SysCommFile_Instance.cs
Yw.Service.DOCS.Core/05-service/2-attach-file/Cache/SysAttachFileCacheHelper.cs
Yw.Service.DOCS.Core/05-service/2-attach-file/SysAttachFile.cs
ÎļþÃû´Ó Yw.Service.DOCS.Core/5-service/2-attach-file/LogicSite.cs ÐÞ¸Ä
@@ -121,9 +121,9 @@
        }
        /// <summary>
        /// é€šè¿‡ AttachType å’Œ AttachID èŽ·å–æœ€å¤§æŽ’åºç 
        /// èŽ·å–æœ€å¤§æŽ’åºç 
        /// </summary>
        public int GetMaxSortCodeByAttachTypeAndAttachID(string AttachType, long AttachID)
        public int GetMaxSortCode(string AttachType, long AttachID)
        {
            var all = GetByAttachTypeAndAttachID(AttachType, AttachID);
            if (all == null || all.Count < 1)
Yw.Service.DOCS.Core/05-service/2-attach-file/SysAttachFile_Instance.cs
Yw.Service.DOCS.Core/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -4,6 +4,6 @@
-->
<Project>
  <PropertyGroup>
    <History>True|2023-11-30T07:37:07.6925176Z;True|2023-11-30T15:35:38.6518588+08:00;True|2023-11-13T11:13:38.2876503+08:00;True|2023-11-07T15:26:15.8664916+08:00;True|2023-10-27T13:21:57.8245827+08:00;True|2023-10-21T18:15:57.8975745+08:00;True|2023-10-18T17:28:42.7347523+08:00;True|2023-09-15T12:08:33.6892307+08:00;True|2023-09-14T15:13:47.6095636+08:00;True|2023-08-21T13:08:28.2298969+08:00;True|2023-07-17T10:30:15.0370305+08:00;True|2023-07-13T11:54:33.7989040+08:00;True|2023-07-13T11:54:23.3967174+08:00;True|2023-07-06T09:49:52.7407983+08:00;True|2023-05-25T15:37:23.5406830+08:00;False|2023-05-25T15:36:09.3589239+08:00;</History>
    <History>True|2024-01-21T07:16:55.1926207Z;True|2023-11-30T15:37:07.6925176+08:00;True|2023-11-30T15:35:38.6518588+08:00;True|2023-11-13T11:13:38.2876503+08:00;True|2023-11-07T15:26:15.8664916+08:00;True|2023-10-27T13:21:57.8245827+08:00;True|2023-10-21T18:15:57.8975745+08:00;True|2023-10-18T17:28:42.7347523+08:00;True|2023-09-15T12:08:33.6892307+08:00;True|2023-09-14T15:13:47.6095636+08:00;True|2023-08-21T13:08:28.2298969+08:00;True|2023-07-17T10:30:15.0370305+08:00;True|2023-07-13T11:54:33.7989040+08:00;True|2023-07-13T11:54:23.3967174+08:00;True|2023-07-06T09:49:52.7407983+08:00;True|2023-05-25T15:37:23.5406830+08:00;False|2023-05-25T15:36:09.3589239+08:00;</History>
  </PropertyGroup>
</Project>
Yw.Service.DOCS.Core/Yw.Service.DOCS.Core.csproj
@@ -7,7 +7,7 @@
        <RootNamespace>Yw</RootNamespace>
        <GenerateDocumentationFile>True</GenerateDocumentationFile>
        <GeneratePackageOnBuild>True</GeneratePackageOnBuild>
        <Version>1.0.0</Version>
        <Version>1.0.1</Version>
        <Description>引用升级</Description>
    </PropertyGroup>
@@ -27,7 +27,7 @@
    </ItemGroup>
    <ItemGroup>
      <PackageReference Include="Yw.Service.Core" Version="1.1.3" />
      <PackageReference Include="Yw.Service.Core" Version="1.1.6" />
    </ItemGroup>
    <ItemGroup>
Yw.Service.DOCS.Core/Yw.Service.DOCS.Core.csproj.user
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <_LastSelectedProfileId>D:\WorkData\模块\Code\DOCS1\Yw.Service.DOCS.Core\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
    <_LastSelectedProfileId>D:\WorkData\模块\Code\DOCS\Yw.Service.DOCS.Core\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
  </PropertyGroup>
</Project>