结构调整
This commit is contained in:
parent
91f1d29d60
commit
2849f78aee
@ -1,15 +1,15 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using RIZO.Model.Business.Dto;
|
||||
using RIZO.Model.Business;
|
||||
using RIZO.Service.Business.IBusinessService;
|
||||
using RIZO.Model.Mes.MasterData;
|
||||
using RIZO.Model.Mes.Dto.MasterData;
|
||||
using RIZO.Service.Mes.IMesService.MasterData;
|
||||
|
||||
//创建时间:2025-11-10
|
||||
namespace RIZO.Admin.WebApi.Controllers.Business
|
||||
namespace RIZO.Admin.WebApi.Controllers.Mes.MasterData
|
||||
{
|
||||
/// <summary>
|
||||
/// 质量不良原因字典表
|
||||
/// </summary>
|
||||
[Route("business/QualityDefectReason")]
|
||||
[Route("mes/QualityDefectReason")]
|
||||
public class QualityDefectReasonController : BaseController
|
||||
{
|
||||
/// <summary>
|
||||
@ -1,16 +1,16 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using RIZO.Model.Business.Dto;
|
||||
using RIZO.Model.Business;
|
||||
using RIZO.Service.Business.IBusinessService;
|
||||
using RIZO.Model.Mes.Material;
|
||||
using RIZO.Model.Mes.Dto.Material;
|
||||
using RIZO.Service.Mes.IMesService.Material;
|
||||
|
||||
//创建时间:2025-11-05
|
||||
namespace RIZO.Admin.WebApi.Controllers.Business
|
||||
namespace RIZO.Admin.WebApi.Controllers.Mes.Material
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料表
|
||||
/// </summary>
|
||||
[AllowAnonymous] //先跳过验证
|
||||
[Route("business/MaterialInfo")]
|
||||
[Route("mes/MaterialInfo")]
|
||||
public class MaterialInfoController : BaseController
|
||||
{
|
||||
/// <summary>
|
||||
@ -1,16 +1,17 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using RIZO.Model;
|
||||
using RIZO.Model.Business;
|
||||
using RIZO.Model.Business.Dto;
|
||||
using RIZO.Service.Business.IBusinessService;
|
||||
using RIZO.Model.Mes.Dto.Process;
|
||||
using RIZO.Model.Mes.Process;
|
||||
using RIZO.Service.Mes.IMesService.Process;
|
||||
|
||||
|
||||
//创建时间:2025-11-04
|
||||
namespace RIZO.Admin.WebApi.Controllers.Business
|
||||
namespace RIZO.Admin.WebApi.Controllers.Mes.Process
|
||||
{
|
||||
/// <summary>
|
||||
/// 工序表
|
||||
/// </summary>
|
||||
[Route("business/OperationInfo")]
|
||||
[Route("mes/OperationInfo")]
|
||||
[AllowAnonymous]
|
||||
public class OperationInfoController : BaseController
|
||||
{
|
||||
@ -1,20 +1,22 @@
|
||||
using Aliyun.OSS;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using RIZO.Model;
|
||||
using RIZO.Model.Business;
|
||||
using RIZO.Model.Business.Dto;
|
||||
using RIZO.Model.Mes;
|
||||
using RIZO.Model.Content.Dto;
|
||||
using RIZO.Model.Dto;
|
||||
using RIZO.Service.Business;
|
||||
using RIZO.Service.Business.IBusinessService;
|
||||
using RIZO.Model.Mes.Dto;
|
||||
using RIZO.Model.Mes.Dto.Process;
|
||||
using RIZO.Service.Mes;
|
||||
using RIZO.Service.Mes.IMesService.Process;
|
||||
using RIZO.Model.Mes.Process;
|
||||
|
||||
|
||||
//创建时间:2025-11-04
|
||||
namespace RIZO.Admin.WebApi.Controllers.Business
|
||||
namespace RIZO.Admin.WebApi.Controllers.Mes.Process
|
||||
{
|
||||
/// <summary>
|
||||
/// 工艺表
|
||||
/// </summary>
|
||||
[Route("business/ProcessInfo")]
|
||||
[Route("mes/ProcessInfo")]
|
||||
[AllowAnonymous]
|
||||
public class ProcessInfoController : BaseController
|
||||
{
|
||||
@ -15,7 +15,7 @@ using RIZO.ServiceCore.SqlSugar;
|
||||
using RIZO.Mall;
|
||||
|
||||
|
||||
using RIZO.Service.Business;
|
||||
using RIZO.Service.Mes;
|
||||
//using SQLitePCL;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
|
||||
namespace RIZO.Model.Business.Dto
|
||||
namespace RIZO.Model.Mes.Dto.MasterData
|
||||
{
|
||||
/// <summary>
|
||||
/// 质量不良原因字典表查询对象
|
||||
@ -1,5 +1,4 @@
|
||||
|
||||
namespace RIZO.Model.Business.Dto
|
||||
namespace RIZO.Model.Mes.Dto.Material
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料表查询对象
|
||||
@ -1,5 +1,4 @@
|
||||
|
||||
namespace RIZO.Model.Business.Dto
|
||||
namespace RIZO.Model.Mes.Dto.Process
|
||||
{
|
||||
/// <summary>
|
||||
/// 工序表查询对象
|
||||
@ -1,5 +1,4 @@
|
||||
|
||||
namespace RIZO.Model.Business.Dto
|
||||
namespace RIZO.Model.Mes.Dto.Process
|
||||
{
|
||||
/// <summary>
|
||||
/// 工艺表查询对象
|
||||
@ -5,7 +5,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MiniExcelLib.Core.Attributes;
|
||||
|
||||
namespace RIZO.Model.Business.Dto
|
||||
namespace RIZO.Model.Mes.Dto.Process
|
||||
{
|
||||
public class ProcessInfoImport
|
||||
{
|
||||
@ -1,5 +1,4 @@
|
||||
|
||||
namespace RIZO.Model.Business
|
||||
namespace RIZO.Model.Mes.MasterData
|
||||
{
|
||||
/// <summary>
|
||||
/// 质量不良原因字典表
|
||||
@ -1,5 +1,4 @@
|
||||
|
||||
namespace RIZO.Model.Business
|
||||
namespace RIZO.Model.Mes.Material
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料表
|
||||
@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RIZO.Model.Business
|
||||
namespace RIZO.Model.Mes.Material
|
||||
{
|
||||
public class MaterialTypeDict
|
||||
{
|
||||
@ -1,5 +1,4 @@
|
||||
|
||||
namespace RIZO.Model.Business
|
||||
namespace RIZO.Model.Mes.Process
|
||||
{
|
||||
/// <summary>
|
||||
/// 工序表
|
||||
@ -5,7 +5,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RIZO.Model.Business
|
||||
namespace RIZO.Model.Mes.Process
|
||||
{
|
||||
[SugarTable("process_info")] // 表名与数据库一致
|
||||
public class ProcessInfo
|
||||
@ -1,7 +1,7 @@
|
||||
using RIZO.Model.Business.Dto;
|
||||
using RIZO.Model.Business;
|
||||
using RIZO.Model.Mes.Dto.MasterData;
|
||||
using RIZO.Model.Mes.MasterData;
|
||||
|
||||
namespace RIZO.Service.Business.IBusinessService
|
||||
namespace RIZO.Service.Mes.IMesService.MasterData
|
||||
{
|
||||
/// <summary>
|
||||
/// 质量不良原因字典表service接口
|
||||
@ -1,7 +1,7 @@
|
||||
using RIZO.Model.Business.Dto;
|
||||
using RIZO.Model.Business;
|
||||
using RIZO.Model.Mes.Dto.Material;
|
||||
using RIZO.Model.Mes.Material;
|
||||
|
||||
namespace RIZO.Service.Business.IBusinessService
|
||||
namespace RIZO.Service.Mes.IMesService.Material
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料表service接口
|
||||
@ -1,7 +1,7 @@
|
||||
using RIZO.Model.Business.Dto;
|
||||
using RIZO.Model.Business;
|
||||
using RIZO.Model.Mes.Dto.Process;
|
||||
using RIZO.Model.Mes.Process;
|
||||
|
||||
namespace RIZO.Service.Business.IBusinessService
|
||||
namespace RIZO.Service.Mes.IMesService.Process
|
||||
{
|
||||
/// <summary>
|
||||
/// 工序表service接口
|
||||
@ -1,8 +1,8 @@
|
||||
using RIZO.Model.Business.Dto;
|
||||
using RIZO.Model.Business;
|
||||
using Infrastructure.Model;
|
||||
using RIZO.Model.Mes.Dto.Process;
|
||||
using RIZO.Model.Mes.Process;
|
||||
|
||||
namespace RIZO.Service.Business.IBusinessService
|
||||
namespace RIZO.Service.Mes.IMesService.Process
|
||||
{
|
||||
/// <summary>
|
||||
/// 工艺表service接口
|
||||
@ -1,11 +1,11 @@
|
||||
using Infrastructure.Attribute;
|
||||
using Infrastructure.Extensions;
|
||||
using RIZO.Model.Business.Dto;
|
||||
using RIZO.Model.Business;
|
||||
using RIZO.Repository;
|
||||
using RIZO.Service.Business.IBusinessService;
|
||||
using RIZO.Model.Mes.MasterData;
|
||||
using RIZO.Model.Mes.Dto.MasterData;
|
||||
using RIZO.Service.Mes.IMesService.MasterData;
|
||||
|
||||
namespace RIZO.Service.Business
|
||||
namespace RIZO.Service.Mes.MasterData
|
||||
{
|
||||
/// <summary>
|
||||
/// 质量不良原因字典表Service业务层处理
|
||||
@ -1,11 +1,11 @@
|
||||
using Infrastructure.Attribute;
|
||||
using Infrastructure.Extensions;
|
||||
using RIZO.Model.Business.Dto;
|
||||
using RIZO.Model.Business;
|
||||
using RIZO.Repository;
|
||||
using RIZO.Service.Business.IBusinessService;
|
||||
using RIZO.Model.Mes.Material;
|
||||
using RIZO.Model.Mes.Dto.Material;
|
||||
using RIZO.Service.Mes.IMesService.Material;
|
||||
|
||||
namespace RIZO.Service.Business
|
||||
namespace RIZO.Service.Mes.Material
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料表Service业务层处理
|
||||
@ -1,13 +1,13 @@
|
||||
using Aliyun.OSS;
|
||||
using Infrastructure.Attribute;
|
||||
using Infrastructure.Extensions;
|
||||
using RIZO.Model.Business;
|
||||
using RIZO.Model.Business.Dto;
|
||||
using RIZO.Model.Mes.Dto.Process;
|
||||
using RIZO.Model.Mes.Process;
|
||||
using RIZO.Repository;
|
||||
using RIZO.Service.Business.IBusinessService;
|
||||
using RIZO.Service.Mes.IMesService.Process;
|
||||
using System;
|
||||
|
||||
namespace RIZO.Service.Business
|
||||
namespace RIZO.Service.Mes.Process
|
||||
{
|
||||
/// <summary>
|
||||
/// 工序表Service业务层处理
|
||||
@ -3,17 +3,17 @@ using Infrastructure.Extensions;
|
||||
using Infrastructure.Model;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using MiniExcelLibs;
|
||||
using RIZO.Model.Business;
|
||||
using RIZO.Model.Business.Dto;
|
||||
using RIZO.Model.System;
|
||||
using RIZO.Repository;
|
||||
using RIZO.Service.Business.IBusinessService;
|
||||
using static MiniExcelLib.Core.MiniExcel;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using RIZO.Model.Mes.Process;
|
||||
using RIZO.Model.Mes.Dto.Process;
|
||||
using RIZO.Service.Mes.IMesService.Process;
|
||||
|
||||
namespace RIZO.Service.Business
|
||||
namespace RIZO.Service.Mes.Process
|
||||
{
|
||||
/// <summary>
|
||||
/// 工艺表Service业务层处理
|
||||
Loading…
x
Reference in New Issue
Block a user