diff --git a/BasicData/Tnb.BasicData.Entities/Consts/DictConst.cs b/BasicData/Tnb.BasicData.Entities/Consts/DictConst.cs
index 6a3d17e6..95b03123 100644
--- a/BasicData/Tnb.BasicData.Entities/Consts/DictConst.cs
+++ b/BasicData/Tnb.BasicData.Entities/Consts/DictConst.cs
@@ -48,6 +48,10 @@ public static class DictConst
/// 包装工单
///
public const string PrdMoTypeBZ = "25019191681045";
+ ///
+ /// 物料分类
+ ///
+ public const string MaterialCatagoryID = "24882163283733";
#endregion
diff --git a/BasicData/Tnb.BasicData.Entities/Entity/BasRegionMat.cs b/BasicData/Tnb.BasicData.Entities/Entity/BasRegionMat.cs
new file mode 100644
index 00000000..6086951f
--- /dev/null
+++ b/BasicData/Tnb.BasicData.Entities/Entity/BasRegionMat.cs
@@ -0,0 +1,72 @@
+using JNPF.Common.Contracts;
+using JNPF.Common.Security;
+using SqlSugar;
+
+namespace Tnb.BasicData.Entities;
+
+///
+/// 区域物料设定
+///
+[SugarTable("bas_region_mat")]
+public partial class BasRegionMat : BaseEntity
+{
+ public BasRegionMat()
+ {
+ id = SnowflakeIdHelper.NextId();
+ }
+ ///
+ /// 所属组织
+ ///
+ public string? org_id { get; set; }
+
+ ///
+ /// 区域ID
+ ///
+ public string region_id { get; set; } = string.Empty;
+
+ ///
+ /// 区域代码
+ ///
+ public string region_code { get; set; } = string.Empty;
+
+ ///
+ /// 物料分类
+ ///
+ public string material_type { get; set; } = string.Empty;
+
+ ///
+ /// 备注
+ ///
+ public string? remark { get; set; }
+
+ ///
+ /// 创建用户
+ ///
+ public string create_id { get; set; } = string.Empty;
+
+ ///
+ /// 创建时间
+ ///
+ public DateTime create_time { get; set; } = DateTime.Now;
+
+ ///
+ /// 修改用户
+ ///
+ public string? modify_id { get; set; }
+
+ ///
+ /// 修改时间
+ ///
+ public DateTime? modify_time { get; set; }
+
+ ///
+ /// 扩展字段
+ ///
+ public string? extras { get; set; }
+
+ ///
+ /// 时间戳(用于并发控制)
+ ///
+ public DateTime? timestamp { get; set; }
+
+}
diff --git a/BasicData/Tnb.BasicData/BasMbomService.cs b/BasicData/Tnb.BasicData/BasMbomService.cs
index 6736f838..cee2b86b 100644
--- a/BasicData/Tnb.BasicData/BasMbomService.cs
+++ b/BasicData/Tnb.BasicData/BasMbomService.cs
@@ -131,6 +131,55 @@ namespace Tnb.BasicData
mbomDataOutput.processes = mbomProcessOutDtos;
return mbomDataOutput;
}
+
+ ///
+ /// 复制生产bom
+ ///
+ /// 物料id id
+ [HttpPost]
+ public async Task Copy(Dictionary parameters)
+ {
+ string id = parameters["id"];
+ var db = _repository.AsSugarClient();
+ BasMbom basMbom = await _repository.GetByIdAsync(id);
+
+ List mbomProcesses = await db.Queryable().Where(x => x.mbom_id == id).ToListAsync();
+ List mbomInputs = await db.Queryable().Where(x => x.mbom_id == id).ToListAsync();
+ List mbomOutputs = await db.Queryable().Where(x => x.mbom_id == id).ToListAsync();
+
+ string newId = SnowflakeIdHelper.NextId();
+ basMbom.id = newId;
+ basMbom.version += "_复制的请修改";
+
+ DbResult result = await _repository.AsSugarClient().Ado.UseTranAsync(async () =>
+ {
+ _ = await _repository.InsertAsync(basMbom);
+ foreach (BasMbomProcess item in mbomProcesses)
+ {
+ item.id = SnowflakeIdHelper.NextId();
+ item.mbom_id = newId;
+ }
+
+ foreach (BasMbomInput item in mbomInputs)
+ {
+ item.id = SnowflakeIdHelper.NextId();
+ item.mbom_id = newId;
+ }
+
+ foreach (BasMbomOutput item in mbomOutputs)
+ {
+ item.id = SnowflakeIdHelper.NextId();
+ item.mbom_id = newId;
+ }
+
+ if(mbomProcesses!=null && mbomProcesses.Count>0) _ = await db.Insertable(mbomProcesses).ExecuteCommandAsync();
+ if(mbomInputs!=null && mbomInputs.Count>0) _ = await db.Insertable(mbomInputs).ExecuteCommandAsync();
+ if(mbomOutputs!=null && mbomOutputs.Count>0) _ = await db.Insertable(mbomOutputs).ExecuteCommandAsync();
+
+ });
+
+ return !result.IsSuccess ? throw Oops.Oh(ErrorCode.COM1008) : result.IsSuccess ? "复制成功" : result.ErrorMessage;
+ }
///
diff --git a/BasicData/Tnb.BasicData/BasRegionMatService.cs b/BasicData/Tnb.BasicData/BasRegionMatService.cs
new file mode 100644
index 00000000..f89d5907
--- /dev/null
+++ b/BasicData/Tnb.BasicData/BasRegionMatService.cs
@@ -0,0 +1,99 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Aspose.Cells.Drawing;
+using DingTalk.Api.Request;
+using JNPF.Common.Dtos.VisualDev;
+using JNPF.Common.Extension;
+using JNPF.DependencyInjection;
+using JNPF.DynamicApiController;
+using JNPF.FriendlyException;
+using JNPF.Systems.Interfaces.System;
+using JNPF.VisualDev;
+using JNPF.VisualDev.Entitys;
+using JNPF.VisualDev.Interfaces;
+using Microsoft.AspNetCore.Components.Forms;
+using Microsoft.AspNetCore.Mvc;
+using SqlSugar;
+using Tnb.BasicData.Entities;
+
+namespace Tnb.BasicData
+{
+ ///
+ /// 区域物料设定
+ ///
+ [ApiDescriptionSettings(Tag = ModuleConst.Tag, Area = ModuleConst.Area, Order = 701)]
+ [Route("api/[area]/[controller]/[action]")]
+ [OverideVisualDev(ModuleId)]
+
+ public class BasRegionMatService : IOverideVisualDevService, IDynamicApiController, ITransient
+ {
+ private const string ModuleId = "26187428200229";
+ private readonly ISqlSugarClient _db;
+ private readonly IRunService _runService;
+ private readonly IVisualDevService _visualDevService;
+ private readonly IDictionaryDataService _dataDictionaryService;
+ private static Dictionary s_materialCategoryMap = new();
+
+ public OverideVisualDevFunc OverideFuncs { get; } = new OverideVisualDevFunc();
+ public BasRegionMatService(ISqlSugarRepository repo,
+ IRunService runService, IVisualDevService visualDevService,
+ IDictionaryDataService dataDictionaryService
+ )
+ {
+ _db = repo.AsSugarClient();
+ _runService = runService;
+ _visualDevService = visualDevService;
+ _dataDictionaryService = dataDictionaryService;
+ OverideFuncs.CreateAsync = CreateAsync;
+ }
+
+ private async Task CreateAsync(VisualDevModelDataCrInput input)
+ {
+ Task respTask = Task.FromResult(1);
+ try
+ {
+ await _db.Ado.BeginTranAsync();
+
+ string? regionCode = null, materialType = null;
+ if (input.data.ContainsKey(nameof(BasRegionMat.region_code)) && input.data[nameof(BasRegionMat.region_code)].IsNotEmptyOrNull())
+ {
+ regionCode = input.data[nameof(BasRegionMat.region_code)].ToString();
+ }
+ if (input.data.ContainsKey(nameof(BasRegionMat.material_type)) && input.data[nameof(BasRegionMat.material_type)].IsNotEmptyOrNull())
+ {
+ materialType = input.data[nameof(BasRegionMat.material_type)].ToString();
+ }
+ var blTrueAll = new List { regionCode.IsNullOrWhiteSpace(), materialType.IsNullOrWhiteSpace() };
+ if (blTrueAll.All(b => !b))
+ {
+ if (s_materialCategoryMap.Count == 0)
+ {
+ s_materialCategoryMap = await _dataDictionaryService.GetDictionaryByTypeId(DictConst.MaterialCatagoryID);
+ }
+ var regionMat = await _db.Queryable().FirstAsync(it => it.region_code == regionCode && it.material_type == materialType);
+ if (regionMat != null)
+ {
+ throw new AppFriendlyException($"区域:【{regionCode}】,物料:【{s_materialCategoryMap[materialType]?.ToString()}】已存在", 500);
+ }
+ }
+ await _db.Ado.CommitTranAsync();
+
+ VisualDevEntity? templateEntity = await _visualDevService.GetInfoById(ModuleId, true);
+ await _runService.Create(templateEntity, input);
+
+ }
+ catch (Exception)
+ {
+ respTask = Task.FromResult(0);
+ await _db.Ado.RollbackTranAsync();
+ throw;
+ }
+
+ return await respTask;
+ }
+
+ }
+}
diff --git a/Directory.Build.props b/Directory.Build.props
index a78d6df4..c5ae6e0e 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -2,7 +2,7 @@
$(MSBuildThisFileDirectory)
latest
- $(NoWarn);CS1570;CS1587;CS1591;CS8601;CS8602;CS8603;CS8618;
+ $(NoWarn);CS1570;CS1587;CS1591;
enable
enable
diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs
index 1a21e971..dbd431b5 100644
--- a/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs
+++ b/ProductionMgr/Tnb.ProductionMgr/PrdInstockService.cs
@@ -59,11 +59,12 @@ namespace Tnb.ProductionMgr
{
Dictionary? queryJson = !string.IsNullOrEmpty(input.queryJson) ? Newtonsoft.Json.JsonConvert.DeserializeObject>(input.queryJson) : new Dictionary();
string moCode = queryJson.ContainsKey("mo_task_code") ? queryJson["mo_task_code"].ToString() : "";
- List list = await _repository.AsSugarClient().Queryable()
+ var list = await _repository.AsSugarClient().Queryable()
.LeftJoin((a, b) => a.material_id == b.id)
.LeftJoin((a, b, c) => a.mold_id == c.id)
.LeftJoin((a, b, c, d) => a.eqp_id == d.id)
.WhereIF(!string.IsNullOrEmpty(moCode), (a, b, c, d) => a.mo_task_code!.Contains(moCode))
+ .Where(a=>string.IsNullOrEmpty(a.parent_id))
.Select((a, b, c, d) => new PrdMoTaskTreeOutput()
{
id = a.id,
@@ -78,20 +79,20 @@ namespace Tnb.ProductionMgr
estimated_start_date = a.estimated_start_date!.ToString(),
estimated_end_date = a.estimated_end_date.ToString(),
create_time = a.create_time.ToString()
- }).ToListAsync();
- List treeList = list.ToTree();
- treeList = treeList.Skip((input.currentPage - 1) * input.pageSize).Take(input.pageSize).ToList();
- SqlSugarPagedList pagedList = new()
- {
- list = treeList,
- pagination = new Pagination
- {
- CurrentPage = input.currentPage,
- PageSize = input.pageSize,
- Total = treeList.Count
- }
- };
- return PageResult.SqlSugarPageResult(pagedList);
+ }).ToPagedListAsync(input.currentPage, input.pageSize);
+ // List treeList = list.ToTree();
+ // treeList = treeList.Skip((input.currentPage - 1) * input.pageSize).Take(input.pageSize).ToList();
+ // SqlSugarPagedList pagedList = new()
+ // {
+ // list = treeList,
+ // pagination = new Pagination
+ // {
+ // CurrentPage = input.currentPage,
+ // PageSize = input.pageSize,
+ // Total = treeList.Count
+ // }
+ // };
+ return PageResult.SqlSugarPageResult(list);
}
[HttpPost]
diff --git a/ProductionMgr/Tnb.ProductionMgr/PrdMoService.cs b/ProductionMgr/Tnb.ProductionMgr/PrdMoService.cs
index acaad592..3bf1c98a 100644
--- a/ProductionMgr/Tnb.ProductionMgr/PrdMoService.cs
+++ b/ProductionMgr/Tnb.ProductionMgr/PrdMoService.cs
@@ -109,10 +109,31 @@ namespace Tnb.ProductionMgr
private async Task GetList(VisualDevModelListQueryInput input)
{
ISqlSugarClient db = _repository.AsSugarClient();
- Dictionary? queryJson = !string.IsNullOrEmpty(input.queryJson) ? Newtonsoft.Json.JsonConvert.DeserializeObject>(input.queryJson) : new Dictionary();
+ Dictionary? queryJson = !string.IsNullOrEmpty(input.queryJson) ? Newtonsoft.Json.JsonConvert.DeserializeObject>(input.queryJson) : new Dictionary();
string moCode = queryJson.ContainsKey("mo_code") ? queryJson["mo_code"].ToString() : "";
string moStatus = queryJson.ContainsKey("mo_status") ? queryJson["mo_status"].ToString() : "";
string combineMoCode = queryJson.ContainsKey("combine_mo_code") ? queryJson["combine_mo_code"].ToString() : "";
+ string mo_type = queryJson.ContainsKey("mo_type") ? queryJson["mo_type"].ToString() : "";
+ string mo_source = queryJson.ContainsKey("mo_source") ? queryJson["mo_source"].ToString() : "";
+ DateTime[] plan_start_date = queryJson.ContainsKey("plan_start_date") ? queryJson["plan_start_date"].ToObject().Select(x => DateTimeOffset.FromUnixTimeSeconds(x / 1000).ToLocalTime().DateTime).ToArray() : null;
+ DateTime[] plan_end_date = queryJson.ContainsKey("plan_end_date") ? queryJson["plan_end_date"].ToObject().Select(x => DateTimeOffset.FromUnixTimeSeconds(x / 1000).ToLocalTime().DateTime).ToArray() : null;
+ DateTime? s_s_date = null;
+ DateTime? s_e_date = null;
+ DateTime? e_s_date = null;
+ DateTime? e_e_date = null;
+
+ if (plan_start_date != null && plan_start_date.Length == 2)
+ {
+ s_s_date = plan_start_date[0];
+ s_e_date = plan_start_date[1];
+ }
+
+ if (plan_end_date != null && plan_end_date.Length == 2)
+ {
+ e_s_date = plan_end_date[0];
+ e_e_date = plan_end_date[1];
+ }
+
SqlSugarPagedList result = await db.Queryable()
.LeftJoin((a, b) => a.material_id == b.id)
.LeftJoin((a, b, c) => c.EnCode == DictConst.MeasurementUnit)
@@ -123,6 +144,10 @@ namespace Tnb.ProductionMgr
.WhereIF(!string.IsNullOrEmpty(combineMoCode),
(a, b, c, d, e) => a.combine_mo_code.Contains(combineMoCode))
.WhereIF(!string.IsNullOrEmpty(moStatus), (a, b, c, d, e) => a.mo_status == moStatus)
+ .WhereIF(!string.IsNullOrEmpty(mo_type), (a, b, c, d, e) => a.mo_type == mo_type)
+ .WhereIF(!string.IsNullOrEmpty(mo_source), (a, b, c, d, e) => a.mo_source == mo_source)
+ .WhereIF(plan_start_date!=null && plan_start_date.Length==2,a=>a.plan_start_date>=s_s_date && a.plan_start_date<=s_e_date)
+ .WhereIF(plan_end_date!=null && plan_end_date.Length==2,a=>a.plan_end_date>=e_s_date && a.plan_end_date<=e_e_date)
.Where(a => SqlFunc.IsNullOrEmpty(a.parent_id))
.OrderByDescending(a => a.create_time)
.Select((a, b, c, d, e, f) => new PrdMoListOuput
diff --git a/Tnb.Server.sln b/Tnb.Server.sln
index 07029d0c..6bf614ee 100644
--- a/Tnb.Server.sln
+++ b/Tnb.Server.sln
@@ -158,14 +158,17 @@ Global
{9FA1FB84-71AB-42A7-9570-F856A4B1EBAB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9FA1FB84-71AB-42A7-9570-F856A4B1EBAB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9FA1FB84-71AB-42A7-9570-F856A4B1EBAB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9FA1FB84-71AB-42A7-9570-F856A4B1EBAB}.Release|Any CPU.Build.0 = Release|Any CPU
{9FA1FB84-71AB-42A7-9570-F856A4B1EBAB}.tianyi|Any CPU.ActiveCfg = tianyi|Any CPU
{135D0C0A-9B95-45F2-BE5F-01286F6BB234}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{135D0C0A-9B95-45F2-BE5F-01286F6BB234}.Debug|Any CPU.Build.0 = Debug|Any CPU
{135D0C0A-9B95-45F2-BE5F-01286F6BB234}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {135D0C0A-9B95-45F2-BE5F-01286F6BB234}.Release|Any CPU.Build.0 = Release|Any CPU
{135D0C0A-9B95-45F2-BE5F-01286F6BB234}.tianyi|Any CPU.ActiveCfg = tianyi|Any CPU
{D1135D42-7CD0-4579-82B3-D2B121FCE954}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D1135D42-7CD0-4579-82B3-D2B121FCE954}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D1135D42-7CD0-4579-82B3-D2B121FCE954}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D1135D42-7CD0-4579-82B3-D2B121FCE954}.Release|Any CPU.Build.0 = Release|Any CPU
{D1135D42-7CD0-4579-82B3-D2B121FCE954}.tianyi|Any CPU.ActiveCfg = tianyi|Any CPU
{8D3E0381-4B3D-4F44-81C8-535E28418A1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8D3E0381-4B3D-4F44-81C8-535E28418A1B}.Debug|Any CPU.Build.0 = Debug|Any CPU
diff --git a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Consts/ModuleConsts.cs b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Consts/ModuleConsts.cs
index d7dd9e09..b4bd74b9 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Consts/ModuleConsts.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Consts/ModuleConsts.cs
@@ -195,4 +195,9 @@ public class ModuleConsts
/// 模块标识-在库物料维护
///
public const string MODULE_WMSINSTKMIN_ID = "27124095468309";
+ ///
+ /// 模块标识-区域物料设定
+ ///
+ public const string MODULE_BASREGIONMAT_ID = "26187428200229";
+
}
\ No newline at end of file
diff --git a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Consts/WmsWareHouseConst.cs b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Consts/WmsWareHouseConst.cs
index bec5a1b3..056da03d 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Consts/WmsWareHouseConst.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Consts/WmsWareHouseConst.cs
@@ -265,5 +265,7 @@
/// 盘点任务计算状态-未结算
///
public const string CLOSINGSTATUS_WJS_ID = "27674058079509";
+
+
}
}
diff --git a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Entity/WmsElevatorH.cs b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Entity/WmsElevatorH.cs
index 88ca59b7..83c7b068 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Entity/WmsElevatorH.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Entity/WmsElevatorH.cs
@@ -44,10 +44,6 @@ public partial class WmsElevatorH : BaseEntity
///
public string elevator_group { get; set; } = string.Empty;
- ///
- /// 状态
- ///
- public int status { get; set; }
///
/// 任务数量
diff --git a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Entity/WmsElevatorH.part.cs b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Entity/WmsElevatorH.part.cs
index a605cbb1..4709864f 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr.Entities/Entity/WmsElevatorH.part.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr.Entities/Entity/WmsElevatorH.part.cs
@@ -59,4 +59,11 @@ public partial class WmsElevatorH
///
[SugarColumn(IsIgnore = true)]
public string device_id { get; set; }
+
+ ///
+ /// 状态
+ ///
+ [SugarColumn(ColumnName = "status")]
+ public int enable_mark { get; set; }
+
}
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/BasRegionMatService.cs b/WarehouseMgr/Tnb.WarehouseMgr/BasRegionMatService.cs
new file mode 100644
index 00000000..f850db17
--- /dev/null
+++ b/WarehouseMgr/Tnb.WarehouseMgr/BasRegionMatService.cs
@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using JNPF.VisualDev;
+
+namespace Tnb.WarehouseMgr
+{
+ ///
+ /// 区域物料设定
+ ///
+ [OverideVisualDev(ModuleConsts.MODULE_BASREGIONMAT_ID)]
+ public class BasRegionMatService :BaseWareHouseService
+ {
+
+ }
+}
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/BaseWareHouseService.cs b/WarehouseMgr/Tnb.WarehouseMgr/BaseWareHouseService.cs
index ab54ec7b..ce5286db 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr/BaseWareHouseService.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr/BaseWareHouseService.cs
@@ -2,6 +2,7 @@
using System.Runtime.InteropServices;
using System.Security.Claims;
using JNPF;
+using JNPF.Common.Contracts;
using JNPF.Common.Core.Manager;
using JNPF.Common.Enums;
using JNPF.Common.Extension;
@@ -300,6 +301,8 @@ namespace Tnb.WarehouseMgr
}
}
+
+
#region 斑马打印
///
/// 打印
@@ -347,7 +350,7 @@ namespace Tnb.WarehouseMgr
// tcs.SetResult(printerList);
// return tcs.Task;
//}
- #endregion
+ #endregion
///
/// Api响应结果
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/DeviceProviderService.cs b/WarehouseMgr/Tnb.WarehouseMgr/DeviceProviderService.cs
index 084109fa..606f6ac9 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr/DeviceProviderService.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr/DeviceProviderService.cs
@@ -32,7 +32,7 @@ namespace Tnb.WarehouseMgr
/// Wms设备接口提供程序服务类
///
- public class DeviceProviderService : BaseWareHouseService
+ public class DeviceProviderService : ServiceLoggerBase
{
private readonly ISqlSugarClient _db;
private readonly IWareHouseService _wareHouseService;
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/Filters/NotifyFilterAttribute.cs b/WarehouseMgr/Tnb.WarehouseMgr/Filters/NotifyFilterAttribute.cs
deleted file mode 100644
index aaa3c279..00000000
--- a/WarehouseMgr/Tnb.WarehouseMgr/Filters/NotifyFilterAttribute.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using Microsoft.AspNetCore.Mvc.Filters;
-using Microsoft.Extensions.DependencyInjection;
-using Tnb.WarehouseMgr.Entities.Dto.Inputs;
-using Tnb.WarehouseMgr.Interfaces;
-
-namespace Tnb.WarehouseMgr.Filters
-{
- public class NotifyFilterAttribute : ActionFilterAttribute
- {
-
- public override async void OnActionExecuted(ActionExecutedContext context)
- {
- string actionName = context.ActionDescriptor.RouteValues["action"]!;
- ITaskMessageNotify taskMessageNotify = context.HttpContext.RequestServices.GetRequiredService();
- if (taskMessageNotify != null)
- {
- NotifyMessage message = new() { TaskName = actionName };
- await taskMessageNotify.Writer.WriteAsync(message);
- }
- }
- }
-}
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/BaseWareHouseService`1.cs b/WarehouseMgr/Tnb.WarehouseMgr/ServiceLoggerBase`1.cs
similarity index 90%
rename from WarehouseMgr/Tnb.WarehouseMgr/BaseWareHouseService`1.cs
rename to WarehouseMgr/Tnb.WarehouseMgr/ServiceLoggerBase`1.cs
index 246da2d1..aafd0c79 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr/BaseWareHouseService`1.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr/ServiceLoggerBase`1.cs
@@ -6,17 +6,19 @@ using Tnb.WarehouseMgr.Entities;
namespace Tnb.WarehouseMgr
{
- public class BaseWareHouseService : BaseWareHouseService
+ public class ServiceLoggerBase : BaseWareHouseService
{
protected static Dictionary s_elevatorMap = new();
private static readonly Lazy initializationTask;
- static BaseWareHouseService()
+ static ServiceLoggerBase()
{
initializationTask = new Lazy(InitializeAsync);
}
+
+
private static async Task InitializeAsync()
{
@@ -37,7 +39,7 @@ namespace Tnb.WarehouseMgr
- protected ILogger Logger => LoggerFactory.Create(builder => builder.AddFile($"{AppContext.BaseDirectory}/logs/custom{DateTime.Now:yyyyMMdd}.log", cfgOpts =>
+ protected ILogger Logger => LoggerFactory.Create(builder => builder.AddFile($"{AppContext.BaseDirectory}/logs/{this.GetType().Name}{DateTime.Now:yyyyMMdd}.log", cfgOpts =>
{
//cfgOpts.DateFormat = "yyyy-MM-dd HH:mm:ss.fff";
@@ -54,7 +56,7 @@ namespace Tnb.WarehouseMgr
return sb.ToString();
};
- })).CreateLogger();
+ })).CreateLogger();
}
public static class CustomLoggerExtenstions
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/TaskMesageNotify.cs b/WarehouseMgr/Tnb.WarehouseMgr/TaskMesageNotify.cs
deleted file mode 100644
index 5c3b04f8..00000000
--- a/WarehouseMgr/Tnb.WarehouseMgr/TaskMesageNotify.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System.Threading.Channels;
-using Microsoft.Extensions.DependencyInjection;
-using Tnb.WarehouseMgr.Entities.Dto.Inputs;
-using Tnb.WarehouseMgr.Interfaces;
-
-namespace Tnb.WarehouseMgr
-{
- ///
- /// 任务消息通知
- ///
- public class TaskMesageNotify : ITaskMessageNotify
- {
- private readonly Channel _channel = Channel.CreateUnbounded();
-
- public ChannelReader Reader => _channel.Reader;
- public ChannelWriter Writer => _channel.Writer;
-
- }
-
-
- //public static class TaskMesageNotify
- //{
- // private static readonly Channel _channel = Channel.CreateUnbounded();
-
-
- // public static ChannelReader Reader => _channel.Reader;
- // public static ChannelWriter Writer => _channel.Writer;
-
-
- //}
-
- public static class TaskMessageNotifyExtensions
- {
- public static IServiceCollection AddTaskMessageNotify(this IServiceCollection services)
- {
- _ = services.AddSingleton();
- return services;
- }
- }
-}
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/Tnb.WarehouseMgr.csproj b/WarehouseMgr/Tnb.WarehouseMgr/Tnb.WarehouseMgr.csproj
index 736045a9..59e3c42a 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr/Tnb.WarehouseMgr.csproj
+++ b/WarehouseMgr/Tnb.WarehouseMgr/Tnb.WarehouseMgr.csproj
@@ -9,6 +9,10 @@
Debug;Release
+
+
+
+
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WareHouseService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WareHouseService.cs
index 2d3a6937..c9c64737 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr/WareHouseService.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr/WareHouseService.cs
@@ -33,7 +33,7 @@ namespace Tnb.WarehouseMgr
///
/// 库房业务类(出入库)
///
- public class WareHouseService : BaseWareHouseService, IWareHouseService
+ public class WareHouseService : ServiceLoggerBase, IWareHouseService
{
private readonly ISqlSugarClient _db;
private readonly IDictionaryDataService _dictionaryDataService;
@@ -977,9 +977,9 @@ namespace Tnb.WarehouseMgr
if (curEleDs?.Count > 0)
{
//当前电梯
- WmsElevatorH curEle = await _db.Queryable().SingleAsync(it => it.id == curEleDs.First().bill_id && it.status == 1);
+ WmsElevatorH curEle = await _db.Queryable().SingleAsync(it => it.id == curEleDs.First().bill_id && it.enable_mark == 1);
//同电梯组电梯
- List sGpEle = await _db.Queryable().Where(it => it.elevator_group == curEle.elevator_group && it.id != curEle.id && it.status == 1).ToListAsync();
+ List sGpEle = await _db.Queryable().Where(it => it.elevator_group == curEle.elevator_group && it.id != curEle.id && it.enable_mark == 1).ToListAsync();
if (curEle == null && sGpEle?.Count > 0)
{
@@ -1048,9 +1048,9 @@ namespace Tnb.WarehouseMgr
if (curEleDs?.Count > 0)
{
//当前电梯
- WmsElevatorH curEle = await _db.Queryable().SingleAsync(it => it.id == curEleDs.First().bill_id && it.status == 1);
+ WmsElevatorH curEle = await _db.Queryable().SingleAsync(it => it.id == curEleDs.First().bill_id && it.enable_mark == 1);
//同电梯组电梯
- List sGpEle = await _db.Queryable().Where(it => it.elevator_group == curEle.elevator_group && it.id != curEle.id && it.status == 1).ToListAsync();
+ List sGpEle = await _db.Queryable().Where(it => it.elevator_group == curEle.elevator_group && it.id != curEle.id && it.enable_mark == 1).ToListAsync();
if (curEle == null && sGpEle?.Count > 0)
{
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsBasicDataBase`1.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsBasicDataBase`1.cs
new file mode 100644
index 00000000..d9be1169
--- /dev/null
+++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsBasicDataBase`1.cs
@@ -0,0 +1,29 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using JNPF.Common.Contracts;
+using Microsoft.AspNetCore.Mvc;
+using SqlSugar;
+
+namespace Tnb.WarehouseMgr
+{
+ ///
+ /// Wms基础数据基类
+ ///
+ ///
+ //public class WmsBasicDataBase : BaseWareHouseService where TEntity : BaseEntity, new()
+ //{
+ // private readonly ISqlSugarClient _db;
+ // public WmsBasicDataBase()
+ // {
+
+ // }
+ // [HttpPost]
+ // public async Task IsEnabledMark(IEnumerable ids,int status)
+ // {
+
+ // }
+ //}
+}
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs
index 951f5ab0..c54969ce 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs
@@ -13,7 +13,6 @@ using JNPF.VisualDev.Interfaces;
using Mapster;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
-using NPOI.SS.Formula.Functions;
using SqlSugar;
using Tnb.BasicData.Entities;
using Tnb.WarehouseMgr.Entities;
@@ -30,7 +29,7 @@ namespace Tnb.WarehouseMgr
/// 盘点任务
///
[OverideVisualDev(ModuleConsts.MODULE_WMSCHECKTASK_ID)]
- public class WmsCheckTaskService : BaseWareHouseService
+ public class WmsCheckTaskService : ServiceLoggerBase
{
private readonly ISqlSugarClient _db;
private readonly IWareHouseService _warehouseService;
@@ -112,12 +111,33 @@ namespace Tnb.WarehouseMgr
areaIds = input.data[nameof(WmsCheckstockH.area_id)].ToObject();
}
- filterExpable = checkType!.ToEnum() switch
+ Expression> filterExp = (a, b, c) => false;
+ switch (checkType?.ToEnum())
{
- EnumCheckType.物料盘点 => filterExpable.AndIF(input.data.ContainsKey(nameof(WmsCarryCode.material_id)) && input.data[nameof(WmsCarryCode.material_id)] != null, (a, b, c) => b.material_id == input.data[nameof(WmsCarryCode.material_id)].ToString()),
- EnumCheckType.批次盘点 => filterExpable.AndIF(areaIds?.Length > 0, (a, b, c) => areaIds.Contains(a.region_id)),
- _ => filterExpable,
- };
+ case EnumCheckType.全库盘点:
+ {
+ filterExp = (a, b, c) => a.wh_id == input.data[nameof(WmsCheckstockH.warehouse_id)].ToString()
+ && a.is_type == ((int)EnumLocationType.存储库位).ToString()
+ && c.is_lock == 0;
+ }
+ break;
+ case EnumCheckType.物料盘点:
+ {
+ if (!input.data.ContainsKey(nameof(WmsCarryCode.material_id)) && input.data[nameof(WmsCarryCode.material_id)] != null)
+ {
+ filterExp = (a, b, c) => b.material_id == input.data[nameof(WmsCarryCode.material_id)].ToString();
+ }
+ }
+ break;
+ case EnumCheckType.批次盘点:
+ {
+ if (areaIds?.Length > 0)
+ {
+ filterExp = (a, b, c) => areaIds.Contains(a.region_id);
+ }
+ }
+ break;
+ }
var carryCodes = await _db.Queryable().InnerJoin((a, b) => a.id == b.location_id)
.InnerJoin((a, b, c) => b.carry_id == c.id)
@@ -320,22 +340,21 @@ namespace Tnb.WarehouseMgr
_carryMap = await _db.Queryable().ToDictionaryAsync(x => x.id, x => x.carry_code);
}
- //var filterExpable = Expressionable.Create();
Expression> filterExp = (a, b, c) => false;
switch (input.CheckType)
{
case EnumCheckType.全库盘点:
{
- filterExp.And((a, b, c) => a.wh_id == input.warehouse_id)
- .And((a, b, c) => a.is_type == ((int)EnumLocationType.存储库位).ToString())
- .And((a, b, c) => c.is_lock == 0);
+ filterExp = (a, b, c) => a.wh_id == input.warehouse_id
+ && a.is_type == ((int)EnumLocationType.存储库位).ToString()
+ && c.is_lock == 0;
}
break;
case EnumCheckType.物料盘点:
{
if (!input.material_id.IsNullOrWhiteSpace())
{
- filterExp.And((a, b, c) => b.material_id == input.material_id);
+ filterExp = (a, b, c) => b.material_id == input.material_id;
}
}
break;
@@ -343,7 +362,7 @@ namespace Tnb.WarehouseMgr
{
if (input.regionIds?.Count > 0)
{
- filterExp.And((a, b, c) => input.regionIds.Contains(a.region_id));
+ filterExp = (a, b, c) => input.regionIds.Contains(a.region_id);
}
}
break;
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs
index 6ac049fc..25ebbc91 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs
@@ -30,7 +30,7 @@ namespace Tnb.WarehouseMgr
[OverideVisualDev(ModuleConsts.MODULE_WMSEMPTYINSTOCK_ID)]
[ServiceModule(BizTypeId)]
- public class WmsEmptyInstockService : BaseWareHouseService, IWmsEmptyInstockService
+ public class WmsEmptyInstockService : ServiceLoggerBase, IWmsEmptyInstockService
{
private const string BizTypeId = "26121986416677";
private readonly ISqlSugarClient _db;
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs
index 0fe26b25..53e6c2d8 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs
@@ -34,7 +34,7 @@ namespace Tnb.WarehouseMgr
///
[OverideVisualDev(ModuleConsts.MODULE_WMSOUTSTOCK_ID)]
[ServiceModule(BizTypeId)]
- public class WmsOutStockService : BaseWareHouseService, IWmsOutStockService
+ public class WmsOutStockService : ServiceLoggerBase, IWmsOutStockService
{
private const string BizTypeId = "26191522660645";
private readonly ISqlSugarClient _db;
diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsStockReportService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsStockReportService.cs
index df16f071..99ef65d1 100644
--- a/WarehouseMgr/Tnb.WarehouseMgr/WmsStockReportService.cs
+++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsStockReportService.cs
@@ -1,9 +1,11 @@
using JNPF.Common.Core.Manager;
+using JNPF.Common.Extension;
using JNPF.Common.Filter;
using JNPF.Common.Security;
using JNPF.VisualDev;
using JNPF.VisualDev.Entitys.Dto.VisualDevModelData;
using Mapster;
+using Newtonsoft.Json.Linq;
using SqlSugar;
using Tnb.BasicData.Entities;
using Tnb.WarehouseMgr.Entities;
@@ -29,11 +31,18 @@ namespace Tnb.WarehouseMgr
private async Task GetListAsync(VisualDevModelListQueryInput input)
{
+ var materialCode = "";
+ if (!input.queryJson.IsNullOrWhiteSpace())
+ {
+ materialCode = JObject.Parse(input.queryJson).Value(nameof(WmsCarryCode.material_code));
+ }
+
List items = await _db.Queryable().InnerJoin((a, b) => a.material_id == b.id)
.InnerJoin((a, b, c) => b.id == c.material_id)
.InnerJoin((a, b, c, d) => a.carry_id == d.id)
.InnerJoin((a, b, c, d, e) => d.location_id == e.id)
.Where((a, b, c, d, e) => e.is_type == ((int)EnumLocationType.存储库位).ToString())
+ .WhereIF(!string.IsNullOrEmpty(materialCode), (a, b, c, d, e) => a.material_code.Contains(materialCode))
.Select((a, b, c, d, e) => new WmsStockReportH
{
warehouse_id = a.warehouse_id,
diff --git a/common.props b/common.props
deleted file mode 100644
index 6734521c..00000000
--- a/common.props
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
- latest
- $(NoWarn);CS1591;
-
-
-
- none
- false
-
-
-
\ No newline at end of file
diff --git a/common/Tnb.Common/Extension/LambdaExpressionExtensions.cs b/common/Tnb.Common/Extension/LambdaExpressionExtensions.cs
index b0b1b420..04ab917b 100644
--- a/common/Tnb.Common/Extension/LambdaExpressionExtensions.cs
+++ b/common/Tnb.Common/Extension/LambdaExpressionExtensions.cs
@@ -59,6 +59,23 @@ namespace JNPF.Common.Extension
return first.Compose(second, Expression.And);
}
+
+ ///
+ /// or扩展
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static Expression> Or(this Expression> first, Expression> second)
+ {
+ if (first.IsNull())
+ {
+ first = second;
+ return first;
+ }
+ return first.Compose(second, Expression.Or);
+ }
}
diff --git a/common/Tnb.Common/Extension/TnbStringExtensions.cs b/common/Tnb.Common/Extension/TnbStringExtensions.cs
index c6412e97..47a5cc9f 100644
--- a/common/Tnb.Common/Extension/TnbStringExtensions.cs
+++ b/common/Tnb.Common/Extension/TnbStringExtensions.cs
@@ -187,7 +187,7 @@ public static class StringExtensions
///
/// 查找路径的上一级
///
- public static (string?, string) LastSplitOnce(this string str, char seperate)
+ public static (string?, string) GetParent(this string str, char seperate)
{
int n = str.LastIndexOf(seperate);
if (n > 0)
diff --git a/common/Tnb.Common/Utils/ThrowIf.cs b/common/Tnb.Common/Utils/ThrowIf.cs
index b1cea249..fef2357b 100644
--- a/common/Tnb.Common/Utils/ThrowIf.cs
+++ b/common/Tnb.Common/Utils/ThrowIf.cs
@@ -13,44 +13,37 @@ public static class ThrowIf
}
}
- public static T IsNull([NotNull] T? value, string? msg = null, [CallerArgumentExpression("value")] string? paraName = null)
+ public static void IsNull([NotNull] T? value, string? msg = null, [CallerArgumentExpression("value")] string? paraName = null)
{
if (value == null)
{
throw string.IsNullOrEmpty(msg) ? new ArgumentNullException(paraName) : new ArgumentException(msg);
}
-
- return value;
}
- public static T IsNullOrDefault([NotNull] T? value, string? msg = null, [CallerArgumentExpression("value")] string? paraName = null) where T : struct
+ public static void IsNullOrDefault([NotNull] T? value, string? msg = null, [CallerArgumentExpression("value")] string? paraName = null) where T : struct
{
if (!value.HasValue || value.Value.Equals(default(T)))
{
throw string.IsNullOrEmpty(msg) ? new ArgumentException("值不可为空或默认值", paraName) : new ArgumentException(msg);
}
-
- return value.Value;
}
- public static string IsNullOrWhiteSpace([NotNull] string? value, string? msg = null, [CallerArgumentExpression("value")] string? paraName = null)
+ public static void IsNullOrWhiteSpace([NotNull] string? value, string? msg = null, [CallerArgumentExpression("value")] string? paraName = null)
{
if (string.IsNullOrWhiteSpace(value))
{
throw string.IsNullOrEmpty(msg) ? new ArgumentException("值不可为空或空格", paraName) : new ArgumentException(msg);
}
- return value;
}
- public static string IsNullOrEmpty([NotNull] string? value, string? msg = null, [CallerArgumentExpression("value")] string? paraName = null)
+ public static void IsNullOrEmpty([NotNull] string? value, string? msg = null, [CallerArgumentExpression("value")] string? paraName = null)
{
if (string.IsNullOrEmpty(value))
{
throw string.IsNullOrEmpty(msg) ? new ArgumentException("值不可为空", paraName) : new ArgumentException(msg);
}
-
- return value;
}
//public static ICollection NotNullOrEmpty(ICollection value, string paraName)
@@ -74,64 +67,52 @@ public static class ThrowIf
// return type;
//}
- public static short OutOfRange(short value, string paraName, short minimumValue, short maximumValue = short.MaxValue)
+ public static void OutOfRange(short value, string paraName, short minimumValue, short maximumValue = short.MaxValue)
{
if (value < minimumValue || value > maximumValue)
{
throw new ArgumentException($"{paraName} is out of range min: {minimumValue} - max: {maximumValue}");
}
-
- return value;
}
- public static int OutOfRange(int value, string paraName, int minimumValue, int maximumValue = int.MaxValue)
+ public static void OutOfRange(int value, string paraName, int minimumValue, int maximumValue = int.MaxValue)
{
if (value < minimumValue || value > maximumValue)
{
throw new ArgumentException($"{paraName} is out of range min: {minimumValue} - max: {maximumValue}");
}
-
- return value;
}
- public static long OutOfRange(long value, string paraName, long minimumValue, long maximumValue = long.MaxValue)
+ public static void OutOfRange(long value, string paraName, long minimumValue, long maximumValue = long.MaxValue)
{
if (value < minimumValue || value > maximumValue)
{
throw new ArgumentException($"{paraName} is out of range min: {minimumValue} - max: {maximumValue}");
}
-
- return value;
}
- public static float OutOfRange(float value, string paraName, float minimumValue, float maximumValue = float.MaxValue)
+ public static void OutOfRange(float value, string paraName, float minimumValue, float maximumValue = float.MaxValue)
{
if (value < minimumValue || value > maximumValue)
{
throw new ArgumentException($"{paraName} is out of range min: {minimumValue} - max: {maximumValue}");
}
-
- return value;
}
- public static double OutOfRange(double value, string paraName, double minimumValue, double maximumValue = double.MaxValue)
+ public static void OutOfRange(double value, string paraName, double minimumValue, double maximumValue = double.MaxValue)
{
if (value < minimumValue || value > maximumValue)
{
throw new ArgumentException($"{paraName} is out of range min: {minimumValue} - max: {maximumValue}");
}
-
- return value;
}
- public static decimal OutOfRange(decimal value, string paraName, decimal minimumValue, decimal maximumValue = decimal.MaxValue)
+ public static void OutOfRange(decimal value, string paraName, decimal minimumValue, decimal maximumValue = decimal.MaxValue)
{
if (value < minimumValue || value > maximumValue)
{
throw new ArgumentException($"{paraName} is out of range min: {minimumValue} - max: {maximumValue}");
}
-
- return value;
}
}
diff --git a/extend/Tnb.Extend.Entitys/Dto/BigData/BigDataListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/BigData/BigDataListOutput.cs
deleted file mode 100644
index 0a718324..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/BigData/BigDataListOutput.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.BigData;
-
-///
-/// 大数据列表.
-///
-[SuppressSniffer]
-public class BigDataListOutput
-{
- ///
- /// 编码.
- ///
- public string? enCode { get; set; }
-
- ///
- /// 名称.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 创建时间.
- ///
- public DateTime? creatorTime { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentActionsShareInput.cs b/extend/Tnb.Extend.Entitys/Dto/Document/DocumentActionsShareInput.cs
deleted file mode 100644
index 36369c27..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentActionsShareInput.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Document;
-
-///
-/// 共享文件.
-///
-[SuppressSniffer]
-public class DocumentActionsShareInput
-{
- ///
- /// 共享用户.
- ///
- public string? userId { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentCrInput.cs b/extend/Tnb.Extend.Entitys/Dto/Document/DocumentCrInput.cs
deleted file mode 100644
index 2062a467..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentCrInput.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Document;
-
-///
-/// 添加文件夹.
-///
-[SuppressSniffer]
-public class DocumentCrInput
-{
- ///
- /// 文件夹名称.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 文档父级.
- ///
- public string? parentId { get; set; }
-
- ///
- /// 文档分类.
- ///
- public int? type { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentFolderTreeOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Document/DocumentFolderTreeOutput.cs
deleted file mode 100644
index 5a835428..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentFolderTreeOutput.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using JNPF.Common.Security;
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Document;
-
-///
-/// 获取知识管理列表(文件夹树).
-///
-[SuppressSniffer]
-public class DocumentFolderTreeOutput : TreeModel
-{
- ///
- /// 图标.
- ///
- public string? icon { get; set; }
-
- ///
- /// 文件名.
- ///
- public string? fullName { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentInfoOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Document/DocumentInfoOutput.cs
deleted file mode 100644
index 6aa4c4d1..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentInfoOutput.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Document;
-
-///
-/// 获取文件/文件夹信息.
-///
-[SuppressSniffer]
-public class DocumentInfoOutput
-{
- ///
- /// 父级id.
- ///
- public string? parentId { get; set; }
-
- ///
- /// 文件类型.
- ///
- public int? type { get; set; }
-
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 文件名/文件夹名.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 后缀名.
- ///
- public string? fileExtension { get; set; }
-
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Document/DocumentListOutput.cs
deleted file mode 100644
index 6ab9381b..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentListOutput.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Document;
-
-///
-/// 获取知识管理列表(全部文档).
-///
-[SuppressSniffer]
-public class DocumentListOutput
-{
- ///
- /// 创建日期.
- ///
- public DateTime? creatorTime { get; set; }
-
- ///
- /// 是否分享.
- ///
- public int? isShare { get; set; }
-
- ///
- /// 类型(0-文件夹,1-文件).
- ///
- public int? type { get; set; }
-
- ///
- /// 大小.
- ///
- public string? fileSize { get; set; }
-
- ///
- /// 名称.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 后缀名.
- ///
- public string? fileExtension { get; set; }
-
- ///
- /// 父级Id.
- ///
- public string? parentId { get; set; }
-
- ///
- /// 文档下载地址.
- ///
- public string? uploaderUrl { get; set; }
-
- ///
- /// 文件路径.
- ///
- public string? filePath { get; set; }
-
- ///
- /// 是否支持预览.
- ///
- public string? isPreview { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentShareOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Document/DocumentShareOutput.cs
deleted file mode 100644
index 8f4135ff..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentShareOutput.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Document;
-
-///
-/// 知识管理(我的共享列表).
-///
-[SuppressSniffer]
-public class DocumentShareOutput
-{
- ///
- /// 共享日期.
- ///
- public DateTime? shareTime { get; set; }
-
- ///
- /// 大小.
- ///
- public string fileSize { get; set; }
-
- ///
- /// 文件名.
- ///
- public string fullName { get; set; }
-
- ///
- /// 主键id.
- ///
- public string id { get; set; }
-
- ///
- /// 文件类型.
- ///
- public int? type { get; set; }
-
- ///
- /// 后缀名.
- ///
- public string fileExtension { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentShareTomeOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Document/DocumentShareTomeOutput.cs
deleted file mode 100644
index 1b09d2a8..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentShareTomeOutput.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Document;
-
-///
-/// 获取知识管理列表(共享给我).
-///
-[SuppressSniffer]
-public class DocumentShareTomeOutput
-{
- ///
- /// 共享日期.
- ///
- public DateTime? shareTime { get; set; }
-
- ///
- /// 大小.
- ///
- public string? fileSize { get; set; }
-
- ///
- /// 名称.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 共享人员Id.
- ///
- public string? creatorUserId { get; set; }
-
- ///
- /// 后缀名.
- ///
- public string? fileExtension { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentShareUserOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Document/DocumentShareUserOutput.cs
deleted file mode 100644
index e4b3c617..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentShareUserOutput.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Document;
-
-///
-/// 获取知识管理列表(共享人员).
-///
-[SuppressSniffer]
-public class DocumentShareUserOutput
-{
- ///
- /// 共享时间.
- ///
- public DateTime? shareTime { get; set; }
-
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 共享人员id.
- ///
- public string? shareUserId { get; set; }
-
- ///
- /// 文档id.
- ///
- public string? documentId { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentTrashOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Document/DocumentTrashOutput.cs
deleted file mode 100644
index 90e705bb..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentTrashOutput.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Document;
-
-///
-/// 回收站(彻底删除).
-///
-[SuppressSniffer]
-public class DocumentTrashOutput
-{
- ///
- /// 删除日期.
- ///
- public DateTime? deleteTime { get; set; }
-
- ///
- /// 大小.
- ///
- public string? fileSize { get; set; }
-
- ///
- /// 名称.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 后缀名.
- ///
- public string? fileExtension { get; set; }
-
- ///
- /// 类型.
- ///
- public int? type { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentUpInput.cs b/extend/Tnb.Extend.Entitys/Dto/Document/DocumentUpInput.cs
deleted file mode 100644
index 19b96619..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentUpInput.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Document;
-
-///
-/// 修改文件名/文件夹名.
-///
-[SuppressSniffer]
-public class DocumentUpInput : DocumentCrInput
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentUploaderInput.cs b/extend/Tnb.Extend.Entitys/Dto/Document/DocumentUploaderInput.cs
deleted file mode 100644
index 4d63e07a..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Document/DocumentUploaderInput.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-using JNPF.DependencyInjection;
-using Microsoft.AspNetCore.Http;
-
-namespace JNPF.Extend.Entitys.Dto.Document;
-
-[SuppressSniffer]
-public class DocumentUploaderInput
-{
- ///
- /// 上级文件id.
- ///
- public string? parentId { get; set; }
-
- ///
- /// 上级文件id.
- ///
- public IFormFile? file { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/DocumentPreview/DocumentPreviewListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/DocumentPreview/DocumentPreviewListOutput.cs
deleted file mode 100644
index 04612330..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/DocumentPreview/DocumentPreviewListOutput.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.DocumentPreview;
-
-///
-/// 获取文档列表.
-///
-[SuppressSniffer]
-public class DocumentPreviewListOutput
-{
- ///
- /// 文件名称.
- ///
- public string? fileName { get; set; }
-
- ///
- /// 文件大小.
- ///
- public string? fileSize { get; set; }
-
- ///
- /// 主键id .
- ///
- public string? fileId { get; set; }
-
- ///
- /// 修改时间.
- ///
- public string? fileTime { get; set; }
-
- ///
- /// 文件类型.
- ///
- public string? fileType { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/DocumentPreview/DocumentPreviewPreviewInput.cs b/extend/Tnb.Extend.Entitys/Dto/DocumentPreview/DocumentPreviewPreviewInput.cs
deleted file mode 100644
index 49f57f30..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/DocumentPreview/DocumentPreviewPreviewInput.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.DocumentPreview;
-
-///
-/// 预览文档.
-///
-[SuppressSniffer]
-public class DocumentPreviewPreviewInput
-{
- ///
- /// 文件id.
- ///
- public string? fileId { get; set; }
-
- ///
- /// 是否强制重新转换(忽略缓存),true为强制重新转换,false为不强制重新转换.
- ///
- public bool noCache { get; set; }
-
- ///
- /// 针对单文档设置水印内容.
- ///
- public string? watermark { get; set; }
-
- ///
- /// 0否1是,默认为0。针对单文档设置是否防复制.
- ///
- public int isCopy{ get; set; }
-
- ///
- /// 开始位置.
- ///
- public string? pageStart { get; set; }
-
- ///
- /// 结束位置.
- ///
- public string? pageEnd { get; set; }
-
- ///
- /// 类型.
- ///
- public string? type { get; set; }
-
- ///
- /// 预览方式(localPreview:本地,yozoOnlinePreview:在线).
- ///
- public string? previewType { get; set; }
-
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/DocumentPreview/DocumentPreviewPreviewOutput.cs b/extend/Tnb.Extend.Entitys/Dto/DocumentPreview/DocumentPreviewPreviewOutput.cs
deleted file mode 100644
index 70f3011c..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/DocumentPreview/DocumentPreviewPreviewOutput.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.DocumentPreview;
-
-///
-/// 预览文档.
-///
-[SuppressSniffer]
-public class DocumentPreviewPreviewOutput
-{
- ///
- /// 文件名称.
- ///
- public string? fileName { get; set; }
-
- ///
- /// 文件路径.
- ///
- public string? filePath { get; set; }
-
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Email/EmailActionsSaveDraftInput.cs b/extend/Tnb.Extend.Entitys/Dto/Email/EmailActionsSaveDraftInput.cs
deleted file mode 100644
index 5522ca24..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Email/EmailActionsSaveDraftInput.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Email;
-
-///
-/// 存草稿.
-///
-[SuppressSniffer]
-public class EmailActionsSaveDraftInput : EmailSendInput
-{
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Email/EmailConfigActionsCheckMailInput.cs b/extend/Tnb.Extend.Entitys/Dto/Email/EmailConfigActionsCheckMailInput.cs
deleted file mode 100644
index f50eef0e..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Email/EmailConfigActionsCheckMailInput.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Email;
-
-///
-/// 邮箱配置-测试连接.
-///
-[SuppressSniffer]
-public class EmailConfigActionsCheckMailInput : EmailConfigInfoOutput
-{
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Email/EmailConfigInfoOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Email/EmailConfigInfoOutput.cs
deleted file mode 100644
index cecc60c6..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Email/EmailConfigInfoOutput.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Email;
-
-///
-/// 获取邮箱配置.
-///
-[SuppressSniffer]
-public class EmailConfigInfoOutput
-{
- ///
- /// POP3服务地址.
- ///
- public string? pop3Host { get; set; }
-
- ///
- /// POP3端口.
- ///
- public string? pop3Port { get; set; }
-
- ///
- /// SMTP服务器地址.
- ///
- public string? smtpHost { get; set; }
-
- ///
- /// SMTP端口.
- ///
- public string? smtpPort { get; set; }
-
- ///
- /// 显示名称.
- ///
- public string? senderName { get; set; }
-
- ///
- /// 是否开户SSL登录(1-是,0否).
- ///
- public int? emailSsl { get; set; }
-
- ///
- /// 密码.
- ///
- public string? password { get; set; }
-
- ///
- /// 邮箱地址.
- ///
- public string? account { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Email/EmailConfigUpInput.cs b/extend/Tnb.Extend.Entitys/Dto/Email/EmailConfigUpInput.cs
deleted file mode 100644
index 6fd19fc6..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Email/EmailConfigUpInput.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Email;
-
-///
-/// 更新邮件配置.
-///
-[SuppressSniffer]
-public class EmailConfigUpInput
-{
- ///
- /// POP3服务地址.
- ///
- public string? pop3Host { get; set; }
-
- ///
- /// POP3端口.
- ///
- public string? pop3Port { get; set; }
-
- ///
- /// SMTP服务器地址.
- ///
- public string? smtpHost { get; set; }
-
- ///
- /// SMTP端口.
- ///
- public string? smtpPort { get; set; }
-
- ///
- /// 显示名称.
- ///
- public string? senderName { get; set; }
-
- ///
- /// 是否开户SSL登录(1-是,0否).
- ///
- public int? emailSsl { get; set; }
-
- ///
- /// 密码.
- ///
- public string? password { get; set; }
-
- ///
- /// 邮箱地址.
- ///
- public string? account { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Email/EmailHomeOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Email/EmailHomeOutput.cs
deleted file mode 100644
index bf6bc211..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Email/EmailHomeOutput.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Email;
-
-[SuppressSniffer]
-public class EmailHomeOutput
-{
- ///
- /// ID.
- ///
- public string? id { get; set; }
-
- ///
- /// 标题.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 创建时间.
- ///
- public DateTime? creatorTime { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Email/EmailInfoOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Email/EmailInfoOutput.cs
deleted file mode 100644
index fe8b2d29..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Email/EmailInfoOutput.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Email;
-
-///
-/// 获取邮件信息.
-///
-[SuppressSniffer]
-public class EmailInfoOutput
-{
- ///
- /// 邮件主题.
- ///
- public string? subject { get; set; }
-
- ///
- /// 发件人姓名.
- ///
- public string? senderName { get; set; }
-
- ///
- /// 发件人邮箱.
- ///
- public string? sender { get; set; }
-
- ///
- /// 时间.
- ///
- public DateTime? fdate { get; set; }
-
- ///
- /// 收件人.
- ///
- public string? mAccount { get; set; }
-
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 附件对象.
- ///
- public string? attachment { get; set; }
-
- ///
- /// 邮件内容.
- ///
- public string? bodyText { get; set; }
-
- ///
- /// 抄送人.
- ///
- public string? cC { get; set; }
-
- ///
- /// 密送人.
- ///
- public string? bCC { get; set; }
-
- ///
- /// 收件人.
- ///
- public string? recipient { get; set; }
-
- ///
- /// 创建时间.
- ///
- public DateTime? creatorTime { get; set; }
-}
-
diff --git a/extend/Tnb.Extend.Entitys/Dto/Email/EmailListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Email/EmailListOutput.cs
deleted file mode 100644
index d6488c5a..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Email/EmailListOutput.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Email;
-
-///
-/// (带分页)获取邮件列表(收件箱、标星件、草稿箱、已发送).
-///
-[SuppressSniffer]
-public class EmailListOutput
-{
- ///
- /// 是否已读(1-已读,0-未) inBox,star.
- ///
- public int? isRead { get; set; }
-
- ///
- /// 时间 inBox,star.
- ///
- public DateTime? fdate { get; set; }
-
- ///
- /// 主键ID.
- ///
- public string? id { get; set; }
-
- ///
- /// 主题.
- ///
- public string? subject { get; set; }
-
- ///
- /// 是否标星(1-是,0-否)inBox,star.
- ///
- public int? starred { get; set; }
-
- ///
- /// 附件.
- ///
- public string? attachment { get; set; }
-
- ///
- /// 发件人 inBox,star.
- ///
- public string? sender { get; set; }
-
- ///
- /// 收件人 draft,sent.
- ///
- public string? recipient { get; set; }
-
- ///
- /// 创建时间.
- ///
- public DateTime? creatorTime { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Email/EmailListQuery.cs b/extend/Tnb.Extend.Entitys/Dto/Email/EmailListQuery.cs
deleted file mode 100644
index edf3ba7a..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Email/EmailListQuery.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-using JNPF.Common.Filter;
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Email
-{
- ///
- /// (带分页)获取邮件列表入参(收件箱、标星件、草稿箱、已发送).
- ///
- [SuppressSniffer]
- public class EmailListQuery : PageInputBase
- {
- ///
- /// 开始时间,时间戳.
- ///
- public long? startTime { get; set; }
-
- ///
- /// 结束时间,时间戳.
- ///
- public long? endTime { get; set; }
-
- ///
- /// 类型.
- ///
- public string? type { get; set; }
-
- }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Email/EmailSendInput.cs b/extend/Tnb.Extend.Entitys/Dto/Email/EmailSendInput.cs
deleted file mode 100644
index 8563fbeb..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Email/EmailSendInput.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Email
-{
- ///
- /// 发邮件.
- ///
- [SuppressSniffer]
- public class EmailSendInput
- {
- ///
- /// id.
- ///
- public string? id { get; set; }
-
- ///
- /// 主题.
- ///
- public string? subject { get; set; }
-
- ///
- /// 收件人.
- ///
- public string? recipient { get; set; }
-
- ///
- /// 正文.
- ///
- public string? bodyText { get; set; }
-
- ///
- /// 附件.
- ///
- public string? attachment { get; set; }
-
- ///
- /// 抄送人.
- ///
- public string? cc { get; set; }
-
- ///
- /// 密送人.
- ///
- public string? bcc { get; set; }
- }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Employee/EmployeeListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Employee/EmployeeListOutput.cs
deleted file mode 100644
index e0638289..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Employee/EmployeeListOutput.cs
+++ /dev/null
@@ -1,90 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Employee;
-
-///
-/// 获取职员列表(分页).
-///
-[SuppressSniffer]
-public class EmployeeListOutput
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 工号.
- ///
- public string? enCode { get; set; }
-
- ///
- /// 姓名.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 性别ID.
- ///
- public string? gender { get; set; }
-
- ///
- /// 部门.
- ///
- public string? departmentName { get; set; }
-
- ///
- /// 岗位.
- ///
- public string? positionName { get; set; }
-
- ///
- /// 用工性质.
- ///
- public string? workingNature { get; set; }
-
- ///
- /// 身份证.
- ///
- public string? idNumber { get; set; }
-
- ///
- /// 联系电话.
- ///
- public string? telephone { get; set; }
-
- ///
- /// 生日.
- ///
- public DateTime? birthday { get; set; }
-
- ///
- /// 参加工作时间.
- ///
- public DateTime? attendWorkTime { get; set; }
-
- ///
- /// 学历.
- ///
- public string? education { get; set; }
-
- ///
- /// 所学专业.
- ///
- public string? major { get; set; }
-
- ///
- /// 毕业院校.
- ///
- public string? graduationAcademy { get; set; }
-
- ///
- /// 毕业时间.
- ///
- public DateTime? graduationTime { get; set; }
-
- ///
- /// 创建时间.
- ///
- public DateTime? creatorTime { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Employee/EmployeeListQuery.cs b/extend/Tnb.Extend.Entitys/Dto/Employee/EmployeeListQuery.cs
deleted file mode 100644
index af359a1c..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Employee/EmployeeListQuery.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using JNPF.Common.Filter;
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Employee;
-
-///
-/// 获取职员列表(分页).
-///
-[SuppressSniffer]
-public class EmployeeListQuery : PageInputBase
-{
- ///
- /// 查询内容.
- ///
- public string? condition { get; set; }
-
- ///
- /// 查询字段.
- ///
- public string? selectKey { get; set; }
-
- ///
- /// 是否分页(0:分页).
- ///
- public string? dataType { get; set; }
-
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Employee/ImportDataInput.cs b/extend/Tnb.Extend.Entitys/Dto/Employee/ImportDataInput.cs
deleted file mode 100644
index 0dd4344d..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Employee/ImportDataInput.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Employee;
-
-[SuppressSniffer]
-public class ImportDataInput
-{
- ///
- /// 导入数据.
- ///
- public List? list { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Employee/ImportDataOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Employee/ImportDataOutput.cs
deleted file mode 100644
index ac331192..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Employee/ImportDataOutput.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Employee;
-
-[SuppressSniffer]
-public class ImportDataOutput
-{
- ///
- /// 导入失败信息.
- ///
- public List failResult { get; set; } = new List();
-
- ///
- /// 失败条数.
- ///
- public int fnum { get; set; }
-
- ///
- /// 导入是否成功(0:成功).
- ///
- public int resultType { get; set; }
-
- ///
- /// 成功条数.
- ///
- public int snum { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Order/OrderActionsNextOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Order/OrderActionsNextOutput.cs
deleted file mode 100644
index 013e1221..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Order/OrderActionsNextOutput.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Order;
-
-///
-/// 获取订单信息(下一个订单).
-///
-[SuppressSniffer]
-public class OrderActionsNextOutput : OrderInfoOutput
-{
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Order/OrderActionsPrevOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Order/OrderActionsPrevOutput.cs
deleted file mode 100644
index 28acd06b..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Order/OrderActionsPrevOutput.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Order;
-
-///
-/// 获取订单信息(上一个订单).
-///
-[SuppressSniffer]
-public class OrderActionsPrevOutput : OrderInfoOutput
-{
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Order/OrderCollectionPlanOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Order/OrderCollectionPlanOutput.cs
deleted file mode 100644
index d5c97fe3..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Order/OrderCollectionPlanOutput.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Order;
-
-///
-/// 获取订单列表-收款计划.
-///
-[SuppressSniffer]
-public class OrderCollectionPlanOutput
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 收款日期.
- ///
- public DateTime? receivableDate { get; set; }
-
- ///
- /// 收款比率.
- ///
- public decimal? receivableRate { get; set; }
-
- ///
- /// 收款金额.
- ///
- public string? receivableMoney { get; set; }
-
- ///
- /// 收款方式.
- ///
- public string? receivableMode { get; set; }
-
- ///
- /// 备注.
- ///
- public string? description { get; set; }
-
- ///
- /// 收款摘要.
- ///
- public string? fabstract { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Order/OrderCrInput.cs b/extend/Tnb.Extend.Entitys/Dto/Order/OrderCrInput.cs
deleted file mode 100644
index 934e4dfa..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Order/OrderCrInput.cs
+++ /dev/null
@@ -1,312 +0,0 @@
-using JNPF.Common.Models.WorkFlow;
-using JNPF.DependencyInjection;
-using Newtonsoft.Json;
-
-namespace JNPF.Extend.Entitys.Dto.Order;
-
-///
-/// 新建订单.
-///
-[SuppressSniffer]
-public class OrderCrInput: FlowTaskOtherModel
-{
- ///
- /// 客户名称.
- ///
- public string? customerName { get; set; }
-
- ///
- /// 业务人员id.
- ///
- public string? salesmanId { get; set; }
-
- ///
- /// 订单日期.
- ///
- public DateTime? orderDate { get; set; }
-
- ///
- /// 订单编码.
- ///
- public string? orderCode { get; set; }
-
- ///
- /// 付款方式.
- ///
- public string? paymentMode { get; set; }
-
- ///
- /// 付款金额.
- ///
- public decimal? receivableMoney { get; set; }
-
- ///
- /// 定金比率.
- ///
- public decimal? earnestRate { get; set; }
-
- ///
- /// 预付定金.
- ///
- public decimal? prepayEarnest { get; set; }
-
- ///
- /// 运输方式.
- ///
- public string? transportMode { get; set; }
-
- ///
- /// 发货日期.
- ///
- public DateTime? deliveryDate { get; set; }
-
- ///
- /// 发货地址.
- ///
- public string? deliveryAddress { get; set; }
-
- ///
- /// 相关附近.
- ///
- public string? fileJson { get; set; }
-
- ///
- /// 客户ID.
- ///
- public string? customerId { get; set; }
-
- ///
- /// 业务人员名字.
- ///
- public string? salesmanName { get; set; }
-
- ///
- ///备注.
- ///
- public string? description { get; set; }
-
- ///
- /// 主键.
- ///
- public string? id { get; set; }
-
- ///
- /// 状态.
- ///
- public int? status { get; set; }
-
- ///
- /// 紧急程度.
- ///
- public int? flowUrgent { get; set; } = 1;
-
- ///
- /// 商品列表.
- ///
- public List? goodsList { get; set; }
-
- ///
- /// 收款计划列表.
- ///
- public List? collectionPlanList { get; set; }
-}
-
-///
-/// 订单明细.
-///
-public class OrderInfo
-{
- ///
- /// 客户名称.
- ///
- public string? customerName { get; set; }
-
- ///
- /// 业务人员id.
- ///
- public string? salesmanId { get; set; }
-
- ///
- /// 订单日期.
- ///
- public DateTime? orderDate { get; set; }
-
- ///
- /// 订单编码.
- ///
- public string? orderCode { get; set; }
-
- ///
- /// 付款方式.
- ///
- public string? paymentMode { get; set; }
-
- ///
- /// 付款金额.
- ///
- public decimal? receivableMoney { get; set; }
-
- ///
- /// 定金比率.
- ///
- public string? earnestRate { get; set; }
-
- ///
- /// 预付定金.
- ///
- public string? prepayEarnest { get; set; }
-
- ///
- /// 运输方式.
- ///
- public string? transportMode { get; set; }
-
- ///
- /// 发货日期.
- ///
- public DateTime? deliveryDate { get; set; }
-
- ///
- /// 发货地址.
- ///
- public string? deliveryAddress { get; set; }
-
- ///
- /// 相关附近.
- ///
- public string? fileJson { get; set; }
-
- ///
- /// 客户ID.
- ///
- public string? customerId { get; set; }
-
- ///
- /// 业务人员名字.
- ///
- public string? salesmanName { get; set; }
-
- ///
- /// 备注.
- ///
- public string? description { get; set; }
-
- ///
- /// id.
- ///
- public string? id { get; set; }
-
- ///
- /// 候选人.
- ///
- public Dictionary> candidateList { get; set; }
-
- ///
- /// 选择分支.
- ///
- public List branchList { get; set; } = new List();
-
- ///
- /// 异常审批人.
- ///
- public Dictionary> errorRuleUserList { get; set; } = new Dictionary>();
-}
-
-///
-/// 商品明细.
-///
-public class GoodsList
-{
- ///
- /// 商品id.
- ///
- public string? goodsId { get; set; }
-
- ///
- /// 商品名称.
- ///
- public string? goodsName { get; set; }
-
- ///
- /// 规格型号.
- ///
- public string? specifications { get; set; }
-
- ///
- /// 单位.
- ///
- public string? unit { get; set; }
-
- ///
- /// 数量.
- ///
- public decimal? qty { get; set; }
-
- ///
- /// 单价.
- ///
- public string? price { get; set; }
-
- ///
- /// 金额.
- ///
- public string? amount { get; set; }
-
- ///
- /// 折扣.
- ///
- public decimal? discount { get; set; }
-
- ///
- /// 税率.
- ///
- public decimal? cess { get; set; }
-
- ///
- /// 实际单价.
- ///
- public string? actualPrice { get; set; }
-
- ///
- /// 实际金额.
- ///
- public string? actualAmount { get; set; }
-
- ///
- /// 备注.
- ///
- public string? description { get; set; }
-}
-
-///
-/// 收款明细.
-///
-[SuppressSniffer]
-public class CollectionPlanList
-{
- ///
- /// 收款日期.
- ///
- public DateTime? receivableDate { get; set; }
-
- ///
- /// 收款比率.
- ///
- public decimal? receivableRate { get; set; }
-
- ///
- /// 收款金额.
- ///
- public string? receivableMoney { get; set; }
-
- ///
- /// 收款方式.
- ///
- public string? receivableMode { get; set; }
-
- ///
- /// 收款摘要.
- ///
- [JsonProperty("abstract")]
- public string? abstracts { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Order/OrderCustomerOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Order/OrderCustomerOutput.cs
deleted file mode 100644
index 1674e142..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Order/OrderCustomerOutput.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Order;
-
-///
-/// 获取客户列表.
-///
-[SuppressSniffer]
-public class OrderCustomerOutput
-{
- ///
- /// 主键ID.
- ///
- public string? id { get; set; }
-
- ///
- /// 企业名称.
- ///
- public string? text { get; set; }
-
- ///
- /// 编码.
- ///
- public string? code { get; set; }
-
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Order/OrderGoodsOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Order/OrderGoodsOutput.cs
deleted file mode 100644
index 74542fbc..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Order/OrderGoodsOutput.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Order;
-
-///
-/// 获取商品列表.
-///
-[SuppressSniffer]
-public class OrderGoodsOutput
-{
- ///
- /// 主键ID.
- ///
- public string? id { get; set; }
-
- ///
- /// 商品名称.
- ///
- public string? text { get; set; }
-
- ///
- /// 商品编码.
- ///
- public string? code { get; set; }
-
- ///
- /// 规格型号.
- ///
- public string? specifications { get; set; }
-
- ///
- /// 单位.
- ///
- public string? unit { get; set; }
-
- ///
- /// 售价.
- ///
- public double price { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Order/OrderInfoOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Order/OrderInfoOutput.cs
deleted file mode 100644
index c5f834cc..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Order/OrderInfoOutput.cs
+++ /dev/null
@@ -1,126 +0,0 @@
-using JNPF.DependencyInjection;
-using JNPF.Extend.Entitys.Model;
-
-namespace JNPF.Extend.Entitys.Dto.Order;
-
-///
-/// 获取/查看订单信息.
-///
-[SuppressSniffer]
-public class OrderInfoOutput
-{
- ///
- /// 创建时间.
- ///
- public DateTime? creatorTime { get; set; }
-
- ///
- /// 创建人.
- ///
- public string? creatorUserId { get; set; }
-
- ///
- /// 客户id.
- ///
- public string? customerId { get; set; }
-
- ///
- /// 客户名.
- ///
- public string? customerName { get; set; }
-
- ///
- /// 交易地点.
- ///
- public string? deliveryAddress { get; set; }
-
- ///
- /// 交易时间.
- ///
- public DateTime? deliveryDate { get; set; }
-
- ///
- /// 备注.
- ///
- public string? description { get; set; }
-
- ///
- /// 定金比率.
- ///
- public string? earnestRate { get; set; }
-
- ///
- /// 状态.
- ///
- public int? enabledMark { get; set; }
-
- ///
- /// 相关附件.
- ///
- public string? fileJson { get; set; }
-
- ///
- /// id.
- ///
- public string? id { get; set; }
-
- ///
- /// 修改时间.
- ///
- public DateTime? lastModifyTime { get; set; }
-
- ///
- /// 修改人.
- ///
- public string? lastModifyUserId { get; set; }
-
- ///
- /// 订单编码.
- ///
- public string? orderCode { get; set; }
-
- ///
- /// 订单日期.
- ///
- public DateTime? orderDate { get; set; }
-
- ///
- /// 付款方式.
- ///
- public string? paymentMode { get; set; }
-
- ///
- /// 预付定金.
- ///
- public string? prepayEarnest { get; set; }
-
- ///
- /// 付款金额.
- ///
- public decimal? receivableMoney { get; set; }
-
- ///
- /// 业务人id.
- ///
- public string? salesmanId { get; set; }
-
- ///
- /// 业务人名.
- ///
- public string? salesmanName { get; set; }
-
- ///
- /// 运输方式.
- ///
- public string? transportMode { get; set; }
-
- ///
- /// 订单商品.
- ///
- public List? goodsList { get; set; }
-
- ///
- /// 收款计划.
- ///
- public List? collectionPlanList { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Order/OrderItemsOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Order/OrderItemsOutput.cs
deleted file mode 100644
index 6490db3f..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Order/OrderItemsOutput.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Order;
-
-///
-/// 获取订单列表-订单商品.
-///
-[SuppressSniffer]
-public class OrderItemsOutput
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 商品名称.
- ///
- public string? goodsName { get; set; }
-
- ///
- /// 规格型号.
- ///
- public string? specifications { get; set; }
-
- ///
- /// 单位.
- ///
- public string? unit { get; set; }
-
- ///
- /// 数量.
- ///
- public decimal? qty { get; set; }
-
- ///
- /// 单价.
- ///
- public decimal? price { get; set; }
-
- ///
- /// 金额.
- ///
- public decimal? amount { get; set; }
-
- ///
- /// 折扣.
- ///
- public decimal? discount { get; set; }
-
- ///
- /// 税率.
- ///
- public decimal? cess { get; set; }
-
- ///
- /// 实际单价.
- ///
- public decimal? actualPrice { get; set; }
-
- ///
- /// 实际金额.
- ///
- public decimal? actualAmount { get; set; }
-
- ///
- /// 备注.
- ///
- public string? description { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Order/OrderListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Order/OrderListOutput.cs
deleted file mode 100644
index 39ba8ace..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Order/OrderListOutput.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Order;
-
-///
-/// 获取订单列表(带分页).
-///
-[SuppressSniffer]
-public class OrderListOutput
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 订单编码.
- ///
- public string? orderCode { get; set; }
-
- ///
- /// 订单日期.
- ///
- public DateTime? orderDate { get; set; }
-
- ///
- /// 客户名称.
- ///
- public string? customerName { get; set; }
-
- ///
- /// 业务人员.
- ///
- public string? salesmanName { get; set; }
-
- ///
- /// 付款金额.
- ///
- public decimal? receivableMoney { get; set; }
-
- ///
- /// 制单人员.
- ///
- public string? creatorUser { get; set; }
-
- ///
- /// 备注.
- ///
- public string? description { get; set; }
-
- ///
- /// 状态.
- ///
- public int? currentState { get; set; }
-
- ///
- /// 创建人.
- ///
- public string? creatorUserId { get; set; }
-
- ///
- /// 创建时间.
- ///
- public DateTime? creatorTime { get; set; }
-
- ///
- /// 修改时间.
- ///
- public DateTime? lastModifyTime { get; set; }
-
- ///
- /// 排序码.
- ///
- public long? sortCode { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Order/OrderListQuery.cs b/extend/Tnb.Extend.Entitys/Dto/Order/OrderListQuery.cs
deleted file mode 100644
index 939f4362..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Order/OrderListQuery.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using JNPF.Common.Filter;
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Order;
-
-///
-/// 获取订单列表入参(带分页).
-///
-[SuppressSniffer]
-public class OrderListQuery : PageInputBase
-{
- ///
- /// 开始时间.
- ///
- public long? startTime { get; set; }
-
- ///
- /// 结束时间.
- ///
- public long? endTime { get; set; }
-
- ///
- /// 状态.
- ///
- public int? enabledMark { get; set; }
-
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Order/OrderUpInput.cs b/extend/Tnb.Extend.Entitys/Dto/Order/OrderUpInput.cs
deleted file mode 100644
index 2cfd33a0..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Order/OrderUpInput.cs
+++ /dev/null
@@ -1,144 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Order;
-
-///
-/// 修改订单.
-///
-[SuppressSniffer]
-public class OrderUpInput
-{
- ///
- /// 客户名称.
- ///
- public string? customerName { get; set; }
-
- ///
- /// 业务人员id.
- ///
- public string? salesmanId { get; set; }
-
- ///
- /// 订单日期.
- ///
- public DateTime? orderDate { get; set; }
-
- ///
- /// 订单编码.
- ///
- public string? orderCode { get; set; }
-
- ///
- /// 付款方式.
- ///
- public string? paymentMode { get; set; }
-
- ///
- /// 付款金额.
- ///
- public decimal? receivableMoney { get; set; }
-
- ///
- /// 定金比率.
- ///
- public decimal? earnestRate { get; set; }
-
- ///
- /// 预付定金.
- ///
- public decimal? prepayEarnest { get; set; }
-
- ///
- /// 运输方式.
- ///
- public string? transportMode { get; set; }
-
- ///
- /// 发货日期.
- ///
- public DateTime? deliveryDate { get; set; }
-
- ///
- /// 发货地址.
- ///
- public string? deliveryAddress { get; set; }
-
- ///
- /// 相关附近.
- ///
- public string? fileJson { get; set; }
-
- ///
- /// 客户ID.
- ///
- public string? customerId { get; set; }
-
- ///
- /// 业务人员名字.
- ///
- public string? salesmanName { get; set; }
-
- ///
- /// 备注.
- ///
- public string? description { get; set; }
-
- ///
- /// id.
- ///
- public string? id { get; set; }
-
- ///
- /// 状态.
- ///
- public string? status { get; set; }
-
- ///
- /// 紧急程度.
- ///
- public int? flowUrgent { get; set; } = 1;
-
- ///
- /// 商品列表.
- ///
- public List? goodsList { get; set; }
-
- ///
- /// 收款计划列表.
- ///
- public List? collectionPlanList { get; set; }
-}
-
-///
-/// 商品列表.
-///
-[SuppressSniffer]
-public class GoodsListUp : GoodsList
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 商品id.
- ///
- public string? orderId { get; set; }
-}
-
-///
-/// 收款计划列表.
-///
-[SuppressSniffer]
-public class CollectionPlanListUp : CollectionPlanList
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 商品id.
- ///
- public string? orderId { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Product/ProductCrInput.cs b/extend/Tnb.Extend.Entitys/Dto/Product/ProductCrInput.cs
deleted file mode 100644
index 01038191..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Product/ProductCrInput.cs
+++ /dev/null
@@ -1,111 +0,0 @@
-using JNPF.DependencyInjection;
-using JNPF.Extend.Entitys.Dto.ProductEntry;
-
-namespace JNPF.Extend.Entitys.Dto.Product;
-
-///
-/// 新建销售订单.
-///
-[SuppressSniffer]
-public class ProductCrInput
-{
- ///
- /// 订单编号.
- ///
- public string code { get; set; }
-
- ///
- /// 客户id.
- ///
- public string customerId { get; set; }
-
- ///
- /// 客户名称.
- ///
- public string customerName { get; set; }
-
- ///
- /// 审核人.
- ///
- public string auditName { get; set; }
-
- ///
- /// 审核日期.
- ///
- public DateTime? auditDate { get; set; }
-
- ///
- /// 发货仓库.
- ///
- public string goodsWarehouse { get; set; }
-
- ///
- /// 发货通知时间.
- ///
- public DateTime? goodsDate { get; set; }
-
- ///
- /// 发货通知人.
- ///
- public string goodsName { get; set; }
-
- ///
- /// 收款方式.
- ///
- public string gatheringType { get; set; }
-
- ///
- /// 业务员.
- ///
- public string business { get; set; }
-
- ///
- /// 送货地址.
- ///
- public string address { get; set; }
-
- ///
- /// 联系方式.
- ///
- public string contactTel { get; set; }
-
- ///
- /// 收货消息.
- ///
- public int harvestMsg { get; set; }
-
- ///
- /// 收货仓库.
- ///
- public string harvestWarehouse { get; set; }
-
- ///
- /// 代发客户.
- ///
- public string issuingName { get; set; }
-
- ///
- /// 让利金额.
- ///
- public decimal? partPrice { get; set; }
-
- ///
- /// 优惠金额.
- ///
- public decimal? reducedPrice { get; set; }
-
- ///
- /// 折后金额.
- ///
- public decimal? discountPrice { get; set; }
-
- ///
- /// 备注.
- ///
- public string description { get; set; }
-
- ///
- /// 子表数据.
- ///
- public List productEntryList { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Dto/Product/ProductInfoOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Product/ProductInfoOutput.cs
deleted file mode 100644
index 1976c821..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Product/ProductInfoOutput.cs
+++ /dev/null
@@ -1,116 +0,0 @@
-using JNPF.DependencyInjection;
-using JNPF.Extend.Entitys.Dto.ProductEntry;
-
-namespace JNPF.Extend.Entitys.Dto.Product;
-
-///
-/// 销售订单信息.
-///
-[SuppressSniffer]
-public class ProductInfoOutput
-{
- ///
- /// 主键.
- ///
- public string id { get; set; }
-
- ///
- /// 订单编号.
- ///
- public string code { get; set; }
-
- ///
- /// 客户id.
- ///
- public string customerId { get; set; }
-
- ///
- /// 客户名称.
- ///
- public string customerName { get; set; }
-
- ///
- /// 审核人.
- ///
- public string auditName { get; set; }
-
- ///
- /// 审核日期.
- ///
- public DateTime? auditDate { get; set; }
-
- ///
- /// 发货仓库.
- ///
- public string goodsWarehouse { get; set; }
-
- ///
- /// 发货通知时间.
- ///
- public DateTime? goodsDate { get; set; }
-
- ///
- /// 发货通知人.
- ///
- public string goodsName { get; set; }
-
- ///
- /// 收款方式.
- ///
- public string gatheringType { get; set; }
-
- ///
- /// 业务员.
- ///
- public string business { get; set; }
-
- ///
- /// 送货地址.
- ///
- public string address { get; set; }
-
- ///
- /// 联系方式.
- ///
- public string contactTel { get; set; }
-
- ///
- /// 收货消息.
- ///
- public int harvestMsg { get; set; }
-
- ///
- /// 收货仓库.
- ///
- public string harvestWarehouse { get; set; }
-
- ///
- /// 代发客户.
- ///
- public string issuingName { get; set; }
-
- ///
- /// 让利金额.
- ///
- public decimal? partPrice { get; set; }
-
- ///
- /// 优惠金额.
- ///
- public decimal? reducedPrice { get; set; }
-
- ///
- /// 折后金额.
- ///
- public decimal? discountPrice { get; set; }
-
- ///
- /// 备注.
- ///
- public string description { get; set; }
-
- ///
- /// 子表数据.
- ///
- public List productEntryList;
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Dto/Product/ProductListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Product/ProductListOutput.cs
deleted file mode 100644
index 0dc6fa52..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Product/ProductListOutput.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Product;
-
-///
-/// 销售订单列表.
-///
-[SuppressSniffer]
-public class ProductListOutput
-{
- ///
- /// 主键.
- ///
- public string id { get; set; }
-
- ///
- /// 订单编号.
- ///
- public string code { get; set; }
-
- ///
- /// 客户名称.
- ///
- public string customerName { get; set; }
-
- ///
- /// 业务员.
- ///
- public string business { get; set; }
-
- ///
- /// 送货地址
- ///
- public string address { get; set; }
-
- ///
- /// 联系方式.
- ///
- public string contactTel { get; set; }
-
- ///
- /// 制单人.
- ///
- public string salesmanName { get; set; }
-
- ///
- /// 审核状态.
- ///
- public int auditState { get; set; }
-
- ///
- /// 发货状态.
- ///
- public int goodsState { get; set; }
-
- ///
- /// 关闭状态.
- ///
- public int closeState { get; set; }
-
- ///
- /// 关闭日期.
- ///
- public DateTime? closeDate { get; set; }
-
- ///
- /// 联系人.
- ///
- public string contactName { get; set; }
-
- ///
- /// 子表数据.
- ///
- public List productEntryList { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Dto/Product/ProductListQueryInput.cs b/extend/Tnb.Extend.Entitys/Dto/Product/ProductListQueryInput.cs
deleted file mode 100644
index 6e8561c7..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Product/ProductListQueryInput.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using JNPF.Common.Filter;
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Product;
-
-///
-/// 销售订单列表.
-///
-[SuppressSniffer]
-public class ProductListQueryInput : PageInputBase
-{
- ///
- /// 订单编号.
- ///
- public string code { get; set; }
-
- ///
- /// 客户名称.
- ///
- public string customerName { get; set; }
-
- ///
- /// 联系方式.
- ///
- public string contactTel { get; set; }
-
- ///
- /// 审核状态.
- ///
- public string auditState { get; set; }
-
- ///
- /// 关闭状态.
- ///
- public string closeState { get; set; }
-
- ///
- /// 制单人.
- ///
- public string creatorUser { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Dto/Product/ProductUpInput.cs b/extend/Tnb.Extend.Entitys/Dto/Product/ProductUpInput.cs
deleted file mode 100644
index 447000af..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Product/ProductUpInput.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Product;
-
-///
-/// 订单示例更新输入.
-///
-[SuppressSniffer]
-public class ProductUpInput : ProductCrInput
-{
- ///
- /// .
- ///
- public string id { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProductClassify/ProductClassifyCrInput.cs b/extend/Tnb.Extend.Entitys/Dto/ProductClassify/ProductClassifyCrInput.cs
deleted file mode 100644
index 693b5643..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProductClassify/ProductClassifyCrInput.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProductClassify;
-
-///
-/// 产品分类.
-///
-[SuppressSniffer]
-public class ProductClassifyCrInput
-{
- ///
- /// 名称.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 上级.
- ///
- public string? parentId { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProductClassify/ProductClassifyInfoOutput.cs b/extend/Tnb.Extend.Entitys/Dto/ProductClassify/ProductClassifyInfoOutput.cs
deleted file mode 100644
index 62c6e8d1..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProductClassify/ProductClassifyInfoOutput.cs
+++ /dev/null
@@ -1,25 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProductClassify;
-
-///
-/// 产品分类.
-///
-[SuppressSniffer]
-public class ProductClassifyInfoOutput
-{
- ///
- /// 自然主键.
- ///
- public string id { get; set; }
-
- ///
- /// 名称.
- ///
- public string fullName { get; set; }
-
- ///
- /// 上级.
- ///
- public string parentId { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProductClassify/ProductClassifyTreeOutput.cs b/extend/Tnb.Extend.Entitys/Dto/ProductClassify/ProductClassifyTreeOutput.cs
deleted file mode 100644
index 5fb2a941..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProductClassify/ProductClassifyTreeOutput.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using JNPF.Common.Security;
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProductClassify;
-
-///
-/// 产品分类.
-///
-[SuppressSniffer]
-public class ProductClassifyTreeOutput : TreeModel
-{
- ///
- /// 名称.
- ///
- ///
- public string fullName { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProductClassify/ProductClassifyUpInput.cs b/extend/Tnb.Extend.Entitys/Dto/ProductClassify/ProductClassifyUpInput.cs
deleted file mode 100644
index 4db3889b..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProductClassify/ProductClassifyUpInput.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProductClassify;
-
-///
-/// 产品分类.
-///
-[SuppressSniffer]
-public class ProductClassifyUpInput : ProductClassifyCrInput
-{
- public string id { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProductCustomer/ProductCustomerListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/ProductCustomer/ProductCustomerListOutput.cs
deleted file mode 100644
index 21aa8fdc..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProductCustomer/ProductCustomerListOutput.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using JNPF.DependencyInjection;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys.Dto.Customer;
-
-///
-/// 客户信息.
-///
-[SuppressSniffer]
-public class ProductCustomerListOutput
-{
- ///
- /// 主键.
- ///
- public string id { get; set; }
-
- ///
- /// 客户编号.
- ///
- public string code { get; set; }
-
- ///
- /// 客户名称.
- ///
- public string customerName { get; set; }
-
- ///
- /// 地址.
- ///
- public string address { get; set; }
-
- ///
- /// 名称.
- ///
- public string name { get; set; }
-
- ///
- /// 联系方式.
- ///
- public string contactTel { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProductEntry/ProductEntryCrInput.cs b/extend/Tnb.Extend.Entitys/Dto/ProductEntry/ProductEntryCrInput.cs
deleted file mode 100644
index a9462b1f..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProductEntry/ProductEntryCrInput.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProductEntry;
-
-///
-/// 新建产品明细.
-///
-[SuppressSniffer]
-public class ProductEntryCrInput
-{
- ///
- /// 主键.
- ///
- public string? id { get; set; }
-
- ///
- /// 产品编号.
- ///
- public string productCode { get; set; }
-
- ///
- /// 产品名称.
- ///
- public string productName { get; set; }
-
- ///
- /// 产品规格.
- ///
- public string productSpecification { get; set; }
-
- ///
- /// 数量.
- ///
- public int qty { get; set; }
-
- ///
- /// 订货类型.
- ///
- public string type { get; set; }
-
- ///
- /// 单价.
- ///
- public decimal money { get; set; }
-
- ///
- /// 折后单价.
- ///
- public decimal price { get; set; }
-
- ///
- /// 金额.
- ///
- public decimal amount { get; set; }
-
- ///
- /// 备注.
- ///
- public string description { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProductEntry/ProductEntryInfoOutput.cs b/extend/Tnb.Extend.Entitys/Dto/ProductEntry/ProductEntryInfoOutput.cs
deleted file mode 100644
index 810e75c6..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProductEntry/ProductEntryInfoOutput.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProductEntry;
-
-///
-/// 销售订单信息.
-///
-[SuppressSniffer]
-public class ProductEntryInfoOutput
-{
- ///
- /// 主键.
- ///
- public string id { get; set; }
-
- ///
- /// 产品编号.
- ///
- public string productCode { get; set; }
-
- ///
- /// 产品名称.
- ///
- public string productName { get; set; }
-
- ///
- /// 产品规格.
- ///
- public string productSpecification { get; set; }
-
- ///
- /// 数量.
- ///
- public int qty { get; set; }
-
- ///
- /// 订货类型.
- ///
- public string type { get; set; }
-
- ///
- /// 单价.
- ///
- public decimal money { get; set; }
-
- ///
- /// 折后单价.
- ///
- public decimal price { get; set; }
-
- ///
- /// 金额.
- ///
- public decimal amount { get; set; }
-
- ///
- /// 备注.
- ///
- public string description { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProductEntry/ProductEntryListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/ProductEntry/ProductEntryListOutput.cs
deleted file mode 100644
index a87a5acc..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProductEntry/ProductEntryListOutput.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using JNPF.DependencyInjection;
-using JNPF.Extend.Entitys.Model;
-
-namespace JNPF.Extend.Entitys.Dto.ProductEntry;
-
-///
-///
-///
-[SuppressSniffer]
-public class ProductEntryListOutput
-{
- ///
- /// 产品编号.
- ///
- public string productCode { get; set; }
-
- ///
- /// 产品名称.
- ///
- public string productName { get; set; }
-
- ///
- /// 数量.
- ///
- public int qty { get; set; }
-
- ///
- /// 订货类型.
- ///
- public string type { get; set; }
-
- ///
- /// 活动.
- ///
- public string activity { get; set; }
-
- ///
- /// 数据.
- ///
- public List dataList { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProductGoods/ProductGoodsListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/ProductGoods/ProductGoodsListOutput.cs
deleted file mode 100644
index 83266e20..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProductGoods/ProductGoodsListOutput.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProductGoods;
-
-///
-/// 产品列表.
-///
-[SuppressSniffer]
-public class ProductGoodsListOutput
-{
- ///
- /// 主键.
- ///
- public string id { get; set; }
-
- ///
- /// 分类主键.
- ///
- public string classifyId { get; set; }
-
- ///
- /// 订单编号.
- ///
- public string code { get; set; }
-
- ///
- /// 订单名称.
- ///
- public string fullName { get; set; }
-
- ///
- /// 订单名称.
- ///
- public int qty { get; set; }
-
- ///
- /// 订货类型.
- ///
- public string type { get; set; }
-
- ///
- /// 金额.
- ///
- public string amount { get; set; }
-
- ///
- /// 单价.
- ///
- public string money { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProductGoods/ProductGoodsListQueryInput.cs b/extend/Tnb.Extend.Entitys/Dto/ProductGoods/ProductGoodsListQueryInput.cs
deleted file mode 100644
index 24999ed2..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProductGoods/ProductGoodsListQueryInput.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using JNPF.Common.Filter;
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProductGoods;
-
-///
-/// 产品列表.
-///
-[SuppressSniffer]
-public class ProductGoodsListQueryInput : PageInputBase
-{
- ///
- /// 订单编号.
- ///
- public string code { get; set; }
-
- ///
- /// 产品名称.
- ///
- public string fullName { get; set; }
-
- ///
- /// 分类ID.
- ///
- public string classifyId { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttCrInput.cs b/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttCrInput.cs
deleted file mode 100644
index f68c33f3..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttCrInput.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProjectGantt;
-
-///
-/// 添加项目.
-///
-[SuppressSniffer]
-public class ProjectGanttCrInput
-{
- ///
- /// 项目编码.
- ///
- public string? enCode { get; set; }
-
- ///
- /// 项目状态(1-进行中,2-已暂停).
- ///
- public int? state { get; set; }
-
- ///
- /// 开始时间.
- ///
- public DateTime? startTime { get; set; }
-
- ///
- /// 完成进度.
- ///
- public double? schedule { get; set; }
-
- ///
- /// 项目工期.
- ///
- public int? timeLimit { get; set; }
-
- ///
- /// 项目名称.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 结束时间.
- ///
- public DateTime? endTime { get; set; }
-
- ///
- /// 参与人员.
- ///
- public string? managerIds { get; set; }
-
- ///
- /// 项目描述.
- ///
- public string? description { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttInfoOutput.cs b/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttInfoOutput.cs
deleted file mode 100644
index 8b79f465..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttInfoOutput.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProjectGantt;
-
-///
-/// 获取项目信息.
-///
-[SuppressSniffer]
-public class ProjectGanttInfoOutput : ProjectGanttUpInput
-{
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttListOutput.cs
deleted file mode 100644
index b48cf3fa..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttListOutput.cs
+++ /dev/null
@@ -1,77 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProjectGantt;
-
-///
-/// 获取项目管理列表(带分页).
-///
-[SuppressSniffer]
-public class ProjectGanttListOutput
-{
- ///
- /// 项目编码.
- ///
- public string? enCode { get; set; }
-
- ///
- /// 项目状态(1-进行中,2-已暂停).
- ///
- public int? state { get; set; }
-
- ///
- /// 开始时间.
- ///
- public DateTime? startTime { get; set; }
-
- ///
- /// 完成进度.
- ///
- public int? schedule { get; set; }
-
- ///
- /// 项目工期.
- ///
- public double timeLimit { get; set; }
-
- ///
- /// 项目名称.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 结束时间.
- ///
- public DateTime? endTime { get; set; }
-
- ///
- /// 参加人员.
- ///
- public string? managerIds { get; set; }
-
- ///
- /// 参加人员信息.
- ///
- public List managersInfo { get; set; } = new List();
-}
-
-///
-/// 参加人员信息.
-///
-public class ManagersInfo
-{
- ///
- /// 账号+名字.
- ///
- public string? account { get; set; }
-
- ///
- /// 用户头像.
- ///
- public string? headIcon { get; set; }
-}
-
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskCrInput.cs b/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskCrInput.cs
deleted file mode 100644
index 41241be9..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskCrInput.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProjectGantt;
-
-///
-/// 添加项目任务.
-///
-[SuppressSniffer]
-public class ProjectGanttTaskCrInput
-{
- ///
- /// 上级id.
- ///
- public string? parentId { get; set; }
-
- ///
- /// 开始时间.
- ///
- public DateTime? startTime { get; set; }
-
- ///
- /// 完成进度.
- ///
- public decimal? schedule { get; set; }
-
- ///
- /// 完成进度.
- ///
- public decimal? timeLimit { get; set; }
-
- ///
- /// 任务名称.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 结束时间.
- ///
- public DateTime? endTime { get; set; }
-
- ///
- /// 参与人员.
- ///
- public string? managerIds { get; set; }
-
- ///
- /// 标记颜色.
- ///
- public string? signColor { get; set; }
-
- ///
- /// 标记.
- ///
- public string? sign { get; set; }
-
- ///
- /// 项目id.
- ///
- public string? projectId { get; set; }
-
- ///
- /// 任务描述.
- ///
- public string? description { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskInfoOutput.cs b/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskInfoOutput.cs
deleted file mode 100644
index e36c39f5..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskInfoOutput.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProjectGantt;
-
-///
-/// 获取项目任务信息.
-///
-[SuppressSniffer]
-public class ProjectGanttTaskInfoOutput : ProjectGanttTaskUpInput
-{
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskListOutput.cs
deleted file mode 100644
index aa5c5009..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskListOutput.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using JNPF.Common.Security;
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProjectGantt;
-
-///
-/// 获取项目任务列表.
-///
-[SuppressSniffer]
-public class ProjectGanttTaskListOutput : TreeModel
-{
-
- ///
- /// 任务名称.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 标记.
- ///
- public string? sign { get; set; }
-
- ///
- /// 标记颜色.
- ///
- public string? signColor { get; set; }
-
- ///
- /// 开始时间.
- ///
- public DateTime? startTime { get; set; }
-
- ///
- /// 结束时间.
- ///
- public DateTime? endTime { get; set; }
-
- ///
- /// 完成进度.
- ///
- public int? schedule { get; set; }
-
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskTreeViewOutput.cs b/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskTreeViewOutput.cs
deleted file mode 100644
index 77e38edd..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskTreeViewOutput.cs
+++ /dev/null
@@ -1,46 +0,0 @@
-using JNPF.Common.Security;
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProjectGantt;
-
-///
-/// 获取项目任务树形.
-///
-[SuppressSniffer]
-public class ProjectGanttTaskTreeViewOutput : TreeModel
-{
- ///
- /// 结束时间.
- ///
- public DateTime? endTime { get; set; }
-
- ///
- /// 开始时间.
- ///
- public DateTime? startTime { get; set; }
-
- ///
- /// 项目名称.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 完成度.
- ///
- public int? schedule { get; set; }
-
- ///
- /// 项目id.
- ///
- public string? projectId { get; set; }
-
- ///
- /// 标记颜色.
- ///
- public string? signColor { get; set; }
-
- ///
- /// 标记.
- ///
- public string? sign { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskUpInput.cs b/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskUpInput.cs
deleted file mode 100644
index 8cae141f..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttTaskUpInput.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProjectGantt;
-
-///
-/// 修改项目任务.
-///
-[SuppressSniffer]
-public class ProjectGanttTaskUpInput : ProjectGanttTaskCrInput
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttUpInput.cs b/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttUpInput.cs
deleted file mode 100644
index 231d65de..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/ProjectGantt/ProjectGanttUpInput.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.ProjectGantt;
-
-///
-/// 修改项目.
-///
-[SuppressSniffer]
-public class ProjectGanttUpInput : ProjectGanttCrInput
-{
- ///
- /// 项目id.
- ///
- public string? id { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleCrInput.cs b/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleCrInput.cs
deleted file mode 100644
index 307a0936..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleCrInput.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Schedule;
-
-///
-/// 新建日程安排.
-///
-[SuppressSniffer]
-public class ScheduleCrInput
-{
- ///
- /// 开始时间.
- ///
- public DateTime? startTime { get; set; }
-
- ///
- /// 结束时间.
- ///
- public DateTime? endTime { get; set; }
-
- ///
- /// 日程内容.
- ///
- public string? content { get; set; }
-
- ///
- /// 微信提醒(1-提醒,0-不提醒).
- ///
- public int? weChatAlert { get; set; }
-
- ///
- /// 邮件提醒(1-提醒,0-不提醒).
- ///
- public int? mailAlert { get; set; }
-
- ///
- /// 短信提醒(1-提醒,0-不提醒).
- ///
- public int? mobileAlert { get; set; }
-
- ///
- /// APP提醒(1-提醒,0-不提醒).
- ///
- public int? appAlert { get; set; }
-
- ///
- /// 提醒设置.
- ///
- public int? early { get; set; }
-
- ///
- /// 日程颜色.
- ///
- public string? colour { get; set; }
-
- ///
- /// 颜色样式.
- ///
- public string? colourCss { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleInfoOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleInfoOutput.cs
deleted file mode 100644
index 9092361c..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleInfoOutput.cs
+++ /dev/null
@@ -1,65 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Schedule;
-
-///
-/// 获取日程安排信息.
-///
-[SuppressSniffer]
-public class ScheduleInfoOutput
-{
- ///
- /// APP提醒.
- ///
- public int? appAlert { get; set; }
-
- ///
- /// 日程颜色.
- ///
- public string? colour { get; set; }
-
- ///
- /// 颜色样式.
- ///
- public string? colourCss { get; set; }
-
- ///
- /// 日程内容.
- ///
- public string? content { get; set; }
-
- ///
- /// 提醒设置.
- ///
- public int? early { get; set; }
-
- ///
- /// 结束时间.
- ///
- public DateTime? endTime { get; set; }
-
- ///
- /// 日程主键.
- ///
- public string? id { get; set; }
-
- ///
- /// 邮件提醒.
- ///
- public int? mailAlert { get; set; }
-
- ///
- /// 短信提醒.
- ///
- public int? mobileAlert { get; set; }
-
- ///
- /// 开始时间.
- ///
- public DateTime? startTime { get; set; }
-
- ///
- /// 微信提醒.
- ///
- public int? weChatAlert { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleListOutput.cs
deleted file mode 100644
index e831ed0a..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleListOutput.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Schedule;
-
-///
-/// 获取日程安排列表.
-///
-[SuppressSniffer]
-public class ScheduleListOutput
-{
- ///
- /// 日程内容.
- ///
- public string? content { get; set; }
-
- ///
- /// 开始时间.
- ///
- public DateTime? startTime { get; set; }
-
- ///
- /// 结束时间.
- ///
- public DateTime? endTime { get; set; }
-
- ///
- /// 颜色.
- ///
- public string? colour { get; set; }
-
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleListQuery.cs b/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleListQuery.cs
deleted file mode 100644
index f53f753e..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleListQuery.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Schedule;
-
-///
-/// 获取日程安排列表入参.
-///
-[SuppressSniffer]
-public class ScheduleListQuery
-{
-
- ///
- /// 开始时间.
- ///
- public string? startTime { get; set; }
-
- ///
- /// 结束时间.
- ///
- public string? endTime { get; set; }
-
- ///
- /// 时间.
- ///
- public string? dateTime { get; set; }
-
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleUpInput.cs b/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleUpInput.cs
deleted file mode 100644
index c053f7e4..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/Schedule/ScheduleUpInput.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.Schedule;
-
-///
-/// 更新日程安排.
-///
-[SuppressSniffer]
-public class ScheduleUpInput : ScheduleCrInput
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleAllOutput.cs b/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleAllOutput.cs
deleted file mode 100644
index 3409c782..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleAllOutput.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.TableExample;
-
-///
-/// 获取表格分组列表.
-///
-[SuppressSniffer]
-public class TableExampleAllOutput
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 项目名称.
- ///
- public string? projectName { get; set; }
-
- ///
- /// 项目编码.
- ///
- public string? projectCode { get; set; }
-
- ///
- /// 项目类型名称.
- ///
- public string? projectType { get; set; }
-
- ///
- /// 项目阶段.
- ///
- public string? projectPhase { get; set; }
-
- ///
- /// 客户名称.
- ///
- public string? customerName { get; set; }
-
- ///
- /// 负责人.
- ///
- public string? principal { get; set; }
-
- ///
- /// 立项人.
- ///
- public string? jackStands { get; set; }
-
- ///
- /// 交付时间.
- ///
- public DateTime? interactionDate { get; set; }
-
- ///
- /// 费用金额.
- ///
- public decimal? costAmount { get; set; }
-
- ///
- /// 已用金额.
- ///
- public decimal? tunesAmount { get; set; }
-
- ///
- /// 预计收入.
- ///
- public decimal? projectedIncome { get; set; }
-
- ///
- /// 登记人.
- ///
- public string? registrant { get; set; }
-
- ///
- /// 登记时间.
- ///
- public DateTime? registerDate { get; set; }
-
- ///
- /// 备注.
- ///
- public string? description { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleCityListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleCityListOutput.cs
deleted file mode 100644
index dd81f75e..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleCityListOutput.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.TableExample;
-
-///
-/// 获取城市信息列表.
-///
-[SuppressSniffer]
-public class TableExampleCityListOutput
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 上级id.
- ///
- public string? parentId { get; set; }
-
- ///
- /// 名称.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 编码.
- ///
- public string? enCode { get; set; }
-
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleCrInput.cs b/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleCrInput.cs
deleted file mode 100644
index 54532d24..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleCrInput.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.TableExample;
-
-///
-/// 新建项目.
-///
-[SuppressSniffer]
-public class TableExampleCrInput
-{
- ///
- /// 项目名称.
- ///
- public string? projectName { get; set; }
-
- ///
- /// 项目编码.
- ///
- public string? projectCode { get; set; }
-
- ///
- /// 项目类型.
- ///
- public string? projectType { get; set; }
-
- ///
- /// 项目阶段.
- ///
- public string? projectPhase { get; set; }
-
- ///
- /// 客户名称.
- ///
- public string? customerName { get; set; }
-
- ///
- /// 负责人.
- ///
- public string? principal { get; set; }
-
- ///
- /// 立项人.
- ///
- public string? jackStands { get; set; }
-
- ///
- /// 交付日期.
- ///
- public DateTime? interactionDate { get; set; }
-
- ///
- /// 费用金额.
- ///
- public decimal? costAmount { get; set; }
-
- ///
- /// 已用金额.
- ///
- public decimal? tunesAmount { get; set; }
-
- ///
- /// 预计收入.
- ///
- public decimal? projectedIncome { get; set; }
-
- ///
- /// 描述.
- ///
- public string? description { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleIndustryListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleIndustryListOutput.cs
deleted file mode 100644
index 02574ff3..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleIndustryListOutput.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.TableExample;
-
-///
-/// 获取延伸扩展列表.
-///
-[SuppressSniffer]
-public class TableExampleIndustryListOutput
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 上级id.
- ///
- public string? parentId { get; set; }
-
- ///
- /// 名称.
- ///
- public string? fullName { get; set; }
-
- ///
- /// 编码.
- ///
- public string? enCode { get; set; }
-
- ///
- /// 是否为子集.
- ///
- public bool isLeaf { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleInfoOutput.cs b/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleInfoOutput.cs
deleted file mode 100644
index 98424f66..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleInfoOutput.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.TableExample;
-
-///
-/// 获取普通表格示例信息.
-///
-[SuppressSniffer]
-public class TableExampleInfoOutput : TableExampleUpInput
-{
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleListOutput.cs
deleted file mode 100644
index 1773638d..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleListOutput.cs
+++ /dev/null
@@ -1,101 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.TableExample;
-
-///
-/// 获取表格数据列表(带分页).
-///
-[SuppressSniffer]
-public class TableExampleListOutput
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-
- ///
- /// 项目名称.
- ///
- public string? projectName { get; set; }
-
- ///
- /// 项目编码.
- ///
- public string? projectCode { get; set; }
-
- ///
- /// 项目类型名称.
- ///
- public string? projectType { get; set; }
-
- ///
- /// 项目阶段.
- ///
- public string? projectPhase { get; set; }
-
- ///
- /// 客户名称.
- ///
- public string? customerName { get; set; }
-
- ///
- /// 负责人.
- ///
- public string? principal { get; set; }
-
- ///
- /// 立项人.
- ///
- public string? jackStands { get; set; }
-
- ///
- /// 交付时间.
- ///
- public DateTime? interactionDate { get; set; }
-
- ///
- /// 费用金额.
- ///
- public decimal? costAmount { get; set; }
-
- ///
- /// 已用金额.
- ///
- public decimal? tunesAmount { get; set; }
-
- ///
- /// 预计收入.
- ///
- public decimal? projectedIncome { get; set; }
-
- ///
- /// 登记人.
- ///
- public string? registrant { get; set; }
-
- ///
- /// 登记时间.
- ///
- public DateTime? registerDate { get; set; }
-
- ///
- /// 备注.
- ///
- public string? description { get; set; }
-
- ///
- /// 批注.
- ///
- public string? postilJson { get; set; }
-
- ///
- /// 标志.
- ///
- public string? sign { get; set; }
-
- ///
- /// 批注条数.
- ///
- public string? postilCount { get; set; }
-
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExamplePostilSendInput.cs b/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExamplePostilSendInput.cs
deleted file mode 100644
index c56a1dbb..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExamplePostilSendInput.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.TableExample;
-
-[SuppressSniffer]
-public class TableExamplePostilSendInput
-{
- ///
- /// 批注内容.
- ///
- public string? text { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleRowUpInput.cs b/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleRowUpInput.cs
deleted file mode 100644
index 0616e6b7..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleRowUpInput.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.TableExample;
-
-///
-/// 新建项目.
-///
-[SuppressSniffer]
-public class TableExampleRowUpInput
-{
- ///
- /// 项目名称.
- ///
- public string? projectName { get; set; }
-
- ///
- /// 项目编码.
- ///
- public string? projectCode { get; set; }
-
- ///
- /// 项目类型.
- ///
- public string? projectType { get; set; }
-
- ///
- /// 项目阶段.
- ///
- public string? projectPhase { get; set; }
-
- ///
- /// 客户名称.
- ///
- public string? customerName { get; set; }
-
- ///
- /// 负责人.
- ///
- public string? principal { get; set; }
-
- ///
- /// 立项人.
- ///
- public string? jackStands { get; set; }
-
- ///
- /// 交付日期.
- ///
- public DateTime? interactionDate { get; set; }
-
- ///
- /// 费用金额.
- ///
- public decimal? costAmount { get; set; }
-
- ///
- /// 已用金额.
- ///
- public decimal? tunesAmount { get; set; }
-
- ///
- /// 预计收入.
- ///
- public decimal? projectedIncome { get; set; }
-
- ///
- /// 描述.
- ///
- public string? description { get; set; }
-
- ///
- ///
- ///
- public string? oper { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleSignUpInput.cs b/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleSignUpInput.cs
deleted file mode 100644
index 5dcb6354..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleSignUpInput.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.TableExample;
-
-///
-/// 更新项目.
-///
-[SuppressSniffer]
-public class TableExampleSignUpInput
-{
- ///
- /// 主键id.
- ///
- public string? sign { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleTreeListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleTreeListOutput.cs
deleted file mode 100644
index ed2882df..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleTreeListOutput.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using JNPF.Common.Security;
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.TableExample;
-
-///
-/// 表格树形.
-///
-[SuppressSniffer]
-public class TableExampleTreeListOutput : TreeModel
-{
- ///
- ///
- ///
- public bool loaded { get; set; }
-
- ///
- ///
- ///
- public bool expanded { get; set; }
-
- ///
- ///
- ///
- public Dictionary ht { get; set; }
-
- ///
- ///
- ///
- public string? text { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleUpInput.cs b/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleUpInput.cs
deleted file mode 100644
index f0a88c58..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/TableExample/TableExampleUpInput.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.TableExample;
-
-///
-/// 更新项目.
-///
-[SuppressSniffer]
-public class TableExampleUpInput : TableExampleCrInput
-{
- ///
- /// 主键id.
- ///
- public string? id { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/WorkLog/WorkLogCrInput.cs b/extend/Tnb.Extend.Entitys/Dto/WorkLog/WorkLogCrInput.cs
deleted file mode 100644
index bcf699ff..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/WorkLog/WorkLogCrInput.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.WorkLog;
-
-///
-///
-///
-[SuppressSniffer]
-public class WorkLogCrInput
-{
- ///
- /// 标题.
- ///
- public string? title { get; set; }
-
- ///
- /// 问题内容.
- ///
- public string? question { get; set; }
-
- ///
- /// 今日内容.
- ///
- public string? todayContent { get; set; }
-
- ///
- /// 明日内容.
- ///
- public string? tomorrowContent { get; set; }
-
- ///
- /// 接收人.
- ///
- public string? toUserId { get; set; }
-
- ///
- /// 用户id.
- ///
- public string? userIds { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/WorkLog/WorkLogInfoOutput.cs b/extend/Tnb.Extend.Entitys/Dto/WorkLog/WorkLogInfoOutput.cs
deleted file mode 100644
index 42489cfc..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/WorkLog/WorkLogInfoOutput.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.WorkLog;
-
-///
-///
-///
-
-[SuppressSniffer]
-public class WorkLogInfoOutput
-{
- ///
- /// id.
- ///
- public string? id { get; set; }
-
- ///
- /// 标题.
- ///
- public string? title { get; set; }
-
- ///
- /// 问题内容.
- ///
- public string? question { get; set; }
-
- ///
- /// 创建时间.
- ///
- public DateTime? creatorTime { get; set; }
-
- ///
- /// 今日内容.
- ///
- public string? todayContent { get; set; }
-
- ///
- /// 明日内容.
- ///
- public string? tomorrowContent { get; set; }
-
- ///
- /// 接收人.
- ///
- public string? toUserId { get; set; }
-
- ///
- /// 用户id.
- ///
- public string? userIds { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/WorkLog/WorkLogListOutput.cs b/extend/Tnb.Extend.Entitys/Dto/WorkLog/WorkLogListOutput.cs
deleted file mode 100644
index 39661afd..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/WorkLog/WorkLogListOutput.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Dto.WorkLog;
-
-///
-///
-///
-[SuppressSniffer]
-public class WorkLogListOutput
-{
- ///
- /// id.
- ///
- public string? id { get; set; }
-
- ///
- /// 标题.
- ///
- public string? title { get; set; }
-
- ///
- /// 问题内容.
- ///
- public string? question { get; set; }
-
- ///
- /// 创建时间.
- ///
- public DateTime? creatorTime { get; set; }
-
- ///
- /// 今日内容.
- ///
- public string? todayContent { get; set; }
-
- ///
- /// 明日内容.
- ///
- public string? tomorrowContent { get; set; }
-
- ///
- /// 接收人.
- ///
- public string? toUserId { get; set; }
-
- ///
- /// 修改时间.
- ///
- public DateTime? lastModifyTime { get; set; }
-
- ///
- /// 排序码.
- ///
- public long? sortCode { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Dto/WorkLog/WorkLogUpInput.cs b/extend/Tnb.Extend.Entitys/Dto/WorkLog/WorkLogUpInput.cs
deleted file mode 100644
index 4b6f4da6..00000000
--- a/extend/Tnb.Extend.Entitys/Dto/WorkLog/WorkLogUpInput.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using JNPF.DependencyInjection;
-using JNPF.Extend.Entitys.Dto.WorkLog;
-
-namespace JNPF.Extend.Entitys.Dto.WoekLog;
-
-///
-///
-///
-[SuppressSniffer]
-public class WorkLogUpInput : WorkLogCrInput
-{
- ///
- /// id.
- ///
- public string? id { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/BigDataEntity.cs b/extend/Tnb.Extend.Entitys/Entity/BigDataEntity.cs
deleted file mode 100644
index 7b29de88..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/BigDataEntity.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using JNPF.Common.Contracts;
-using JNPF.Extras.DatabaseAccessor.SqlSugar.Models;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 大数据测试
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01.
-///
-[SugarTable("EXT_BIGDATA")]
-public class BigDataEntity : EntityBase
-{
- ///
- /// 编码.
- ///
- [SugarColumn(ColumnName = "F_ENCODE")]
- public string? EnCode { get; set; }
-
- ///
- /// 名称.
- ///
- [SugarColumn(ColumnName = "F_FULLNAME")]
- public string? FullName { get; set; }
-
- ///
- /// 描述.
- ///
- [SugarColumn(ColumnName = "F_DESCRIPTION")]
- public string? Description { get; set; }
-
- ///
- /// 创建时间.
- ///
- [SugarColumn(ColumnName = "F_CREATORTIME")]
- public DateTime? CreatorTime { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/DocumentEntity.cs b/extend/Tnb.Extend.Entitys/Entity/DocumentEntity.cs
deleted file mode 100644
index f187c65d..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/DocumentEntity.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 知识文档
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01.
-///
-[SugarTable("EXT_DOCUMENT")]
-public class DocumentEntity : CLDEntityBase
-{
- ///
- /// 文档父级.
- ///
- [SugarColumn(ColumnName = "F_PARENTID")]
- public string? ParentId { get; set; }
-
- ///
- /// 文档分类:【0-文件夹、1-文件】.
- ///
- [SugarColumn(ColumnName = "F_TYPE")]
- public int? Type { get; set; }
-
- ///
- /// 文件名称.
- ///
- [SugarColumn(ColumnName = "F_FULLNAME")]
- public string? FullName { get; set; }
-
- ///
- /// 文件路径.
- ///
- [SugarColumn(ColumnName = "F_FILEPATH")]
- public string? FilePath { get; set; }
-
- ///
- /// 文件大小.
- ///
- [SugarColumn(ColumnName = "F_FILESIZE")]
- public string? FileSize { get; set; }
-
- ///
- /// 文件后缀.
- ///
- [SugarColumn(ColumnName = "F_FILEEXTENSION")]
- public string? FileExtension { get; set; }
-
- ///
- /// 阅读数量.
- ///
- [SugarColumn(ColumnName = "F_READCCOUNT")]
- public int? ReadcCount { get; set; }
-
- ///
- /// 是否共享.
- ///
- [SugarColumn(ColumnName = "F_ISSHARE")]
- public int? IsShare { get; set; }
-
- ///
- /// 共享时间.
- ///
- [SugarColumn(ColumnName = "F_SHARETIME")]
- public DateTime? ShareTime { get; set; }
-
- ///
- /// 描述.
- ///
- [SugarColumn(ColumnName = "F_DESCRIPTION")]
- public string? Description { get; set; }
-
- ///
- /// 排序码.
- ///
- [SugarColumn(ColumnName = "F_SORTCODE")]
- public long? SortCode { get; set; }
-
- ///
- /// 下载地址.
- ///
- [SugarColumn(ColumnName = "F_UPLOADERURL")]
- public string? UploaderUrl { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/DocumentShareEntity.cs b/extend/Tnb.Extend.Entitys/Entity/DocumentShareEntity.cs
deleted file mode 100644
index 6b2947c2..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/DocumentShareEntity.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 知识文档共享
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01 .
-///
-[SugarTable("EXT_DOCUMENTSHARE")]
-public class DocumentShareEntity : EntityBase
-{
- ///
- /// 文档主键.
- ///
- [SugarColumn(ColumnName = "F_DOCUMENTID")]
- public string? DocumentId { get; set; }
-
- ///
- /// 共享人员.
- ///
- [SugarColumn(ColumnName = "F_SHAREUSERID")]
- public string? ShareUserId { get; set; }
-
- ///
- /// 共享时间.
- ///
- [SugarColumn(ColumnName = "F_SHARETIME")]
- public DateTime? ShareTime { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/EmailConfigEntity.cs b/extend/Tnb.Extend.Entitys/Entity/EmailConfigEntity.cs
deleted file mode 100644
index 6610c764..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/EmailConfigEntity.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 邮件配置
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01.
-///
-[SugarTable("EXT_EMAILCONFIG")]
-public class EmailConfigEntity : CEntityBase
-{
- ///
- /// POP3服务.
- ///
- [SugarColumn(ColumnName = "F_POP3HOST")]
- public string? POP3Host { get; set; }
-
- ///
- /// POP3端口.
- ///
- [SugarColumn(ColumnName = "F_POP3PORT")]
- public int? POP3Port { get; set; }
-
- ///
- /// SMTP服务.
- ///
- [SugarColumn(ColumnName = "F_SMTPHOST")]
- public string? SMTPHost { get; set; }
-
- ///
- /// SMTP端口.
- ///
- [SugarColumn(ColumnName = "F_SMTPPORT")]
- public int? SMTPPort { get; set; }
-
- ///
- /// 账户.
- ///
- [SugarColumn(ColumnName = "F_ACCOUNT")]
- public string? Account { get; set; }
-
- ///
- /// 密码.
- ///
- [SugarColumn(ColumnName = "F_PASSWORD")]
- public string? Password { get; set; }
-
- ///
- /// SSL登录.
- ///
- [SugarColumn(ColumnName = "F_SSL")]
- public int? Ssl { get; set; }
-
- ///
- /// 发件人名称.
- ///
- [SugarColumn(ColumnName = "F_SENDERNAME")]
- public string? SenderName { get; set; }
-
- ///
- /// 我的文件夹.
- ///
- [SugarColumn(ColumnName = "F_FOLDERJSON")]
- public string? FolderJson { get; set; }
-
- ///
- /// 描述.
- ///
- [SugarColumn(ColumnName = "F_DESCRIPTION")]
- public string? Description { get; set; }
-
- ///
- /// 排序码.
- ///
- [SugarColumn(ColumnName = "F_SORTCODE")]
- public long? SortCode { get; set; }
-
- ///
- /// 有效标志.
- ///
- [SugarColumn(ColumnName = "F_ENABLEDMARK")]
- public int? EnabledMark { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/EmailReceiveEntity.cs b/extend/Tnb.Extend.Entitys/Entity/EmailReceiveEntity.cs
deleted file mode 100644
index c77b8034..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/EmailReceiveEntity.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 邮件接收
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01.
-///
-[SugarTable("EXT_EMAILRECEIVE")]
-public class EmailReceiveEntity : CLDEntityBase
-{
- ///
- /// 类型:【1-外部、0-内部】.
- ///
- [SugarColumn(ColumnName = "F_TYPE")]
- public int? Type { get; set; }
-
- ///
- /// 邮箱账户.
- ///
- [SugarColumn(ColumnName = "F_MACCOUNT")]
- public string? MAccount { get; set; }
-
- ///
- /// MID.
- ///
- [SugarColumn(ColumnName = "F_MID")]
- public string? MID { get; set; }
-
- ///
- /// 发件人.
- ///
- [SugarColumn(ColumnName = "F_SENDER")]
- public string? Sender { get; set; }
-
- ///
- /// 发件人名称.
- ///
- [SugarColumn(ColumnName = "F_SENDERNAME")]
- public string? SenderName { get; set; }
-
- ///
- /// 主题.
- ///
- [SugarColumn(ColumnName = "F_SUBJECT")]
- public string? Subject { get; set; }
-
- ///
- /// 正文.
- ///
- [SugarColumn(ColumnName = "F_BODYTEXT")]
- public string? BodyText { get; set; }
-
- ///
- /// 附件.
- ///
- [SugarColumn(ColumnName = "F_ATTACHMENT")]
- public string? Attachment { get; set; }
-
- ///
- /// 阅读.
- ///
- [SugarColumn(ColumnName = "F_READ")]
- public int? Read { get; set; }
-
- ///
- /// Date.
- ///
- [SugarColumn(ColumnName = "F_DATE")]
- public DateTime? Date { get; set; }
-
- ///
- /// 星标.
- ///
- [SugarColumn(ColumnName = "F_STARRED")]
- public int? Starred { get; set; }
-
- ///
- /// 描述.
- ///
- [SugarColumn(ColumnName = "F_DESCRIPTION")]
- public string? Description { get; set; }
-
- ///
- /// 排序码.
- ///
- [SugarColumn(ColumnName = "F_SORTCODE")]
- public long? SortCode { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/EmailSendEntity.cs b/extend/Tnb.Extend.Entitys/Entity/EmailSendEntity.cs
deleted file mode 100644
index 555ddb97..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/EmailSendEntity.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 邮件发送
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01 .
-///
-[SugarTable("EXT_EMAILSEND")]
-public class EmailSendEntity : CLDEntityBase
-{
- ///
- /// 类型:【1-外部、0-内部】.
- ///
- [SugarColumn(ColumnName = "F_TYPE")]
- public int? Type { get; set; }
-
- ///
- /// 发件人.
- ///
- [SugarColumn(ColumnName = "F_SENDER")]
- public string? Sender { get; set; }
-
- ///
- /// 收件人.
- ///
- [SugarColumn(ColumnName = "F_TO")]
- public string? To { get; set; }
-
- ///
- /// 抄送人.
- ///
- [SugarColumn(ColumnName = "F_CC")]
- public string? CC { get; set; }
-
- ///
- /// 密送人.
- ///
- [SugarColumn(ColumnName = "F_BCC")]
- public string? BCC { get; set; }
-
- ///
- /// 颜色.
- ///
- [SugarColumn(ColumnName = "F_COLOUR")]
- public string? Colour { get; set; }
-
- ///
- /// 主题.
- ///
- [SugarColumn(ColumnName = "F_SUBJECT")]
- public string? Subject { get; set; }
-
- ///
- /// 正文.
- ///
- [SugarColumn(ColumnName = "F_BODYTEXT")]
- public string BodyText { get; set; } = string.Empty;
-
- ///
- /// 附件.
- ///
- [SugarColumn(ColumnName = "F_ATTACHMENT")]
- public string? Attachment { get; set; }
-
- ///
- /// 状态:【-1-草稿、0-正在投递、1-投递成功】.
- ///
- [SugarColumn(ColumnName = "F_STATE")]
- public int? State { get; set; }
-
- ///
- /// 描述.
- ///
- [SugarColumn(ColumnName = "F_DESCRIPTION")]
- public string? Description { get; set; }
-
- ///
- /// 排序码.
- ///
- [SugarColumn(ColumnName = "F_SORTCODE")]
- public long? SortCode { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/EmployeeEntity.cs b/extend/Tnb.Extend.Entitys/Entity/EmployeeEntity.cs
deleted file mode 100644
index 1b30c7d9..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/EmployeeEntity.cs
+++ /dev/null
@@ -1,111 +0,0 @@
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 职员信息
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01 .
-///
-[SugarTable("EXT_EMPLOYEE")]
-public class EmployeeEntity : CLDEntityBase
-{
- ///
- /// 工号.
- ///
- [SugarColumn(ColumnName = "F_ENCODE")]
- public string? EnCode { get; set; }
-
- ///
- /// 姓名.
- ///
- [SugarColumn(ColumnName = "F_FULLNAME")]
- public string? FullName { get; set; }
-
- ///
- /// 性别.
- ///
- [SugarColumn(ColumnName = "F_GENDER")]
- public string? Gender { get; set; }
-
- ///
- /// 部门.
- ///
- [SugarColumn(ColumnName = "F_DEPARTMENTNAME")]
- public string? DepartmentName { get; set; }
-
- ///
- /// 职位.
- ///
- [SugarColumn(ColumnName = "F_POSITIONNAME")]
- public string? PositionName { get; set; }
-
- ///
- /// 用工性质.
- ///
- [SugarColumn(ColumnName = "F_WORKINGNATURE")]
- public string? WorkingNature { get; set; }
-
- ///
- /// 身份证号.
- ///
- [SugarColumn(ColumnName = "F_IDNUMBER")]
- public string? IdNumber { get; set; }
-
- ///
- /// 联系电话.
- ///
- [SugarColumn(ColumnName = "F_TELEPHONE")]
- public string? Telephone { get; set; }
-
- ///
- /// 参加工作.
- ///
- [SugarColumn(ColumnName = "F_ATTENDWORKTIME")]
- public DateTime? AttendWorkTime { get; set; }
-
- ///
- /// 出生年月.
- ///
- [SugarColumn(ColumnName = "F_BIRTHDAY")]
- public DateTime? Birthday { get; set; }
-
- ///
- /// 最高学历.
- ///
- [SugarColumn(ColumnName = "F_EDUCATION")]
- public string? Education { get; set; }
-
- ///
- /// 所学专业.
- ///
- [SugarColumn(ColumnName = "F_MAJOR")]
- public string? Major { get; set; }
-
- ///
- /// 毕业院校.
- ///
- [SugarColumn(ColumnName = "F_GRADUATIONACADEMY")]
- public string? GraduationAcademy { get; set; }
-
- ///
- /// 毕业时间.
- ///
- [SugarColumn(ColumnName = "F_GRADUATIONTIME")]
- public DateTime? GraduationTime { get; set; }
-
- ///
- /// 描述.
- ///
- [SugarColumn(ColumnName = "F_DESCRIPTION")]
- public string? Description { get; set; }
-
- ///
- /// 排序码.
- ///
- [SugarColumn(ColumnName = "F_SORTCODE")]
- public long? SortCode { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/OrderEntity.cs b/extend/Tnb.Extend.Entitys/Entity/OrderEntity.cs
deleted file mode 100644
index 625c48da..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/OrderEntity.cs
+++ /dev/null
@@ -1,117 +0,0 @@
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 订单信息
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01 .
-///
-[SugarTable("EXT_ORDER")]
-public class OrderEntity : CLDEntityBase
-{
- ///
- /// 客户Id.
- ///
- [SugarColumn(ColumnName = "F_CUSTOMERID")]
- public string? CustomerId { get; set; }
-
- ///
- /// 客户名称.
- ///
- [SugarColumn(ColumnName = "F_CUSTOMERNAME")]
- public string? CustomerName { get; set; }
-
- ///
- /// 业务员Id.
- ///
- [SugarColumn(ColumnName = "F_SALESMANID")]
- public string? SalesmanId { get; set; }
-
- ///
- /// 业务员.
- ///
- [SugarColumn(ColumnName = "F_SALESMANNAME")]
- public string? SalesmanName { get; set; }
-
- ///
- /// 订单日期.
- ///
- [SugarColumn(ColumnName = "F_ORDERDATE")]
- public DateTime? OrderDate { get; set; }
-
- ///
- /// 订单编码.
- ///
- [SugarColumn(ColumnName = "F_ORDERCODE")]
- public string? OrderCode { get; set; }
-
- ///
- /// 运输方式.
- ///
- [SugarColumn(ColumnName = "F_TRANSPORTMODE")]
- public string? TransportMode { get; set; }
-
- ///
- /// 发货日期.
- ///
- [SugarColumn(ColumnName = "F_DELIVERYDATE")]
- public DateTime? DeliveryDate { get; set; }
-
- ///
- /// 发货地址.
- ///
- [SugarColumn(ColumnName = "F_DELIVERYADDRESS")]
- public string? DeliveryAddress { get; set; }
-
- ///
- /// 付款方式.
- ///
- [SugarColumn(ColumnName = "F_PAYMENTMODE")]
- public string? PaymentMode { get; set; }
-
- ///
- /// 应收金额.
- ///
- [SugarColumn(ColumnName = "F_RECEIVABLEMONEY")]
- public decimal? ReceivableMoney { get; set; }
-
- ///
- /// 定金比率.
- ///
- [SugarColumn(ColumnName = "F_EARNESTRATE")]
- public decimal? EarnestRate { get; set; }
-
- ///
- /// 预付定金.
- ///
- [SugarColumn(ColumnName = "F_PREPAYEARNEST")]
- public decimal? PrepayEarnest { get; set; }
-
- ///
- /// 当前状态.
- ///
- [SugarColumn(ColumnName = "F_CURRENTSTATE")]
- public int? CurrentState { get; set; }
-
- ///
- /// 附件信息.
- ///
- [SugarColumn(ColumnName = "F_FILEJSON")]
- public string? FileJson { get; set; }
-
- ///
- /// 描述.
- ///
- [SugarColumn(ColumnName = "F_DESCRIPTION")]
- public string? Description { get; set; }
-
- ///
- /// 排序码.
- ///
- [SugarColumn(ColumnName = "F_SORTCODE")]
- public long? SortCode { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/OrderEntryEntity.cs b/extend/Tnb.Extend.Entitys/Entity/OrderEntryEntity.cs
deleted file mode 100644
index ec6855ff..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/OrderEntryEntity.cs
+++ /dev/null
@@ -1,105 +0,0 @@
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 订单明细
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01 .
-///
-[SugarTable("EXT_ORDERENTRY")]
-public class OrderEntryEntity : EntityBase
-{
- ///
- /// 订单主键.
- ///
- [SugarColumn(ColumnName = "F_ORDERID")]
- public string? OrderId { get; set; }
-
- ///
- /// 商品Id.
- ///
- [SugarColumn(ColumnName = "F_GOODSID")]
- public string? GoodsId { get; set; }
-
- ///
- /// 商品编码.
- ///
- [SugarColumn(ColumnName = "F_GOODSCODE")]
- public string? GoodsCode { get; set; }
-
- ///
- /// 商品名称.
- ///
- [SugarColumn(ColumnName = "F_GOODSNAME")]
- public string? GoodsName { get; set; }
-
- ///
- /// 规格型号.
- ///
- [SugarColumn(ColumnName = "F_SPECIFICATIONS")]
- public string? Specifications { get; set; }
-
- ///
- /// 单位.
- ///
- [SugarColumn(ColumnName = "F_UNIT")]
- public string? Unit { get; set; }
-
- ///
- /// 数量.
- ///
- [SugarColumn(ColumnName = "F_QTY")]
- public decimal? Qty { get; set; }
-
- ///
- /// 单价.
- ///
- [SugarColumn(ColumnName = "F_PRICE")]
- public decimal? Price { get; set; }
-
- ///
- /// 金额.
- ///
- [SugarColumn(ColumnName = "F_AMOUNT")]
- public decimal? Amount { get; set; }
-
- ///
- /// 折扣%.
- ///
- [SugarColumn(ColumnName = "F_DISCOUNT")]
- public decimal? Discount { get; set; }
-
- ///
- /// 税率%.
- ///
- [SugarColumn(ColumnName = "F_CESS")]
- public decimal? Cess { get; set; }
-
- ///
- /// 实际单价.
- ///
- [SugarColumn(ColumnName = "F_ACTUALPRICE")]
- public decimal? ActualPrice { get; set; }
-
- ///
- /// 实际金额.
- ///
- [SugarColumn(ColumnName = "F_ACTUALAMOUNT")]
- public decimal? ActualAmount { get; set; }
-
- ///
- /// 描述.
- ///
- [SugarColumn(ColumnName = "F_DESCRIPTION")]
- public string? Description { get; set; }
-
- ///
- /// 排序码.
- ///
- [SugarColumn(ColumnName = "F_SORTCODE")]
- public long? SortCode { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/OrderReceivableEntity.cs b/extend/Tnb.Extend.Entitys/Entity/OrderReceivableEntity.cs
deleted file mode 100644
index e3896c50..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/OrderReceivableEntity.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 订单收款
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01 .
-///
-[SugarTable("EXT_ORDERRECEIVABLE")]
-public class OrderReceivableEntity : EntityBase
-{
- ///
- /// 订单主键.
- ///
- [SugarColumn(ColumnName = "F_ORDERID")]
- public string? OrderId { get; set; }
-
- ///
- /// 收款摘要.
- ///
- [SugarColumn(ColumnName = "F_ABSTRACT")]
- public string? Abstract { get; set; }
-
- ///
- /// 收款日期.
- ///
- [SugarColumn(ColumnName = "F_RECEIVABLEDATE")]
- public DateTime? ReceivableDate { get; set; }
-
- ///
- /// 收款比率.
- ///
- [SugarColumn(ColumnName = "F_RECEIVABLERATE")]
- public decimal? ReceivableRate { get; set; }
-
- ///
- /// 收款金额.
- ///
- [SugarColumn(ColumnName = "F_RECEIVABLEMONEY")]
- public decimal? ReceivableMoney { get; set; }
-
- ///
- /// 收款方式.
- ///
- [SugarColumn(ColumnName = "F_RECEIVABLEMODE")]
- public string? ReceivableMode { get; set; }
-
- ///
- /// 收款状态.
- ///
- [SugarColumn(ColumnName = "F_RECEIVABLESTATE")]
- public int? ReceivableState { get; set; }
-
- ///
- /// 描述.
- ///
- [SugarColumn(ColumnName = "F_DESCRIPTION")]
- public string? Description { get; set; }
-
- ///
- /// 排序码.
- ///
- [SugarColumn(ColumnName = "F_SORTCODE")]
- public long? SortCode { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/ProductClassifyEntity.cs b/extend/Tnb.Extend.Entitys/Entity/ProductClassifyEntity.cs
deleted file mode 100644
index c5ddb11d..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/ProductClassifyEntity.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-using JNPF.Common.Const;
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 产品分类.
-///
-[SugarTable("ext_productclassify")]
-[Tenant(ClaimConst.TENANTID)]
-public class ProductClassifyEntity : CLEntityBase
-{
- ///
- /// 上级.
- ///
- [SugarColumn(ColumnName = "F_PARENTID")]
- public string ParentId { get; set; }
-
- ///
- /// 名称.
- ///
- [SugarColumn(ColumnName = "F_FULLNAME")]
- public string FullName { get; set; }
-
- ///
- /// 获取或设置 删除标志.
- ///
- [SugarColumn(ColumnName = "F_DeleteMark", ColumnDescription = "删除标志")]
- public int? DeleteMark { get; set; }
-
- ///
- /// 获取或设置 删除时间.
- ///
- [SugarColumn(ColumnName = "F_DeleteTime", ColumnDescription = "删除时间")]
- public DateTime? DeleteTime { get; set; }
-
- ///
- /// 获取或设置 删除用户.
- ///
- [SugarColumn(ColumnName = "F_DeleteUserId", ColumnDescription = "删除用户")]
- public string DeleteUserId { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Entity/ProductCustomerEntity.cs b/extend/Tnb.Extend.Entitys/Entity/ProductCustomerEntity.cs
deleted file mode 100644
index 76bc96bd..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/ProductCustomerEntity.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys.Entity;
-
-///
-/// 客户信息.
-///
-[SugarTable("ext_customer", TableDescription = "客户信息")]
-public class ProductCustomerEntity : CLEntityBase
-{
- ///
- /// 编码.
- ///
- [SugarColumn(ColumnName = "F_Code")]
- public string Code { get; set; }
-
- ///
- /// 客户名称.
- ///
- [SugarColumn(ColumnName = "F_CustomerName")]
- public string Customername { get; set; }
-
- ///
- /// 地址.
- ///
- [SugarColumn(ColumnName = "F_Address")]
- public string Address { get; set; }
-
- ///
- /// 名称.
- ///
- [SugarColumn(ColumnName = "F_Name")]
- public string Name { get; set; }
-
- ///
- /// 联系方式.
- ///
- [SugarColumn(ColumnName = "F_ContactTel")]
- public string ContactTel { get; set; }
-
- ///
- /// 删除标志.
- ///
- [SugarColumn(ColumnName = "F_DeleteMark")]
- public float Deletemark { get; set; }
-
- ///
- /// 删除时间.
- ///
- [SugarColumn(ColumnName = "F_DeleteTime")]
- public DateTime Deletetime { get; set; }
-
- ///
- /// 删除用户.
- ///
- [SugarColumn(ColumnName = "F_DeleteUserId")]
- public string Deleteuserid { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Entity/ProductEntity.cs b/extend/Tnb.Extend.Entitys/Entity/ProductEntity.cs
deleted file mode 100644
index 00144cd5..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/ProductEntity.cs
+++ /dev/null
@@ -1,229 +0,0 @@
-using JNPF.Common.Const;
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 销售订单.
-///
-[SugarTable("ext_product")]
-[Tenant(ClaimConst.TENANTID)]
-public class ProductEntity : EntityBase
-{
- ///
- /// 订单编号.
- ///
- [SugarColumn(ColumnName = "F_Code")]
- public string Code { get; set; }
-
- ///
- /// 客户类别.
- ///
- [SugarColumn(ColumnName = "F_Type")]
- public string Type { get; set; }
-
- ///
- /// 客户id.
- ///
- [SugarColumn(ColumnName = "F_CustomerId")]
- public string CustomerId { get; set; }
-
- ///
- /// 客户名称.
- ///
- [SugarColumn(ColumnName = "F_CustomerName")]
- public string CustomerName { get; set; }
-
- ///
- /// 制单人id.
- ///
- [SugarColumn(ColumnName = "F_SalesmanId")]
- public string SalesmanId { get; set; }
-
- ///
- /// 制单人名称.
- ///
- [SugarColumn(ColumnName = "F_SalesmanName")]
- public string SalesmanName { get; set; }
-
- ///
- /// 制单日期.
- ///
- [SugarColumn(ColumnName = "F_SalesmanDate")]
- public DateTime? SalesmanDate { get; set; }
-
- ///
- /// 审核人.
- ///
- [SugarColumn(ColumnName = "F_AuditName")]
- public string AuditName { get; set; }
-
- ///
- /// 审核日期.
- ///
- [SugarColumn(ColumnName = "F_AuditDate")]
- public DateTime? AuditDate { get; set; }
-
- ///
- /// 审核状态.
- ///
- [SugarColumn(ColumnName = "F_AuditState")]
- public int AuditState { get; set; }
-
- ///
- /// 发货仓库.
- ///
- [SugarColumn(ColumnName = "F_GoodsWarehouse")]
- public string GoodsWarehouse { get; set; }
-
- ///
- /// 发货通知时间.
- ///
- [SugarColumn(ColumnName = "F_GoodsDate")]
- public DateTime? GoodsDate { get; set; }
-
- ///
- /// 发货通知人.
- ///
- [SugarColumn(ColumnName = "F_Consignor")]
- public string Consignor { get; set; }
-
- ///
- /// 发货状态.
- ///
- [SugarColumn(ColumnName = "F_GoodsState")]
- public int GoodsState { get; set; }
-
- ///
- /// 关闭状态.
- ///
- [SugarColumn(ColumnName = "F_CloseState")]
- public int CloseState { get; set; }
-
- ///
- /// 关闭日期.
- ///
- [SugarColumn(ColumnName = "F_CloseDate")]
- public DateTime? CloseDate { get; set; }
-
- ///
- /// 收款方式.
- ///
- [SugarColumn(ColumnName = "F_GatheringType")]
- public string GatheringType { get; set; }
-
- ///
- /// 业务员.
- ///
- [SugarColumn(ColumnName = "F_Business")]
- public string Business { get; set; }
-
- ///
- /// 送货地址.
- ///
- [SugarColumn(ColumnName = "F_Address")]
- public string Address { get; set; }
-
- ///
- /// 联系方式.
- ///
- [SugarColumn(ColumnName = "F_ContactTel")]
- public string ContactTel { get; set; }
-
- ///
- /// 联系人.
- ///
- [SugarColumn(ColumnName = "F_ContactName")]
- public string ContactName { get; set; }
-
- ///
- /// 收货消息.
- ///
- [SugarColumn(ColumnName = "F_HarvestMsg")]
- public int HarvestMsg { get; set; }
-
- ///
- /// 收货仓库.
- ///
- [SugarColumn(ColumnName = "F_HarvestWarehouse")]
- public string HarvestWarehouse { get; set; }
-
- ///
- /// 代发客户.
- ///
- [SugarColumn(ColumnName = "F_IssuingName")]
- public string IssuingName { get; set; }
-
- ///
- /// 让利金额.
- ///
- [SugarColumn(ColumnName = "F_PartPrice")]
- public decimal? PartPrice { get; set; }
-
- ///
- /// 优惠金额.
- ///
- [SugarColumn(ColumnName = "F_ReducedPrice")]
- public decimal? ReducedPrice { get; set; }
-
- ///
- /// 折后金额.
- ///
- [SugarColumn(ColumnName = "F_DiscountPrice")]
- public decimal? DiscountPrice { get; set; }
-
- ///
- /// 备注.
- ///
- [SugarColumn(ColumnName = "F_Description")]
- public string Description { get; set; }
-
- ///
- /// 获取或设置 创建时间.
- ///
- [SugarColumn(ColumnName = "F_CREATORTIME", ColumnDescription = "创建时间")]
- public DateTime? CreatorTime { get; set; }
-
- ///
- /// 获取或设置 创建用户.
- ///
- [SugarColumn(ColumnName = "F_CREATORUSERID", ColumnDescription = "创建用户")]
- public string CreatorUserId { get; set; }
-
- ///
- /// 获取或设置 修改时间.
- ///
- [SugarColumn(ColumnName = "F_LastModifyTime", ColumnDescription = "修改时间")]
- public virtual DateTime? LastModifyTime { get; set; }
-
- ///
- /// 获取或设置 修改用户.
- ///
- [SugarColumn(ColumnName = "F_LastModifyUserId", ColumnDescription = "修改用户")]
- public string LastModifyUserId { get; set; }
-
- ///
- /// 获取或设置 删除标志.
- ///
- [SugarColumn(ColumnName = "F_DeleteMark", ColumnDescription = "删除标志")]
- public int? DeleteMark { get; set; }
-
- ///
- /// 获取或设置 删除时间.
- ///
- [SugarColumn(ColumnName = "F_DeleteTime", ColumnDescription = "删除时间")]
- public DateTime? DeleteTime { get; set; }
-
- ///
- /// 获取或设置 删除用户.
- ///
- [SugarColumn(ColumnName = "F_DeleteUserId", ColumnDescription = "删除用户")]
- public string DeleteUserId { get; set; }
-
- ///
- /// 订单明细.
- ///
- [Navigate(NavigateType.OneToMany, nameof(ProductEntryEntity.ProductId), nameof(Id))]
- public List productEntryList { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Entity/ProductEntryEntity.cs b/extend/Tnb.Extend.Entitys/Entity/ProductEntryEntity.cs
deleted file mode 100644
index b098cc53..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/ProductEntryEntity.cs
+++ /dev/null
@@ -1,139 +0,0 @@
-using JNPF.Common.Const;
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 产品明细.
-///
-[SugarTable("ext_productentry")]
-[Tenant(ClaimConst.TENANTID)]
-public class ProductEntryEntity
-{
- ///
- /// 主键.
- ///
- [SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true)]
- public string Id { get; set; }
-
- ///
- /// 订单主键.
- ///
- [SugarColumn(ColumnName = "F_ProductId")]
- public string ProductId { get; set; }
-
- ///
- /// 产品编号.
- ///
- [SugarColumn(ColumnName = "F_ProductCode")]
- public string ProductCode { get; set; }
-
- ///
- /// 产品名称.
- ///
- [SugarColumn(ColumnName = "F_ProductName")]
- public string ProductName { get; set; }
-
- ///
- /// 产品规格.
- ///
- [SugarColumn(ColumnName = "F_ProductSpecification")]
- public string ProductSpecification { get; set; }
-
- ///
- /// 数量.
- ///
- [SugarColumn(ColumnName = "F_Qty")]
- public int Qty { get; set; }
-
- ///
- /// 控制方式.
- ///
- [SugarColumn(ColumnName = "F_CommandType")]
- public string CommandType { get; set; }
-
- ///
- /// 订货类型.
- ///
- [SugarColumn(ColumnName = "F_Type")]
- public string Type { get; set; }
-
- ///
- /// 单价.
- ///
- [SugarColumn(ColumnName = "F_Money")]
- public decimal Money { get; set; }
-
- ///
- /// 单位.
- ///
- [SugarColumn(ColumnName = "F_Util")]
- public string Util { get; set; }
-
- ///
- /// 折后单价.
- ///
- [SugarColumn(ColumnName = "F_Price")]
- public decimal Price { get; set; }
-
- ///
- /// 金额.
- ///
- [SugarColumn(ColumnName = "F_Amount")]
- public decimal Amount { get; set; }
-
- ///
- /// 活动.
- ///
- [SugarColumn(ColumnName = "F_Activity")]
- public string Activity { get; set; }
-
- ///
- /// 备注.
- ///
- [SugarColumn(ColumnName = "F_Description")]
- public string Description { get; set; }
-
- ///
- /// 获取或设置 创建时间.
- ///
- [SugarColumn(ColumnName = "F_CREATORTIME", ColumnDescription = "创建时间")]
- public DateTime? CreatorTime { get; set; }
-
- ///
- /// 获取或设置 创建用户.
- ///
- [SugarColumn(ColumnName = "F_CREATORUSERID", ColumnDescription = "创建用户")]
- public string CreatorUserId { get; set; }
-
- ///
- /// 获取或设置 修改时间.
- ///
- [SugarColumn(ColumnName = "F_LastModifyTime", ColumnDescription = "修改时间")]
- public DateTime? LastModifyTime { get; set; }
-
- ///
- /// 获取或设置 修改用户.
- ///
- [SugarColumn(ColumnName = "F_LastModifyUserId", ColumnDescription = "修改用户")]
- public string LastModifyUserId { get; set; }
-
- ///
- /// 获取或设置 删除标志.
- ///
- [SugarColumn(ColumnName = "F_DeleteMark", ColumnDescription = "删除标志")]
- public int? DeleteMark { get; set; }
-
- ///
- /// 获取或设置 删除时间.
- ///
- [SugarColumn(ColumnName = "F_DeleteTime", ColumnDescription = "删除时间")]
- public DateTime? DeleteTime { get; set; }
-
- ///
- /// 获取或设置 删除用户.
- ///
- [SugarColumn(ColumnName = "F_DeleteUserId", ColumnDescription = "删除用户")]
- public string DeleteUserId { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Entity/ProductgoodsEntity.cs b/extend/Tnb.Extend.Entitys/Entity/ProductgoodsEntity.cs
deleted file mode 100644
index 3e587ce7..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/ProductgoodsEntity.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-using JNPF.Common.Const;
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 产品商品.
-///
-[SugarTable("ext_productgoods")]
-[Tenant(ClaimConst.TENANTID)]
-public class ProductGoodsEntity
-{
- ///
- /// 主键.
- ///
- [SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true)]
- public string Id { get; set; }
-
- ///
- /// 分类主键.
- ///
- [SugarColumn(ColumnName = "F_CLASSIFYID")]
- public string ClassifyId { get; set; }
-
- ///
- /// 产品编号.
- ///
- [SugarColumn(ColumnName = "F_CODE")]
- public string Code { get; set; }
-
- ///
- /// 产品名称.
- ///
- [SugarColumn(ColumnName = "F_FULLNAME")]
- public string FullName { get; set; }
-
- ///
- /// 订货类型.
- ///
- [SugarColumn(ColumnName = "F_TYPE")]
- public string Type { get; set; }
-
- ///
- /// 产品规格.
- ///
- [SugarColumn(ColumnName = "F_PRODUCTSPECIFICATION")]
- public string ProductSpecification { get; set; }
-
- ///
- /// 单价.
- ///
- [SugarColumn(ColumnName = "F_MONEY")]
- public string Money { get; set; }
-
- ///
- /// 库存数.
- ///
- [SugarColumn(ColumnName = "F_QTY")]
- public int Qty { get; set; }
-
- ///
- /// 金额.
- ///
- [SugarColumn(ColumnName = "F_AMOUNT")]
- public string Amount { get; set; }
-
- ///
- /// 获取或设置 创建时间.
- ///
- [SugarColumn(ColumnName = "F_CREATORTIME", ColumnDescription = "创建时间")]
- public DateTime? CreatorTime { get; set; }
-
- ///
- /// 获取或设置 创建用户.
- ///
- [SugarColumn(ColumnName = "F_CREATORUSERID", ColumnDescription = "创建用户")]
- public string CreatorUserId { get; set; }
-
- ///
- /// 获取或设置 修改时间.
- ///
- [SugarColumn(ColumnName = "F_LastModifyTime", ColumnDescription = "修改时间")]
- public DateTime? LastModifyTime { get; set; }
-
- ///
- /// 获取或设置 修改用户.
- ///
- [SugarColumn(ColumnName = "F_LastModifyUserId", ColumnDescription = "修改用户")]
- public string LastModifyUserId { get; set; }
-
- ///
- /// 获取或设置 删除标志.
- ///
- [SugarColumn(ColumnName = "F_DeleteMark", ColumnDescription = "删除标志")]
- public int? DeleteMark { get; set; }
-
- ///
- /// 获取或设置 删除时间.
- ///
- [SugarColumn(ColumnName = "F_DeleteTime", ColumnDescription = "删除时间")]
- public DateTime? DeleteTime { get; set; }
-
- ///
- /// 获取或设置 删除用户.
- ///
- [SugarColumn(ColumnName = "F_DeleteUserId", ColumnDescription = "删除用户")]
- public string DeleteUserId { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Entity/ProjectGanttEntity.cs b/extend/Tnb.Extend.Entitys/Entity/ProjectGanttEntity.cs
deleted file mode 100644
index 0e74111b..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/ProjectGanttEntity.cs
+++ /dev/null
@@ -1,106 +0,0 @@
-using JNPF.Common.Const;
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 项目计划
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.yinmaisoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01.
-///
-[SugarTable("EXT_PROJECTGANTT")]
-public class ProjectGanttEntity : CLDEntityBase
-{
- ///
- /// 项目上级.
- ///
- [SugarColumn(ColumnName = "F_PARENTID")]
- public string? ParentId { get; set; }
-
- ///
- /// 项目主键.
- ///
- [SugarColumn(ColumnName = "F_PROJECTID")]
- public string? ProjectId { get; set; }
-
- ///
- /// 项目类型:【1-项目、2-任务】.
- ///
- [SugarColumn(ColumnName = "F_TYPE")]
- public int? Type { get; set; }
-
- ///
- /// 项目编码.
- ///
- [SugarColumn(ColumnName = "F_ENCODE")]
- public string? EnCode { get; set; }
-
- ///
- /// 项目名称.
- ///
- [SugarColumn(ColumnName = "F_FULLNAME")]
- public string? FullName { get; set; }
-
- ///
- /// 项目工期.
- ///
- [SugarColumn(ColumnName = "F_TIMELIMIT")]
- public decimal? TimeLimit { get; set; }
-
- ///
- /// 项目标记.
- ///
- [SugarColumn(ColumnName = "F_SIGN")]
- public string? Sign { get; set; }
-
- ///
- /// 标记颜色.
- ///
- [SugarColumn(ColumnName = "F_SIGNCOLOR")]
- public string? SignColor { get; set; }
-
- ///
- /// 开始时间.
- ///
- [SugarColumn(ColumnName = "F_STARTTIME")]
- public DateTime? StartTime { get; set; }
-
- ///
- /// 结束时间.
- ///
- [SugarColumn(ColumnName = "F_ENDTIME")]
- public DateTime? EndTime { get; set; }
-
- ///
- /// 当前进度.
- ///
- [SugarColumn(ColumnName = "F_SCHEDULE")]
- public int? Schedule { get; set; }
-
- ///
- /// 负责人.
- ///
- [SugarColumn(ColumnName = "F_MANAGERIDS")]
- public string? ManagerIds { get; set; }
-
- ///
- /// 描述.
- ///
- [SugarColumn(ColumnName = "F_DESCRIPTION")]
- public string? Description { get; set; }
-
- ///
- /// 排序码.
- ///
- [SugarColumn(ColumnName = "F_SORTCODE")]
- public long? SortCode { get; set; }
-
- ///
- /// 项目状态.
- ///
- [SugarColumn(ColumnName = "F_STATE")]
- public int? State { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/ScheduleEntity.cs b/extend/Tnb.Extend.Entitys/Entity/ScheduleEntity.cs
deleted file mode 100644
index e52c5cef..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/ScheduleEntity.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-using JNPF.Common.Const;
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 日程安排
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01.
-///
-[SugarTable("EXT_SCHEDULE")]
-public class ScheduleEntity : CLDEntityBase
-{
- ///
- /// 日程标题.
- ///
- [SugarColumn(ColumnName = "F_TITLE")]
- public string? Title { get; set; }
-
- ///
- /// 日程内容.
- ///
- [SugarColumn(ColumnName = "F_CONTENT")]
- public string? Content { get; set; }
-
- ///
- /// 日程颜色.
- ///
- [SugarColumn(ColumnName = "F_COLOUR")]
- public string? Colour { get; set; }
-
- ///
- /// 颜色样式.
- ///
- [SugarColumn(ColumnName = "F_COLOURCSS")]
- public string? ColourCss { get; set; }
-
- ///
- /// 开始时间.
- ///
- [SugarColumn(ColumnName = "F_STARTTIME")]
- public DateTime? StartTime { get; set; }
-
- ///
- /// 结束时间.
- ///
- [SugarColumn(ColumnName = "F_ENDTIME")]
- public DateTime? EndTime { get; set; }
-
- ///
- /// 提醒设置.
- ///
- [SugarColumn(ColumnName = "F_EARLY")]
- public int? Early { get; set; }
-
- ///
- /// APP提醒.
- ///
- [SugarColumn(ColumnName = "F_MAILALERT")]
- public int? MailAlert { get; set; }
-
- ///
- /// 邮件提醒.
- ///
- [SugarColumn(ColumnName = "F_APPALERT")]
- public int? AppAlert { get; set; }
-
- ///
- /// 微信提醒.
- ///
- [SugarColumn(ColumnName = "F_WECHATALERT")]
- public int? WeChatAlert { get; set; }
-
- ///
- /// 短信提醒.
- ///
- [SugarColumn(ColumnName = "F_MOBILEALERT")]
- public int? MobileAlert { get; set; }
-
- ///
- /// 系统提醒.
- ///
- [SugarColumn(ColumnName = "F_SYSTEMALERT")]
- public int? SystemAlert { get; set; }
-
- ///
- /// 描述.
- ///
- [SugarColumn(ColumnName = "F_DESCRIPTION")]
- public string? Description { get; set; }
-
- ///
- /// 排序码.
- ///
- [SugarColumn(ColumnName = "F_SORTCODE")]
- public long? SortCode { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/TableExampleEntity.cs b/extend/Tnb.Extend.Entitys/Entity/TableExampleEntity.cs
deleted file mode 100644
index 1517173e..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/TableExampleEntity.cs
+++ /dev/null
@@ -1,162 +0,0 @@
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 表格示例数据
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01 .
-///
-[SugarTable("EXT_TABLEEXAMPLE")]
-public class TableExampleEntity : EntityBase
-{
- ///
- /// 交互日期.
- ///
- ///
- [SugarColumn(ColumnName = "F_INTERACTIONDATE")]
- public DateTime? InteractionDate { get; set; }
-
- ///
- /// 项目编码.
- ///
- ///
- [SugarColumn(ColumnName = "F_PROJECTCODE")]
- public string? ProjectCode { get; set; }
-
- ///
- /// 项目名称.
- ///
- ///
- [SugarColumn(ColumnName = "F_PROJECTNAME")]
- public string? ProjectName { get; set; }
-
- ///
- /// 负责人.
- ///
- ///
- [SugarColumn(ColumnName = "F_PRINCIPAL")]
- public string? Principal { get; set; }
-
- ///
- /// 立顶人.
- ///
- ///
- [SugarColumn(ColumnName = "F_JACKSTANDS")]
- public string? JackStands { get; set; }
-
- ///
- /// 项目类型.
- ///
- ///
- [SugarColumn(ColumnName = "F_PROJECTTYPE")]
- public string? ProjectType { get; set; }
-
- ///
- /// 项目阶段.
- ///
- ///
- [SugarColumn(ColumnName = "F_PROJECTPHASE")]
- public string? ProjectPhase { get; set; }
-
- ///
- /// 客户名称.
- ///
- ///
- [SugarColumn(ColumnName = "F_CUSTOMERNAME")]
- public string? CustomerName { get; set; }
-
- ///
- /// 费用金额.
- ///
- ///
- [SugarColumn(ColumnName = "F_COSTAMOUNT")]
- public decimal? CostAmount { get; set; }
-
- ///
- /// 已用金额.
- ///
- ///
- [SugarColumn(ColumnName = "F_TUNESAMOUNT")]
- public decimal? TunesAmount { get; set; }
-
- ///
- /// 预计收入.
- ///
- ///
- [SugarColumn(ColumnName = "F_PROJECTEDINCOME")]
- public decimal? ProjectedIncome { get; set; }
-
- ///
- /// 登记人.
- ///
- ///
- [SugarColumn(ColumnName = "F_REGISTRANT")]
- public string? Registrant { get; set; }
-
- ///
- /// 登记时间.
- ///
- ///
- [SugarColumn(ColumnName = "F_REGISTERDATE")]
- public DateTime? RegisterDate { get; set; }
-
- ///
- /// 备注.
- ///
- ///
- [SugarColumn(ColumnName = "F_DESCRIPTION")]
- public string? Description { get; set; }
-
- ///
- /// 标记.
- ///
- ///
- [SugarColumn(ColumnName = "F_SIGN")]
- public string? Sign { get; set; }
-
- ///
- /// 批注列表Json.
- ///
- ///
- [SugarColumn(ColumnName = "F_POSTILJSON")]
- public string? PostilJson { get; set; }
-
- ///
- /// 批注总数.
- ///
- ///
- [SugarColumn(ColumnName = "F_POSTILCOUNT")]
- public int? PostilCount { get; set; }
-
- ///
- /// 有效标志.
- ///
- ///
- [SugarColumn(ColumnName = "F_ENABLEDMARK")]
- public int? EnabledMark { get; set; }
-
- ///
- /// 排序码.
- ///
- ///
- [SugarColumn(ColumnName = "F_SORTCODE")]
- public long? SortCode { get; set; }
-
- ///
- /// 编辑时间.
- ///
- ///
- [SugarColumn(ColumnName = "F_LASTMODIFYTIME")]
- public DateTime? LastModifyTime { get; set; }
-
- ///
- /// 编辑用户.
- ///
- ///
- [SugarColumn(ColumnName = "F_LASTMODIFYUSERID")]
- public string? LastModifyUserId { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Entity/WorkLogEntity.cs b/extend/Tnb.Extend.Entitys/Entity/WorkLogEntity.cs
deleted file mode 100644
index 9b84eabc..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/WorkLogEntity.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 工作日志
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01 .
-///
-[SugarTable("EXT_WORKLOG")]
-public class WorkLogEntity : CLDEntityBase
-{
- ///
- /// 日志标题.
- ///
- ///
- [SugarColumn(ColumnName = "F_TITLE")]
- public string? Title { get; set; }
-
- ///
- /// 今天内容.
- ///
- ///
- [SugarColumn(ColumnName = "F_TODAYCONTENT")]
- public string? TodayContent { get; set; }
-
- ///
- /// 明天内容.
- ///
- ///
- [SugarColumn(ColumnName = "F_TOMORROWCONTENT")]
- public string? TomorrowContent { get; set; }
-
- ///
- /// 遇到问题.
- ///
- ///
- [SugarColumn(ColumnName = "F_QUESTION")]
- public string? Question { get; set; }
-
- ///
- /// 发送给谁.
- ///
- ///
- [SugarColumn(ColumnName = "F_TOUSERID")]
- public string? ToUserId { get; set; }
-
- ///
- /// 描述.
- ///
- ///
- [SugarColumn(ColumnName = "F_DESCRIPTION")]
- public string? Description { get; set; }
-
- ///
- /// 排序.
- ///
- ///
- [SugarColumn(ColumnName = "F_SORTCODE")]
- public long? SortCode { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Entity/WorkLogShareEntity.cs b/extend/Tnb.Extend.Entitys/Entity/WorkLogShareEntity.cs
deleted file mode 100644
index d6e27124..00000000
--- a/extend/Tnb.Extend.Entitys/Entity/WorkLogShareEntity.cs
+++ /dev/null
@@ -1,37 +0,0 @@
-using JNPF.Common.Const;
-using JNPF.Common.Contracts;
-using SqlSugar;
-
-namespace JNPF.Extend.Entitys;
-
-///
-/// 工作日志分享
-/// 版 本:V3.2
-/// 版 权:引迈信息技术有限公司(https://www.jnpfsoft.com)
-/// 作 者:JNPF开发平台组
-/// 日 期:2021-06-01 .
-///
-[SugarTable("EXT_WORKLOGSHARE")]
-public class WorkLogShareEntity : EntityBase
-{
- ///
- /// 日志主键.
- ///
- ///
- [SugarColumn(ColumnName = "F_WORKLOGID")]
- public string? WorkLogId { get; set; }
-
- ///
- /// 共享人员.
- ///
- ///
- [SugarColumn(ColumnName = "F_SHAREUSERID")]
- public string? ShareUserId { get; set; }
-
- ///
- /// 共享时间.
- ///
- ///
- [SugarColumn(ColumnName = "F_SHARETIME")]
- public DateTime? ShareTime { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Mapper/Mapper.cs b/extend/Tnb.Extend.Entitys/Mapper/Mapper.cs
deleted file mode 100644
index 73c5ba7f..00000000
--- a/extend/Tnb.Extend.Entitys/Mapper/Mapper.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using JNPF.Extend.Entitys.Dto.Email;
-using JNPF.Extend.Entitys.Dto.Order;
-using Mapster;
-
-namespace JNPF.Extend.Entitys.Mapper
-{
- class Mapper : IRegister
- {
- public void Register(TypeAdapterConfig config)
- {
- config.ForType()
- .Map(dest => dest.fullName, src => src.Subject);
- config.ForType()
- .Map(dest => dest.fdate, src => src.Date)
- .Map(dest => dest.sender, src => src.SenderName)
- .Map(dest => dest.isRead, src => src.Read);
- config.ForType()
- .Map(dest => dest.recipient, src => src.To);
- config.ForType()
- .Map(dest => dest.emailSsl, src => src.Ssl);
- config.ForType()
- .Map(dest => dest.recipient, src => src.MAccount)
- .Map(dest => dest.fdate, src => src.Date);
- config.ForType()
- .Map(dest => dest.recipient, src => src.To);
- config.ForType()
- .Map(dest => dest.fabstract, src => src.Abstract)
- .Map(dest => dest.receivableMoney, src => src.ReceivableMoney.ToString());
- config.ForType()
- .Map(dest => dest.Ssl, src => src.emailSsl);
- config.ForType()
- .Map(dest => dest.Ssl, src => src.emailSsl);
-
- //config.ForType()
- // .Map(dest => dest.Ssl, src => src.Ssl != null && src.Ssl == 1 ? true : false);
- }
- }
-}
diff --git a/extend/Tnb.Extend.Entitys/Model/CollectionPlanModel.cs b/extend/Tnb.Extend.Entitys/Model/CollectionPlanModel.cs
deleted file mode 100644
index 283b4595..00000000
--- a/extend/Tnb.Extend.Entitys/Model/CollectionPlanModel.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Model;
-
-///
-///
-///
-[SuppressSniffer]
-public class CollectionPlanModel
-{
- ///
- /// 收款日期.
- ///
- public DateTime? receivableDate { get; set; }
-
- ///
- /// 收款比率.
- ///
- public decimal? receivableRate { get; set; }
-
- ///
- /// 收款金额.
- ///
- public decimal? receivableMoney { get; set; }
-
- ///
- /// 收款方式.
- ///
- public string? receivableMode { get; set; }
-
- ///
- /// 收款摘要.
- ///
- public string? fabstract { get; set; }
-
- ///
- /// 备注.
- ///
- public string? description { get; set; }
-
- ///
- /// id.
- ///
- public string? id { get; set; }
-
- ///
- /// 订单id.
- ///
- public string? orderId { get; set; }
-
- ///
- /// 接收状态.
- ///
- public int? receivableState { get; set; }
-
- ///
- /// 排序.
- ///
- public long? sortCode { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Model/GoodsModel.cs b/extend/Tnb.Extend.Entitys/Model/GoodsModel.cs
deleted file mode 100644
index aba795c4..00000000
--- a/extend/Tnb.Extend.Entitys/Model/GoodsModel.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Model;
-
-[SuppressSniffer]
-public class GoodsModel
-{
- ///
- /// 商品id.
- ///
- public string? goodsId { get; set; }
-
- ///
- /// 商品名称.
- ///
- public string? goodsName { get; set; }
-
- ///
- /// 规格型号.
- ///
- public string? specifications { get; set; }
-
- ///
- /// 单位.
- ///
- public string? unit { get; set; }
-
- ///
- /// 数量.
- ///
- public decimal? qty { get; set; }
-
- ///
- /// 单价.
- ///
- public decimal? price { get; set; }
-
- ///
- /// 金额.
- ///
- public decimal? amount { get; set; }
-
- ///
- /// 折扣.
- ///
- public decimal? discount { get; set; }
-
- ///
- /// 税率.
- ///
- public decimal? cess { get; set; }
-
- ///
- /// 实际单价.
- ///
- public decimal? actualPrice { get; set; }
-
- ///
- /// 实际金额.
- ///
- public decimal? actualAmount { get; set; }
-
- ///
- /// 备注.
- ///
- public string? description { get; set; }
-
- ///
- /// 商品编码.
- ///
- public string? goodsCode { get; set; }
-
- ///
- /// id.
- ///
- public string? id { get; set; }
-
- ///
- /// 距离.
- ///
- public string? remove { get; set; }
-
- ///
- /// 排序.
- ///
- public long? sortCode { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Model/PostilModel.cs b/extend/Tnb.Extend.Entitys/Model/PostilModel.cs
deleted file mode 100644
index 07da934e..00000000
--- a/extend/Tnb.Extend.Entitys/Model/PostilModel.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Model;
-
-[SuppressSniffer]
-public class PostilModel
-{
- ///
- /// 用户id.
- ///
- public string? userId { get; set; }
-
- ///
- /// 内容.
- ///
- public string? text { get; set; }
-
- ///
- /// 创建时间.
- ///
- public DateTime? creatorTime { get; set; }
-}
diff --git a/extend/Tnb.Extend.Entitys/Model/ProductEntryMdoel.cs b/extend/Tnb.Extend.Entitys/Model/ProductEntryMdoel.cs
deleted file mode 100644
index 04bad2e2..00000000
--- a/extend/Tnb.Extend.Entitys/Model/ProductEntryMdoel.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using JNPF.DependencyInjection;
-
-namespace JNPF.Extend.Entitys.Model;
-
-///
-/// 产品明细.
-///
-[SuppressSniffer]
-public class ProductEntryMdoel
-{
- ///
- /// 产品规格.
- ///
- public string productSpecification { get; set; }
-
- ///
- /// 数量.
- ///
- public string qty { get; set; }
-
- ///
- /// 单价.
- ///
- public decimal money { get; set; }
-
- ///
- /// 折后单价.
- ///
- public decimal price { get; set; }
-
- ///
- /// 单位.
- ///
- public string util { get; set; }
-
- ///
- /// 控制方式.
- ///
- public string commandType { get; set; }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Properties/launchSettings.json b/extend/Tnb.Extend.Entitys/Properties/launchSettings.json
deleted file mode 100644
index dca0860f..00000000
--- a/extend/Tnb.Extend.Entitys/Properties/launchSettings.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "profiles": {
- "Tnb.Extend.Entitys": {
- "commandName": "Project",
- "launchBrowser": true,
- "environmentVariables": {
- "ASPNETCORE_ENVIRONMENT": "Development"
- },
- "applicationUrl": "https://localhost:50285;http://localhost:50286"
- }
- }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Entitys/Tnb.Extend.Entitys.csproj b/extend/Tnb.Extend.Entitys/Tnb.Extend.Entitys.csproj
deleted file mode 100644
index 08bcb7bf..00000000
--- a/extend/Tnb.Extend.Entitys/Tnb.Extend.Entitys.csproj
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
- net6.0
- enable
- enable
- False
- $(NoWarn);CS8618;
- Debug;Release;tianyi
-
-
-
-
-
-
-
diff --git a/extend/Tnb.Extend.Interfaces/Properties/launchSettings.json b/extend/Tnb.Extend.Interfaces/Properties/launchSettings.json
deleted file mode 100644
index 77266e9a..00000000
--- a/extend/Tnb.Extend.Interfaces/Properties/launchSettings.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "profiles": {
- "Tnb.Extend.Interfaces": {
- "commandName": "Project",
- "launchBrowser": true,
- "environmentVariables": {
- "ASPNETCORE_ENVIRONMENT": "Development"
- },
- "applicationUrl": "https://localhost:50283;http://localhost:50284"
- }
- }
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend.Interfaces/Tnb.Extend.Interfaces.csproj b/extend/Tnb.Extend.Interfaces/Tnb.Extend.Interfaces.csproj
deleted file mode 100644
index e2d74688..00000000
--- a/extend/Tnb.Extend.Interfaces/Tnb.Extend.Interfaces.csproj
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
- net6.0
- enable
- enable
- False
- Debug;Release;tianyi
-
-
-
-
-
-
-
diff --git a/extend/Tnb.Extend/BigDataService.cs b/extend/Tnb.Extend/BigDataService.cs
deleted file mode 100644
index 6de96d15..00000000
--- a/extend/Tnb.Extend/BigDataService.cs
+++ /dev/null
@@ -1,128 +0,0 @@
-using JNPF.Common.Enums;
-using JNPF.Common.Extension;
-using JNPF.Common.Filter;
-using JNPF.Common.Security;
-using JNPF.DependencyInjection;
-using JNPF.DynamicApiController;
-using JNPF.Extend.Entitys;
-using JNPF.Extend.Entitys.Dto.BigData;
-using JNPF.FriendlyException;
-using JNPF.LinqBuilder;
-using Mapster;
-using Microsoft.AspNetCore.Mvc;
-using SqlSugar;
-
-namespace JNPF.Extend;
-
-///
-/// 大数据测试
-/// 版 本:V3.2
-/// 版 权:拓通智联科技有限公司(http://www.tuotong-tech.com)
-/// 日 期:2021-06-01 .
-///
-[ApiDescriptionSettings(Tag = "Extend", Name = "BigData", Order = 600)]
-[Route("api/extend/[controller]")]
-public class BigDataService : IDynamicApiController, ITransient
-{
- private readonly ISqlSugarRepository _repository;
-
- ///
- /// 初始化一个类型的新实例.
- ///
- public BigDataService(ISqlSugarRepository repository)
- {
- _repository = repository;
- }
-
- #region GET
-
- ///
- /// 列表
- ///
- /// 请求参数
- ///
- [HttpGet("")]
- public async Task GetList([FromQuery] PageInputBase input)
- {
- var queryWhere = LinqExpression.And();
- if (!string.IsNullOrEmpty(input.keyword))
- queryWhere = queryWhere.And(m => m.FullName.Contains(input.keyword) || m.EnCode.Contains(input.keyword));
- var list = await _repository.AsQueryable().Where(queryWhere).OrderBy(x => x.CreatorTime, OrderByType.Desc).ToPagedListAsync(input.currentPage, input.pageSize);
- var pageList = new SqlSugarPagedList()
- {
- list = list.list.Adapt>(),
- pagination = list.pagination
- };
- return PageResult.SqlSugarPageResult(pageList);
- }
- #endregion
-
- #region POST
-
- ///
- /// 新建
- ///
- ///
- [HttpPost("")]
- public async Task Create()
- {
- var list = await _repository.GetListAsync();
- var code = 0;
- if (list.Count > 0)
- {
- code = list.Select(x => x.EnCode).ToList().Max().ParseToInt();
- }
- var index = code == 0 ? 10000001 : code;
- if (index > 11500001)
- throw Oops.Oh(ErrorCode.Ex0001);
- List entityList = new List();
- for (int i = 0; i < 10000; i++)
- {
- entityList.Add(new BigDataEntity
- {
- Id = SnowflakeIdHelper.NextId(),
- EnCode = index.ToString(),
- FullName = "测试大数据" + index,
- CreatorTime = DateTime.Now,
- });
- index++;
- }
- Blukcopy(entityList);
- }
-
- #endregion
-
- #region PrivateMethod
-
- ///
- /// 大数据批量插入.
- ///
- ///
- private void Blukcopy(List entityList)
- {
- try
- {
- var storageable = _repository.AsSugarClient().Storageable(entityList).SplitInsert(x => true).ToStorage();
- switch (_repository.AsSugarClient().CurrentConnectionConfig.DbType)
- {
- case DbType.Dm:
- case DbType.Kdbndp:
- storageable.AsInsertable.ExecuteCommand();
- break;
- case DbType.Oracle:
- _repository.AsSugarClient().Storageable(entityList).ToStorage().BulkCopy();
- break;
- default:
- _repository.AsSugarClient().Fastest().BulkCopy(entityList);
- break;
- }
- }
- catch (Exception ex)
- {
- throw;
- }
-
- }
-
- #endregion
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend/DataMgrService.cs b/extend/Tnb.Extend/DataMgrService.cs
deleted file mode 100644
index f00ad4ec..00000000
--- a/extend/Tnb.Extend/DataMgrService.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-using System.Data;
-using JNPF.Common.Core.Manager;
-using JNPF.Common.Enums;
-using JNPF.Common.Extension;
-using JNPF.Common.Filter;
-using JNPF.Common.Security;
-using JNPF.DependencyInjection;
-using JNPF.DynamicApiController;
-using JNPF.Extend.Entitys;
-using JNPF.Extend.Entitys.Dto.WoekLog;
-using JNPF.Extend.Entitys.Dto.WorkLog;
-using JNPF.FriendlyException;
-using JNPF.Systems.Entitys.Permission;
-using JNPF.Systems.Interfaces.Permission;
-using Mapster;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Mvc;
-using SqlSugar;
-using Yitter.IdGenerator;
-
-namespace JNPF.Extend;
-
-///
-/// 工作日志
-/// 版 本:V3.2
-/// 版 权:拓通智联科技有限公司(http://www.tuotong-tech.com)
-/// 日 期:2021-06-01 .
-///
-[ApiDescriptionSettings(Tag = "Extend", Name = "DataMgr", Order = 600)]
-[Route("api/extend/[controller]")]
-public class DataMgrService : IDynamicApiController, ITransient
-{
- private readonly SqlSugarScope _sugar;
- private readonly ITenant _db;
-
- public DataMgrService(ISqlSugarClient context)
- {
- _sugar = (SqlSugarScope)context;
- _db = context.AsTenant();
- }
-
- ///
- /// 使用雪花Id
- ///
- ///
- [HttpPost("renew-snow-id")]
- [AllowAnonymous]
- public async Task RenewSnowIdAsync(DbMainTable mainTbl)
- {
- int count = 0;
- var tbl = await _sugar.Queryable().AS(mainTbl.MainTable).ToDataTableAsync();
- if (!tbl.Columns.Contains(mainTbl.PrimaryKey))
- {
- return count;
- }
- foreach (DataRow row in tbl.Rows)
- {
- var oldid = row[mainTbl.PrimaryKey].ToString();
- var snowid = SnowflakeIdHelper.NextId();
- count += await _sugar.Updateable().AS(mainTbl.MainTable).Where($"{mainTbl.PrimaryKey}='{oldid}'").SetColumns(mainTbl.PrimaryKey, snowid).ExecuteCommandAsync();
- foreach (var refTbl in mainTbl.RefTables)
- {
- count += await _sugar.Updateable().AS(refTbl.RefTable).Where($"{refTbl.RefField}='{oldid}'").SetColumns(refTbl.RefField, snowid).ExecuteCommandAsync();
- }
- }
- return count;
- }
-}
-
-public class DbMainTable
-{
- public string MainTable { get; set; }
- public string PrimaryKey { get; set; } = "f_id";
- public List RefTables { get; set; } = new List();
- public DbMainTable(string tblName)
- {
- MainTable = tblName;
- }
-}
-public class DbTableRef
-{
- public string RefTable { get; set; }
- public string RefField { get; set; }
-
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend/DocumentPreview.cs b/extend/Tnb.Extend/DocumentPreview.cs
deleted file mode 100644
index 25664920..00000000
--- a/extend/Tnb.Extend/DocumentPreview.cs
+++ /dev/null
@@ -1,117 +0,0 @@
-using System.Web;
-using JNPF.Common.Configuration;
-using JNPF.Common.Core.Manager.Files;
-using JNPF.Common.Enums;
-using JNPF.Common.Extension;
-using JNPF.Common.Filter;
-using JNPF.Common.Options;
-using JNPF.DependencyInjection;
-using JNPF.DynamicApiController;
-using JNPF.Extend.Entitys.Dto.DocumentPreview;
-using JNPF.FriendlyException;
-using JNPF.Logging.Attributes;
-using Mapster;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.Extensions.Options;
-
-namespace JNPF.Extend;
-
-///
-/// 文件预览
-/// 版 本:V3.2
-/// 版 权:拓通智联科技有限公司(http://www.tuotong-tech.com)
-/// 日 期:2021-06-01 .
-///
-[ApiDescriptionSettings(Tag = "Extend", Name = "DocumentPreview", Order = 600)]
-[Route("api/extend/[controller]")]
-public class DocumentPreview : IDynamicApiController, ITransient
-{
- private readonly IFileManager _fileManager;
-
- public DocumentPreview(IFileManager fileManager)
- {
- _fileManager = fileManager;
- }
-
- #region Get
-
- ///
- /// 获取文档列表.
- ///
- /// 请求参数.
- ///
- [HttpGet("")]
- public async Task GetList_Api([FromQuery] KeywordInput input)
- {
- var filePath = FileVariable.DocumentPreviewFilePath;
- var list = await _fileManager.GetObjList(filePath);
- list = list.FindAll(x => "xlsx".Equals(x.FileType) || "xls".Equals(x.FileType) || "docx".Equals(x.FileType) || "doc".Equals(x.FileType) || "pptx".Equals(x.FileType) || "ppt".Equals(x.FileType));
- if (input.keyword.IsNotEmptyOrNull())
- list = list.FindAll(x => x.FileName.Contains(input.keyword));
- return list.OrderByDescending(x => x.FileTime).Adapt>();
- }
-
- ///
- /// 文件在线预览.
- ///
- ///
- ///
- ///
- [HttpGet("{fileId}/Preview")]
- public async Task DocumentPreview_Api(string fileId, [FromQuery] DocumentPreviewPreviewInput input)
- {
- var filePath = FileVariable.DocumentPreviewFilePath;
- var files = await _fileManager.GetObjList(filePath);
- var file = files.Find(x => x.FileId == fileId);
- if (file.IsNotEmptyOrNull())
- {
- string domain = App.GetConfig("JNPF_App", true).Domain;
- string yozoUrl = App.GetConfig("JNPF_App", true).YOZO.Domain;
- string yozoKey = App.GetConfig("JNPF_App", true).YOZO.domainKey;
- var url = string.Format("{0}/api/Extend/DocumentPreview/down/{1}", domain, file.FileName);
- if (!input.previewType.Equals("localPreview"))
- {
- url = string.Format("{0}?k={1}&url={2}", yozoUrl,
- yozoKey, url, input.noCache, input.watermark, input.isCopy, input.pageStart, input.pageEnd, input.type);
- }
- return url;
- }
- else
- {
- throw Oops.Oh(ErrorCode.D8000);
- }
- }
-
- ///
- /// 下载.
- ///
- ///
- [HttpGet("down/{fileName}")]
- [IgnoreLog]
- [AllowAnonymous]
- public async Task FileDown(string fileName)
- {
- var filePath = Path.Combine(FileVariable.DocumentPreviewFilePath, fileName);
- var systemFilePath = Path.Combine(FileVariable.SystemFilePath, fileName);
- FileStreamResult fileStreamResult = null;
- if (await _fileManager.ExistsFile(filePath))
- fileStreamResult = await _fileManager.DownloadFileByType(filePath, fileName);
- else
- fileStreamResult = await _fileManager.DownloadFileByType(systemFilePath, fileName);
-
- byte[] bytes = new byte[fileStreamResult.FileStream.Length];
-
- fileStreamResult.FileStream.Read(bytes, 0, bytes.Length);
-
- fileStreamResult.FileStream.Close();
- var httpContext = App.HttpContext;
- httpContext.Response.ContentType = "application/octet-stream";
- httpContext.Response.Headers.Add("Content-Disposition", "attachment;filename=" + HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
- httpContext.Response.Headers.Add("Content-Length", bytes.Length.ToString());
- httpContext.Response.Body.WriteAsync(bytes);
- httpContext.Response.Body.Flush();
- httpContext.Response.Body.Close();
- }
- #endregion
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend/DocumentService.cs b/extend/Tnb.Extend/DocumentService.cs
deleted file mode 100644
index b04bedd2..00000000
--- a/extend/Tnb.Extend/DocumentService.cs
+++ /dev/null
@@ -1,446 +0,0 @@
-using JNPF.Common.Core.Manager;
-using JNPF.Common.Core.Manager.Files;
-using JNPF.Common.Enums;
-using JNPF.Common.Extension;
-using JNPF.Common.Filter;
-using JNPF.Common.Manager;
-using JNPF.Common.Models;
-using JNPF.Common.Options;
-using JNPF.Common.Security;
-using JNPF.DataEncryption;
-using JNPF.DependencyInjection;
-using JNPF.DynamicApiController;
-using JNPF.Extend.Entitys;
-using JNPF.Extend.Entitys.Dto.Document;
-using JNPF.FriendlyException;
-using JNPF.Systems.Entitys.Permission;
-using Mapster;
-using Microsoft.AspNetCore.Mvc;
-using SqlSugar;
-using Yitter.IdGenerator;
-
-namespace JNPF.Extend;
-
-///
-/// 知识管理
-/// 版 本:V3.2
-/// 版 权:拓通智联科技有限公司(http://www.tuotong-tech.com)
-/// 日 期:2021-06-01 .
-///
-[ApiDescriptionSettings(Tag = "Extend", Name = "Document", Order = 601)]
-[Route("api/extend/[controller]")]
-public class DocumentService : IDynamicApiController, ITransient
-{
- private readonly ISqlSugarRepository _repository;
- private readonly IFileManager _fileManager;
- private readonly ITenant _db;
- private readonly IUserManager _userManager;
- private readonly ICacheManager _cacheManager;
-
- public DocumentService(ISqlSugarRepository repository, IFileManager fileManager, IUserManager userManager, ICacheManager cacheManager, ISqlSugarClient context)
- {
- _repository = repository;
- _fileManager = fileManager;
- _userManager = userManager;
- _cacheManager = cacheManager;
- _db = context.AsTenant();
- }
-
- #region Get
-
- ///
- /// 列表(文件夹树).
- ///
- ///
- [HttpGet("FolderTree/{id}")]
- public async Task GetFolderTree(string id)
- {
- var data = (await _repository.AsQueryable().Where(x => x.CreatorUserId == _userManager.UserId && x.Type == 0 && x.DeleteMark == 0).ToListAsync()).Adapt>();
- data.Add(new DocumentFolderTreeOutput
- {
- id = "0",
- fullName = "全部文档",
- parentId = "-1",
- icon = "fa fa-folder",
- });
- if (!id.Equals("0"))
- {
- data.RemoveAll(x => x.id == id);
- }
- var treeList = data.ToTree("-1");
- return new { list = treeList };
- }
-
- ///
- /// 列表(全部文档).
- ///
- /// 请求参数.
- /// 文档层级.
- ///
- [HttpGet("")]
- public async Task GetAllList([FromQuery] KeywordInput input, string parentId)
- {
- var data = (await _repository.AsQueryable().Where(m => m.CreatorUserId == _userManager.UserId && m.ParentId == parentId && m.DeleteMark == 0)
- .WhereIF(input.keyword.IsNotEmptyOrNull(), t => t.FullName.Contains(input.keyword))
- .OrderBy(x => x.SortCode).OrderBy(x => x.CreatorTime, OrderByType.Desc)
- .OrderByIF(!string.IsNullOrEmpty(input.keyword), t => t.LastModifyTime, OrderByType.Desc).ToListAsync()).Adapt>();
- string[]? typeList = new string[] { "doc", "docx", "xls", "xlsx", "ppt", "pptx", "pdf", "jpg", "jpeg", "gif", "png", "bmp" };
- foreach (var item in data)
- {
- string? type = item.fullName.Split('.').LastOrDefault();
- item.isPreview = typeList.Contains(type) ? "1" : null;
- }
- return new { list = data };
- }
-
- ///
- /// 列表(我的分享).
- ///
- /// 请求参数.
- ///
- [HttpGet("Share")]
- public async Task GetShareOutList([FromQuery] KeywordInput input)
- {
- var data = (await _repository.AsQueryable()
- .Where(m => m.CreatorUserId == _userManager.UserId && m.IsShare > 0 && m.DeleteMark == 0)
- .WhereIF(input.keyword.IsNotEmptyOrNull(), t => t.FullName.Contains(input.keyword))
- .OrderBy(x => x.SortCode).OrderBy(x => x.CreatorTime, OrderByType.Desc)
- .OrderByIF(!string.IsNullOrEmpty(input.keyword), t => t.LastModifyTime, OrderByType.Desc).ToListAsync()).Adapt>();
- return new { list = data };
- }
-
- ///
- /// 列表(共享给我).
- ///
- /// 请求参数.
- ///
- [HttpGet("ShareTome")]
- public async Task GetShareTomeList([FromQuery] KeywordInput input)
- {
- var output = await _repository.AsSugarClient().Queryable((a, b, c) => new JoinQueryInfos(JoinType.Left, a.Id == b.DocumentId, JoinType.Left, a.CreatorUserId == c.Id)).Where((a, b, c) => a.DeleteMark == 0 && b.ShareUserId == _userManager.UserId).WhereIF(input.keyword.IsNotEmptyOrNull(), a => a.FullName.Contains(input.keyword)).Select((a, b, c) => new DocumentShareTomeOutput()
- {
- shareTime = a.ShareTime,
- fileSize = a.FileSize,
- fullName = a.FullName,
- id = a.Id,
- creatorUserId = SqlFunc.MergeString(c.RealName, "/", c.Account),
- fileExtension = a.FileExtension
- }).MergeTable().OrderBy(a => a.shareTime, OrderByType.Desc).ToListAsync();
- return new { list = output };
- }
-
- ///
- /// 列表(回收站).
- ///
- /// 请求参数.
- ///
- [HttpGet("Trash")]
- public async Task GetTrashList([FromQuery] KeywordInput input)
- {
- var data = (await _repository.AsQueryable()
- .Where(m => m.CreatorUserId == _userManager.UserId && m.DeleteMark == 1)
- .WhereIF(input.keyword.IsNotEmptyOrNull(), t => t.FullName.Contains(input.keyword))
- .OrderBy(x => x.SortCode).OrderBy(x => x.CreatorTime, OrderByType.Desc)
- .OrderByIF(!string.IsNullOrEmpty(input.keyword), t => t.LastModifyTime, OrderByType.Desc).ToListAsync()).Adapt>();
- return new { list = data };
- }
-
- ///
- /// 列表(共享人员).
- ///
- /// 文档主键.
- ///
- [HttpGet("ShareUser/{documentId}")]
- public async Task GetShareUserList(string documentId)
- {
- var data = (await _repository.AsSugarClient().Queryable().Where(x => x.DocumentId == documentId).OrderBy(x => x.ShareTime, OrderByType.Desc).ToListAsync()).Adapt>();
- return new { list = data };
- }
-
- ///
- /// 信息.
- ///
- /// 主键值.
- ///
- [HttpGet("{id}")]
- public async Task GetInfo(string id)
- {
- var data = (await _repository.GetFirstAsync(x => x.Id == id && x.DeleteMark == 0)).Adapt();
- if (data.type == 1)
- {
- data.fullName = data.fullName.Replace("." + data.fileExtension, string.Empty);
- }
- return data;
- }
- #endregion
-
- #region Post
-
- ///
- /// 新建.
- ///
- /// 实体对象.
- ///
- [HttpPost("")]
- public async Task Create([FromBody] DocumentCrInput input)
- {
- if (await _repository.IsAnyAsync(x => x.FullName == input.fullName && x.CreatorUserId == _userManager.UserId && x.Type == 0 && x.DeleteMark != 1))
- throw Oops.Oh(ErrorCode.COM1004);
- var entity = input.Adapt();
- entity.DeleteMark = 0;
- var isOk = await _repository.AsSugarClient().Insertable(entity).IgnoreColumns(ignoreNullColumn: true).CallEntityMethod(m => m.Creator()).ExecuteCommandAsync();
- if (isOk < 1)
- throw Oops.Oh(ErrorCode.COM1000);
- }
-
- ///
- /// 更新.
- ///
- /// 主键值.
- /// 实体对象.
- ///
- [HttpPut("{id}")]
- public async Task Update(string id, [FromBody] DocumentUpInput input)
- {
- if (await _repository.IsAnyAsync(x => x.Id != id && x.Type == input.type && x.FullName == input.fullName && x.DeleteMark != 1))
- throw Oops.Oh(ErrorCode.COM1004);
- var entity = await _repository.GetFirstAsync(x => x.Id == id);
- entity.FullName = string.Format("{0}.{1}", input.fullName, entity.FileExtension);
- var isOk = await _repository.AsSugarClient().Updateable(entity).IgnoreColumns(ignoreAllNullColumns: true).CallEntityMethod(m => m.LastModify()).ExecuteCommandHasChangeAsync();
- if (!isOk)
- throw Oops.Oh(ErrorCode.COM1001);
- }
-
- ///
- /// 删除.
- ///
- /// 主键值.
- ///
- [HttpDelete("{id}")]
- public async Task Delete(string id)
- {
- if (await _repository.IsAnyAsync(x => x.ParentId == id && x.DeleteMark != 1))
- throw Oops.Oh(ErrorCode.Ex0006);
- var entity = await _repository.GetFirstAsync(x => x.Id == id && x.DeleteMark != 1);
- if (entity == null)
- throw Oops.Oh(ErrorCode.COM1005);
- var isOk = await _repository.AsSugarClient().Updateable(entity).CallEntityMethod(m => m.Delete()).UpdateColumns(it => new { it.DeleteMark, it.DeleteTime, it.DeleteUserId }).ExecuteCommandHasChangeAsync();
- if (!isOk)
- throw Oops.Oh(ErrorCode.COM1002);
- }
-
- ///
- /// 上传文件.
- ///
- ///
- [HttpPost("Uploader")]
- public async Task Uploader([FromForm] DocumentUploaderInput input)
- {
- #region 上传图片
- if (await _repository.IsAnyAsync(x => x.FullName == input.file.FileName && x.Type == 1 && x.DeleteMark != 1))
- throw Oops.Oh(ErrorCode.D8002);
- var stream = input.file.OpenReadStream();
- var _filePath = _fileManager.GetPathByType("document");
- await _fileManager.UploadFileByType(stream, _filePath, input.file.FileName);
- Thread.Sleep(1000);
- #endregion
-
- #region 保存数据
- var entity = new DocumentEntity();
- entity.Type = 1;
- entity.FullName = input.file.FileName;
- entity.ParentId = input.parentId;
- entity.FileExtension = Path.GetExtension(input.file.FileName).Replace(".", string.Empty);
- entity.FilePath = Path.Combine(_filePath, input.file.FileName);
- entity.FileSize = input.file.Length.ToString();
- entity.DeleteMark = 0;
- entity.UploaderUrl = string.Format("/api/file/Image/document/{0}", entity.FilePath);
- var isOk = await _repository.AsSugarClient().Insertable(entity).CallEntityMethod(m => m.Creator()).ExecuteCommandAsync();
- if (isOk < 1)
- throw Oops.Oh(ErrorCode.D8001);
- #endregion
- }
-
- ///
- /// 分片组装.
- ///
- /// 请求参数.
- [HttpPost("merge")]
- public async Task merge([FromForm] ChunkModel input)
- {
- if (await _repository.IsAnyAsync(x =>x.CreatorUserId==_userManager.UserId && x.FullName == input.fileName && x.Type == 1 && x.DeleteMark != 1))
- {
- //string directoryPath = Path.Combine(App.GetConfig("JNPF_App", true).SystemPath, "TemporaryFile", input.identifier);
- //FileHelper.DeleteDirectory(directoryPath);
- //throw Oops.Oh(ErrorCode.D8002);
- input.fileName = string.Format("{0}-{1}", DateTime.Now.ParseToUnixTime(), input.fileName);
- }
- input.isUpdateName = false;
- input.type = "document";
- var _filePath = _fileManager.GetPathByType(input.type);
- var output = await _fileManager.Merge(input);
- #region 保存数据
- var entity = new DocumentEntity();
- entity.Type = 1;
- entity.FullName = input.fileName;
- entity.ParentId = input.parentId;
- entity.FileExtension = input.extension;
- entity.FilePath = output.name;
- entity.FileSize = input.fileSize;
- entity.DeleteMark = 0;
- entity.UploaderUrl = string.Format("/api/file/Image/document/{0}", entity.FilePath);
- var isOk = await _repository.AsSugarClient().Insertable(entity).CallEntityMethod(m => m.Creator()).ExecuteCommandAsync();
- if (isOk < 1)
- throw Oops.Oh(ErrorCode.D8001);
- #endregion
- return output;
- }
-
- ///
- /// 下载文件.
- ///
- /// 主键值.
- [HttpPost("Download/{id}")]
- public async Task Download(string id)
- {
- var entity = await _repository.GetFirstAsync(x => x.Id == id && x.DeleteMark == 0);
- if (entity == null)
- throw Oops.Oh(ErrorCode.D8000);
- var fileName = _userManager.UserId + "|" + entity.FilePath + "|document";
- _cacheManager.Set(entity.FilePath, string.Empty);
- return new {
- name = entity.FullName,
- url = "/api/File/Download?encryption=" + DESCEncryption.Encrypt(fileName, "JNPF")
- };
- }
-
- ///
- /// 回收站(彻底删除).
- ///
- /// 主键值.
- ///
- [HttpDelete("Trash/{id}")]
- public async Task TrashDelete(string id)
- {
- var list = await _repository.AsQueryable().Where(m => m.ParentId == id && m.Type == 1 && m.CreatorUserId == _userManager.UserId && m.DeleteMark == 1).ToListAsync();
- foreach (var item in list)
- {
- if (item.Type == 1)
- {
- await _fileManager.DeleteFile(item.FilePath);
- }
- await _repository.AsSugarClient().Deleteable().Where(m => m.Id == item.Id && m.CreatorUserId == _userManager.UserId).ExecuteCommandHasChangeAsync();
- }
- var isOk = await _repository.AsSugarClient().Deleteable().Where(m => m.Id == id && m.CreatorUserId == _userManager.UserId).ExecuteCommandHasChangeAsync();
- if (!isOk)
- throw Oops.Oh(ErrorCode.COM1002);
- }
-
- ///
- /// 回收站(还原文件).
- ///
- /// 主键值.
- ///
- [HttpPost("Trash/{id}/Actions/Recovery")]
- public async Task TrashRecovery(string id)
- {
- var entity = await _repository.GetFirstAsync(x => x.Id == id);
- if (!await _repository.IsAnyAsync(x => x.Id == entity.ParentId && x.DeleteMark == 0) && entity.ParentId != "0") throw Oops.Oh(ErrorCode.Ex0007);
- entity.DeleteMark = 0;
- entity.DeleteTime = null;
- entity.DeleteUserId = null;
- var isOk = await _repository.AsSugarClient().Updateable(entity).IgnoreColumns(ignoreAllNullColumns: true).CallEntityMethod(m => m.LastModify()).ExecuteCommandHasChangeAsync();
- if (!isOk)
- throw Oops.Oh(ErrorCode.COM1001);
- }
-
- ///
- /// 共享文件(创建).
- ///
- /// 共享文件id.
- /// 共享人.
- ///
- [HttpPost("{id}/Actions/Share")]
- public async Task ShareCreate(string id, [FromBody] DocumentActionsShareInput input)
- {
- try
- {
- var userIds = input.userId.Split(",");
- List documentShareEntityList = new List();
- foreach (var item in userIds)
- {
- documentShareEntityList.Add(new DocumentShareEntity
- {
- Id = YitIdHelper.NextId().ToString(),
- DocumentId = id,
- ShareUserId = item,
- ShareTime = DateTime.Now,
- });
- }
-
- var entity = await _repository.GetFirstAsync(x => x.Id == id && x.DeleteMark == 0);
- entity.IsShare = documentShareEntityList.Count;
- entity.ShareTime = DateTime.Now;
- _db.BeginTran();
- _repository.AsSugarClient().Deleteable().Where(x => x.DocumentId == id).ExecuteCommand();
- _repository.AsSugarClient().Insertable(documentShareEntityList).ExecuteCommand();
- var isOk = await _repository.AsSugarClient().Updateable(entity).IgnoreColumns(ignoreAllNullColumns: true).CallEntityMethod(m => m.LastModify()).ExecuteCommandHasChangeAsync();
- if (!isOk)
- throw Oops.Oh(ErrorCode.COM1001);
- _db.CommitTran();
- }
- catch (Exception ex)
- {
- _db.RollbackTran();
- }
- }
-
- ///
- /// 共享文件(取消).
- ///
- /// 主键值.
- ///
- [HttpDelete("{id}/Actions/Share")]
- public async Task ShareCancel(string id)
- {
- try
- {
- var entity = await _repository.GetFirstAsync(x => x.Id == id && x.DeleteMark == 0);
- entity.IsShare = 0;
- entity.ShareTime = DateTime.Now;
- _db.BeginTran();
- _repository.AsSugarClient().Deleteable().Where(x => x.DocumentId == id).ExecuteCommand();
- var isOk = await _repository.AsSugarClient().Updateable(entity).IgnoreColumns(ignoreAllNullColumns: true).CallEntityMethod(m => m.LastModify()).ExecuteCommandHasChangeAsync();
- if (!isOk)
- throw Oops.Oh(ErrorCode.COM1001);
- _db.CommitTran();
- }
- catch (Exception)
- {
-
- throw;
- }
- }
-
- ///
- /// 文件/夹移动到.
- ///
- /// 主键值
- /// 将要移动到Id
- ///
- [HttpPut("{id}/Actions/MoveTo/{toId}")]
- public async Task MoveTo(string id, string toId)
- {
- var entity = await _repository.GetFirstAsync(x => x.Id == id);
- var entityTo = await _repository.GetFirstAsync(x => x.Id == toId);
- if (id == toId && entity.Type == 0 && entityTo.Type == 0)
- throw Oops.Oh(ErrorCode.Ex0002);
- if (entityTo.IsNotEmptyOrNull() && id == entityTo.ParentId && entity.Type == 0 && entityTo.Type == 0)
- throw Oops.Oh(ErrorCode.Ex0005);
- entity.ParentId = toId;
- var isOk = await _repository.AsSugarClient().Updateable(entity).IgnoreColumns(ignoreAllNullColumns: true).CallEntityMethod(m => m.LastModify()).ExecuteCommandHasChangeAsync();
- if (!isOk)
- throw Oops.Oh(ErrorCode.COM1001);
- }
- #endregion
-}
\ No newline at end of file
diff --git a/extend/Tnb.Extend/EmailService.cs b/extend/Tnb.Extend/EmailService.cs
deleted file mode 100644
index bc67f23d..00000000
--- a/extend/Tnb.Extend/EmailService.cs
+++ /dev/null
@@ -1,583 +0,0 @@
-using System.Web;
-using JNPF.Common.Configuration;
-using JNPF.Common.Core.Manager;
-using JNPF.Common.Core.Manager.Files;
-using JNPF.Common.Enums;
-using JNPF.Common.Extension;
-using JNPF.Common.Filter;
-using JNPF.Common.Models;
-using JNPF.Common.Options;
-using JNPF.Common.Security;
-using JNPF.DependencyInjection;
-using JNPF.DynamicApiController;
-using JNPF.Extend.Entitys;
-using JNPF.Extend.Entitys.Dto.Email;
-using JNPF.Extras.Thirdparty.Email;
-using JNPF.FriendlyException;
-using JNPF.LinqBuilder;
-using Mapster;
-using Microsoft.AspNetCore.Mvc;
-using Newtonsoft.Json.Linq;
-using SqlSugar;
-
-namespace JNPF.Extend;
-
-///
-/// 邮件收发
-/// 版 本:V3.2
-/// 版 权:拓通智联科技有限公司(http://www.tuotong-tech.com)
-/// 日 期:2021-06-01 .
-///
-[ApiDescriptionSettings(Tag = "Extend", Name = "Email", Order = 600)]
-[Route("api/extend/[controller]")]
-public class EmailService : IDynamicApiController, ITransient
-{
- private readonly ISqlSugarRepository _repository;
- private readonly ITenant _db;
- private readonly IUserManager _userManager;
- private readonly IFileManager _fileManager;
-
- public EmailService(ISqlSugarRepository repository, IUserManager userManager, ISqlSugarClient context, IFileManager fileManager)
- {
- _repository = repository;
- _userManager = userManager;
- _db = context.AsTenant();
- _fileManager = fileManager;
- }
-
- #region Get
-
- ///
- /// (带分页)获取邮件列表(收件箱、标星件、草稿箱、已发送).
- ///
- /// 请求参数
- ///
- [HttpGet("")]
- public async Task GetList([FromQuery] EmailListQuery input)
- {
- switch (input.type)
- {
- case "inBox"://收件箱
- return await GetReceiveList(input);
- case "star"://标星件
- return await GetStarredList(input);
- case "draft"://草稿箱
- return await GetDraftList(input);
- case "sent"://已发送
- return await GetSentList(input);
- default:
- return PageResult.SqlSugarPageResult(new SqlSugarPagedList());
- }
- }
-
- ///
- /// 信息(收件/发件).
- ///
- /// 主键值.
- ///
- [HttpGet("{id}")]
- public async Task GetInfo_Api(string id)
- {
- var output = new EmailInfoOutput();
- var data = await GetInfo(id);
- var jobj = data.ToObject();
- if (jobj.ContainsKey("Read"))
- {
- var entity = data.Adapt();
- output = entity.Adapt();
- output.bodyText = HttpUtility.HtmlDecode(entity.BodyText);
- }
- else
- {
- var entity = data.Adapt();
- output = entity.Adapt();
- output.bodyText = HttpUtility.HtmlDecode(entity.BodyText);
- }
- return output;
- }
-
- ///
- /// 信息(配置).
- ///
- ///
- [HttpGet("Config")]
- public async Task GetConfigInfo_Api()
- {
- return (await GetConfigInfo()).Adapt();
- }
-
- #endregion
-
- #region Post
-
- ///
- /// 删除.
- ///
- /// 主键值.
- ///
- [HttpDelete("{id}")]
- public async Task Delete(string id)
- {
- try
- {
- _db.BeginTran();
-
- var entity = await GetInfo(id);
- if (entity is EmailReceiveEntity)
- {
- //删除邮件
- var mailConfig = await GetConfigInfo();
- var mailReceiveEntity = entity as EmailReceiveEntity;
- MailUtil.Delete(new MailParameterInfo { Account = mailConfig.Account, Password = mailConfig.Password, POP3Host = mailConfig.POP3Host, POP3Port = mailConfig.POP3Port.ParseToInt() }, mailReceiveEntity.MID);
- }
- //删除数据
- var isOk = false;
- if (entity is EmailReceiveEntity)
- isOk = await _repository.AsSugarClient().Updateable((EmailReceiveEntity)entity).CallEntityMethod(m => m.Delete()).UpdateColumns(it => new { it.DeleteMark, it.DeleteTime, it.DeleteUserId }).ExecuteCommandHasChangeAsync();
- else
- isOk = await _repository.AsSugarClient().Updateable((EmailSendEntity)entity).CallEntityMethod(m => m.Delete()).UpdateColumns(it => new { it.DeleteMark, it.DeleteTime, it.DeleteUserId }).ExecuteCommandHasChangeAsync();
- if (!isOk)
- throw Oops.Oh(ErrorCode.COM1002);
-
- _db.CommitTran();
- }
- catch (Exception ex)
- {
- _db.RollbackTran();
- throw Oops.Oh(ErrorCode.COM1002);
- }
- }
-
- ///
- /// 设置已读邮件.
- ///
- ///
- ///
- [HttpPut("{id}/Actions/Read")]
- public async Task ReceiveRead(string id)
- {
- var isOk = await _repository.AsSugarClient().Updateable().SetColumns(it => new EmailReceiveEntity()
- {
- Read = 1,
- LastModifyUserId = _userManager.UserId,
- LastModifyTime = SqlFunc.GetDate()
- }).Where(it => it.Id.Equals(id)).ExecuteCommandHasChangeAsync();
- if (!isOk)
- throw Oops.Oh(ErrorCode.COM1008);
- }
-
- ///
- /// 设置未读邮件.
- ///
- ///
- ///
- [HttpPut("{id}/Actions/Unread")]
- public async Task ReceiveUnread(string id)
- {
- var isOk = await _repository.AsSugarClient().Updateable().SetColumns(it => new EmailReceiveEntity()
- {
- Read = 0,
- LastModifyUserId = _userManager.UserId,
- LastModifyTime = SqlFunc.GetDate()
- }).Where(it => it.Id.Equals(id)).ExecuteCommandHasChangeAsync();
- if (!isOk)
- throw Oops.Oh(ErrorCode.COM1008);
- }
-
- ///
- /// 设置星标邮件
- ///
- ///
- ///
- [HttpPut("{id}/Actions/Star")]
- public async Task ReceiveYesStarred(string id)
- {
- var isOk = await _repository.AsSugarClient().Updateable().SetColumns(it => new EmailReceiveEntity()
- {
- Starred = 1,
- LastModifyUserId = _userManager.UserId,
- LastModifyTime = SqlFunc.GetDate()
- }).Where(it => it.Id.Equals(id)).ExecuteCommandHasChangeAsync();
- if (!isOk)
- throw Oops.Oh(ErrorCode.COM1008);
- }
-
- ///
- /// 设置取消星标.
- ///
- ///
- ///
- [HttpPut("{id}/Actions/Unstar ")]
- public async Task ReceiveNoStarred(string id)
- {
- var isOk = await _repository.AsSugarClient().Updateable().SetColumns(it => new EmailReceiveEntity()
- {
- Starred = 0,
- LastModifyUserId = _userManager.UserId,
- LastModifyTime = SqlFunc.GetDate()
- }).Where(it => it.Id.Equals(id)).ExecuteCommandHasChangeAsync();
- if (!isOk)
- throw Oops.Oh(ErrorCode.COM1008);
- }
-
- ///
- /// 收邮件.
- ///
- ///
- [HttpPost("Receive")]
- public async Task Receive()
- {
- var mailConfig = await GetConfigInfo();
- if (mailConfig != null)
- {
- var mailAccount = mailConfig.Adapt();
- if (MailUtil.CheckConnected(mailAccount))
- {
- new List();
- var startTime = Convert.ToDateTime(DateTime.Now.ToString("yyyy-MM-dd") + " 00:00");
- var endTime = Convert.ToDateTime(DateTime.Now.ToString("yyyy-MM-dd") + " 23:59");
- var receiveCount = await _repository.AsSugarClient().Queryable().CountAsync(x => x.MAccount == mailConfig.Account && SqlFunc.Between(x.CreatorTime, startTime, endTime));
- List entitys = MailUtil.Get(mailAccount, receiveCount).Select(item => new EmailReceiveEntity
- {
- MAccount = mailConfig.Account,
- MID = item.UID,
- Sender = item.To,
- SenderName = item.ToName,
- Subject = item.Subject,
- BodyText = HttpUtility.HtmlEncode(item.BodyText),
- Attachment = item.Attachment.ToJsonString(),
- Date = item.Date,
- Read = 0
- }).ToList();
-
- if (entitys.Count > 0)
- {
- await _repository.AsSugarClient().Insertable(entitys).CallEntityMethod(m => m.Creator()).ExecuteCommandAsync();
- }
-
- return entitys.Count;
- }
- else
- {
- throw Oops.Oh(ErrorCode.Ex0003);
- }
- }
- else
- {
- throw Oops.Oh(ErrorCode.Ex0004);
- }
- }
-
- ///
- /// 存草稿.
- ///
- /// 对象实体.
- ///
- [HttpPost("Actions/SaveDraft")]
- public async Task SaveDraft([FromBody] EmailActionsSaveDraftInput input)
- {
- var entity = input.Adapt();
- entity.BodyText = HttpUtility.HtmlEncode(entity.BodyText);
- entity.To = input.recipient;
- entity.Sender = App.GetConfig("JNPF_App", true).ErrorReportTo;
- var isOk = 0;
- entity.State = -1;
- if (entity.Id.IsEmpty())
- {
- isOk = await _repository.AsSugarClient().Insertable(entity).CallEntityMethod(m => m.Creator()).ExecuteCommandAsync();
- }
- else
- {
- isOk = await _repository.AsSugarClient().Updateable(entity).IgnoreColumns(ignoreAllNullColumns: true).CallEntityMethod(m => m.LastModify()).ExecuteCommandAsync();
- }
-
- if (isOk < 1)
- throw Oops.Oh(ErrorCode.COM1008);
- }
-
- ///
- /// 发邮件.
- ///
- /// 对象实体.
- ///
- [HttpPost("")]
- public async Task SaveSent([FromBody] EmailSendInput input)
- {
- var entity = input.Adapt();
- var mailConfig = await GetConfigInfo();
- foreach (var item in input.recipient.Split(","))
- {
- if (!item.IsEmail())
- throw Oops.Oh(ErrorCode.Ex0003);
- if (mailConfig != null)
- {
- entity.BodyText = HttpUtility.HtmlEncode(entity.BodyText);
- entity.To = item;
- entity.Sender = App.GetConfig("JNPF_App", true).ErrorReportTo;
- entity.State = 1;
- var isOk = 0;
- if (entity.Id.IsEmpty())
- {
- entity.Sender = mailConfig.Account;
- isOk = await _repository.AsSugarClient().Insertable(entity).CallEntityMethod(m => m.Creator()).ExecuteCommandAsync();
- }
- else
- {
- isOk = await _repository.AsSugarClient().Updateable(entity).IgnoreColumns(ignoreAllNullColumns: true).CallEntityMethod(m => m.LastModify()).ExecuteCommandAsync();
- }
- //拷贝文件,注意:从临时文件夹拷贝到邮件文件夹
- var attachmentList = entity.Attachment.ToList();
- var temporaryFile = FileVariable.TemporaryFilePath;
- var mailFilePath = FileVariable.EmailFilePath;
- foreach (MailFileParameterInfo mailFile in attachmentList)
- {
- FileHelper.MoveFile(Path.Combine(temporaryFile, mailFile.fileId), Path.Combine(mailFilePath, mailFile.fileId));
- mailFile.fileName = mailFile.name;
- }
- //发送邮件
- var mailModel = new MailInfo();
- mailModel.To = entity.To;
- mailModel.CC = entity.CC;
- mailModel.Bcc = entity.BCC;
- mailModel.Subject = entity.Subject;
- mailModel.BodyText = HttpUtility.HtmlDecode(entity.BodyText);
- mailModel.Attachment = attachmentList;
- MailUtil.Send(new MailParameterInfo { AccountName = mailConfig.SenderName, Account = mailConfig.Account, Password = mailConfig.Password, SMTPHost = mailConfig.SMTPHost, SMTPPort = mailConfig.SMTPPort.ParseToInt(), Ssl = mailConfig.Ssl == 1 }, mailModel);
- if (isOk < 1)
- throw Oops.Oh(ErrorCode.COM1008);
- }
- else
- {
- throw Oops.Oh(ErrorCode.Ex0004);
- }
- }
- }
-
- ///
- /// 保存邮箱配置
- ///
- /// 对象实体
- ///
- [HttpPut("Config")]
- public async Task SaveConfig([FromBody] EmailConfigUpInput input)
- {
- var entity = input.Adapt();
- var data = await GetConfigInfo();
- var isOk = 0;
- if (data == null)
- {
- isOk = await _repository.AsSugarClient().Insertable(entity).CallEntityMethod(m => m.Creator()).ExecuteCommandAsync();
- }
- else
- {
- entity.Id = data.Id;
- isOk = await _repository.AsSugarClient().Updateable(entity).IgnoreColumns(ignoreAllNullColumns: true).ExecuteCommandAsync();
- }
- if (isOk < 1)
- throw Oops.Oh(ErrorCode.COM1008);
- }
-
- ///
- /// 邮箱账户密码验证.
- ///
- /// 对象实体
- [HttpPost("Config/Actions/CheckMail")]
- public void CheckLogin([FromBody] EmailConfigActionsCheckMailInput input)
- {
- var entity = input.Adapt();
- if (!MailUtil.CheckConnected(entity.Adapt()))
- throw Oops.Oh(ErrorCode.Ex0003);
- }
-
- ///
- /// 下载附件.
- ///
- /// 文件对象
- [HttpPost("Download")]
- public async Task Download(AnnexModel fileModel)
- {
- var filePath = Path.Combine(FileVariable.EmailFilePath, fileModel.FileId);
- if (await _fileManager.ExistsFile(filePath))
- {
- _fileManager.DownloadFileByType(filePath, fileModel.FileName);
- }
- }
-
- #endregion
-
- #region PrivateMethod
-
- ///
- /// 信息(配置).
- ///
- ///
- private async Task GetConfigInfo()
- {
- return await _repository.AsSugarClient().Queryable().FirstAsync(x => x.CreatorUserId == _userManager.UserId);
- }
-
- ///
- /// 列表(收件箱).
- ///
- ///
- ///
- private async Task GetReceiveList(EmailListQuery input)
- {
- var whereLambda = LinqExpression.And();
- whereLambda = whereLambda.And(x => x.CreatorUserId == _userManager.UserId && x.DeleteMark == null);
- if (input.endTime != null && input.startTime != null)
- {
- var start = Convert.ToDateTime(string.Format("{0:yyyy-MM-dd 00:00:00}", input.startTime?.TimeStampToDateTime()));
- var end = Convert.ToDateTime(string.Format("{0:yyyy-MM-dd 23:59:59}", input.endTime?.TimeStampToDateTime()));
- whereLambda = whereLambda.And(x => SqlFunc.Between(x.Date, start, end));
- }
- if (!string.IsNullOrEmpty(input.keyword))
- {
- whereLambda = whereLambda.And(m => m.Sender.Contains(input.keyword) || m.Subject.Contains(input.keyword));
- }
- var list = await _repository.AsSugarClient().Queryable().Where(whereLambda)
- .OrderBy(x => x.Date, OrderByType.Desc).ToPagedListAsync(input.currentPage, input.pageSize);
- var pageList = new SqlSugarPagedList()
- {
- list = list.list.Adapt>(),
- pagination = list.pagination
- };
- return PageResult.SqlSugarPageResult(pageList);
- }
-
- ///
- /// 列表(未读邮件).
- ///
- ///
- ///
- private async Task GetUnreadList(EmailListQuery input)
- {
- var whereLambda = LinqExpression.And();
- whereLambda = whereLambda.And(x => x.CreatorUserId == _userManager.UserId && x.Read == 0 && x.DeleteMark == null);
- if (input.endTime != null && input.startTime != null)
- {
- var start = Convert.ToDateTime(string.Format("{0:yyyy-MM-dd 00:00:00}", input.startTime?.TimeStampToDateTime()));
- var end = Convert.ToDateTime(string.Format("{0:yyyy-MM-dd 23:59:59}", input.endTime?.TimeStampToDateTime()));
- whereLambda = whereLambda.And(x => SqlFunc.Between(x.CreatorTime, start, end));
- }
- if (!string.IsNullOrEmpty(input.keyword))
- {
- whereLambda = whereLambda.And(m => m.Sender.Contains(input.keyword) || m.Subject.Contains(input.keyword));
- }
- var list = await _repository.AsSugarClient().Queryable().Where(whereLambda).OrderBy(x => x.Date, OrderByType.Desc).ToPagedListAsync(input.currentPage, input.pageSize);
- var pageList = new SqlSugarPagedList()
- {
- list = list.list.Adapt>(),
- pagination = list.pagination
- };
- return PageResult.SqlSugarPageResult(pageList);
- }
-
- ///
- /// 列表(星标件).
- ///
- ///
- ///
- private async Task GetStarredList(EmailListQuery input)
- {
- var whereLambda = LinqExpression.And();
- whereLambda = whereLambda.And(x => x.CreatorUserId == _userManager.UserId && x.Starred == 1 && x.DeleteMark == null);
- if (input.endTime != null && input.startTime != null)
- {
- var start = Convert.ToDateTime(string.Format("{0:yyyy-MM-dd 00:00:00}", input.startTime?.TimeStampToDateTime()));
- var end = Convert.ToDateTime(string.Format("{0:yyyy-MM-dd 23:59:59}", input.endTime?.TimeStampToDateTime()));
- whereLambda = whereLambda.And(x => SqlFunc.Between(x.CreatorTime, start, end));
- }
- //关键字(用户、IP地址、功能名称)
- if (!string.IsNullOrEmpty(input.keyword))
- {
- whereLambda = whereLambda.And(m => m.Sender.Contains(input.keyword) || m.Subject.Contains(input.keyword));
- }
- var list = await _repository.AsSugarClient().Queryable().Where(whereLambda).OrderBy(x => x.Date, OrderByType.Desc).ToPagedListAsync(input.currentPage, input.pageSize);
- var pageList = new SqlSugarPagedList()
- {
- list = list.list.Adapt>(),
- pagination = list.pagination
- };
- return PageResult.SqlSugarPageResult(pageList);
- }
-
- ///
- /// 列表(草稿箱).
- ///
- ///
- ///
- private async Task GetDraftList(EmailListQuery input)
- {
- var whereLambda = LinqExpression.And();
- whereLambda = whereLambda.And(x => x.CreatorUserId == _userManager.UserId && x.State == -1 && x.DeleteMark == null);
- if (input.endTime != null && input.startTime != null)
- {
- var start = Convert.ToDateTime(string.Format("{0:yyyy-MM-dd 00:00:00}", input.startTime?.TimeStampToDateTime()));
- var end = Convert.ToDateTime(string.Format("{0:yyyy-MM-dd 23:59:59}", input.endTime?.TimeStampToDateTime()));
- whereLambda = whereLambda.And(x => SqlFunc.Between(x.CreatorTime, start, end));
- }
- if (!string.IsNullOrEmpty(input.keyword))
- {
- whereLambda = whereLambda.And(m => m.Sender.Contains(input.keyword) || m.Subject.Contains(input.keyword));
- }
- var list = await _repository.AsSugarClient().Queryable().Where(whereLambda).OrderBy(x => x.CreatorTime, OrderByType.Desc).ToPagedListAsync(input.currentPage, input.pageSize);
- var pageList = new SqlSugarPagedList()
- {
- list = list.list.Adapt>(),
- pagination = list.pagination
- };
- return PageResult.SqlSugarPageResult(pageList);
- }
-
- ///
- /// 列表(已发送).
- ///
- ///
- ///
- private async Task GetSentList(EmailListQuery input)
- {
- var whereLambda = LinqExpression.And();
- whereLambda = whereLambda.And(x => x.CreatorUserId == _userManager.UserId && x.State != -1 && x.DeleteMark == null);
- if (input.endTime != null && input.startTime != null)
- {
- var start = Convert.ToDateTime(string.Format("{0:yyyy-MM-dd 00:00:00}", input.startTime?.TimeStampToDateTime()));
- var end = Convert.ToDateTime(string.Format("{0:yyyy-MM-dd 23:59:59}", input.endTime?.TimeStampToDateTime()));
- whereLambda = whereLambda.And(x => SqlFunc.Between(x.CreatorTime, start, end));
- }
- if (!string.IsNullOrEmpty(input.keyword))
- {
- whereLambda = whereLambda.And(m => m.Sender.Contains(input.keyword) || m.Subject.Contains(input.keyword));
- }
- var list = await _repository.AsSugarClient().Queryable().Where(whereLambda).OrderBy(x => x.CreatorTime, OrderByType.Desc).ToPagedListAsync(input.currentPage, input.pageSize);
- var pageList = new SqlSugarPagedList()
- {
- list = list.list.Adapt>(),
- pagination = list.pagination
- };
- return PageResult.SqlSugarPageResult(pageList);
- }
-
- ///
- /// 信息.
- ///
- ///
- ///
- private async Task