ServiceCore下Model命名空间转换
This commit is contained in:
parent
cacb525b3a
commit
4199736bc7
@ -8,6 +8,7 @@ using ZR.Model.System;
|
|||||||
using ZR.Service.IService;
|
using ZR.Service.IService;
|
||||||
using ZR.Service.System;
|
using ZR.Service.System;
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers
|
namespace ZR.Admin.WebApi.Controllers
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using ZR.Admin.WebApi.Extensions;
|
using ZR.Admin.WebApi.Extensions;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model.Dto;
|
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers
|
namespace ZR.Admin.WebApi.Controllers
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3,8 +3,9 @@ using SqlSugar;
|
|||||||
using ZR.Admin.WebApi.Extensions;
|
using ZR.Admin.WebApi.Extensions;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers
|
namespace ZR.Admin.WebApi.Controllers
|
||||||
{
|
{
|
||||||
|
|||||||
@ -6,9 +6,9 @@ using ZR.CodeGenerator;
|
|||||||
using ZR.CodeGenerator.Model;
|
using ZR.CodeGenerator.Model;
|
||||||
using ZR.CodeGenerator.Service;
|
using ZR.CodeGenerator.Service;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Model.System.Generate;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
using ZR.ServiceCore.Model.Generate;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers
|
namespace ZR.Admin.WebApi.Controllers
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3,9 +3,9 @@ using Microsoft.AspNetCore.Mvc;
|
|||||||
using MiniExcelLibs;
|
using MiniExcelLibs;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.Dto;
|
|
||||||
using ZR.Model.Models;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers
|
namespace ZR.Admin.WebApi.Controllers
|
||||||
{
|
{
|
||||||
|
|||||||
@ -4,8 +4,9 @@ using SqlSugar;
|
|||||||
using ZR.Admin.WebApi.Extensions;
|
using ZR.Admin.WebApi.Extensions;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers
|
namespace ZR.Admin.WebApi.Controllers
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,8 +2,9 @@
|
|||||||
using System.Collections;
|
using System.Collections;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.System
|
namespace ZR.Admin.WebApi.Controllers.System
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,8 +2,9 @@
|
|||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.System
|
namespace ZR.Admin.WebApi.Controllers.System
|
||||||
{
|
{
|
||||||
@ -65,14 +66,14 @@ namespace ZR.Admin.WebApi.Controllers.System
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
[HttpPost("types")]
|
[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());
|
var list = SysDictDataService.SelectDictDataByTypes(dto.Select(f => f.DictType).ToArray());
|
||||||
List<SysdictDataDto> dataVos = new();
|
List<SysDictDataDto> dataVos = new();
|
||||||
|
|
||||||
foreach (var dic in dto)
|
foreach (var dic in dto)
|
||||||
{
|
{
|
||||||
SysdictDataDto vo = new()
|
SysDictDataDto vo = new()
|
||||||
{
|
{
|
||||||
DictType = dic.DictType,
|
DictType = dic.DictType,
|
||||||
ColumnName = dic.ColumnName,
|
ColumnName = dic.ColumnName,
|
||||||
|
|||||||
@ -3,8 +3,9 @@ using ZR.Admin.WebApi.Extensions;
|
|||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.System
|
namespace ZR.Admin.WebApi.Controllers.System
|
||||||
{
|
{
|
||||||
|
|||||||
10
ZR.Admin.WebApi/Controllers/System/SysFieldController.cs
Normal file
10
ZR.Admin.WebApi/Controllers/System/SysFieldController.cs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
using ZR.Admin.WebApi.Filters;
|
||||||
|
|
||||||
|
namespace ZR.Admin.WebApi.Controllers.System;
|
||||||
|
|
||||||
|
[Verify]
|
||||||
|
[Route("system/field")]
|
||||||
|
public class SysFieldController : BaseController
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@ -2,8 +2,9 @@ using Microsoft.AspNetCore.Mvc;
|
|||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers
|
namespace ZR.Admin.WebApi.Controllers
|
||||||
{
|
{
|
||||||
|
|||||||
@ -4,9 +4,10 @@ using Microsoft.Extensions.Options;
|
|||||||
using NETCore.Encrypt;
|
using NETCore.Encrypt;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System;
|
using ZR.Service.System;
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.System
|
namespace ZR.Admin.WebApi.Controllers.System
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,9 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.System
|
namespace ZR.Admin.WebApi.Controllers.System
|
||||||
{
|
{
|
||||||
|
|||||||
@ -4,8 +4,9 @@ using SqlSugar;
|
|||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
using ZR.ServiceCore.Signalr;
|
using ZR.ServiceCore.Signalr;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.System
|
namespace ZR.Admin.WebApi.Controllers.System
|
||||||
|
|||||||
@ -4,6 +4,7 @@ using ZR.Admin.WebApi.Filters;
|
|||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.System
|
namespace ZR.Admin.WebApi.Controllers.System
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3,8 +3,9 @@ using System.Net.Sockets;
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.System
|
namespace ZR.Admin.WebApi.Controllers.System
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,8 +2,9 @@
|
|||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.System
|
namespace ZR.Admin.WebApi.Controllers.System
|
||||||
{
|
{
|
||||||
|
|||||||
@ -4,8 +4,9 @@ using SqlSugar;
|
|||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.System
|
namespace ZR.Admin.WebApi.Controllers.System
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.System
|
namespace ZR.Admin.WebApi.Controllers.System
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3,8 +3,9 @@ using Quartz;
|
|||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
using ZR.Tasks;
|
using ZR.Tasks;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers
|
namespace ZR.Admin.WebApi.Controllers
|
||||||
|
|||||||
@ -3,8 +3,9 @@ using SqlSugar;
|
|||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.System
|
namespace ZR.Admin.WebApi.Controllers.System
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
//创建时间:2023-08-17
|
//创建时间:2023-08-17
|
||||||
namespace ZR.Admin.WebApi.Controllers
|
namespace ZR.Admin.WebApi.Controllers
|
||||||
|
|||||||
@ -5,6 +5,7 @@ using ZR.Admin.WebApi.Filters;
|
|||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.monitor
|
namespace ZR.Admin.WebApi.Controllers.monitor
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using ZR.Admin.WebApi.Extensions;
|
using ZR.Admin.WebApi.Extensions;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.monitor
|
namespace ZR.Admin.WebApi.Controllers.monitor
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
using Microsoft.AspNetCore.SignalR;
|
using Microsoft.AspNetCore.SignalR;
|
||||||
using ZR.Admin.WebApi.Filters;
|
using ZR.Admin.WebApi.Filters;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System.Dto;
|
using ZR.ServiceCore.Model.Dto;
|
||||||
using ZR.ServiceCore.Signalr;
|
using ZR.ServiceCore.Signalr;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Controllers.monitor
|
namespace ZR.Admin.WebApi.Controllers.monitor
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
using Quartz.Spi;
|
using Quartz.Spi;
|
||||||
using SqlSugar.IOC;
|
using SqlSugar.IOC;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
using ZR.Tasks;
|
using ZR.Tasks;
|
||||||
|
|
||||||
namespace ZR.Admin.WebApi.Extensions
|
namespace ZR.Admin.WebApi.Extensions
|
||||||
|
|||||||
@ -7,4 +7,5 @@ global using Infrastructure.Model;
|
|||||||
global using Mapster;
|
global using Mapster;
|
||||||
global using Infrastructure.Extensions;
|
global using Infrastructure.Extensions;
|
||||||
global using Infrastructure.Controllers;
|
global using Infrastructure.Controllers;
|
||||||
global using ZR.ServiceCore.Middleware;
|
global using ZR.ServiceCore.Middleware;
|
||||||
|
global using Microsoft.AspNetCore.Mvc;
|
||||||
@ -1,3 +1,4 @@
|
|||||||
|
using System.Reflection;
|
||||||
using AspNetCoreRateLimit;
|
using AspNetCoreRateLimit;
|
||||||
using Infrastructure.Converter;
|
using Infrastructure.Converter;
|
||||||
using Microsoft.AspNetCore.DataProtection;
|
using Microsoft.AspNetCore.DataProtection;
|
||||||
@ -165,4 +166,23 @@ using (var serviceScope = app.Services.CreateScope())
|
|||||||
await ipPolicyStore.SetAsync(optionsAccessor.Value.IpPolicyPrefix, pol);
|
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();
|
app.Run();
|
||||||
@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using ZR.Model.System.Generate;
|
|
||||||
|
|
||||||
namespace ZR.CodeGenerator
|
namespace ZR.CodeGenerator
|
||||||
{
|
{
|
||||||
|
|||||||
@ -9,7 +9,7 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using ZR.CodeGenerator.Model;
|
using ZR.CodeGenerator.Model;
|
||||||
using ZR.Model.System.Generate;
|
using ZR.ServiceCore.Model.Generate;
|
||||||
|
|
||||||
namespace ZR.CodeGenerator
|
namespace ZR.CodeGenerator
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using ZR.Model.System.Generate;
|
using ZR.ServiceCore.Model.Generate;
|
||||||
|
|
||||||
namespace ZR.CodeGenerator.Model
|
namespace ZR.CodeGenerator.Model
|
||||||
{
|
{
|
||||||
|
|||||||
@ -5,6 +5,7 @@ using ZR.Model.System;
|
|||||||
using ZR.Repository;
|
using ZR.Repository;
|
||||||
using ZR.Service.IService;
|
using ZR.Service.IService;
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
|
||||||
namespace ZR.Service
|
namespace ZR.Service
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
|
||||||
namespace ZR.Service.IService
|
namespace ZR.Service.IService
|
||||||
{
|
{
|
||||||
|
|||||||
@ -5,6 +5,7 @@ using Microsoft.AspNetCore.Mvc.Filters;
|
|||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Service.System;
|
using ZR.Service.System;
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
|
||||||
namespace ZR.ServiceCore.Middleware
|
namespace ZR.ServiceCore.Middleware
|
||||||
{
|
{
|
||||||
|
|||||||
@ -9,6 +9,7 @@ using Microsoft.AspNetCore.Mvc.Filters;
|
|||||||
using NLog;
|
using NLog;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
|
||||||
namespace ZR.ServiceCore.Middleware
|
namespace ZR.ServiceCore.Middleware
|
||||||
{
|
{
|
||||||
|
|||||||
@ -9,6 +9,7 @@ using System.Text.Encodings.Web;
|
|||||||
using ZR.Common;
|
using ZR.Common;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
using textJson = System.Text.Json;
|
using textJson = System.Text.Json;
|
||||||
|
|
||||||
namespace ZR.ServiceCore.Middleware
|
namespace ZR.ServiceCore.Middleware
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
namespace ZR.Model.System
|
using ZR.Model.System;
|
||||||
|
|
||||||
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 文章表
|
/// 文章表
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
using Newtonsoft.Json;
|
namespace ZR.ServiceCore.Model
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ZR.Model.System
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 文章目录
|
/// 文章目录
|
||||||
|
|||||||
@ -1,9 +1,6 @@
|
|||||||
using Newtonsoft.Json;
|
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|
||||||
namespace ZR.Model.Models
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 多语言配置,数据实体对象
|
/// 多语言配置,数据实体对象
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
using System;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using ZR.Model;
|
||||||
|
|
||||||
namespace ZR.Model.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 文章目录输入对象
|
/// 文章目录输入对象
|
||||||
|
|||||||
@ -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
|
public class ArticleQueryDto : PagerInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
using System;
|
using ZR.Model;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ZR.Model.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 多语言配置输入对象
|
/// 多语言配置输入对象
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
using System.Collections.Generic;
|
using ZR.ServiceCore.Model.Generate;
|
||||||
using ZR.Model.System.Generate;
|
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
public class GenTableDto
|
public class GenTableDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
public class LockUserDto
|
public class LockUserDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
public class LoginBodyDto
|
public class LoginBodyDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
using MiniExcelLibs.Attributes;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System;
|
using MiniExcelLibs.Attributes;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
public class MenuDto
|
public class MenuDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
public class RegisterDto
|
public class RegisterDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
using MiniExcelLibs.Attributes;
|
using MiniExcelLibs.Attributes;
|
||||||
using SqlSugar.DbConvert;
|
|
||||||
using ZR.Model.System.Enums;
|
using ZR.Model.System.Enums;
|
||||||
|
using ZR.ServiceCore.Model.Enums;
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
public class RoleMenuExportDto
|
public class RoleMenuExportDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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
|
public class RoleUserQueryDto : PagerInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
public class ScanDto
|
public class ScanDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using MiniExcelLibs.Attributes;
|
using MiniExcelLibs.Attributes;
|
||||||
|
using ZR.Model;
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 数据差异日志查询对象
|
/// 数据差异日志查询对象
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using ZR.Model;
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 参数配置输入对象模型
|
/// 参数配置输入对象模型
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
namespace ZR.Model.System.Dto
|
using ZR.Model;
|
||||||
|
|
||||||
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
public class SysDeptQueryDto : PagerInfo
|
public class SysDeptQueryDto : PagerInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
using System.Collections.Generic;
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
|
||||||
{
|
{
|
||||||
public class SysdictDataDto
|
public class SysDictDataDto
|
||||||
{
|
{
|
||||||
public string DictType { get; set; }
|
public string DictType { get; set; }
|
||||||
public string ColumnName { get; set; }
|
public string ColumnName { get; set; }
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
public class SysDictTypeDto
|
public class SysDictTypeDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using ZR.Model;
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 文件存储输入对象
|
/// 文件存储输入对象
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
public class SysLogininfoDto : SysBase
|
public class SysLogininfoDto : SysBase
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using ZR.Model;
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 通知公告表输入对象
|
/// 通知公告表输入对象
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using ZR.Model;
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
{
|
{
|
||||||
public class SysOperLogQueryDto : PagerInfo
|
public class SysOperLogQueryDto : PagerInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
|
||||||
{
|
{
|
||||||
public class SysRoleDto : SysBase
|
public class SysRoleDto : SysBase
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,4 @@
|
|||||||
using System;
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
|
||||||
{
|
{
|
||||||
public class SysRoleMenuDto
|
public class SysRoleMenuDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
using System;
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
|
||||||
{
|
{
|
||||||
public class SysUserDto
|
public class SysUserDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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
|
public class TasksQueryDto : PagerInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
using System;
|
namespace ZR.ServiceCore.Model.Dto
|
||||||
|
|
||||||
namespace ZR.Model.System.Dto
|
|
||||||
{
|
{
|
||||||
public class TasksLogQueryDto
|
public class TasksLogQueryDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|
||||||
namespace ZR.Model.System.Enums
|
namespace ZR.ServiceCore.Model.Enums
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 菜单状态(0正常 1停用)
|
/// 菜单状态(0正常 1停用)
|
||||||
|
|||||||
@ -1,7 +1,4 @@
|
|||||||
using SqlSugar;
|
namespace ZR.ServiceCore.Model.Generate
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ZR.Model.System.Generate
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 代码生成表
|
/// 代码生成表
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
using SqlSugar;
|
namespace ZR.ServiceCore.Model.Generate
|
||||||
using System;
|
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
namespace ZR.Model.System.Generate
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 代码生成表字段
|
/// 代码生成表字段
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace ZR.Model.System
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
[SugarTable("SqlDiffLog", "数据差异日志")]
|
[SugarTable("SqlDiffLog", "数据差异日志")]
|
||||||
[Tenant("0")]
|
[Tenant("0")]
|
||||||
|
|||||||
@ -1,9 +1,6 @@
|
|||||||
using MiniExcelLibs.Attributes;
|
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)]
|
//[EpplusTable(PrintHeaders = true, AutofitColumns = true, AutoCalculate = true, ShowTotal = true)]
|
||||||
public class SysBase
|
public class SysBase
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using SqlSugar;
|
using ZR.Model.System;
|
||||||
|
|
||||||
namespace ZR.Model.System
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 参数配置,数据实体对象
|
/// 参数配置,数据实体对象
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
namespace ZR.Model.System
|
using ZR.Model.System;
|
||||||
|
|
||||||
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 部门表
|
/// 部门表
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using SqlSugar;
|
using ZR.Model.System;
|
||||||
|
|
||||||
namespace ZR.Model.System
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 字典数据表
|
/// 字典数据表
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using SqlSugar;
|
using ZR.Model.System;
|
||||||
|
|
||||||
namespace ZR.Model.System
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 字典类型表
|
/// 字典类型表
|
||||||
|
|||||||
14
ZR.ServiceCore/Model/SysField.cs
Normal file
14
ZR.ServiceCore/Model/SysField.cs
Normal 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; }
|
||||||
|
}
|
||||||
@ -1,8 +1,4 @@
|
|||||||
using Newtonsoft.Json;
|
namespace ZR.ServiceCore.Model
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace ZR.Model.System
|
|
||||||
{
|
{
|
||||||
[Tenant("0")]
|
[Tenant("0")]
|
||||||
[SugarTable("sys_file", "文件存储表")]
|
[SugarTable("sys_file", "文件存储表")]
|
||||||
|
|||||||
@ -1,7 +1,4 @@
|
|||||||
using SqlSugar;
|
namespace ZR.ServiceCore.Model
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace ZR.Model.System
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// sys_logininfor 表
|
/// sys_logininfor 表
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
using SqlSugar;
|
using ZR.Model.System;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ZR.Model.System
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sys_menu表
|
/// Sys_menu表
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using SqlSugar;
|
using ZR.Model.System;
|
||||||
|
|
||||||
namespace ZR.Model.System
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 通知公告表
|
/// 通知公告表
|
||||||
|
|||||||
@ -1,9 +1,6 @@
|
|||||||
using MiniExcelLibs.Attributes;
|
using MiniExcelLibs.Attributes;
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.ComponentModel;
|
|
||||||
|
|
||||||
namespace ZR.Model.System
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
[SugarTable("sys_oper_log", "操作日志表")]
|
[SugarTable("sys_oper_log", "操作日志表")]
|
||||||
[Tenant("0")]
|
[Tenant("0")]
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using SqlSugar;
|
using ZR.Model.System;
|
||||||
|
|
||||||
namespace ZR.Model.System
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
[SugarTable("sys_post", "岗位表")]
|
[SugarTable("sys_post", "岗位表")]
|
||||||
[Tenant("0")]
|
[Tenant("0")]
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using SqlSugar;
|
using ZR.Model.System;
|
||||||
|
|
||||||
namespace ZR.Model.System
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 角色表 sys_role
|
/// 角色表 sys_role
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
using SqlSugar;
|
namespace ZR.ServiceCore.Model
|
||||||
|
|
||||||
namespace ZR.Model.System
|
|
||||||
{
|
{
|
||||||
[SugarTable("sys_role_dept", "角色部门")]
|
[SugarTable("sys_role_dept", "角色部门")]
|
||||||
[Tenant(0)]
|
[Tenant(0)]
|
||||||
|
|||||||
10
ZR.ServiceCore/Model/SysRoleField.cs
Normal file
10
ZR.ServiceCore/Model/SysRoleField.cs
Normal 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; }
|
||||||
|
}
|
||||||
@ -1,7 +1,4 @@
|
|||||||
using Newtonsoft.Json;
|
namespace ZR.ServiceCore.Model
|
||||||
using SqlSugar;
|
|
||||||
|
|
||||||
namespace ZR.Model.System
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 角色菜单
|
/// 角色菜单
|
||||||
|
|||||||
@ -1,8 +1,7 @@
|
|||||||
using SqlSugar;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System;
|
using ZR.Model.System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
|
|
||||||
namespace ZR.Model.System
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
///<summary>
|
///<summary>
|
||||||
///计划任务
|
///计划任务
|
||||||
|
|||||||
@ -1,7 +1,4 @@
|
|||||||
using SqlSugar;
|
namespace ZR.ServiceCore.Model
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace ZR.Model.System
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 任务日志
|
/// 任务日志
|
||||||
|
|||||||
@ -1,10 +1,7 @@
|
|||||||
using MiniExcelLibs.Attributes;
|
using MiniExcelLibs.Attributes;
|
||||||
using Newtonsoft.Json;
|
using ZR.Model.System;
|
||||||
using SqlSugar;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ZR.Model.System
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 用户表
|
/// 用户表
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
using SqlSugar;
|
namespace ZR.ServiceCore.Model
|
||||||
|
|
||||||
namespace ZR.Model.System
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 用户岗位
|
/// 用户岗位
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
using SqlSugar;
|
namespace ZR.ServiceCore.Model
|
||||||
|
|
||||||
namespace ZR.Model.System
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 用户角色关联表 用户N-1 角色
|
/// 用户角色关联表 用户N-1 角色
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace ZR.Model.System
|
namespace ZR.ServiceCore.Model
|
||||||
{
|
{
|
||||||
public class UserConstants
|
public class UserConstants
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,4 @@
|
|||||||
using Newtonsoft.Json;
|
namespace ZR.ServiceCore.Model.Vo
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace ZR.Model.System.Vo
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 路由展示
|
/// 路由展示
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace ZR.Model.System.Vo
|
namespace ZR.ServiceCore.Model.Vo
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Treeselect树结构实体类
|
/// Treeselect树结构实体类
|
||||||
|
|||||||
@ -2,10 +2,11 @@
|
|||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.Dto;
|
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Repository;
|
using ZR.Repository;
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Service.System
|
namespace ZR.Service.System
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3,9 +3,10 @@ using SqlSugar;
|
|||||||
using System;
|
using System;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
|
||||||
using ZR.Repository;
|
using ZR.Repository;
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Service.System
|
namespace ZR.Service.System
|
||||||
{
|
{
|
||||||
|
|||||||
@ -3,10 +3,10 @@ using SqlSugar;
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.Dto;
|
|
||||||
using ZR.Model.Models;
|
|
||||||
using ZR.Repository;
|
using ZR.Repository;
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Service.System
|
namespace ZR.Service.System
|
||||||
{
|
{
|
||||||
|
|||||||
@ -5,8 +5,8 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System.Generate;
|
|
||||||
using ZR.Service.System.IService;
|
using ZR.Service.System.IService;
|
||||||
|
using ZR.ServiceCore.Model.Generate;
|
||||||
|
|
||||||
namespace ZR.Service.System
|
namespace ZR.Service.System
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,8 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.Dto;
|
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Service.System.IService
|
namespace ZR.Service.System.IService
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System;
|
using ZR.Model.System;
|
||||||
using ZR.Model.System.Dto;
|
using ZR.ServiceCore.Model;
|
||||||
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Service.System.IService
|
namespace ZR.Service.System.IService
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.Dto;
|
using ZR.ServiceCore.Model;
|
||||||
using ZR.Model.Models;
|
using ZR.ServiceCore.Model.Dto;
|
||||||
|
|
||||||
namespace ZR.Service.System.IService
|
namespace ZR.Service.System.IService
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using ZR.Model;
|
using ZR.Model;
|
||||||
using ZR.Model.System.Generate;
|
using ZR.ServiceCore.Model.Generate;
|
||||||
|
|
||||||
namespace ZR.Service.System.IService
|
namespace ZR.Service.System.IService
|
||||||
{
|
{
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user