public virtual async Task UpdateSysSettingAsync(SysSettingEditDto input)
        {
            //TODO:更新前的逻辑判断,是否允许更新

            var entity = await _sysSettingRepository.GetAsync(input.Id.Value);

            input.MapTo(entity);

            await _sysSettingRepository.UpdateAsync(entity);
        }
        public virtual async Task <SysSettingEditDto> CreateSysSettingAsync(SysSettingEditDto input)
        {
            //TODO:新增前的逻辑判断,是否允许新增

            var entity = input.MapTo <SysSetting>();

            entity = await _sysSettingRepository.InsertAsync(entity);

            return(entity.MapTo <SysSettingEditDto>());
        }