| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- using System.Linq.Expressions;
- using VberZero.BaseSystem;
- namespace VberZero.DomainService.States;
- public interface ISysStatesManager
- {
- #region GetSelectList
- #region CodeFilter
- Task<string> GetSelectStrAsync(QueryStateDisplayValue input, params string[] codeFilter);
- Task<string> GetSelectStrAsync(string codeKey, params string[] codeFilter);
- #endregion CodeFilter
- #region CodeFilterReversal
- Task<string> GetSelectStrReversalAsync(QueryStateDisplayValue input, params string[] codeFilter);
- Task<string> GetSelectStrReversalAsync(string codeKey, params string[] codeFilter);
- #endregion CodeFilterReversal
- #region Exp
- Task<string> GetSelectStrAsync(QueryStateDisplayValue input, Expression<Func<SysState, bool>> exp = null);
- Task<string> GetSelectStrAsync(string codeKey,
- Expression<Func<SysState, bool>> exp = null);
- #endregion Exp
- #region StateDisplayDto
- Task<List<StateDisplayDto>> GetStateListAsync(QueryStateDisplayValue input,
- Expression<Func<SysState, bool>> exp = null);
- Task<List<StateDisplayDto>> GetStateListAsync(string codeKey,
- Expression<Func<SysState, bool>> exp = null);
- Task<List<StateDisplayDto>> GetStateListAsync(string codeKey, params string[] codeFilter);
- Task<List<StateDisplayDto>> GetStateListReversalAsync(string codeKey, params string[] codeFilter);
- #endregion StateDisplayDto
- #endregion GetSelectList
- #region GetDisplayValue
- Task<string> GetDisplayValueAsync(QueryStateDisplayValue input);
- Task<string> GetDisplayValueAsync(string codeKey, string codeValue);
- #endregion GetDisplayValue
- }
|