From 0010dd10c41c5c990bf6cc1b40ad857a6c956cbe Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期四, 05 六月 2025 09:45:43 +0800 Subject: [PATCH] 1.其他入库优化 2.推荐库位函数优化 --- Controllers/Warehouse/MesBarCFController.cs | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Controllers/Warehouse/MesBarCFController.cs b/Controllers/Warehouse/MesBarCFController.cs index adfe372..33abddd 100644 --- a/Controllers/Warehouse/MesBarCFController.cs +++ b/Controllers/Warehouse/MesBarCFController.cs @@ -1,9 +1,12 @@ 锘縰sing System.Dynamic; +using Masuit.Tools.Win32.AntiVirus; using Microsoft.AspNetCore.Mvc; using NewPdaSqlServer.Dto.service; using NewPdaSqlServer.entity; +using NewPdaSqlServer.service.@base; using NewPdaSqlServer.service.Warehouse; using NewPdaSqlServer.util; +using static Microsoft.EntityFrameworkCore.DbLoggerCategory; namespace NewPdaSqlServer.Controllers.Warehouse; @@ -12,6 +15,8 @@ public class MesBarCFController : ControllerBase { private readonly MesBarCFManager m = new(); + + private readonly MesPrintMangeer _mCf = new(); /// <summary> /// 鑾峰彇鏉$爜淇℃伅鍜岀墿鏂欎俊鎭� @@ -48,11 +53,14 @@ try { dynamic resultInfos = new ExpandoObject(); - resultInfos.tbBillList = m.BarCF(unity); + resultInfos.tbBillList = new ExpandoObject(); + resultInfos.tbBillList.printInfo = _mCf.getPrintInfo(unity); + var scanResult = m.BarCF(unity); + resultInfos.tbBillList.cfBarInfo = _mCf.getCfInfo(scanResult); return new ResponseResult { status = 0, - message = resultInfos.tbBillList, + message = "OK", data = resultInfos }; } -- Gitblit v1.9.3