Compare commits

..

No commits in common. "57b96384ab02a434fe8dcdebd7208b52eef20a3c" and "59e71a0752ed672b497c4ec1cef5cc7192b23524" have entirely different histories.

20 changed files with 47399 additions and 50075 deletions

View File

@ -2,12 +2,6 @@
//------------------------------------------------------------------------------
// T4模板文件基础接口类
// 此代码由T4模板自动生成
@ -22,7 +16,6 @@ using APT.BaseData.Domain.ApiModel.PF;
namespace APT.BD.WebApi.Controllers.Api
{
using APT.BaseData.Domain.Entities.BD;
#region Hmi-HMI资源表维护
/// <summary>
/// HMI资源表维护
@ -40,7 +33,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -52,7 +44,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -63,7 +54,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -74,7 +64,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -130,10 +119,8 @@ namespace APT.BD.WebApi.Controllers.Api
return WitEntity(null, filter);
}
}
#endregion
#region Picture-
/// <summary>
/// 图片资源
@ -151,7 +138,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -163,7 +149,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -174,7 +159,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -185,7 +169,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -241,10 +224,8 @@ namespace APT.BD.WebApi.Controllers.Api
return WitEntity(null, filter);
}
}
#endregion
#region PictureFile-
/// <summary>
/// 资源图片文件
@ -262,7 +243,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -274,7 +254,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -285,7 +264,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -296,7 +274,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -352,10 +329,8 @@ namespace APT.BD.WebApi.Controllers.Api
return WitEntity(null, filter);
}
}
#endregion
#region Place-
/// <summary>
/// 区域表
@ -373,7 +348,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -385,7 +359,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -396,7 +369,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -407,7 +379,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -462,7 +433,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitEntity(null, filter);
}
/// <summary>
/// 获得树形实体数据
/// </summary>
@ -474,10 +444,8 @@ namespace APT.BD.WebApi.Controllers.Api
return WitTreeOrderEntities(null, filter);
}
}
#endregion
#region ServerInfo-
/// <summary>
/// 服务器信息表
@ -495,7 +463,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -507,7 +474,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -518,7 +484,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -529,7 +494,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -585,10 +549,8 @@ namespace APT.BD.WebApi.Controllers.Api
return WitEntity(null, filter);
}
}
#endregion
#region SystemInfo-
/// <summary>
/// 系统信息表
@ -606,7 +568,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -618,7 +579,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -629,7 +589,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -640,7 +599,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -696,10 +654,8 @@ namespace APT.BD.WebApi.Controllers.Api
return WitEntity(null, filter);
}
}
#endregion
#region WordTemplate-WORD模板维护
/// <summary>
/// WORD模板维护
@ -717,7 +673,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -729,7 +684,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -740,7 +694,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -751,7 +704,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -807,8 +759,7 @@ namespace APT.BD.WebApi.Controllers.Api
return WitEntity(null, filter);
}
}
#endregion
}

View File

@ -1,4 +1,4 @@
<#@ template debug="false" hostspecific="true" language="C#" #>
<#@ template debug="true" hostspecific="true" language="C#" #>
<#@ assembly name="System.Core" #>
<#@ import namespace="System" #>
<#@ import namespace="System.Linq" #>
@ -24,6 +24,7 @@ namespace APT.BD.WebApi.Controllers.Api
<#
List<string> dlls=new List<string>();
List<string> filePaths=new List<string>();
//filePaths.Add(@"C:\Users\luxiaoyuan\source\repos\ConsoleApp15\ConsoleApp15\T_MM_SN.cs");
List<TableT4> tables = new List<TableT4>();
List<string> modules=new List<string> ();
@ -145,7 +146,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -157,7 +157,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -168,7 +167,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -179,7 +177,6 @@ namespace APT.BD.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -256,6 +253,7 @@ namespace APT.BD.WebApi.Controllers.Api
<#}
#>
}
<#+
class TableT4

File diff suppressed because it is too large Load Diff

View File

