|  | @@ -26,6 +26,7 @@ using wms.dto.request.hj;
 | 
	
		
			
				|  |  |  using wms.dto.request.share;
 | 
	
		
			
				|  |  |  using wms.dto.response;
 | 
	
		
			
				|  |  |  using wms.dto.response.fj;
 | 
	
		
			
				|  |  | +using wms.service.Extensions;
 | 
	
		
			
				|  |  |  using wms.service.IService;
 | 
	
		
			
				|  |  |  using wms.sqlsugar;
 | 
	
		
			
				|  |  |  using wms.sqlsugar.model;
 | 
	
	
		
			
				|  | @@ -852,15 +853,7 @@ namespace wms.service.Service
 | 
	
		
			
				|  |  |              var res = new SRes();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              //时间处理
 | 
	
		
			
				|  |  | -            var prodate = DateTime.Now;
 | 
	
		
			
				|  |  | -            if (!string.IsNullOrEmpty(reqDto.ProductDate) && DateTime.TryParse(reqDto.ProductDate, out prodate))
 | 
	
		
			
				|  |  | -            {
 | 
	
		
			
				|  |  | -                prodate = DateTime.Parse(reqDto.ProductDate);
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            else
 | 
	
		
			
				|  |  | -            {
 | 
	
		
			
				|  |  | -                _logger.LogInformation("生产日期格式不对,系统默认使用当前时间");
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +            var prodate = reqDto.ProductDate.GetDateTime(_logger);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              //是否有异常
 | 
	
		
			
				|  |  |              if (_baseErrorInfoRepository.AsQueryable().With(SqlWith.NoLock).Any(x=> x.Message.Contains(reqDto.qrCode) && x.AddTime > prodate))
 | 
	
	
		
			
				|  | @@ -869,7 +862,7 @@ namespace wms.service.Service
 | 
	
		
			
				|  |  |                  if (regInfo!=null) //表示此工字轮注册时失败
 | 
	
		
			
				|  |  |                  {
 | 
	
		
			
				|  |  |                      res.ResCode = ResponseStatusCodeEnum.Sucess.GetHashCode();
 | 
	
		
			
				|  |  | -                    res.ResMsg = regInfo.Message;
 | 
	
		
			
				|  |  | +                    res.ResMsg = regInfo.Message+ $"[{prodate:yyyy-MM-dd hh:mm:ss}]";
 | 
	
		
			
				|  |  |                      return res;
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                  var flow= _baseErrorInfoRepository.AsQueryable().With(SqlWith.NoLock).First(x => x.BusName == "江景获取流向" && x.Message.Contains(reqDto.qrCode) && x.AddTime > prodate);
 | 
	
	
		
			
				|  | @@ -1372,15 +1365,7 @@ namespace wms.service.Service
 | 
	
		
			
				|  |  |              var dateTime = DateTime.Now.AddHours(-12);
 | 
	
		
			
				|  |  |              #region 超时判断
 | 
	
		
			
				|  |  |              //获取时间
 | 
	
		
			
				|  |  | -            var prodate = DateTime.Now;
 | 
	
		
			
				|  |  | -            if (!string.IsNullOrEmpty(reqDto.ProductDate) && DateTime.TryParse(reqDto.ProductDate, out prodate))
 | 
	
		
			
				|  |  | -            {
 | 
	
		
			
				|  |  | -                prodate = DateTime.Parse(reqDto.ProductDate);
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -            else
 | 
	
		
			
				|  |  | -            {
 | 
	
		
			
				|  |  | -                _logger.LogInformation("生产日期格式不对,系统默认使用当前时间");
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +            var prodate = reqDto.ProductDate.GetDateTime(_logger);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              if (prodate<dateTime)
 | 
	
		
			
				|  |  |              {
 |