This commit is contained in:
2025-01-14 09:40:33 +08:00
parent e3005bb266
commit 0e09b4a45c
5 changed files with 267 additions and 32 deletions

View File

@@ -75,10 +75,10 @@ namespace ZR.Service.Business
return labelAnalysisDto;
}
// 零件号解析
// 标签的零件号解析
public string DoAnalyzePartnumber(string label)
{
// 外箱标签零件号抓取
// 标签零件号抓取
var predicate = Expressionable
.Create<QcGp12BaseLabelAnalysis>()
.And(it => it.Code == "PartNumber")
@@ -104,11 +104,11 @@ namespace ZR.Service.Business
return "";
}
// 数量解析
// 标签的数量解析
public int DoAnalyzeQuantity(string label)
{
int result = 0;
// 外箱标签零件号抓取
// 标签零件号抓取
var predicate = Expressionable
.Create<QcGp12BaseLabelAnalysis>()
.And(it => it.Code == "Quantity")