@ -24,6 +24,7 @@ namespace APT.FM.WebApi.Controllers.Api
<#
List<string> dlls=new List<string>();
List<string> filePaths=new List<string>();
//filePaths.Add(@"C:\Users\luxiaoyuan\source\repos\ConsoleApp15\ConsoleApp15\T_MM_SN.cs");
List<TableT4> tables = new List<TableT4>();
List<string> modules=new List<string> ();
@ -53,7 +54,7 @@ namespace APT.FM.WebApi.Controllers.Api
TableT4 tableT4 = new TableT4();
tableT4.BaseName = baseClassTxt;
tableT4.BaseApiName="AuthorizeApiController";
if(tableT4.BaseName.IndexOf("TreeEntityBase<")>-1){
if(tableT4.BaseName.Contains("TreeEntityBase")){
tableT4.BaseApiName="AuthorizeTreeApiController";
}
tableT4.TableNameSpace = space;
@ -145,7 +146,6 @@ namespace APT.FM.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -157,7 +157,6 @@ namespace APT.FM.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -168,7 +167,6 @@ namespace APT.FM.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -179,7 +177,6 @@ namespace APT.FM.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -256,6 +253,7 @@ namespace APT.FM.WebApi.Controllers.Api
<#}
#>
}
<#+
class TableT4

File diff suppressed because it is too large Load Diff

View File

@ -24,6 +24,7 @@ namespace APT.FO.WebApi.Controllers.Api
<#
List<string> dlls=new List<string>();
List<string> filePaths=new List<string>();
//filePaths.Add(@"C:\Users\luxiaoyuan\source\repos\ConsoleApp15\ConsoleApp15\T_MM_SN.cs");
List<TableT4> tables = new List<TableT4>();
List<string> modules=new List<string> ();
@ -53,7 +54,7 @@ namespace APT.FO.WebApi.Controllers.Api
TableT4 tableT4 = new TableT4();
tableT4.BaseName = baseClassTxt;
tableT4.BaseApiName="AuthorizeApiController";
if(tableT4.BaseName.IndexOf("TreeEntityBase<")>-1){
if(tableT4.BaseName.Contains("TreeEntityBase")){
tableT4.BaseApiName="AuthorizeTreeApiController";
}
tableT4.TableNameSpace = space;
@ -145,7 +146,6 @@ namespace APT.FO.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -157,7 +157,6 @@ namespace APT.FO.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -168,7 +167,6 @@ namespace APT.FO.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -179,7 +177,6 @@ namespace APT.FO.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -256,6 +253,7 @@ namespace APT.FO.WebApi.Controllers.Api
<#}
#>
}
<#+
class TableT4

File diff suppressed because it is too large Load Diff

View File

@ -145,7 +145,6 @@ namespace APT.HM.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -157,7 +156,6 @@ namespace APT.HM.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -168,7 +166,6 @@ namespace APT.HM.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -179,7 +176,6 @@ namespace APT.HM.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -256,6 +252,7 @@ namespace APT.HM.WebApi.Controllers.Api
<#}
#>
}
<#+
class TableT4

View File

@ -2,12 +2,6 @@
//------------------------------------------------------------------------------
// T4模板文件基础接口类
// 此代码由T4模板自动生成
@ -22,7 +16,6 @@ using APT.BaseData.Domain.ApiModel.PF;
namespace APT.LG.WebApi.Controllers.Api
{
using APT.BaseData.Domain.Entities.LG;
#region Oprate-
/// <summary>
/// 表单操作日志表
@ -40,7 +33,6 @@ namespace APT.LG.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -52,7 +44,6 @@ namespace APT.LG.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -63,7 +54,6 @@ namespace APT.LG.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -74,7 +64,6 @@ namespace APT.LG.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -130,8 +119,7 @@ namespace APT.LG.WebApi.Controllers.Api
return WitEntity(null, filter);
}
}
#endregion
}

View File

