Browse Source

代码整理

master
lvzb 1 year ago
parent
commit
cfeab23491
  1. 19
      src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/MsgCheck/BillM100s/BillM100AppService.cs
  2. 2
      src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/MsgCheck/Services/BillNumberRecordDomainService.cs

19
src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/MsgCheck/BillM100s/BillM100AppService.cs

@ -144,7 +144,6 @@ namespace WY.NewJit.MsgCheck
/// </summary> /// </summary>
private static List<TimeOutRemindResultDto> _timeoutCacheList = new List<TimeOutRemindResultDto>(); private static List<TimeOutRemindResultDto> _timeoutCacheList = new List<TimeOutRemindResultDto>();
#endregion #endregion
private readonly BillNumberRecordDomainService _aaa;
#region 构造函数 #region 构造函数
/// <summary> /// <summary>
/// 构造函数 /// 构造函数
@ -192,7 +191,6 @@ namespace WY.NewJit.MsgCheck
_unitOfWorkManager = unitOfWorkManager; _unitOfWorkManager = unitOfWorkManager;
_tbBillHisRepository = tbBillHisRepository; _tbBillHisRepository = tbBillHisRepository;
_tsSortDetailHisRepository = tsSortDetailHisRepository; _tsSortDetailHisRepository = tsSortDetailHisRepository;
_aaa = aaa;
_waitPrintRepository = waitPrintRepository; _waitPrintRepository = waitPrintRepository;
//_printTemplateConfigurationRepository = printTemplateConfigurationRepository; //_printTemplateConfigurationRepository = printTemplateConfigurationRepository;
//_zHBPrintStatusRepository = zHBPrintStatusRepository; //_zHBPrintStatusRepository = zHBPrintStatusRepository;
@ -201,23 +199,6 @@ namespace WY.NewJit.MsgCheck
#region 私有方法 #region 私有方法
[UnitOfWork]
[HttpPost]
[Route("get-billnumber")]
public async Task<BillNumberRecord> GetBillNumber(int number, string productLine)
{
var res = await _aaa.GetBillNumber(number, productLine);
return res;
}
[UnitOfWork]
[HttpPost]
[Route("get-billnumberrec")]
public async Task<bool> GetBillNumberRec(bool isupdate)
{
var ret = await _aaa.GetOrUpDateBillNumberRecordCache(isupdate);
return ret.Status;
}
/// <summary> /// <summary>
/// 查询柱护板 /// 查询柱护板

2
src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/MsgCheck/Services/BillNumberRecordDomainService.cs

@ -68,8 +68,6 @@ namespace WY.NewJit.MsgCheck
_billNumberRecordCaches = await _billNumberRepository.GetListAsync(); _billNumberRecordCaches = await _billNumberRepository.GetListAsync();
foreach (var item in _billNumberRecordCaches) foreach (var item in _billNumberRecordCaches)
{ {
var aaaa = item.RecordNumber;
var list = await _waitPrintRepository.GetListAsync(r => r.ProductLine == item.ProductLine); var list = await _waitPrintRepository.GetListAsync(r => r.ProductLine == item.ProductLine);
if (list.Count > 0) if (list.Count > 0)
{ {

Loading…
Cancel
Save