2024年度改动
This commit is contained in:
@@ -51,7 +51,7 @@ namespace Vote.Services.ApiController
|
||||
[Microsoft.AspNetCore.Authorization.AllowAnonymous]
|
||||
public async Task<dynamic> List(ProjectsInput args)
|
||||
{
|
||||
var typeList = new List<string> { "房建工程", "市政工程", "轨道工程", "电力工程", "交通工程", "水利工程" };
|
||||
var typeList = new List<string> { "房建工程", "市政工程", "轨道交通工程" };//, "电力工程", "交通工程", "水利工程" };
|
||||
var data = await rep_Projects.DetachedEntities.Where(p => !p.IsDeleted)
|
||||
.Where(args.type != null, a => (int)a.type == args.type)
|
||||
.ProjectToType<ProjectsOutput>()
|
||||
@@ -167,7 +167,7 @@ namespace Vote.Services.ApiController
|
||||
// data4,
|
||||
// data5
|
||||
//};
|
||||
var typeList = new List<string> { "房建工程", "市政工程", "轨道工程", "电力工程", "交通工程", "水利工程" };
|
||||
var typeList = new List<string> { "房建工程", "市政工程", "轨道交通工程" };//, "电力工程", "交通工程", "水利工程" };
|
||||
return new { data, typeList };
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user