From aff935f15cead746435d7bc48fbd710887f654db Mon Sep 17 00:00:00 2001 From: liguoyang Date: Wed, 7 Aug 2024 22:10:43 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E7=A6=BB=E7=BA=BF=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Order/Services/Implements/MiddleService.cs | 1 + .../Services/Implements/DataDownloadService.cs | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/Src/Dlhis.Canteen/Order/Services/Implements/MiddleService.cs b/Src/Dlhis.Canteen/Order/Services/Implements/MiddleService.cs index 4c10d000..de70a148 100644 --- a/Src/Dlhis.Canteen/Order/Services/Implements/MiddleService.cs +++ b/Src/Dlhis.Canteen/Order/Services/Implements/MiddleService.cs @@ -22,6 +22,7 @@ public class MiddleService : IMiddleService { entity.Id = 0; entity.Amount = -Math.Abs(entity.Amount); + entity.Remark = "离线消费提交"; if (!await _dbContext.Queryable().AnyAsync(x => x.No == entity.No)) { await _dbContext.InsertAsync(entity); diff --git a/Src/Dlhis.Middle/Services/Implements/DataDownloadService.cs b/Src/Dlhis.Middle/Services/Implements/DataDownloadService.cs index c84960af..5c2f73ff 100644 --- a/Src/Dlhis.Middle/Services/Implements/DataDownloadService.cs +++ b/Src/Dlhis.Middle/Services/Implements/DataDownloadService.cs @@ -112,6 +112,16 @@ public class DataDownloadService : IDataDownloadService await DownloadAsync(factory); await DownloadAsync(factory); + + + await DownloadAsync(factory); + await DownloadAsync(factory); + + await DownloadAsync(factory); + await DownloadAsync(factory); + await DownloadAsync(factory); + + await DownloadAsync(factory); await _dbContext.Client.Ado.CommitTranAsync(); }