From 5df60eb35037611aaa977428c5cd41ad391f72af Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期四, 26 六月 2025 08:32:58 +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