From 47fb0844d2f477df62296ba0ea04a7c1f76bfcc1 Mon Sep 17 00:00:00 2001 From: wenjy Date: Tue, 16 Apr 2024 15:49:17 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E5=8F=82=E6=95=B0=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SlnMesnac.Business/ConfigInfoBusiness.cs | 2 +- SlnMesnac.Repository/service/IBaseConfigInfoService.cs | 3 --- .../service/Impl/BaseConfigInfoServiceImpl.cs | 5 ----- SlnMesnac.WPF/Page/BaseConfigInfoPage.xaml | 6 +++--- SlnMesnac.WPF/ViewModel/BaseConfigInfoViewModel.cs | 3 +++ 5 files changed, 7 insertions(+), 12 deletions(-) diff --git a/SlnMesnac.Business/ConfigInfoBusiness.cs b/SlnMesnac.Business/ConfigInfoBusiness.cs index 9c77708..37117c6 100644 --- a/SlnMesnac.Business/ConfigInfoBusiness.cs +++ b/SlnMesnac.Business/ConfigInfoBusiness.cs @@ -48,7 +48,7 @@ namespace SlnMesnac.Business public List GetConfigInfos() { - _configInfoService.GetConfigInfos(ref _configInfos); + //_configInfoService.GetConfigInfos(ref _configInfos); return _configInfos; } diff --git a/SlnMesnac.Repository/service/IBaseConfigInfoService.cs b/SlnMesnac.Repository/service/IBaseConfigInfoService.cs index 1774436..a8bcc1b 100644 --- a/SlnMesnac.Repository/service/IBaseConfigInfoService.cs +++ b/SlnMesnac.Repository/service/IBaseConfigInfoService.cs @@ -8,9 +8,6 @@ namespace SlnMesnac.Repository.service { public interface IBaseConfigInfoService:IBaseService { - - void GetConfigInfos(ref List configInfos); - void SaveConfigInfo(BaseConfigInfo configInfo); void UpdateConfigInfo(BaseConfigInfo configInfo); diff --git a/SlnMesnac.Repository/service/Impl/BaseConfigInfoServiceImpl.cs b/SlnMesnac.Repository/service/Impl/BaseConfigInfoServiceImpl.cs index 99afb74..ce6980a 100644 --- a/SlnMesnac.Repository/service/Impl/BaseConfigInfoServiceImpl.cs +++ b/SlnMesnac.Repository/service/Impl/BaseConfigInfoServiceImpl.cs @@ -40,11 +40,6 @@ namespace SlnMesnac.Repository.service.Impl _serviceProvider = serviceProvider; } - public void GetConfigInfos(ref List _configInfos) - { - //RefreshLocalTask(ref _configInfos); - } - public void SaveConfigInfo(BaseConfigInfo configInfo) { bool isRes = base._rep.Insert(configInfo); diff --git a/SlnMesnac.WPF/Page/BaseConfigInfoPage.xaml b/SlnMesnac.WPF/Page/BaseConfigInfoPage.xaml index 01b19b0..923bcc9 100644 --- a/SlnMesnac.WPF/Page/BaseConfigInfoPage.xaml +++ b/SlnMesnac.WPF/Page/BaseConfigInfoPage.xaml @@ -12,7 +12,7 @@ - + @@ -25,7 +25,7 @@ - + @@ -46,7 +46,7 @@ - +