This commit is contained in:
qianjiawei
2023-08-21 13:46:21 +08:00
parent 465450c2d8
commit a7e96dd072
16 changed files with 48 additions and 16 deletions

View File

@@ -45,7 +45,7 @@ using Tnb.BasicData.Entities.Dto;
using NPOI.SS.Formula.Functions;
using Tnb.PerMgr.Entities;
using Tnb.QcMgr.Interfaces;
using Tnb.QcMgr.Entities.Dto;
using Tnb.QcMgr.Entities;
using Tnb.QcMgr.Entities.Enums;
// using Tnb.PerMgr.Entities;

View File

@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tnb.QcMgr.Entities.Dto
namespace Tnb.QcMgr.Entities
{
public class CheckItemsInput
{

View File

@@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tnb.QcMgr.Entities.Dto;
namespace Tnb.QcMgr.Entities
{

View File

@@ -4,7 +4,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tnb.QcMgr.Entities.Dto
namespace Tnb.QcMgr.Entities
{
public class QcCheckExecHOut
{

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tnb.QcMgr.Entities
{
public class SpcDataInput
{
}
}

View File

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
using NPOI.SS.Formula.PTG;
using Tnb.QcMgr.Entities.Enums;
namespace Tnb.QcMgr.Entities.Dto
namespace Tnb.QcMgr.Entities
{
public class TriggerPlan
{

View File

@@ -13,10 +13,10 @@ namespace Tnb.QcMgr.Entities
/// <summary>
/// spc控制图系数
/// </summary>
[SugarTable("qc_spc_data")]
public partial class QcSpcData : BaseEntity<string>
[SugarTable("qc_spc_config")]
public partial class QcSpcConfig : BaseEntity<string>
{
public QcSpcData()
public QcSpcConfig()
{
id = SnowflakeIdHelper.NextId();
}

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tnb.QcMgr.Entities.Dto;
using Tnb.QcMgr.Entities;
namespace Tnb.QcMgr.Interfaces
{

View File

@@ -4,7 +4,6 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tnb.QcMgr.Entities;
using Tnb.QcMgr.Entities.Dto;
namespace Tnb.QcMgr.Interfaces
{

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tnb.QcMgr.Entities.Dto;
using Tnb.QcMgr.Entities;
namespace Tnb.QcMgr.Interfaces
{

View File

@@ -4,7 +4,6 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tnb.QcMgr.Entities;
using Tnb.QcMgr.Entities.Dto;
namespace Tnb.QcMgr.Interfaces
{

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tnb.QcMgr.Entities;
namespace Tnb.QcMgr.Interfaces
{
public interface IQcSpcService
{
/// <summary>
/// 获取spcd数据
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public Task<dynamic> GetSpcItems(string id);
/// <summary>
/// 保存spcd数据
/// </summary>
/// <returns></returns>
public Task SaveData(SpcDataInput SpcDataInput);
}
}

View File

@@ -22,7 +22,6 @@ using NPOI.Util;
using SqlSugar;
using Tnb.Common;
using Tnb.QcMgr.Entities;
using Tnb.QcMgr.Entities.Dto;
using Tnb.QcMgr.Interfaces;
namespace Tnb.QcMgr

View File

@@ -25,7 +25,7 @@ using Newtonsoft.Json;
using SqlSugar;
using Tnb.ProductionMgr.Entities;
using Tnb.QcMgr.Entities;
using Tnb.QcMgr.Entities.Dto;
using Tnb.QcMgr.Entities;
using Tnb.QcMgr.Entities.Entity;
using Tnb.QcMgr.Entities.Enums;
using Tnb.QcMgr.Interfaces;

View File

@@ -17,7 +17,6 @@ using Newtonsoft.Json;
using SqlSugar;
using Tnb.BasicData.Entities;
using Tnb.QcMgr.Entities;
using Tnb.QcMgr.Entities.Dto;
namespace Tnb.QcMgr
{ /// <summary>

View File

@@ -27,7 +27,7 @@ using Tnb.EquipMgr.Entities;
using Tnb.ProductionMgr.Entities.Dto;
using Tnb.ProductionMgr.Entities;
using Tnb.QcMgr.Entities;
using Tnb.QcMgr.Entities.Dto;
using Tnb.QcMgr.Entities;
using Tnb.QcMgr.Entities.Entity;
using Tnb.QcMgr.Interfaces;
using JNPF.Common.Extension;