/*
*所有关于Dt_outboundorder_head类的业务代码应在此处编写
*可使用repository.调用常用方法,获取EF/Dapper等信息
*如果需要事务请使用repository.DbContextBeginTransaction
*也可使用DBServerProvider.手动获取数据库相关信息
*用户信息、权限、角色等使用UserContext.Current操作
*Dt_outboundorder_headService对增、删、改查、导入、导出、审核业务代码扩展参照ServiceFunFilter
*/
using WIDESEA.Core.BaseProvider;
using WIDESEA.Core.Extensions.AutofacManager;
using WIDESEA.Entity.DomainModels;
using System.Linq;
using WIDESEA.Core.Utilities;
using System.Linq.Expressions;
using WIDESEA.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Http;
using WIDESEA.Services.IRepositories;
using System;
using WIDESEA.Services.Repositories;
using System.Collections.Generic;
using System.IO;
using Spire.Xls;
using WIDESEA.Core.Configuration;
using WIDESEA.Common;
using System.Threading;
using SqlSugar;
namespace WIDESEA.Services.Services
{
public partial class Dt_outboundorder_headService
{
private readonly IHttpContextAccessor _httpContextAccessor;
private readonly IDt_outboundorder_headRepository _repository;//访问数据库
[ActivatorUtilitiesConstructor]
public Dt_outboundorder_headService(
IDt_outboundorder_headRepository dbRepository,
IHttpContextAccessor httpContextAccessor
)
: base(dbRepository)
{
_httpContextAccessor = httpContextAccessor;
_repository = dbRepository;
//多租户会用到这init代码,其他情况可以不用
//base.Init(dbRepository);
}
///
/// 获取产品配货单
///
///
///
public WebResponseContent GetDistributionList(SaveModel saveModel)
{
WebResponseContent content = new WebResponseContent();
return content;
}
///
/// 获取历史产品配货单
///
///
///
public WebResponseContent GetDistributionListhty(SaveModel saveModel)
{
WebResponseContent content = new WebResponseContent();
return content;
}
///
/// 获取产品配货清单
///
///
///
public WebResponseContent GetDeliveryList(SaveModel saveModel)
{
WebResponseContent content = new WebResponseContent();
return content;
}
///
/// 获取产品批次清单
///
///
///
public WebResponseContent GetproductbatchList(SaveModel saveModel)
{
WebResponseContent content = new WebResponseContent();
return content;
}
///
/// 历史中获取产品配货清单
///
///
///
public WebResponseContent GetDeliveryListhty(SaveModel saveModel)
{
WebResponseContent content = new WebResponseContent();
return content;
}
///
/// 历史中获取产品批次清单
///
///
///
public WebResponseContent GetproductbatchListhty(SaveModel saveModel)
{
WebResponseContent content = new WebResponseContent();
return content;
}
///
/// 获取出入库、库存汇总信息
///
///
///
public WebResponseContent GetInToOutToTalList(SaveModel saveModel)
{
WebResponseContent content = new WebResponseContent();
return content;
}
///
/// 获取出库汇总信息
///
///
///
public WebResponseContent GetOutToTalList(SaveModel saveModel)
{
WebResponseContent content = new WebResponseContent();
return content;
}
///
/// 获取入库汇总信息
///
///
///
public WebResponseContent GetInToTalList(SaveModel saveModel)
{
WebResponseContent content = new WebResponseContent();
return content;
}
///
/// 获取库存汇总信息
///
///
///
public WebResponseContent GetConTalList()
{
WebResponseContent content = new WebResponseContent();
return content;
}
///
/// 出入库、库存汇明细表
///
///
///
public WebResponseContent GetInToOutToTalListDetail(SaveModel saveModel)
{
WebResponseContent responseContent = new WebResponseContent();
return responseContent;
}
///
/// 入库汇清单表
///
///
///
public WebResponseContent GetInInToTalListDetail(SaveModel saveModel)
{
WebResponseContent responseContent = new WebResponseContent();
return responseContent;
}
///
/// 出库汇清单表
///
///
///
public WebResponseContent GetInOutToTalListDetail(SaveModel saveModel)
{
WebResponseContent responseContent = new WebResponseContent();
return responseContent;
}
///
/// 库存汇清单表
///
///
///
public WebResponseContent GetInConToTalListDetail(SaveModel saveModel)
{
WebResponseContent responseContent = new WebResponseContent();
return responseContent;
}
///
/// 放行条
///
///
///
public WebResponseContent GetReleaseStrip(SaveModel saveModel)
{
WebResponseContent content = new WebResponseContent();
return content;
}
public WebResponseContent GetReleaseStripHty(SaveModel saveModel)
{
WebResponseContent content = new WebResponseContent();
return content;
}
///
/// 获取入库计量单
///
///
///
public WebResponseContent GetMeasurementsheet(SaveModel saveModel)
{
WebResponseContent content = new WebResponseContent();
return content;
}
}
public class DistributionList
{
public string danhao { get; set; }
public string dingdanid { get; set; }
public string kehuName { get; set; }
public string chanpinName { get; set; }
public string chanpindaima { get; set; }
public string changpinpaihao { get; set; }
public string xiuqiuT { get; set; }
public string baozhuang { get; set; }
public string fasongdidian { get; set; }
public List info { get; set; }
}
public class infoData
{
public string cBatch { get; set; }
public string cKunH { get; set; }
public string cKunHCount { get; set; }
public string weigth { get; set; }
public string req { get; set; }
public string customer { get; set; }
public string dispatchertime { get; set; }
public string createtime { get; set; }
}
public class DataInfo
{
public DateTime createTime { get; set; }
public string kunH { get; set; }
public string weigth { get; set; }
public string customer { get; set; }
}
public class detail
{
public string batch { get; set; }
public List dataInfos { get; set; }
}
}