@ -24,6 +24,7 @@ namespace APT.LG.WebApi.Controllers.Api
<#
List<string> dlls=new List<string>();
List<string> filePaths=new List<string>();
//filePaths.Add(@"C:\Users\luxiaoyuan\source\repos\ConsoleApp15\ConsoleApp15\T_MM_SN.cs");
List<TableT4> tables = new List<TableT4>();
List<string> modules=new List<string> ();
@ -53,7 +54,7 @@ namespace APT.LG.WebApi.Controllers.Api
TableT4 tableT4 = new TableT4();
tableT4.BaseName = baseClassTxt;
tableT4.BaseApiName="AuthorizeApiController";
if(tableT4.BaseName.IndexOf("TreeEntityBase<")>-1){
if(tableT4.BaseName.Contains("TreeEntityBase")){
tableT4.BaseApiName="AuthorizeTreeApiController";
}
tableT4.TableNameSpace = space;
@ -145,7 +146,6 @@ namespace APT.LG.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -157,7 +157,6 @@ namespace APT.LG.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -168,7 +167,6 @@ namespace APT.LG.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -179,7 +177,6 @@ namespace APT.LG.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -256,6 +253,7 @@ namespace APT.LG.WebApi.Controllers.Api
<#}
#>
}
<#+
class TableT4

View File

@ -2,12 +2,6 @@
//------------------------------------------------------------------------------
// T4模板文件基础接口类
// 此代码由T4模板自动生成
@ -22,7 +16,6 @@ using APT.BaseData.Domain.ApiModel.PF;
namespace APT.NW.WebApi.Controllers.Api
{
using APT.BaseData.Domain.Entities.NW;
#region Enterprise-
/// <summary>
/// 子企业表
@ -40,7 +33,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -52,7 +44,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -63,7 +54,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -74,7 +64,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -129,7 +118,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitEntity(null, filter);
}
/// <summary>
/// 获得树形实体数据
/// </summary>
@ -141,10 +129,8 @@ namespace APT.NW.WebApi.Controllers.Api
return WitTreeOrderEntities(null, filter);
}
}
#endregion
#region RoleDataPerm-
/// <summary>
/// 子企业数据权限表
@ -162,7 +148,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -174,7 +159,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -185,7 +169,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -196,7 +179,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -252,10 +234,8 @@ namespace APT.NW.WebApi.Controllers.Api
return WitEntity(null, filter);
}
}
#endregion
#region RoleMenu-
/// <summary>
/// 子企业权限表
@ -273,7 +253,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -285,7 +264,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -296,7 +274,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -307,7 +284,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -363,8 +339,7 @@ namespace APT.NW.WebApi.Controllers.Api
return WitEntity(null, filter);
}
}
#endregion
}

View File

@ -24,6 +24,7 @@ namespace APT.NW.WebApi.Controllers.Api
<#
List<string> dlls=new List<string>();
List<string> filePaths=new List<string>();
//filePaths.Add(@"C:\Users\luxiaoyuan\source\repos\ConsoleApp15\ConsoleApp15\T_MM_SN.cs");
List<TableT4> tables = new List<TableT4>();
List<string> modules=new List<string> ();
@ -53,7 +54,7 @@ namespace APT.NW.WebApi.Controllers.Api
TableT4 tableT4 = new TableT4();
tableT4.BaseName = baseClassTxt;
tableT4.BaseApiName="AuthorizeApiController";
if(tableT4.BaseName.IndexOf("TreeEntityBase<")>-1){
if(tableT4.BaseName.Contains("TreeEntityBase")){
tableT4.BaseApiName="AuthorizeTreeApiController";
}
tableT4.TableNameSpace = space;
@ -145,7 +146,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -157,7 +157,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -168,7 +167,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -179,7 +177,6 @@ namespace APT.NW.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -256,6 +253,7 @@ namespace APT.NW.WebApi.Controllers.Api
<#}
#>
}
<#+
class TableT4

File diff suppressed because it is too large Load Diff

View File

