ServiceCore下Model命名空间转换

This commit is contained in:
YUN-PC5\user 2023-09-25 16:47:37 +08:00
parent cacb525b3a
commit 4199736bc7
145 changed files with 283 additions and 212 deletions

View File

@ -8,6 +8,7 @@ using ZR.Model.System;
using ZR.Service.IService;
using ZR.Service.System;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
namespace ZR.Admin.WebApi.Controllers
{

View File

@ -1,9 +1,10 @@
using Microsoft.AspNetCore.Mvc;
using ZR.Admin.WebApi.Extensions;
using ZR.Admin.WebApi.Filters;
using ZR.Model.Dto;
using ZR.Model.System;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers
{

View File

@ -3,8 +3,9 @@ using SqlSugar;
using ZR.Admin.WebApi.Extensions;
using ZR.Admin.WebApi.Filters;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers
{

View File

@ -6,9 +6,9 @@ using ZR.CodeGenerator;
using ZR.CodeGenerator.Model;
using ZR.CodeGenerator.Service;
using ZR.Model;
using ZR.Model.System.Dto;
using ZR.Model.System.Generate;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model.Dto;
using ZR.ServiceCore.Model.Generate;
namespace ZR.Admin.WebApi.Controllers
{

View File

@ -3,9 +3,9 @@ using Microsoft.AspNetCore.Mvc;
using MiniExcelLibs;
using ZR.Admin.WebApi.Filters;
using ZR.Model;
using ZR.Model.Dto;
using ZR.Model.Models;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers
{

View File

@ -4,8 +4,9 @@ using SqlSugar;
using ZR.Admin.WebApi.Extensions;
using ZR.Admin.WebApi.Filters;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers
{

View File

@ -2,8 +2,9 @@
using System.Collections;
using ZR.Admin.WebApi.Filters;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers.System
{

View File

@ -2,8 +2,9 @@
using ZR.Admin.WebApi.Filters;
using ZR.Model;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers.System
{
@ -65,14 +66,14 @@ namespace ZR.Admin.WebApi.Controllers.System
/// <returns></returns>
[AllowAnonymous]
[HttpPost("types")]
public IActionResult DictTypes([FromBody] List<SysdictDataDto> dto)
public IActionResult DictTypes([FromBody] List<SysDictDataDto> dto)
{
var list = SysDictDataService.SelectDictDataByTypes(dto.Select(f => f.DictType).ToArray());
List<SysdictDataDto> dataVos = new();
List<SysDictDataDto> dataVos = new();
foreach (var dic in dto)
{
SysdictDataDto vo = new()
SysDictDataDto vo = new()
{
DictType = dic.DictType,
ColumnName = dic.ColumnName,

View File

@ -3,8 +3,9 @@ using ZR.Admin.WebApi.Extensions;
using ZR.Admin.WebApi.Filters;
using ZR.Model;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers.System
{

View File

@ -0,0 +1,10 @@
using ZR.Admin.WebApi.Filters;
namespace ZR.Admin.WebApi.Controllers.System;
[Verify]
[Route("system/field")]
public class SysFieldController : BaseController
{
}

View File

@ -2,8 +2,9 @@ using Microsoft.AspNetCore.Mvc;
using SqlSugar;
using ZR.Admin.WebApi.Filters;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers
{

View File

@ -4,9 +4,10 @@ using Microsoft.Extensions.Options;
using NETCore.Encrypt;
using ZR.Admin.WebApi.Filters;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers.System
{

View File

@ -1,8 +1,9 @@
using Microsoft.AspNetCore.Mvc;
using ZR.Admin.WebApi.Filters;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers.System
{

View File

@ -4,8 +4,9 @@ using SqlSugar;
using ZR.Admin.WebApi.Filters;
using ZR.Model;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
using ZR.ServiceCore.Signalr;
namespace ZR.Admin.WebApi.Controllers.System

View File

@ -4,6 +4,7 @@ using ZR.Admin.WebApi.Filters;
using ZR.Model;
using ZR.Model.System;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
namespace ZR.Admin.WebApi.Controllers.System
{

View File

@ -3,8 +3,9 @@ using System.Net.Sockets;
using Microsoft.AspNetCore.Mvc;
using ZR.Admin.WebApi.Filters;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers.System
{

View File

@ -2,8 +2,9 @@
using ZR.Admin.WebApi.Filters;
using ZR.Model;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers.System
{

View File

@ -4,8 +4,9 @@ using SqlSugar;
using ZR.Admin.WebApi.Filters;
using ZR.Model;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers.System
{

View File

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Mvc;
using ZR.Admin.WebApi.Filters;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers.System
{

View File

@ -3,8 +3,9 @@ using Quartz;
using SqlSugar;
using ZR.Admin.WebApi.Filters;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
using ZR.Tasks;
namespace ZR.Admin.WebApi.Controllers

View File

@ -3,8 +3,9 @@ using SqlSugar;
using ZR.Admin.WebApi.Filters;
using ZR.Model;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers.System
{

View File

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Mvc;
using ZR.Admin.WebApi.Filters;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model.Dto;
//创建时间2023-08-17
namespace ZR.Admin.WebApi.Controllers

View File

@ -5,6 +5,7 @@ using ZR.Admin.WebApi.Filters;
using ZR.Model;
using ZR.Model.System;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
namespace ZR.Admin.WebApi.Controllers.monitor
{

View File

@ -1,8 +1,8 @@
using Microsoft.AspNetCore.Mvc;
using ZR.Admin.WebApi.Extensions;
using ZR.Admin.WebApi.Filters;
using ZR.Model.System.Dto;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Admin.WebApi.Controllers.monitor
{

View File

@ -2,7 +2,7 @@
using Microsoft.AspNetCore.SignalR;
using ZR.Admin.WebApi.Filters;
using ZR.Model;
using ZR.Model.System.Dto;
using ZR.ServiceCore.Model.Dto;
using ZR.ServiceCore.Signalr;
namespace ZR.Admin.WebApi.Controllers.monitor

View File

@ -1,6 +1,7 @@
using Quartz.Spi;
using SqlSugar.IOC;
using ZR.Model.System;
using ZR.ServiceCore.Model;
using ZR.Tasks;
namespace ZR.Admin.WebApi.Extensions

View File

@ -7,4 +7,5 @@ global using Infrastructure.Model;
global using Mapster;
global using Infrastructure.Extensions;
global using Infrastructure.Controllers;
global using ZR.ServiceCore.Middleware;
global using ZR.ServiceCore.Middleware;
global using Microsoft.AspNetCore.Mvc;

View File

@ -1,3 +1,4 @@
using System.Reflection;
using AspNetCoreRateLimit;
using Infrastructure.Converter;
using Microsoft.AspNetCore.DataProtection;
@ -165,4 +166,23 @@ using (var serviceScope = app.Services.CreateScope())
await ipPolicyStore.SetAsync(optionsAccessor.Value.IpPolicyPrefix, pol);
}
var serviceCoreModel = AppDomain.CurrentDomain
.GetAssemblies()
.First(it => it.FullName.Contains("ZR.ServiceCore"))
.ExportedTypes
.Where(p => p.FullName.StartsWith("ZR.ServiceCore.Model"))
.ToList();
// var geoEntityTypes = currentAssembly[0].ExportedTypes
// .Where(p => p.FullName.StartsWith("ZR.ServiceCore.Model"))
// .ToList();
var model = AppDomain.CurrentDomain
.GetAssemblies()
.First(it => it.FullName.Contains("ZR.Model"))
.ExportedTypes
.ToList();
foreach (var assembly in serviceCoreModel)
{
}
app.Run();

View File

@ -1,7 +1,6 @@
using System;
using System.Linq;
using System.Text;
using ZR.Model.System.Generate;
namespace ZR.CodeGenerator
{

View File

@ -9,7 +9,7 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using ZR.CodeGenerator.Model;
using ZR.Model.System.Generate;
using ZR.ServiceCore.Model.Generate;
namespace ZR.CodeGenerator
{

View File

@ -1,5 +1,5 @@
using System.Collections.Generic;
using ZR.Model.System.Generate;
using ZR.ServiceCore.Model.Generate;
namespace ZR.CodeGenerator.Model
{

View File

@ -5,6 +5,7 @@ using ZR.Model.System;
using ZR.Repository;
using ZR.Service.IService;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
namespace ZR.Service
{

View File

@ -1,4 +1,5 @@
using ZR.Model.System;
using ZR.ServiceCore.Model;
namespace ZR.Service.IService
{

View File

@ -5,6 +5,7 @@ using Microsoft.AspNetCore.Mvc.Filters;
using ZR.Model.System;
using ZR.Service.System;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
namespace ZR.ServiceCore.Middleware
{

View File

@ -9,6 +9,7 @@ using Microsoft.AspNetCore.Mvc.Filters;
using NLog;
using ZR.Model.System;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
namespace ZR.ServiceCore.Middleware
{

View File

@ -9,6 +9,7 @@ using System.Text.Encodings.Web;
using ZR.Common;
using ZR.Model.System;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using textJson = System.Text.Json;
namespace ZR.ServiceCore.Middleware

View File

@ -1,4 +1,6 @@
namespace ZR.Model.System
using ZR.Model.System;
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 文章表

View File

@ -1,9 +1,4 @@
using Newtonsoft.Json;
using SqlSugar;
using System;
using System.Collections.Generic;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 文章目录

View File

@ -1,9 +1,6 @@
using Newtonsoft.Json;
using SqlSugar;
using System;
using System.ComponentModel;
namespace ZR.Model.Models
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 多语言配置,数据实体对象

View File

@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;
using ZR.Model;
namespace ZR.Model.Dto
namespace ZR.ServiceCore.Model.Dto
{
/// <summary>
/// 文章目录输入对象

View File

@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using ZR.Model;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class ArticleQueryDto : PagerInfo
{

View File

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using ZR.Model;
namespace ZR.Model.Dto
namespace ZR.ServiceCore.Model.Dto
{
/// <summary>
/// 多语言配置输入对象

View File

@ -1,7 +1,6 @@
using System.Collections.Generic;
using ZR.Model.System.Generate;
using ZR.ServiceCore.Model.Generate;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class GenTableDto
{

View File

@ -1,4 +1,4 @@
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class LockUserDto
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class LoginBodyDto
{

View File

@ -1,9 +1,7 @@
using MiniExcelLibs.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using MiniExcelLibs.Attributes;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class MenuDto
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class RegisterDto
{

View File

@ -1,8 +1,8 @@
using MiniExcelLibs.Attributes;
using SqlSugar.DbConvert;
using ZR.Model.System.Enums;
using ZR.ServiceCore.Model.Enums;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class RoleMenuExportDto
{

View File

@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using ZR.Model;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class RoleUserQueryDto : PagerInfo
{

View File

@ -1,4 +1,4 @@
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class ScanDto
{

View File

@ -1,7 +1,8 @@
using System.ComponentModel.DataAnnotations;
using MiniExcelLibs.Attributes;
using ZR.Model;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
/// <summary>
/// 数据差异日志查询对象

View File

@ -1,6 +1,6 @@
using System;
using ZR.Model;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
/// <summary>
/// 参数配置输入对象模型

View File

@ -1,4 +1,6 @@
namespace ZR.Model.System.Dto
using ZR.Model;
namespace ZR.ServiceCore.Model.Dto
{
public class SysDeptQueryDto : PagerInfo
{

View File

@ -1,8 +1,6 @@
using System.Collections.Generic;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class SysdictDataDto
public class SysDictDataDto
{
public string DictType { get; set; }
public string ColumnName { get; set; }

View File

@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class SysDictTypeDto
{

View File

@ -1,6 +1,6 @@
using System;
using ZR.Model;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
/// <summary>
/// 文件存储输入对象

View File

@ -1,4 +1,4 @@
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class SysLogininfoDto : SysBase
{

View File

@ -1,6 +1,7 @@
using System.ComponentModel.DataAnnotations;
using ZR.Model;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
/// <summary>
/// 通知公告表输入对象

View File

@ -1,6 +1,6 @@
using System;
using ZR.Model;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class SysOperLogQueryDto : PagerInfo
{

View File

@ -1,6 +1,4 @@
using System.Collections.Generic;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class SysRoleDto : SysBase
{

View File

@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class SysRoleMenuDto
{

View File

@ -1,6 +1,4 @@
using System;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class SysUserDto
{

View File

@ -1,7 +1,7 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using ZR.Model;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class TasksQueryDto : PagerInfo
{

View File

@ -1,6 +1,4 @@
using System;
namespace ZR.Model.System.Dto
namespace ZR.ServiceCore.Model.Dto
{
public class TasksLogQueryDto
{

View File

@ -1,6 +1,6 @@
using System.ComponentModel;
namespace ZR.Model.System.Enums
namespace ZR.ServiceCore.Model.Enums
{
/// <summary>
/// 菜单状态0正常 1停用

View File

@ -1,7 +1,4 @@
using SqlSugar;
using System.Collections.Generic;
namespace ZR.Model.System.Generate
namespace ZR.ServiceCore.Model.Generate
{
/// <summary>
/// 代码生成表

View File

@ -1,8 +1,4 @@
using SqlSugar;
using System;
using System.Linq;
namespace ZR.Model.System.Generate
namespace ZR.ServiceCore.Model.Generate
{
/// <summary>
/// 代码生成表字段

View File

@ -1,4 +1,4 @@
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
[SugarTable("SqlDiffLog", "数据差异日志")]
[Tenant("0")]

View File

@ -1,9 +1,6 @@
using MiniExcelLibs.Attributes;
using Newtonsoft.Json;
using SqlSugar;
using System;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
//[EpplusTable(PrintHeaders = true, AutofitColumns = true, AutoCalculate = true, ShowTotal = true)]
public class SysBase

View File

@ -1,6 +1,6 @@
using SqlSugar;
using ZR.Model.System;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 参数配置,数据实体对象

View File

@ -1,4 +1,6 @@
namespace ZR.Model.System
using ZR.Model.System;
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 部门表

View File

@ -1,6 +1,6 @@
using SqlSugar;
using ZR.Model.System;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 字典数据表

View File

@ -1,6 +1,6 @@
using SqlSugar;
using ZR.Model.System;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 字典类型表

View File

@ -0,0 +1,14 @@
namespace ZR.ServiceCore.Model;
[SugarTable("sys_field")]
[Tenant("0")]
public class SysField
{
[JsonConverter(typeof(ValueToStringConverter))]
[SugarColumn(IsPrimaryKey = true)]
public long Id { get; set; }
public string FieldName { get; set; }
public string FullName { get; set; }
}

View File

@ -1,8 +1,4 @@
using Newtonsoft.Json;
using SqlSugar;
using System;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
[Tenant("0")]
[SugarTable("sys_file", "文件存储表")]

View File

@ -1,7 +1,4 @@
using SqlSugar;
using System;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
/// <summary>
/// sys_logininfor 表

View File

@ -1,7 +1,6 @@
using SqlSugar;
using System.Collections.Generic;
using ZR.Model.System;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
/// <summary>
/// Sys_menu表

View File

@ -1,6 +1,6 @@
using SqlSugar;
using ZR.Model.System;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 通知公告表

View File

@ -1,9 +1,6 @@
using MiniExcelLibs.Attributes;
using SqlSugar;
using System;
using System.ComponentModel;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
[SugarTable("sys_oper_log", "操作日志表")]
[Tenant("0")]

View File

@ -1,6 +1,6 @@
using SqlSugar;
using ZR.Model.System;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
[SugarTable("sys_post", "岗位表")]
[Tenant("0")]

View File

@ -1,6 +1,6 @@
using SqlSugar;
using ZR.Model.System;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 角色表 sys_role

View File

@ -1,6 +1,4 @@
using SqlSugar;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
[SugarTable("sys_role_dept", "角色部门")]
[Tenant(0)]

View File

@ -0,0 +1,10 @@
namespace ZR.ServiceCore.Model;
[SugarTable("sys_role_field")]
[Tenant("0")]
public class SysRoleField
{
public long FieldId { get; set; }
public long RoleId { get; set; }
}

View File

@ -1,7 +1,4 @@
using Newtonsoft.Json;
using SqlSugar;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 角色菜单

View File

@ -1,8 +1,7 @@
using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using ZR.Model.System;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
///<summary>
///计划任务

View File

@ -1,7 +1,4 @@
using SqlSugar;
using System;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 任务日志

View File

@ -1,10 +1,7 @@
using MiniExcelLibs.Attributes;
using Newtonsoft.Json;
using SqlSugar;
using System;
using System.Collections.Generic;
using ZR.Model.System;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 用户表

View File

@ -1,6 +1,4 @@
using SqlSugar;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 用户岗位

View File

@ -1,6 +1,4 @@
using SqlSugar;
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
/// <summary>
/// 用户角色关联表 用户N-1 角色

View File

@ -1,4 +1,4 @@
namespace ZR.Model.System
namespace ZR.ServiceCore.Model
{
public class UserConstants
{

View File

@ -1,7 +1,4 @@
using Newtonsoft.Json;
using System.Collections.Generic;
namespace ZR.Model.System.Vo
namespace ZR.ServiceCore.Model.Vo
{
/// <summary>
/// 路由展示

View File

@ -1,4 +1,4 @@
namespace ZR.Model.System.Vo
namespace ZR.ServiceCore.Model.Vo
{
/// <summary>
/// Treeselect树结构实体类

View File

@ -2,10 +2,11 @@
using SqlSugar;
using System.Collections.Generic;
using ZR.Model;
using ZR.Model.Dto;
using ZR.Model.System;
using ZR.Repository;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Service.System
{

View File

@ -3,9 +3,10 @@ using SqlSugar;
using System;
using ZR.Model;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.Repository;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Service.System
{

View File

@ -3,10 +3,10 @@ using SqlSugar;
using System;
using System.Linq;
using ZR.Model;
using ZR.Model.Dto;
using ZR.Model.Models;
using ZR.Repository;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Service.System
{

View File

@ -5,8 +5,8 @@ using System;
using System.Collections.Generic;
using System.Linq;
using ZR.Model;
using ZR.Model.System.Generate;
using ZR.Service.System.IService;
using ZR.ServiceCore.Model.Generate;
namespace ZR.Service.System
{

View File

@ -1,7 +1,8 @@
using System.Collections.Generic;
using ZR.Model;
using ZR.Model.Dto;
using ZR.Model.System;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Service.System.IService
{

View File

@ -1,6 +1,7 @@
using ZR.Model;
using ZR.Model.System;
using ZR.Model.System.Dto;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Service.System.IService
{

View File

@ -1,6 +1,6 @@
using ZR.Model;
using ZR.Model.Dto;
using ZR.Model.Models;
using ZR.ServiceCore.Model;
using ZR.ServiceCore.Model.Dto;
namespace ZR.Service.System.IService
{

View File

@ -1,7 +1,7 @@
using SqlSugar;
using System.Collections.Generic;
using ZR.Model;
using ZR.Model.System.Generate;
using ZR.ServiceCore.Model.Generate;
namespace ZR.Service.System.IService
{

Some files were not shown because too many files have changed in this diff Show More