增加qu 基本代码
This commit is contained in:
66
ZR.Model/MES/op/OpWorkorderSchedule.cs
Normal file
66
ZR.Model/MES/op/OpWorkorderSchedule.cs
Normal file
@@ -0,0 +1,66 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ZR.Model.MES.op
|
||||
{
|
||||
/// <summary>
|
||||
/// 工单生产进度表
|
||||
///</summary>
|
||||
[SugarTable("op_workorder_schedule")]
|
||||
public class OpWorkorderSchedule
|
||||
{
|
||||
/// <summary>
|
||||
/// 流水号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生产工单id
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "fk_pro_order_id")]
|
||||
public string FkProOrderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总量
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "total")]
|
||||
public int? Total { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 完成量
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "completed")]
|
||||
public int? Completed { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 未完成量
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "unfinished")]
|
||||
public int? Unfinished { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "CREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "CREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "UPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
85
ZR.Model/MES/qu/QuRough.cs
Normal file
85
ZR.Model/MES/qu/QuRough.cs
Normal file
@@ -0,0 +1,85 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ZR.Model.MES.qu
|
||||
{
|
||||
/// <summary>
|
||||
/// 毛坯统计表
|
||||
///</summary>
|
||||
[SugarTable("qu_rough")]
|
||||
public class QuRough
|
||||
{
|
||||
/// <summary>
|
||||
/// 流水号
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生产工单id
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "fk_pro_order_id")]
|
||||
public string FkProOrderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 需要数量
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "require_num")]
|
||||
public int? RequireNum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实际数量
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "actual_number")]
|
||||
public int? ActualNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 合格数
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "oks")]
|
||||
public int? Oks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 不合格数
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "ngs")]
|
||||
public string Ngs { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 合格率
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "oks_ratio")]
|
||||
public string OksRatio { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 是否上料
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "isFeeding")]
|
||||
public int IsFeeding { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "CREATED_BY")]
|
||||
public string CreatedBy { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "CREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
/// <summary>
|
||||
/// 更新人
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "UPDATED_BY")]
|
||||
public string UpdatedBy { get; set; }
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
///</summary>
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -24,4 +24,8 @@
|
||||
<ItemGroup>
|
||||
<None Remove="Models\**" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="MES\qu\DTO\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
14
ZR.Service/mes/qu/IService/IQuRoughService.cs
Normal file
14
ZR.Service/mes/qu/IService/IQuRoughService.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.MES.qu;
|
||||
|
||||
|
||||
namespace ZR.Service.mes.qu.IService
|
||||
{
|
||||
public interface IQuRoughService
|
||||
{
|
||||
}
|
||||
}
|
||||
17
ZR.Service/mes/qu/QuRoughService.cs
Normal file
17
ZR.Service/mes/qu/QuRoughService.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Infrastructure.Attribute;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.MES.qu;
|
||||
|
||||
namespace ZR.Service.mes.qu
|
||||
{
|
||||
public class QuRoughService
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user