@ -17,13 +17,13 @@ using APT.Infrastructure.Core;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using APT.Utility;
using APT.Infrastructure.Api;
using APT.BaseData.Domain.ApiModel.PF;
namespace APT.OP.WebApi.Controllers.Api
namespace APT.LG.WebApi.Controllers.Api
{
<#
List<string> dlls=new List<string>();
List<string> filePaths=new List<string>();
//filePaths.Add(@"C:\Users\luxiaoyuan\source\repos\ConsoleApp15\ConsoleApp15\T_MM_SN.cs");
List<TableT4> tables = new List<TableT4>();
List<string> modules=new List<string> ();
@ -53,7 +53,7 @@ namespace APT.OP.WebApi.Controllers.Api
TableT4 tableT4 = new TableT4();
tableT4.BaseName = baseClassTxt;
tableT4.BaseApiName="AuthorizeApiController";
if(tableT4.BaseName.IndexOf("TreeEntityBase<")>-1){
if(tableT4.BaseName.Contains("TreeEntityBase")){
tableT4.BaseApiName="AuthorizeTreeApiController";
}
tableT4.TableNameSpace = space;
@ -145,7 +145,6 @@ namespace APT.OP.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -157,7 +156,6 @@ namespace APT.OP.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -168,7 +166,6 @@ namespace APT.OP.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -179,7 +176,6 @@ namespace APT.OP.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -256,6 +252,7 @@ namespace APT.OP.WebApi.Controllers.Api
<#}
#>
}
<#+
class TableT4

File diff suppressed because it is too large Load Diff

View File

@ -24,6 +24,7 @@ namespace APT.PF.WebApi.Controllers.Api
<#
List<string> dlls=new List<string>();
List<string> filePaths=new List<string>();
//filePaths.Add(@"C:\Users\luxiaoyuan\source\repos\ConsoleApp15\ConsoleApp15\T_MM_SN.cs");
List<TableT4> tables = new List<TableT4>();
List<string> modules=new List<string> ();
@ -53,7 +54,7 @@ namespace APT.PF.WebApi.Controllers.Api
TableT4 tableT4 = new TableT4();
tableT4.BaseName = baseClassTxt;
tableT4.BaseApiName="AuthorizeApiController";
if(tableT4.BaseName.IndexOf("TreeEntityBase<")>-1){
if(tableT4.BaseName.Contains("TreeEntityBase")){
tableT4.BaseApiName="AuthorizeTreeApiController";
}
tableT4.TableNameSpace = space;
@ -145,7 +146,6 @@ namespace APT.PF.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -157,7 +157,6 @@ namespace APT.PF.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -168,7 +167,6 @@ namespace APT.PF.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -179,7 +177,6 @@ namespace APT.PF.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -256,6 +253,7 @@ namespace APT.PF.WebApi.Controllers.Api
<#}
#>
}
<#+
class TableT4

View File

@ -2,12 +2,6 @@
//------------------------------------------------------------------------------
// T4模板文件基础接口类
// 此代码由T4模板自动生成
@ -21,5 +15,5 @@ using APT.Infrastructure.Api;
using APT.BaseData.Domain.ApiModel.PF;
namespace APT.PP.WebApi.Controllers.Api
{
}

View File

@ -145,7 +145,6 @@ namespace APT.PP.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -157,7 +156,6 @@ namespace APT.PP.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -168,7 +166,6 @@ namespace APT.PP.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -179,7 +176,6 @@ namespace APT.PP.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -256,6 +252,7 @@ namespace APT.PP.WebApi.Controllers.Api
<#}
#>
}
<#+
class TableT4

File diff suppressed because it is too large Load Diff

View File

@ -145,7 +145,6 @@ namespace APT.SK.WebApi.Controllers.Api
{
return WitEntities(null, filter);
}
/// <summary>
/// 排序查询所有数据
/// </summary>
@ -157,7 +156,6 @@ namespace APT.SK.WebApi.Controllers.Api
{
return WitOrderEntities(null, filter);
}
/// <summary>
/// 分页查询数据
/// </summary>
@ -168,7 +166,6 @@ namespace APT.SK.WebApi.Controllers.Api
{
return WitPaged(null, pageFilter);
}
/// <summary>
/// 排序分页查询数据
/// </summary>
@ -179,7 +176,6 @@ namespace APT.SK.WebApi.Controllers.Api
{
return WitOrderPaged(null, pageFilter);
}
/// <summary>
/// 根据主键删除数据
/// </summary>
@ -256,6 +252,7 @@ namespace APT.SK.WebApi.Controllers.Api
<#}
#>
}
<#+
class TableT4