|
@@ -103,6 +103,9 @@ namespace Hotline.Caching.Services
|
|
|
/// 随手拍公告类型
|
|
|
/// </summary>
|
|
|
public IReadOnlyList<SystemDicDataOutDto> SnapshotBulletinType => GetOrAdd(SysDicTypeConsts.SnapshotBulletinType);
|
|
|
+ public SystemDicDataOutDto GetSnapshotBulletinType(string dicDataValue)
|
|
|
+ => this.SnapshotBulletinType.FirstOrDefault(x => x.DicDataValue == dicDataValue) ?? new SystemDicDataOutDto();
|
|
|
+
|
|
|
|
|
|
/// <summary>
|
|
|
/// 作业区域
|
|
@@ -116,9 +119,6 @@ namespace Hotline.Caching.Services
|
|
|
/// 随手拍公告来源
|
|
|
/// </summary>
|
|
|
public IReadOnlyCollection<SystemDicDataOutDto> SnapshotBulletinSource => GetOrAdd(SysDicTypeConsts.SnapshotBulletinSource);
|
|
|
- public SystemDicDataOutDto GetSnapshotBulletinSource(string dicDataValue)
|
|
|
- => this.SnapshotBulletinSource.FirstOrDefault(x => x.DicDataValue == dicDataValue) ?? new SystemDicDataOutDto();
|
|
|
-
|
|
|
|
|
|
/// <summary>
|
|
|
/// 红包补充发放类型
|