You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
2.4 KiB
C#
77 lines
2.4 KiB
C#
using Common;
|
|
using Common.DJYModel;
|
|
using Common.Entity;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
namespace djy.IService.Djy
|
|
{
|
|
/// <summary>
|
|
/// 公共工具类使用接口
|
|
/// </summary>
|
|
public interface IToolsService
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
///统一任务启动
|
|
/// </summary>
|
|
void AutoJob();
|
|
|
|
/// <summary>
|
|
/// 获取数据字典
|
|
/// </summary>
|
|
/// <param name="Dto"></param>
|
|
/// <returns></returns>
|
|
ReturnPagedResult<tb_sys_Dictionary> GetDictionaryList(tb_sys_Dictionary Dto,PageEntity pageEntity);
|
|
/// <summary>
|
|
///修改字典参数
|
|
/// </summary>
|
|
/// <param name="Dto"></param>
|
|
/// <returns></returns>
|
|
ReturnResult<int> UpDictionary(tb_sys_Dictionary Dto);
|
|
|
|
/// <summary>
|
|
/// 初始化版定数据字典到 sysOptionConfig.ConfigDcit配置
|
|
/// </summary>
|
|
/// <param name="Isjob">间隔自动刷新</param>
|
|
/// <param name="jobtime">间隔时间 分钟 默认一分钟</param>
|
|
/// <returns></returns>
|
|
bool bindConfigDict(bool Isjob = false, int jobtime = 1);
|
|
/// <summary>
|
|
/// 获取数据字典分组列表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Dictionary<string, string> GetConfigList(string GroupName = null);
|
|
|
|
/// <summary>
|
|
/// 获取配置参数
|
|
/// </summary>
|
|
/// <param name="key"></param>
|
|
/// <param name="GroupName">默认sys</param>
|
|
string GetConfigKey(string key, string GroupName = "sys");
|
|
/// <summary>
|
|
/// 获取配置参数转djy标准dict类型对象列表
|
|
/// </summary>
|
|
/// <param name="Key"></param>
|
|
/// <param name="GroupName"></param>
|
|
/// <returns></returns>
|
|
List<DjyDictDto> GetConfigKeyToDictList(string key, string GroupName = "sys");
|
|
/// <summary>
|
|
/// 创建日志
|
|
/// </summary>
|
|
/// <param name="Message">内容</param>
|
|
/// <param name="GroupName"></param>
|
|
/// <param name="DataJson"></param>
|
|
/// <param name="ObjGid"></param>
|
|
/// <param name="ResultJson"></param>
|
|
void LogsAdd(string Message, string GroupName = null, object DataJson = null, string ObjGid = null, object ResultJson = null);
|
|
}
|
|
}
|