This commit is contained in:
2025-08-08 14:03:56 +08:00
parent 095462f13d
commit 6b8956d5d5

View File

@@ -505,12 +505,12 @@ namespace BarCode.Web.Domain.Services
if (spec == "") if (spec == "")
{ {
spec = y[0].Specifications+" 序列码存在已使用, 请选择未使用序列码的数据 "; spec = y[0].Specifications+ " 序列码存在已使用, 请选择未使用序列码的数据 <br/>";
// _logger.LogInformation($"获取到specA:{y[0].Specifications}"); // _logger.LogInformation($"获取到specA:{y[0].Specifications}");
} }
else else
{ {
spec = spec +"<br>" + y[0].Specifications + " 序列码存在已使用, 请选择未使用序列码的数据 </br>"; spec = spec + y[0].Specifications + " 序列码存在已使用, 请选择未使用序列码的数据 <br/>";
// _logger.LogInformation($"获取到spec:{spec}"); // _logger.LogInformation($"获取到spec:{spec}");
} }
} }
@@ -538,12 +538,12 @@ namespace BarCode.Web.Domain.Services
var y = dto.ids.Where(x => x.Id == generateRecords[i].Id).ToList(); var y = dto.ids.Where(x => x.Id == generateRecords[i].Id).ToList();
if (specNum == "") if (specNum == "")
{ {
specNum = y[0].Specifications + " 序列码存在已使用, 不支持转两件装!"; specNum = y[0].Specifications + " 序列码存在已使用, 不支持转两件装!<br/>";
// _logger.LogInformation($"获取到specA:{y[0].Specifications}"); // _logger.LogInformation($"获取到specA:{y[0].Specifications}");
} }
else else
{ {
specNum = "<br>" + specNum + y[0].Specifications + " 序列码存在已使用, 不支持转两件装!</br>"; specNum = specNum + y[0].Specifications + " 序列码存在已使用, 不支持转两件装!<br/>";
// _logger.LogInformation($"获取到spec:{spec}"); // _logger.LogInformation($"获取到spec:{spec}");
} }