feat(source): 添加管理员关联管理功能

- 新增管理员取消关联接口,实现软删除功能
- 新增管理员恢复关联接口,支持已取消记录的重新激活
- 新增查询已取消关联记录的分页接口
- 在MemberSourceEntity实体类中添加deleted和deletedAt字段
- 更新多个Mapper XML文件中的查询条件,过滤已删除记录
- 实现在删除和恢复操作后清除相关缓存的逻辑
- 添加对已删除记录的时间格式化显示支持
This commit is contained in:
2026-02-11 17:31:53 +08:00
parent f80b15446a
commit 49094be1c5
10 changed files with 166 additions and 26 deletions

View File

@@ -195,4 +195,12 @@ public interface SourceMapper {
* @return source响应列表
*/
List<SourceRespVO> pageByFaceId(SourceReqQuery sourceReqQuery);
int softDeleteRelation(Long id);
int reactivateRelation(Long id);
List<SourceRespVO> pageDeletedByFaceId(SourceReqQuery sourceReqQuery);
MemberSourceEntity getMemberSourceById(Long id);
}