master
editor 1 year ago
commit 0d17436ccd

@ -0,0 +1,81 @@
FIERCE后台管理系统
一、源码描述
Fierce后台管理系统
项目环境:.net core3.1,dapper,MVC,easyui
二、功能介绍
系统设置
  基础功能
  菜单设置
  全局设置
权限配置
  用户角色设置
  部门机构管理
  岗位设置
  用户管理
  信息管理
其他选项
三、注意事项
1、附加数据库后更改项目Fierce.Mvc项目下appsettings.json的数据库连接字符串。
2、默认用户名密码admin123456。
3、按F5运行即可。
作者: coderbest
如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/FierceBackgroundManagement
------------------------------------------------------------------------------------------------
源码服务专家
官网: https://www.51aspx.com
讨论圈: https://club.51aspx.com/
平台声明:
1.51Aspx平台上提供下载的资源为免费、共享、商业三类源码,其中免费和共享源码仅供个人学习和研究使用,商业源码请在相应的授权许可条件下使用;
2.51Aspx平台对提供下载的软件及其它资源不拥有任何权利,其版权归属源码合法拥有者所有;
3.著作权人发现本网站载有侵害其合法权益的内容或作品,请与我们联系( 登录官网与客服反馈或发送邮件到support@51Aspx.com
4.51Aspx平台不保证提供的下载资源的准确性、安全性和完整性;
友情提示:
一般数据库文件默认在 DB_51Aspx 文件夹下
默认账号密码一般均为51Aspx
关于源码使用常见问题及解决方案,请参阅: https://www.51aspx.com/Help

@ -0,0 +1,15 @@
using System;
using System.ComponentModel.Design;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop;
using Task = System.Threading.Tasks.Task;
namespace FierceVSIX
{
/// <summary>
/// Command handler
/// </summary>
internal sealed class CommandMenuButton

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FierceVSIX
{
public class FierceEntityModel
{
public string AreaName { get; set; }
public string TypeName { get; set; }
public string EntityName { get; set; }
public Type Type { get; set; }

@ -0,0 +1,15 @@
using EnvDTE;
using EnvDTE80;
using Microsoft;
using Microsoft.VisualStudio.Shell;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace FierceVSIX
{

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MinimumVisualStudioVersion>16.0</MinimumVisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<TargetFrameworkProfile />
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<SchemaVersion>2.0</SchemaVersion>
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProjectGuid>{52E71860-B3FF-4833-9E04-D77EAB0B2018}</ProjectGuid>
<OutputType>Library</OutputType>

@ -0,0 +1,15 @@
using System;
using System.Runtime.InteropServices;
using System.Threading;
using Microsoft.VisualStudio.Shell;
using Task = System.Threading.Tasks.Task;
namespace FierceVSIX
{
/// <summary>
/// This is the class that implements the package exposed by this assembly.
/// </summary>
/// <remarks>
/// <para>
/// The minimum requirement for a class to be considered a valid package for Visual Studio
/// is to implement the IVsPackage interface and register itself with the shell.

@ -0,0 +1,15 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("FierceVSIX")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("FierceVSIX")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

@ -0,0 +1,15 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 16.0.0.0
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
// ------------------------------------------------------------------------------
namespace FierceVSIX.T4
{
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System;

@ -0,0 +1,15 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 16.0.0.0
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
// ------------------------------------------------------------------------------
namespace FierceVSIX.T4
{
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System;

@ -0,0 +1,15 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 16.0.0.0
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
// ------------------------------------------------------------------------------
namespace FierceVSIX.T4
{
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System;

@ -0,0 +1,15 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 16.0.0.0
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
// ------------------------------------------------------------------------------
namespace FierceVSIX.T4
{
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System;

@ -0,0 +1,15 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 16.0.0.0
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
// ------------------------------------------------------------------------------
namespace FierceVSIX.T4
{
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System;

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FierceVSIX.T4
{
public partial class Configuration
{
private string _solution;
private string _areaName;
private string _modelName;
public Configuration(string solution, string areaName, string modelName)

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FierceVSIX.T4
{
public partial class DataContext
{
private string _solution;
private List<FierceEntityModel> _list;
public DataContext(string solution, List<FierceEntityModel> list)
{

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FierceVSIX.T4
{
public partial class DbSet
{
private string _solution;
private string _areaName;
private string _modelName;
private string _modelType;

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FierceVSIX.T4
{
public partial class Service
{
private string _solution;
private string _areaName;
private string _modelName;
private string _modelType;

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FierceVSIX.T4
{
public partial class ServiceFactory
{
private string _solution;
private List<FierceEntityModel> _list;
public ServiceFactory(string solution, List<FierceEntityModel> list)
{

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]

@ -0,0 +1,15 @@
{
"format": 1,
"restore": {
"C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\other\\FierceVSIX\\FierceVSIX\\FierceVSIX.csproj": {}
},
"projects": {
"C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\other\\FierceVSIX\\FierceVSIX\\FierceVSIX.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\other\\FierceVSIX\\FierceVSIX\\FierceVSIX.csproj",
"projectName": "FierceVSIX",
"projectPath": "C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\other\\FierceVSIX\\FierceVSIX\\FierceVSIX.csproj",
"packagesPath": "C:\\Users\\coder\\.nuget\\packages\\",
"outputPath": "C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\other\\FierceVSIX\\FierceVSIX\\obj\\",
"projectStyle": "PackageReference",

@ -0,0 +1,15 @@
{
"version": 3,
"targets": {
".NETFramework,Version=v4.7.2": {
"EnvDTE/8.0.2": {
"type": "package",
"dependencies": {
"stdole": "7.0.3302"
},
"compile": {
"lib/net10/EnvDTE.dll": {}
},
"runtime": {
"lib/net10/_._": {}
}

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
IIS configuration sections.
For schema documentation, see
%IIS_BIN%\config\schema\IIS_schema.xml.
Please make a backup of this file before making any changes to it.
NOTE: The following environment variables are available to be used
within this file and are understood by the IIS Express.
%IIS_USER_HOME% - The IIS Express home directory for the user
%IIS_SITES_HOME% - The default home directory for sites

@ -0,0 +1,15 @@
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Text;
namespace Fierce.Cache
{
/// <summary>
/// 公共缓存类
/// </summary>
public static class CommonCache
{
private static IMemoryCache cache = new MemoryCache(Options.Create(new MemoryCacheOptions()));

@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="3.1.0" />
</ItemGroup>
</Project>

@ -0,0 +1,15 @@
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.1/",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETStandard,Version=v2.1": {},
".NETStandard,Version=v2.1/": {
"Fierce.Cache/1.0.0": {
"dependencies": {
"Microsoft.Extensions.Caching.Memory": "3.1.0"
},
"runtime": {
"Fierce.Cache.dll": {}

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]

@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Fierce.Cache")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]

@ -0,0 +1,10 @@
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.Cache\bin\Debug\netstandard2.1\Fierce.Cache.deps.json
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.Cache\bin\Debug\netstandard2.1\Fierce.Cache.dll
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.Cache\bin\Debug\netstandard2.1\Fierce.Cache.pdb
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.Cache\obj\Debug\netstandard2.1\Fierce.Cache.csproj.AssemblyReference.cache
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.Cache\obj\Debug\netstandard2.1\Fierce.Cache.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.Cache\obj\Debug\netstandard2.1\Fierce.Cache.AssemblyInfoInputs.cache
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.Cache\obj\Debug\netstandard2.1\Fierce.Cache.AssemblyInfo.cs
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.Cache\obj\Debug\netstandard2.1\Fierce.Cache.csproj.CoreCompileInputs.cache
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.Cache\obj\Debug\netstandard2.1\Fierce.Cache.dll
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.Cache\obj\Debug\netstandard2.1\Fierce.Cache.pdb

@ -0,0 +1,15 @@
{
"format": 1,
"restore": {
"C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\src\\Fierce.Cache\\Fierce.Cache.csproj": {}
},
"projects": {
"C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\src\\Fierce.Cache\\Fierce.Cache.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\src\\Fierce.Cache\\Fierce.Cache.csproj",
"projectName": "Fierce.Cache",
"projectPath": "C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\src\\Fierce.Cache\\Fierce.Cache.csproj",
"packagesPath": "C:\\Users\\coder\\.nuget\\packages\\",
"outputPath": "C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\src\\Fierce.Cache\\obj\\",
"projectStyle": "PackageReference",

@ -0,0 +1,15 @@
{
"version": 3,
"targets": {
".NETStandard,Version=v2.1": {
"Microsoft.Extensions.Caching.Abstractions/3.1.0": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.Primitives": "3.1.0"
},
"compile": {
"lib/netstandard2.0/Microsoft.Extensions.Caching.Abstractions.dll": {
"related": ".xml"
}
},
"runtime": {

@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
</PropertyGroup>
<ItemGroup>
<None Remove="appsettings.json" />
<None Remove="log4net.config" />
</ItemGroup>
<ItemGroup>

@ -0,0 +1,15 @@
using System;
using System.IO;
using System.Reflection;
using System.Collections.Generic;
namespace Fierce.ConsoleApp
{
class Program
{
static void Main(string[] args)
{
new Startup(); Console.ReadKey();
}
}
}

@ -0,0 +1,15 @@
using Fierce.Core.Aop;
using Fierce.Utility.Helper;
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using Fierce.Dapper;
namespace Fierce.ConsoleApp
{
class Startup
{
public Startup()
{

@ -0,0 +1,7 @@
{
"database": {
"connString": "Data Source=127.0.0.1;Initial Catalog=fierce;User Id=sa;Password=sasasa;",
"providerName": "System.Data.SqlClient"
},
"isDevelop": true
}

@ -0,0 +1,15 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v3.1",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v3.1": {
"Fierce.ConsoleApp/1.0.0": {
"dependencies": {
"Fierce.Core": "1.0.0",
"Fierce.Entity": "1.0.0",
"Fierce.Utility": "1.0.0",
"Microsoft.EntityFrameworkCore": "3.1.0",
"r": "1.0.0"

@ -0,0 +1,10 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\coder\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\coder\\.nuget\\packages",
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
]
}
}

@ -0,0 +1,9 @@
{
"runtimeOptions": {
"tfm": "netcoreapp3.1",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "3.1.0"
}
}
}

@ -0,0 +1,7 @@
{
"database": {
"connString": "Data Source=127.0.0.1;Initial Catalog=fierce;User Id=sa;Password=sasasa;",
"providerName": "System.Data.SqlClient"
},
"isDevelop": true
}

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<log4net>
<!--Info日志 MaxSizeRollBackups最大变换数量-1为不限制,如果满了则删除以前的日志备份-->
<appender name="InfoRollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/info/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM-dd&quot;.log&quot;"/>
<param name="RollingStyle" value="Date"/>
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="时间:%d{HH:mm:ss} 线程ID[%t] 来源:%c%n%m%n--------------------------------------------------------------------------------------------------------------%n"/>
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="INFO" />

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<log4net>
<!--Info日志 MaxSizeRollBackups最大变换数量-1为不限制,如果满了则删除以前的日志备份-->
<appender name="InfoRollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<param name="File" value="logs/info/" />
<param name="AppendToFile" value="true" />
<param name="MaxSizeRollBackups" value="-1"/>
<param name="StaticLogFileName" value="false"/>
<param name="DatePattern" value="yyyy-MM-dd&quot;.log&quot;"/>
<param name="RollingStyle" value="Date"/>
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="时间:%d{HH:mm:ss} 线程ID[%t] 来源:%c%n%m%n--------------------------------------------------------------------------------------------------------------%n"/>
</layout>
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="INFO" />

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = ".NET Core 3.1")]

@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Fierce.ConsoleApp")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]

@ -0,0 +1,15 @@
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\Fierce.ConsoleApp.exe
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\appsettings.json
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\log4net.config
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\Fierce.ConsoleApp.deps.json
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\Fierce.ConsoleApp.runtimeconfig.json
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\Fierce.ConsoleApp.runtimeconfig.dev.json
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\Fierce.ConsoleApp.dll
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\Fierce.ConsoleApp.pdb
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\BouncyCastle.Crypto.dll
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\Castle.Core.dll
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\CsvHelper.dll
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\Dapper.dll
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\Google.Protobuf.dll
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\log4net.dll
C:\Users\coder\Desktop\2023\1\20230119\fierce-master\fierce-master\src\Fierce.ConsoleApp\bin\Debug\netcoreapp3.1\Microsoft.Bcl.AsyncInterfaces.dll

@ -0,0 +1,15 @@
{
"format": 1,
"restore": {
"C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\src\\Fierce.ConsoleApp\\Fierce.ConsoleApp.csproj": {}
},
"projects": {
"C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\src\\Fierce.ConsoleApp\\Fierce.ConsoleApp.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\src\\Fierce.ConsoleApp\\Fierce.ConsoleApp.csproj",
"projectName": "Fierce.ConsoleApp",
"projectPath": "C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\src\\Fierce.ConsoleApp\\Fierce.ConsoleApp.csproj",
"packagesPath": "C:\\Users\\coder\\.nuget\\packages\\",
"outputPath": "C:\\Users\\coder\\Desktop\\2023\\1\\20230119\\fierce-master\\fierce-master\\src\\Fierce.ConsoleApp\\obj\\",
"projectStyle": "PackageReference",

@ -0,0 +1,15 @@
{
"version": 3,
"targets": {
".NETCoreApp,Version=v3.1": {
"BouncyCastle.NetCore/1.8.3": {
"type": "package",
"dependencies": {
"NETStandard.Library": "1.6.0",
"System.Reflection": "4.3.0",
"System.Reflection.TypeExtensions": "4.1.0"
},
"compile": {
"lib/netstandard2.0/BouncyCastle.Crypto.dll": {
"related": ".xml"
}

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Core.Context;
namespace Fierce.Core.Aop
{
public class AopTarget
{
/// <summary>
/// 数据上下文
/// </summary>
internal DataContext db;

@ -0,0 +1,15 @@
using Castle.DynamicProxy;
using Fierce.Utility.Helper;
using System;
using System.Collections.Generic;
using System.Text;
namespace Fierce.Core.Aop
{
/// <summary>
/// 拦截器
/// </summary>
public class Interceptor : IInterceptor
{
private AopTarget _target;

@ -0,0 +1,15 @@
using Castle.DynamicProxy;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace Fierce.Core.Aop
{
public class InterceptorSelector : IInterceptorSelector
{
public IInterceptor[] SelectInterceptors(Type type, MethodInfo method, IInterceptor[] interceptors)
{
return interceptors; // 可以根据函数对拦截器进行一定的筛选
}
}

@ -0,0 +1,15 @@
using Castle.DynamicProxy;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace Fierce.Core.Aop
{
public class ProxyGenerationHook : IProxyGenerationHook
{
public void MethodsInspected()
{
}

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Fierce.Core.Aop
{
public static partial class ServiceFactory
{
public static Fierce.Core.Service.Basic.BasicDepartmentService BasicDepartment
{
get { return Interceptor.CreateProxy<Fierce.Core.Service.Basic.BasicDepartmentService>(); }
}
public static Fierce.Core.Service.Basic.BasicFunctionService BasicFunction

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Fierce.Core.Aop
{
/// <summary>
/// 服务工厂
/// </summary>
public static partial class ServiceFactory
{
}
}

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Utility.Helper;
namespace Fierce.Core.Aop
{
/// <summary>
/// 服务结果
/// </summary>
public class ServiceResult
{
/// <summary>
/// 结果代码

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Fierce.Core.Aop
{
/// <summary>
/// 结果代码
/// 可能会陆续补充更多类型
/// </summary>
public enum ServiceResultCode
{
/// <summary>
/// 成功
/// </summary>

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicMenuFunctionConfiguration : EntityConfigurationBase<BasicMenuFunction>
{
internal override void MapperInitialization(EntityTypeBuilder<BasicMenuFunction> builder)
{
builder.HasOne(m => m.BasicMenu).WithMany().HasForeignKey(m => m.MenuID);
builder.HasOne(m => m.BasicFunction).WithMany().HasForeignKey(m => m.FunctionID);

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicRoleMenuFunctionConfiguration : EntityConfigurationBase<BasicRoleMenuFunction>
{
internal override void MapperInitialization(EntityTypeBuilder<BasicRoleMenuFunction> builder)
{
builder.HasOne(m => m.BasicRole).WithMany().HasForeignKey(m => m.RoleID);
builder.HasOne(m => m.BasicMenuFunction).WithMany().HasForeignKey(m => m.MenuFunctionID);

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicUserDepartmentPostConfiguration : EntityConfigurationBase<BasicUserDepartmentPost>
{
internal override void MapperInitialization(EntityTypeBuilder<BasicUserDepartmentPost> builder)
{
builder.HasOne(m => m.BasicUser).WithMany().HasForeignKey(m => m.UserID);
builder.HasOne(m => m.BasicDepartment).WithMany().HasForeignKey(m => m.DepartmentID);

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicUserRoleConfiguration : EntityConfigurationBase<BasicUserRole>
{
internal override void MapperInitialization(EntityTypeBuilder<BasicUserRole> builder)
{
builder.HasOne(m => m.BasicUser).WithMany().HasForeignKey(m => m.UserID);
builder.HasOne(m => m.BasicRole).WithMany().HasForeignKey(m => m.RoleID);

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicDepartmentConfiguration : EntityConfigurationBase<BasicDepartment>
{
internal override string TableName => "Basic_Department";
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicFunctionConfiguration : EntityConfigurationBase<BasicFunction>
{
internal override string TableName => "Basic_Function";
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicMenuConfiguration : EntityConfigurationBase<BasicMenu>
{
internal override string TableName => "Basic_Menu";
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicMenuFunctionConfiguration : EntityConfigurationBase<BasicMenuFunction>
{
internal override string TableName => "Basic_MenuFunction";
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicPostConfiguration : EntityConfigurationBase<BasicPost>
{
internal override string TableName => "Basic_Post";
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicRoleConfiguration : EntityConfigurationBase<BasicRole>
{
internal override string TableName => "Basic_Role";
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicRoleMenuFunctionConfiguration : EntityConfigurationBase<BasicRoleMenuFunction>
{
internal override string TableName => "Basic_RoleMenuFunction";
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicSettingConfiguration : EntityConfigurationBase<BasicSetting>
{
internal override string TableName => "Basic_Setting";
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicUserConfiguration : EntityConfigurationBase<BasicUser>
{
internal override string TableName => "Basic_User";
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicUserDepartmentPostConfiguration : EntityConfigurationBase<BasicUserDepartmentPost>
{
internal override string TableName => "Basic_UserDepartmentPost";
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.Configuration.Basic
{
internal partial class BasicUserRoleConfiguration : EntityConfigurationBase<BasicUserRole>
{
internal override string TableName => "Basic_UserRole";
}
}

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using Fierce.Entity;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Fierce.Core.Configuration
{
/// <summary>
/// 实体配置器
/// </summary>

@ -0,0 +1,15 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace Fierce.Core.Configuration
{
/// <summary>
/// 实体配置工厂类
/// </summary>
internal static class EntityConfigurationFactory
{
/// <summary>

@ -0,0 +1,15 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Fierce.Core.Configuration
{
/// <summary>
/// 实体配置器
/// </summary>
internal interface IEntityConfiguration
{
/// <summary>
/// 将实体配置对象注册到实体生成器配置集合

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Fierce.Core.Context
{
internal partial class DataContext
{
public Fierce.Core.DbSet.Basic.BasicDepartmentDbSet BasicDepartment
{
get { return DbSetByCache<Fierce.Entity.Basic.BasicDepartment, Fierce.Core.DbSet.Basic.BasicDepartmentDbSet>(); }
}
public Fierce.Core.DbSet.Basic.BasicFunctionDbSet BasicFunction

@ -0,0 +1,15 @@
using Fierce.Core.DbSet;
using Fierce.Dapper;
using Fierce.Entity;
using Fierce.Utility.Helper;
using System;
using System.Collections.Generic;
using System.Text;
namespace Fierce.Core.Context
{
internal partial class DataContext : IDisposable
{
/// <summary>
/// default database
/// </summary>

@ -0,0 +1,15 @@
using Fierce.Core.Configuration;
using Fierce.Dapper;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Text;
namespace Fierce.Core.Context
{
internal partial class EntitiesContext : DbContext
{
/// <summary>

@ -0,0 +1,15 @@
using Fierce.Core.Context;
using Fierce.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Microsoft.EntityFrameworkCore;
namespace Fierce.Core.DbSet
{
/// <summary>
/// 基本数据
/// </summary>
/// <typeparam name="T">实体类型</typeparam>

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.DbSet.Basic
{
internal partial class BasicFunctionDbSet : OrderDbSet<BasicFunction>
{
internal List<BasicFunction> GetByMenuId(string menuId)
{
StringBuilder sql = new StringBuilder();
sql.AppendLine("SELECT F.ID");

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.DbSet.Basic
{
internal partial class BasicMenuDbSet : TreeDbSet<BasicMenu>
{
internal List<BasicMenu> EffectiveAll()
{
StringBuilder sql = new StringBuilder();
sql.AppendLine("SELECT M.ID");

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.DbSet.Basic
{
internal partial class BasicDepartmentDbSet : TreeDbSet<BasicDepartment>
{
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.DbSet.Basic
{
internal partial class BasicFunctionDbSet : OrderDbSet<BasicFunction>
{
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.DbSet.Basic
{
internal partial class BasicMenuDbSet : TreeDbSet<BasicMenu>
{
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.DbSet.Basic
{
internal partial class BasicMenuFunctionDbSet : OrderDbSet<BasicMenuFunction>
{
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.DbSet.Basic
{
internal partial class BasicPostDbSet : OrderDbSet<BasicPost>
{
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.DbSet.Basic
{
internal partial class BasicRoleDbSet : OrderDbSet<BasicRole>
{
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.DbSet.Basic
{
internal partial class BasicRoleMenuFunctionDbSet : BaseDbSet<BasicRoleMenuFunction>
{
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.DbSet.Basic
{
internal partial class BasicSettingDbSet : BaseDbSet<BasicSetting>
{
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.DbSet.Basic
{
internal partial class BasicUserDbSet : BaseDbSet<BasicUser>
{
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.DbSet.Basic
{
internal partial class BasicUserDepartmentPostDbSet : OrderDbSet<BasicUserDepartmentPost>
{
}
}

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Entity.Basic;
namespace Fierce.Core.DbSet.Basic
{
internal partial class BasicUserRoleDbSet : BaseDbSet<BasicUserRole>
{
}
}

@ -0,0 +1,15 @@
using Fierce.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace Fierce.Core.DbSet
{
/// <summary>
/// 排序数据
/// </summary>
/// <typeparam name="T">实体类型</typeparam>
internal class OrderDbSet<T> : BaseDbSet<T> where T : EntityOrder, new()
{
/// <summary>

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Fierce.Entity;
using Microsoft.EntityFrameworkCore;
namespace Fierce.Core.DbSet
{
/// <summary>
/// 树形数据
/// </summary>
/// <typeparam name="T">实体类型</typeparam>
internal class TreeDbSet<T> : OrderDbSet<T> where T : EntityTree, new()
{
/// <summary>

@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Castle.Core" Version="4.4.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="3.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.0" />
</ItemGroup>

@ -0,0 +1,15 @@
using System;
using System.Linq;
using System.Collections.Generic;
using Fierce.Entity;
using Fierce.Utility.Helper;
using Fierce.Core.Aop;
using Fierce.Core.DbSet;
namespace Fierce.Core.Service
{
/// <summary>
/// 基本业务基类
/// </summary>
/// <typeparam name="T">实体类型</typeparam>
/// <typeparam name="R">仓储接口</typeparam>

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Core.Aop;
using Fierce.Entity.Basic;
namespace Fierce.Core.Service.Basic
{
public partial class BasicFunctionService : OrderService<BasicFunction>
{
public virtual List<BasicFunction> Grid(int rows, int page, out int count)
{
return db.BasicFunction.Pager(rows, page, out count).ToList();
}

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Core.Aop;
using Fierce.Entity.Basic;
namespace Fierce.Core.Service.Basic
{
public partial class BasicMenuFunctionService : OrderService<BasicMenuFunction>
{
public virtual ServiceResult SetFunction(string menuId, string[] functionIds)
{
var bmfs = db.BasicMenuFunction.Query(m => m.MenuID == menuId).ToList();
var contains = bmfs.Where(m => functionIds.Contains(m.FunctionID));

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Core.Aop;
using Fierce.Entity.Basic;
namespace Fierce.Core.Service.Basic
{
public partial class BasicMenuService : TreeService<BasicMenu>
{
public virtual BasicMenu GetEmbed(string id, string tag)
{
return db.BasicMenu.Get(m => m.Type == "embed" && m.Pid == id && m.Tag == tag);
}

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Core.Aop;
using Fierce.Entity.Basic;
namespace Fierce.Core.Service.Basic
{
public partial class BasicPostService : OrderService<BasicPost>
{
public virtual List<BasicPost> Grid(int rows, int page, out int count)
{
return db.BasicPost.Pager(rows, page, out count).ToList();
}

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Core.Aop;
using Fierce.Entity.Basic;
namespace Fierce.Core.Service.Basic
{
public partial class BasicRoleMenuFunctionService : BaseService<BasicRoleMenuFunction>
{
public virtual List<BasicRoleMenuFunction> GetByRoleId(string roleId)
{
return db.BasicRoleMenuFunction.Query(m => m.RoleID == roleId).ToList();
}

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Core.Aop;
using Fierce.Entity.Basic;
namespace Fierce.Core.Service.Basic
{
public partial class BasicRoleService : OrderService<BasicRole>
{
public virtual List<BasicRole> Grid(int rows, int page, out int count)
{
return db.BasicRole.Pager(rows, page, out count).ToList();
}

@ -0,0 +1,15 @@
using Fierce.Utility.Helper;
using System;
using System.Linq;
using System.Text;
using Fierce.Core.Aop;
using Fierce.Entity.Basic;
using System.Collections.Generic;
namespace Fierce.Core.Service.Basic
{
public partial class BasicSettingService : BaseService<BasicSetting>
{
public virtual BasicSetting GetByTag(string tag)
{
db.SaveChanges();

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Core.Aop;
using Fierce.Entity.Basic;
using Microsoft.EntityFrameworkCore;
namespace Fierce.Core.Service.Basic
{
public partial class BasicUserDepartmentPostService : OrderService<BasicUserDepartmentPost>
{
public virtual List<BasicUserDepartmentPost> GetByUserID(string userId)
{
return db.BasicUserDepartmentPost.Query(m => m.UserID == userId).Include(m => m.BasicDepartment).Include(m => m.BasicPost).ToList();

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fierce.Core.Aop;
using Fierce.Entity.Basic;
using Microsoft.EntityFrameworkCore;
namespace Fierce.Core.Service.Basic
{
public partial class BasicUserRoleService : BaseService<BasicUserRole>
{
public virtual List<BasicUserRole> Grid(string userId)
{
return db.BasicUserRole.Query(m => m.UserID == userId).Include(m => m.BasicRole).ToList();

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

Loading…
Cancel
Save