😎插件工程代码同步与清理

This commit is contained in:
zuohuaijun 2024-07-12 14:23:28 +08:00
parent 6c04284d26
commit 8bb9505af7
5 changed files with 10 additions and 4 deletions

View File

@ -36,10 +36,12 @@ public class DingTalkConst
/// 主部门Id /// 主部门Id
/// </summary> /// </summary>
public const string DeptId = "sys00-mainDeptId"; public const string DeptId = "sys00-mainDeptId";
/// <summary> /// <summary>
/// 主部门 /// 主部门
/// </summary> /// </summary>
public const string Dept = "sys00-mainDept"; public const string Dept = "sys00-mainDept";
/// <summary> /// <summary>
/// 职位 /// 职位
/// </summary> /// </summary>

View File

@ -73,23 +73,25 @@ public class DingTalkUser : EntityBase
[SugarColumn(ColumnDescription = "工号", Length = 16)] [SugarColumn(ColumnDescription = "工号", Length = 16)]
[MaxLength(16)] [MaxLength(16)]
public string? JobNumber { get; set; } public string? JobNumber { get; set; }
/// <summary> /// <summary>
/// 主部门Id /// 主部门Id
/// </summary> /// </summary>
[SugarColumn(ColumnDescription = "主部门Id", Length = 16)] [SugarColumn(ColumnDescription = "主部门Id", Length = 16)]
[MaxLength(16)] [MaxLength(16)]
public string? DeptId { get; set; } public string? DeptId { get; set; }
/// <summary> /// <summary>
/// 主部门 /// 主部门
/// </summary> /// </summary>
[SugarColumn(ColumnDescription = "主部门", Length = 16)] [SugarColumn(ColumnDescription = "主部门", Length = 16)]
[MaxLength(16)] [MaxLength(16)]
public string? Dept { get; set; } public string? Dept { get; set; }
/// <summary> /// <summary>
/// 职位 /// 职位
/// </summary> /// </summary>
[SugarColumn(ColumnDescription = "职位", Length = 16)] [SugarColumn(ColumnDescription = "职位", Length = 16)]
[MaxLength(16)] [MaxLength(16)]
public string? Position { get; set; } public string? Position { get; set; }
} }

View File

@ -43,7 +43,7 @@ public class DingTalkService : IDynamicApiController, IScoped
/// <param name="access_token"></param> /// <param name="access_token"></param>
/// <param name="input"></param> /// <param name="input"></param>
/// <returns></returns> /// <returns></returns>
[DisplayName("获取在职员工列表")] [HttpPost, DisplayName("获取在职员工列表")]
public async Task<DingTalkBaseResponse<GetDingTalkCurrentEmployeesListOutput>> GetDingTalkCurrentEmployeesList(string access_token, [Required] GetDingTalkCurrentEmployeesListInput input) public async Task<DingTalkBaseResponse<GetDingTalkCurrentEmployeesListOutput>> GetDingTalkCurrentEmployeesList(string access_token, [Required] GetDingTalkCurrentEmployeesListInput input)
{ {
return await _dingTalkApi.GetDingTalkCurrentEmployeesList(access_token, input); return await _dingTalkApi.GetDingTalkCurrentEmployeesList(access_token, input);
@ -55,7 +55,7 @@ public class DingTalkService : IDynamicApiController, IScoped
/// <param name="access_token"></param> /// <param name="access_token"></param>
/// <param name="input"></param> /// <param name="input"></param>
/// <returns></returns> /// <returns></returns>
[DisplayName("获取员工花名册字段信息")] [HttpPost, DisplayName("获取员工花名册字段信息")]
public async Task<DingTalkBaseResponse<List<DingTalkEmpRosterFieldVo>>> GetDingTalkCurrentEmployeesRosterList(string access_token, [Required] GetDingTalkCurrentEmployeesRosterListInput input) public async Task<DingTalkBaseResponse<List<DingTalkEmpRosterFieldVo>>> GetDingTalkCurrentEmployeesRosterList(string access_token, [Required] GetDingTalkCurrentEmployeesRosterListInput input)
{ {
return await _dingTalkApi.GetDingTalkCurrentEmployeesRosterList(access_token, input); return await _dingTalkApi.GetDingTalkCurrentEmployeesRosterList(access_token, input);

View File

@ -1,4 +1,4 @@
// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。 // Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
// //
// 本项目主要遵循 MIT 许可证和 Apache 许可证(版本 2.0)进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。 // 本项目主要遵循 MIT 许可证和 Apache 许可证(版本 2.0)进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
// //
@ -10,6 +10,7 @@ namespace Admin.NET.Plugin.GoView;
/// GoView 项目表 /// GoView 项目表
/// </summary> /// </summary>
[SugarTable(null, "GoView 项目表")] [SugarTable(null, "GoView 项目表")]
[SysTable]
public class GoViewPro : EntityTenant public class GoViewPro : EntityTenant
{ {
/// <summary> /// <summary>

View File

@ -10,6 +10,7 @@ namespace Admin.NET.Plugin.GoView;
/// GoView 项目数据表 /// GoView 项目数据表
/// </summary> /// </summary>
[SugarTable(null, "GoView 项目数据表")] [SugarTable(null, "GoView 项目数据表")]
[SysTable]
public class GoViewProData : EntityTenant public class GoViewProData : EntityTenant
{ {
/// <summary> /// <summary>