You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.6 KiB
C#
50 lines
1.6 KiB
C#
using Estsh.Core.Base;
|
|
using Estsh.Core.Model.EnumUtil;
|
|
using Estsh.Core.Models;
|
|
using Estsh.Core.Repositories;
|
|
using Newtonsoft.Json.Linq;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Estsh.Core.Wms.IRepositories
|
|
{
|
|
public interface IOutPdlineHgRepository : IBaseRepository<BaseEntity>
|
|
{
|
|
public List<MesWmsHgOutPdline> GetFinishedLineOffInfo();
|
|
|
|
/// <summary>
|
|
/// 成品下线 处理成品和半成品下线
|
|
/// </summary>
|
|
/// <param name="sapCu"></param>
|
|
/// <returns></returns>
|
|
public bool InsertFinishedLineOffInfo(List<MesWmsHgOutPdline> mesWmsOuts);
|
|
|
|
/// <summary>
|
|
/// 获取待处理的下线报工数据
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
List<MesHgOutPdline> GetOutPdlineInfo();
|
|
/// <summary>
|
|
/// 更新下线数据
|
|
/// </summary>
|
|
/// <param name="outPdline"></param>
|
|
/// <param name="status"></param>
|
|
/// <returns></returns>
|
|
int UpdateOutPdlineInfo(MesHgOutPdline outPdline,
|
|
MesEnumUtil.OutPdlineReportStatus status, string msg = "");
|
|
|
|
/// <summary>
|
|
/// 处理下线报工
|
|
/// </summary>
|
|
/// <param name="outPdline"></param>
|
|
/// <param name="bomDetails"></param>
|
|
/// <param name="pdline"></param>
|
|
/// <returns></returns>
|
|
bool DoOutPdline(MesHgOutPdline outPdline,
|
|
List<SysBomDetail> bomDetails, SysPdline pdline, List<SysBomDetail> bomDetailsList);
|
|
}
|
|
}
|