[前台] 修改graph manage path
This commit is contained in:
parent
cf377fa242
commit
932c8a19f5
@ -1,4 +1,5 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using FrontendWebApi.Models;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Repository.BackendRepository.Implement;
|
||||
@ -6,12 +7,8 @@ using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using FrontendWebApi.Models;
|
||||
using Repository.BackendRepository.Interface;
|
||||
using Repository.FrontendRepository.Interface;
|
||||
using static Repository.Models.GraphManage;
|
||||
using NPOI.SS.UserModel;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using System.IO;
|
||||
|
||||
namespace FrontendWebApi.ApiControllers
|
||||
@ -98,7 +95,6 @@ namespace FrontendWebApi.ApiControllers
|
||||
{
|
||||
ApiResult<List<GraphList>> apiResult = new ApiResult<List<GraphList>>();
|
||||
List<GraphList> graManList = new List<GraphList>();
|
||||
|
||||
try
|
||||
{
|
||||
var sqlString = @$"SELECT *
|
||||
@ -329,4 +325,4 @@ namespace FrontendWebApi.ApiControllers
|
||||
return apiResult;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
40
FrontendWebApi/Models/GraphManage.cs
Normal file
40
FrontendWebApi/Models/GraphManage.cs
Normal file
@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
|
||||
namespace FrontendWebApi.Models
|
||||
{
|
||||
public class GraphList
|
||||
{
|
||||
public string code { get; set; }
|
||||
public int sub_system_id { get; set; }
|
||||
public string name { get; set; }
|
||||
public string oriOrgName { get; set; }
|
||||
public string oriSavName { get; set; }
|
||||
public string donOrgName { get; set; }
|
||||
public string donSavName { get; set; }
|
||||
}
|
||||
|
||||
public class GraphInsInfo
|
||||
{
|
||||
public string code { get; set; }
|
||||
public int sub_system_id { get; set; }
|
||||
public string name { get; set; }
|
||||
public string oriOrgName { get; set; }
|
||||
public string oriSavName { get; set; }
|
||||
public string donOrgName { get; set; }
|
||||
public string donSavName { get; set; }
|
||||
public int priority { get; set; }
|
||||
public IFormFile oriFile { get; set; }
|
||||
public IFormFile donFile { get; set; }
|
||||
}
|
||||
|
||||
public class GraphInfo
|
||||
{
|
||||
public string code { get; set; }
|
||||
public List<int> sub_system_id { get; set; }
|
||||
public string keyWord { get; set; }
|
||||
}
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using System.Collections.Generic;
|
||||
using System.Security;
|
||||
|
||||
namespace Repository.Models
|
||||
{
|
||||
public class GraphManage
|
||||
{
|
||||
public class GraphList
|
||||
{
|
||||
public string code { get; set; }
|
||||
public int sub_system_id { get; set; }
|
||||
public string name { get; set; }
|
||||
public string oriOrgName { get; set; }
|
||||
public string oriSavName { get; set; }
|
||||
public string donOrgName { get; set; }
|
||||
public string donSavName { get; set; }
|
||||
}
|
||||
|
||||
public class GraphInsInfo
|
||||
{
|
||||
public string code { get; set; }
|
||||
public int sub_system_id { get; set; }
|
||||
public string name { get; set; }
|
||||
public string oriOrgName { get; set; }
|
||||
public string oriSavName { get; set; }
|
||||
public string donOrgName { get; set; }
|
||||
public string donSavName { get; set; }
|
||||
public int priority { get; set; }
|
||||
public IFormFile oriFile { get; set; }
|
||||
public IFormFile donFile { get; set; }
|
||||
}
|
||||
|
||||
public class GraphInfo
|
||||
{
|
||||
public string code { get; set; }
|
||||
public List<int> sub_system_id { get; set; }
|
||||
public string keyWord { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user