package com.ruoyi.service; import com.ruoyi.common.core.domain.AjaxResult; import com.ruoyi.domain.ArchiveRecords; import com.ruoyi.domain.Archiverecordstouser; import com.ruoyi.domain.vo.RecordToUserCount; import java.util.List; /** * 【档案分配】Service接口 * * @author ruoyi * @date 2025-07-20 */ public interface IArchiverecordstouserService { public int insertRecordToUsers(String recordId, Long[] userIds); AjaxResult selectDataList(Archiverecordstouser archiverecordstouser, Integer pageNum, Integer pageSize); /** * 查询【档案分配】 * * @param id 【档案分配】主键 * @return 【档案分配】 */ public Archiverecordstouser selectArchiverecordstouserById(Long id); public boolean selectArchiveRecordUsers(String recordId); /** * 查询【档案分配】列表 * * @param archiverecordstouser 【档案分配】 * @return 【档案分配】集合 */ public List selectArchiverecordstouserList(Archiverecordstouser archiverecordstouser); /** * 新增【档案分配】 * * @param archiverecordstouser 【档案分配】 * @return 结果 */ public int insertArchiverecordstouser(Archiverecordstouser archiverecordstouser); /** * 修改【档案分配】 * * @param archiverecordstouser 【档案分配】 * @return 结果 */ public int updateArchiverecordstouser(Archiverecordstouser archiverecordstouser); /** * 批量删除【档案分配】 * * @param ids 需要删除的【档案分配】主键集合 * @return 结果 */ public int deleteArchiverecordstouserByIds(Long[] ids); /** * 删除【档案分配】信息 * * @param id 【档案分配】主键 * @return 结果 */ public int deleteArchiverecordstouserById(Long id); public int deleteArchiverecordstouserByRecordId(String recordId, Long userId); public int queryArchiverecordstouserByRecordId(String recordId, Long userId); public AjaxResult countStatistic(String username, int pageNum, int pageSize); public List findAllRecordToUserCont(); }