using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.BaseServices;
|
using WIDESEA_Core.Enums;
|
using WIDESEA_DTO.Stock;
|
using WIDESEA_IStockRepository;
|
using WIDESEA_Model.Models;
|
|
namespace WIDESEA_IStockService
|
{
|
public interface IStockInfoDetailService : IService<Dt_StockInfoDetail>
|
{
|
IStockInfoDetailRepository Repository { get; }
|
|
bool ExistSerialNumber(string SerialNumber);
|
|
bool ExistSerialNumbers(List<string> SerialNumbers);
|
|
/// <summary>
|
/// 根据工单号和批号获取组盘详情
|
/// </summary>
|
/// <param name="orderNo"></param>
|
/// <param name="batchNo"></param>
|
/// <returns></returns>
|
Dt_StockInfoDetail Get_StockInfoDetail(string orderNo, string batchNo=null);
|
List<Dt_StockInfoDetail> Get_StockInfoDetails(string orderNo, string batchNo = null);
|
/// <summary>
|
/// 获取指定库存
|
/// </summary>
|
/// <param name="stockSelectViews"></param>
|
/// <returns></returns>
|
List<Dt_StockInfoDetail> GetStockInfosByBatchNoCodes(List<StockSelectViewDTO> stockSelectViews);
|
}
|
}
|