From 883681c155691c1a7a52bbecbf90555e0eb45e55 Mon Sep 17 00:00:00 2001 From: lvzb <35200379@qq.com> Date: Wed, 8 Nov 2023 14:00:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MsgCheck/BillM100s/BillM100AppService.cs | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/MsgCheck/BillM100s/BillM100AppService.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/MsgCheck/BillM100s/BillM100AppService.cs index a8e7dbf..4a91864 100644 --- a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/MsgCheck/BillM100s/BillM100AppService.cs +++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/MsgCheck/BillM100s/BillM100AppService.cs @@ -186,6 +186,30 @@ namespace WY.NewJit.MsgCheck #endregion #region 私有方法 + + [UnitOfWork] + [HttpPost] + [Route("get-billnumber")] + public async Task GetBillNumber(int number, string productLine, bool t) + { + if (t) + { + _aaa.CleanBillNumberRecordCache(); + } + + var res = await _aaa.GetBillNumber(number, productLine); + return res; + } + [UnitOfWork] + [HttpPost] + [Route("get-billnumberrec")] + public async Task GetBillNumberRec(bool isupdate) + { + + var ret = await _aaa.GetOrUpDateBillNumberRecordCache(isupdate); + return ret.Status; + } + /// /// 查询柱护板 ///