using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core;
|
using WIDESEA_Core.BaseServices;
|
using WIDESEA_IStockRepository;
|
using WIDESEA_IStockService;
|
using WIDESEA_Model.Models;
|
|
namespace WIDESEA_StockService
|
{
|
public partial class ProStockInfoService : ServiceBase<Dt_ProStockInfo, IProStockInfoRepository>, IProStockInfoService
|
{
|
public IProStockInfoRepository Repository => BaseDal;
|
public IStockRepository _stockRepository;
|
public ProStockInfoService(IProStockInfoRepository BaseDal,IStockRepository stockRepository) : base(BaseDal)
|
{
|
_stockRepository = stockRepository;
|
}
|
public WebResponseContent UnBindStock(List<Dt_ProStockInfoDetail> proStockInfoDetails)
|
{
|
WebResponseContent content = new WebResponseContent();
|
//根据内包号进行库存扣除
|
try
|
{
|
List<Dt_ProStockInfoDetail> delProStockDetails=new List<Dt_ProStockInfoDetail>();
|
//foreach (var item in collection)
|
//{
|
// Dt_ProStockInfoDetail delProStockDetal=
|
//}
|
}
|
catch (Exception ex)
|
{
|
content.Error(ex.Message);
|
}
|
return content;
|
}
|
}
|
}
|