From 8b7abd97e7b69800789134ed8e809e19a5b5ba74 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期三, 17 九月 2025 00:30:27 +0800 Subject: [PATCH] 111 --- Controllers/Wom/WomdaahbController.cs | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Controllers/Wom/WomdaahbController.cs b/Controllers/Wom/WomdaahbController.cs index c2489bf..8be3f85 100644 --- a/Controllers/Wom/WomdaahbController.cs +++ b/Controllers/Wom/WomdaahbController.cs @@ -12,8 +12,8 @@ [Route("api/[controller]")] public class WomdaahbController : ControllerBase { - private readonly WomdaahbManager m = new(); private readonly MesPrintMangeer _mCf = new(); + private readonly WomdaahbManager m = new(); #region 鐢熶骇棰嗘枡鍚堝苟 @@ -75,15 +75,13 @@ { dynamic resultInfos = new ExpandoObject(); resultInfos.tbBillList = m.ScanCode(query); - if(resultInfos.tbBillList.result == "2") - { + if (resultInfos.tbBillList.result == "2") return new ResponseResult { status = Convert.ToInt32(resultInfos.tbBillList.result), message = resultInfos.tbBillList.strMsg, data = resultInfos }; - } return new ResponseResult { status = 0, @@ -241,7 +239,7 @@ return ResponseResult.ResponseError(ex); } } - + /// <summary> /// 淇敼 @@ -266,10 +264,10 @@ return ResponseResult.ResponseError(ex); } } + #endregion #region 鐜板満绠$悊 - /// <summary> /// 鎵弿娉ㄥ鐮侊紝鑾峰彇宸ュ崟鍜屾潯鐮佷俊鎭� @@ -508,7 +506,7 @@ /// <summary> - /// 鐜板満鏀舵枡鑾峰彇鍙�夊伐鍗曚俊鎭� + /// 鐜板満鏀舵枡鑾峰彇鍙�夊伐鍗曚俊鎭� /// </summary> /// <param name="query"></param> /// <returns></returns> -- Gitblit v1.9.3