This commit is contained in:
2025-05-16 10:59:56 +08:00
parent fe168819ed
commit a77b6862ba

View File

@@ -114,6 +114,8 @@ namespace RIZO_Application.Modules.ModuleName.ViewModels
var Intersect = printParameters.Where(x => subString.Contains(x.Key)).ToDictionary(
x=>x.Key,x=>x.Value
);
_eventAggregator.GetEvent<SystemLogEvent>().Publish($"模板变量: {string.Join(", ", subString)}");
_eventAggregator.GetEvent<SystemLogEvent>().Publish($"匹配的变量: {string.Join(", ", Intersect.Select(x => $"{x.Key}={x.Value}"))}");
// 执行打印
bool printSuccess = _printHelper.PrintLabel(
templatePath: printDto.Path,