From f4a0b32daa9e021227707bcfb70b67738bd1b000 Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期五, 24 一月 2025 17:28:13 +0800 Subject: [PATCH] 修改报销部分逻辑 --- cylsg/cylsg.Application/CyOS/CyOSSettingController.cs | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/cylsg/cylsg.Application/CyOS/CyOSSettingController.cs b/cylsg/cylsg.Application/CyOS/CyOSSettingController.cs index 8db3b42..5442385 100644 --- a/cylsg/cylsg.Application/CyOS/CyOSSettingController.cs +++ b/cylsg/cylsg.Application/CyOS/CyOSSettingController.cs @@ -1,5 +1,6 @@ 锘縰sing cylsg.Model.ECTEModel; using ECTESTOA; +using EzCoreNet.Redis; using System; using System.Collections.Generic; using System.Linq; @@ -16,10 +17,13 @@ private readonly ISqlSugarClient _client; private readonly IOAServices _oAServices; - public CYOSSettingController( ISqlSugarClient client,IOAServices oAServices ) + private readonly IEzCoreNetRedisService _eZCoreNetRedisService; + + public CYOSSettingController( ISqlSugarClient client,IOAServices oAServices,IEzCoreNetRedisService netRedisService ) { _client = client.AsTenant().GetConnection("ECTESTOADB"); _oAServices = oAServices; + _eZCoreNetRedisService = netRedisService; } /// <summary> @@ -50,6 +54,14 @@ Remark = x.Remark, }).WithCache(3600).ToListAsync(); } - + /// <summary> + /// 鑾峰彇娴佹按鍙� + /// </summary> + /// <returns></returns> + [HttpGet] + public string GetShowID() + { + return _eZCoreNetRedisService.GetYYYMMddAnd4sn(); + } } } -- Gitblit v1.9.1