新增BZFM物料管理相关后端接口与服务实现
本次提交为BZFM模块新增了物料管理相关的核心后端能力,包括库位、物料、物料分类、出入库记录、出入库类别等6张表的Controller、实体、DTO、Service及接口定义,实现了标准的增删改查接口,支持权限校验、AOP日志、分页查询等,完善了物料管理基础后端支撑。
This commit is contained in:
21
DOAN.Service/MES/Material/IService/IMmLocationService.cs
Normal file
21
DOAN.Service/MES/Material/IService/IMmLocationService.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using DOAN.Model.BZFM.Dto;
|
||||
using DOAN.Model.BZFM;
|
||||
|
||||
namespace DOAN.Service.BZFM.IBZFMService
|
||||
{
|
||||
/// <summary>
|
||||
/// 库位表service接口
|
||||
/// </summary>
|
||||
public interface IMmLocationService : IBaseService<MmLocation>
|
||||
{
|
||||
PagedInfo<MmLocationDto> GetList(MmLocationQueryDto parm);
|
||||
|
||||
MmLocation GetInfo(int Id);
|
||||
|
||||
|
||||
MmLocation AddMmLocation(MmLocation parm);
|
||||
int UpdateMmLocation(MmLocation parm);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using DOAN.Model.BZFM.Dto;
|
||||
using DOAN.Model.BZFM;
|
||||
|
||||
namespace DOAN.Service.BZFM.IBZFMService
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料分类表service接口
|
||||
/// </summary>
|
||||
public interface IMmMaterialCategoryService : IBaseService<MmMaterialCategory>
|
||||
{
|
||||
PagedInfo<MmMaterialCategoryDto> GetList(MmMaterialCategoryQueryDto parm);
|
||||
|
||||
MmMaterialCategory GetInfo(int Id);
|
||||
|
||||
|
||||
MmMaterialCategory AddMmMaterialCategory(MmMaterialCategory parm);
|
||||
int UpdateMmMaterialCategory(MmMaterialCategory parm);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
21
DOAN.Service/MES/Material/IService/IMmMaterialService.cs
Normal file
21
DOAN.Service/MES/Material/IService/IMmMaterialService.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using DOAN.Model.BZFM.Dto;
|
||||
using DOAN.Model.BZFM;
|
||||
|
||||
namespace DOAN.Service.BZFM.IBZFMService
|
||||
{
|
||||
/// <summary>
|
||||
/// 物料表service接口
|
||||
/// </summary>
|
||||
public interface IMmMaterialService : IBaseService<MmMaterial>
|
||||
{
|
||||
PagedInfo<MmMaterialDto> GetList(MmMaterialQueryDto parm);
|
||||
|
||||
MmMaterial GetInfo(int Id);
|
||||
|
||||
|
||||
MmMaterial AddMmMaterial(MmMaterial parm);
|
||||
int UpdateMmMaterial(MmMaterial parm);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using DOAN.Model.BZFM.Dto;
|
||||
using DOAN.Model.BZFM;
|
||||
|
||||
namespace DOAN.Service.BZFM.IBZFMService
|
||||
{
|
||||
/// <summary>
|
||||
/// 入库记录表service接口
|
||||
/// </summary>
|
||||
public interface IMmRecordInboundService : IBaseService<MmRecordInbound>
|
||||
{
|
||||
PagedInfo<MmRecordInboundDto> GetList(MmRecordInboundQueryDto parm);
|
||||
|
||||
MmRecordInbound GetInfo(int Id);
|
||||
|
||||
|
||||
MmRecordInbound AddMmRecordInbound(MmRecordInbound parm);
|
||||
int UpdateMmRecordInbound(MmRecordInbound parm);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using DOAN.Model.BZFM.Dto;
|
||||
using DOAN.Model.BZFM;
|
||||
|
||||
namespace DOAN.Service.BZFM.IBZFMService
|
||||
{
|
||||
/// <summary>
|
||||
/// 出库记录表service接口
|
||||
/// </summary>
|
||||
public interface IMmRecordOutboundService : IBaseService<MmRecordOutbound>
|
||||
{
|
||||
PagedInfo<MmRecordOutboundDto> GetList(MmRecordOutboundQueryDto parm);
|
||||
|
||||
MmRecordOutbound GetInfo(int Id);
|
||||
|
||||
|
||||
MmRecordOutbound AddMmRecordOutbound(MmRecordOutbound parm);
|
||||
int UpdateMmRecordOutbound(MmRecordOutbound parm);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using DOAN.Model.BZFM.Dto;
|
||||
using DOAN.Model.BZFM;
|
||||
|
||||
namespace DOAN.Service.BZFM.IBZFMService
|
||||
{
|
||||
/// <summary>
|
||||
/// 出入库类别对照表service接口
|
||||
/// </summary>
|
||||
public interface IMmTransactionTypeService : IBaseService<MmTransactionType>
|
||||
{
|
||||
PagedInfo<MmTransactionTypeDto> GetList(MmTransactionTypeQueryDto parm);
|
||||
|
||||
MmTransactionType GetInfo(int Id);
|
||||
|
||||
|
||||
MmTransactionType AddMmTransactionType(MmTransactionType parm);
|
||||
int UpdateMmTransactionType(MmTransactionType parm);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user