[前台] 修改graph manage path

This commit is contained in:
dev02 2022-11-01 19:15:02 +08:00
parent cf377fa242
commit 932c8a19f5
3 changed files with 43 additions and 48 deletions

View File

@ -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 *

View 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; }
}
}

View File

@ -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; }
}
}
}