Merge branch 'master' of http://47.93.189.255:8099/r/archiveSystem
| | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 【请填写功能名称】对象 archive_category |
| | | * 【案卷类别信息】对象 archive_category |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-26 |
| | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 【请填写功能名称】对象 archive_place_name |
| | | * 【案件地区管理】对象 archive_place_name |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-08-08 |
| | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 【请填写功能名称】对象 archive_project_name |
| | | * 【案件项目信息】对象 archive_project_name |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-08-08 |
| | |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * 【请填写功能名称】对象 archiverecordstouser |
| | | * 【档案分配】对象 archiverecordstouser |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-20 |
| | |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * 【请填写功能名称】对象 document_materials |
| | | * 【文件材料综合信息】对象 document_materials |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-26 |
| | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 【请填写功能名称】Mapper接口 |
| | | * 【案件地区信息】Mapper接口 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-08-08 |
| | |
| | | @Select("select max(id) from archive_records") |
| | | Long findMaxId(); |
| | | |
| | | @Select("UPDATE `archivesys`.`archive_records` SET `inquiry_number` = '', `case_title` = NULL, `public_attribute` = NULL, `preparation_unit` = NULL, `preparation_date` = NULL, `retention_period` = NULL, `security_classification` = NULL, `page_count` = NULL, `filing_number` = NULL, `construction_unit` = NULL, `construction_address` = NULL, `project_name` = '', `project_number` = NULL, `scanning_company` = NULL, `archive_room_number` = NULL, `microfilm_number` = NULL, `remarks` = NULL, `historical_reference_number` = NULL, `record_status` = NULL, `every_project_name` = NULL WHERE `id` = #{id}") |
| | | @Select("UPDATE `archivesys`.`archive_records` SET `inquiry_number` = '', `case_title` = NULL, `public_attribute` = NULL, `preparation_unit` = NULL, `preparation_date` = NULL, `retention_period` = NULL, `security_classification` = NULL, `page_count` = NULL, `filing_number` = NULL, `construction_unit` = NULL, `construction_address` = NULL, `project_name` = '', `project_number` = NULL, `scanning_company` = NULL, `archive_room_number` = NULL, `microfilm_number` = NULL, `remarks` = NULL, `historical_reference_number` = NULL, `record_status` = '待修改', `every_project_name` = NULL WHERE `id` = #{id}") |
| | | Long updateAllInfoById(@Param("id") Long id); |
| | | |
| | | @Select("select record_id,archive_room_number,microfilm_number,inquiry_number,case_title,preparation_date,preparation_unit,retention_period,security_classification from archive_records where id=#{id}") |
| | |
| | | import org.apache.ibatis.annotations.Select; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 【文件材料综合信息】Mapper接口 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-26 |
| | | */ |
| | | @Mapper |
| | | public interface DocumentMaterialsMapper extends BaseMapper<DocumentMaterials> { |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * 【请填写功能名称】Service接口 |
| | | * 【案卷类别信息】Service接口 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-26 |
| | |
| | | AjaxResult selectDataList(ArchiveCategory archiveCategory, Integer pageNum, Integer pageSize); |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】 |
| | | * 查询【案卷类别信息】 |
| | | * |
| | | * @param id 【请填写功能名称】主键 |
| | | * @return 【请填写功能名称】 |
| | | * @param id 【案卷类别信息】主键 |
| | | * @return 【案卷类别信息】 |
| | | */ |
| | | public ArchiveCategory selectArchiveCategoryById(Long id); |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | * 查询【案卷类别信息】列表 |
| | | * |
| | | * @param archiveCategory 【请填写功能名称】 |
| | | * @return 【请填写功能名称】集合 |
| | | * @param archiveCategory 【案卷类别信息】 |
| | | * @return 【案卷类别信息】集合 |
| | | */ |
| | | public List<ArchiveCategory> selectArchiveCategoryList(ArchiveCategory archiveCategory); |
| | | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | * 新增【案卷类别信息】 |
| | | * |
| | | * @param archiveCategory 【请填写功能名称】 |
| | | * @param archiveCategory 【案卷类别信息】 |
| | | * @return 结果 |
| | | */ |
| | | public int insertArchiveCategory(ArchiveCategory archiveCategory); |
| | | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | * 修改【案卷类别信息】 |
| | | * |
| | | * @param archiveCategory 【请填写功能名称】 |
| | | * @param archiveCategory 【案卷类别信息】 |
| | | * @return 结果 |
| | | */ |
| | | public int updateArchiveCategory(ArchiveCategory archiveCategory); |
| | | |
| | | /** |
| | | * 批量删除【请填写功能名称】 |
| | | * 批量删除【案卷类别信息】 |
| | | * |
| | | * @param ids 需要删除的【请填写功能名称】主键集合 |
| | | * @param ids 需要删除的【案卷类别信息】主键集合 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteArchiveCategoryByIds(Long[] ids); |
| | | |
| | | /** |
| | | * 删除【请填写功能名称】信息 |
| | | * 删除【案卷类别信息】信息 |
| | | * |
| | | * @param id 【请填写功能名称】主键 |
| | | * @param id 【案卷类别信息】主键 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteArchiveCategoryById(Long id); |
| | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 【请填写功能名称】Service接口 |
| | | * 【案件地区信息】Service接口 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-08-08 |
| | |
| | | AjaxResult selectDataList(ArchivePlaceName archivePlaceName, Integer pageNum, Integer pageSize); |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】 |
| | | * 查询【案件地区信息】 |
| | | * |
| | | * @param id 【请填写功能名称】主键 |
| | | * @return 【请填写功能名称】 |
| | | * @param id 【案件地区信息】主键 |
| | | * @return 【案件地区信息】 |
| | | */ |
| | | public ArchivePlaceName selectArchivePlaceNameById(Long id); |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | * 查询【案件地区信息】列表 |
| | | * |
| | | * @param archivePlaceName 【请填写功能名称】 |
| | | * @return 【请填写功能名称】集合 |
| | | * @param archivePlaceName 【案件地区信息】 |
| | | * @return 【案件地区信息】集合 |
| | | */ |
| | | public List<ArchivePlaceName> selectArchivePlaceNameList(ArchivePlaceName archivePlaceName); |
| | | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | * 新增【案件地区信息】 |
| | | * |
| | | * @param archivePlaceName 【请填写功能名称】 |
| | | * @param archivePlaceName 【案件地区信息】 |
| | | * @return 结果 |
| | | */ |
| | | public int insertArchivePlaceName(ArchivePlaceName archivePlaceName); |
| | | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | * 修改【案件地区信息】 |
| | | * |
| | | * @param archivePlaceName 【请填写功能名称】 |
| | | * @param archivePlaceName 【案件地区信息】 |
| | | * @return 结果 |
| | | */ |
| | | public int updateArchivePlaceName(ArchivePlaceName archivePlaceName); |
| | | |
| | | /** |
| | | * 批量删除【请填写功能名称】 |
| | | * 批量删除【案件地区信息】 |
| | | * |
| | | * @param ids 需要删除的【请填写功能名称】主键集合 |
| | | * @param ids 需要删除的【案件地区信息】主键集合 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteArchivePlaceNameByIds(Long[] ids); |
| | | |
| | | /** |
| | | * 删除【请填写功能名称】信息 |
| | | * 删除【案件地区信息】信息 |
| | | * |
| | | * @param id 【请填写功能名称】主键 |
| | | * @param id 【案件地区信息】主键 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteArchivePlaceNameById(Long id); |
| | |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 【案件项目信息】Service业务层处理 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-26 |
| | | */ |
| | | public interface IArchiveProjectNameService { |
| | | |
| | | AjaxResult selectDataList(ArchiveProjectName archiveProjectName, Integer pageNum, Integer pageSize); |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】 |
| | | * 查询【案件项目信息】 |
| | | * |
| | | * @param id 【请填写功能名称】主键 |
| | | * @return 【请填写功能名称】 |
| | | * @param id 【案件项目信息】主键 |
| | | * @return 【案件项目信息】 |
| | | */ |
| | | public ArchiveProjectName selectArchiveProjectNameById(Long id); |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | * 查询【案件项目信息】列表 |
| | | * |
| | | * @param archiveProjectName 【请填写功能名称】 |
| | | * @return 【请填写功能名称】集合 |
| | | * @param archiveProjectName 【案件项目信息】 |
| | | * @return 【案件项目信息】集合 |
| | | */ |
| | | public List<ArchiveProjectName> selectArchiveProjectNameList(ArchiveProjectName archiveProjectName); |
| | | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | * 新增【案件项目信息】 |
| | | * |
| | | * @param archiveProjectName 【请填写功能名称】 |
| | | * @param archiveProjectName 【案件项目信息】 |
| | | * @return 结果 |
| | | */ |
| | | public int insertArchiveProjectName(ArchiveProjectName archiveProjectName); |
| | | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | * 修改【案件项目信息】 |
| | | * |
| | | * @param archiveProjectName 【请填写功能名称】 |
| | | * @param archiveProjectName 【案件项目信息】 |
| | | * @return 结果 |
| | | */ |
| | | public int updateArchiveProjectName(ArchiveProjectName archiveProjectName); |
| | | |
| | | /** |
| | | * 批量删除【请填写功能名称】 |
| | | * 批量删除【案件项目信息】 |
| | | * |
| | | * @param ids 需要删除的【请填写功能名称】主键集合 |
| | | * @param ids 需要删除的【案件项目信息】主键集合 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteArchiveProjectNameByIds(Long[] ids); |
| | | |
| | | /** |
| | | * 删除【请填写功能名称】信息 |
| | | * 删除【案件项目信息】信息 |
| | | * |
| | | * @param id 【请填写功能名称】主键 |
| | | * @param id 【案件项目信息】主键 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteArchiveProjectNameById(Long id); |
| | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 【请填写功能名称】Service接口 |
| | | * 【档案分配】Service接口 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-20 |
| | |
| | | AjaxResult selectDataList(Archiverecordstouser archiverecordstouser, Integer pageNum, Integer pageSize); |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】 |
| | | * 查询【档案分配】 |
| | | * |
| | | * @param id 【请填写功能名称】主键 |
| | | * @return 【请填写功能名称】 |
| | | * @param id 【档案分配】主键 |
| | | * @return 【档案分配】 |
| | | */ |
| | | public Archiverecordstouser selectArchiverecordstouserById(Long id); |
| | | |
| | |
| | | |
| | | public boolean selectArchiveRecordUsers(String recordId); |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | * 查询【档案分配】列表 |
| | | * |
| | | * @param archiverecordstouser 【请填写功能名称】 |
| | | * @return 【请填写功能名称】集合 |
| | | * @param archiverecordstouser 【档案分配】 |
| | | * @return 【档案分配】集合 |
| | | */ |
| | | public List<Archiverecordstouser> selectArchiverecordstouserList(Archiverecordstouser archiverecordstouser); |
| | | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | * 新增【档案分配】 |
| | | * |
| | | * @param archiverecordstouser 【请填写功能名称】 |
| | | * @param archiverecordstouser 【档案分配】 |
| | | * @return 结果 |
| | | */ |
| | | public int insertArchiverecordstouser(Archiverecordstouser archiverecordstouser); |
| | | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | * 修改【档案分配】 |
| | | * |
| | | * @param archiverecordstouser 【请填写功能名称】 |
| | | * @param archiverecordstouser 【档案分配】 |
| | | * @return 结果 |
| | | */ |
| | | public int updateArchiverecordstouser(Archiverecordstouser archiverecordstouser); |
| | | |
| | | /** |
| | | * 批量删除【请填写功能名称】 |
| | | * 批量删除【档案分配】 |
| | | * |
| | | * @param ids 需要删除的【请填写功能名称】主键集合 |
| | | * @param ids 需要删除的【档案分配】主键集合 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteArchiverecordstouserByIds(Long[] ids); |
| | | |
| | | /** |
| | | * 删除【请填写功能名称】信息 |
| | | * 删除【档案分配】信息 |
| | | * |
| | | * @param id 【请填写功能名称】主键 |
| | | * @param id 【档案分配】主键 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteArchiverecordstouserById(Long id); |
| | |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 【文件材料综合信息】Service接口 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-26 |
| | | */ |
| | | public interface IDocumentMaterialsService { |
| | | |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * 【请填写功能名称】Service业务层处理 |
| | | * 【案卷类别信息】Service业务层处理 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-26 |
| | |
| | | import com.ruoyi.mapper.ArchivePlaceNameMapper; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | /** |
| | | * 【案件地区信息】Service业务层处理 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-26 |
| | | */ |
| | | @Service |
| | | public class ArchivePlaceNameServiceImpl extends ServiceImpl<ArchivePlaceNameMapper, ArchivePlaceName> implements IArchivePlaceNameService { |
| | | private LambdaQueryWrapper<ArchivePlaceName> buildCondition(ArchivePlaceName archivePlaceName){ |
| | |
| | | import java.util.Date; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 【案件项目信息】Service业务层处理 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-26 |
| | | */ |
| | | @Service |
| | | public class ArchiveProjectNameServiceImpl extends ServiceImpl<ArchiveProjectNameMapper, ArchiveProjectName> implements IArchiveProjectNameService { |
| | | |
| | | private LambdaQueryWrapper<ArchiveProjectName> buildCondition(ArchiveProjectName archiveProjectName){ |
| | | LambdaQueryWrapper<ArchiveProjectName> lqw = new LambdaQueryWrapper<>(); |
| | | lqw.like(!StringUtils.isEmpty(archiveProjectName.getName()), ArchiveProjectName::getName, archiveProjectName.getName()); |
| | | lqw.like(!StringUtils.isEmpty(archiveProjectName.getCompanyName()), ArchiveProjectName::getCompanyName, archiveProjectName.getCompanyName()) |
| | | .like(!StringUtils.isEmpty(archiveProjectName.getCreatePerson()), ArchiveProjectName::getCreatePerson, archiveProjectName.getCreatePerson()) |
| | | .like(!StringUtils.isEmpty(archiveProjectName.getName()), ArchiveProjectName::getName, archiveProjectName.getName()); |
| | | lqw.orderByDesc(ArchiveProjectName::getCreateTime); |
| | | System.out.println("ssssssssssssddd0000000000000000"); |
| | | return lqw; |
| | |
| | | LambdaQueryWrapper<ArchiveRecords> lqw = new LambdaQueryWrapper<>(); |
| | | |
| | | System.out.println(archiveRecords.getIds()); |
| | | lqw.like(!StringUtils.isEmpty(archiveRecords.getProjectName()), ArchiveRecords::getProjectName, archiveRecords.getProjectName()) |
| | | |
| | | lqw.like(!StringUtils.isEmpty(archiveRecords.getRecordId()), ArchiveRecords::getRecordId, archiveRecords.getRecordId()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getInquiryNumber()), ArchiveRecords::getInquiryNumber, archiveRecords.getInquiryNumber()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getCaseTitle()), ArchiveRecords::getCaseTitle, archiveRecords.getCaseTitle()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getPublicAttribute()), ArchiveRecords::getPublicAttribute, archiveRecords.getPublicAttribute()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getPreparationUnit()), ArchiveRecords::getPreparationUnit, archiveRecords.getPreparationUnit()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getRetentionPeriod()), ArchiveRecords::getRetentionPeriod, archiveRecords.getRetentionPeriod()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getSecurityClassification()), ArchiveRecords::getSecurityClassification, archiveRecords.getSecurityClassification()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getFilingNumber()), ArchiveRecords::getFilingNumber, archiveRecords.getFilingNumber()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getConstructionUnit()), ArchiveRecords::getConstructionUnit, archiveRecords.getConstructionUnit()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getConstructionAddress()), ArchiveRecords::getConstructionAddress, archiveRecords.getConstructionAddress()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getProjectName()), ArchiveRecords::getProjectName, archiveRecords.getProjectName()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getProjectNumber()), ArchiveRecords::getProjectNumber, archiveRecords.getProjectNumber()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getScanningCompany()), ArchiveRecords::getScanningCompany, archiveRecords.getScanningCompany()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getArchiveRoomNumber()), ArchiveRecords::getArchiveRoomNumber, archiveRecords.getArchiveRoomNumber()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getRecordId()), ArchiveRecords::getRecordId, archiveRecords.getRecordId()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getMicrofilmNumber()), ArchiveRecords::getMicrofilmNumber, archiveRecords.getMicrofilmNumber()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getHistoricalReferenceNumber()), ArchiveRecords::getHistoricalReferenceNumber, archiveRecords.getHistoricalReferenceNumber()) |
| | | .eq(!StringUtils.isEmpty(archiveRecords.getRecordStatus()), ArchiveRecords::getRecordStatus, archiveRecords.getRecordStatus()) |
| | | ; |
| | | .like(!StringUtils.isEmpty(archiveRecords.getEveryProjectName()), ArchiveRecords::getEveryProjectName, archiveRecords.getEveryProjectName()) |
| | | .like(!StringUtils.isEmpty(archiveRecords.getRemarks()), ArchiveRecords::getRemarks, archiveRecords.getRemarks()); |
| | | |
| | | |
| | | |
| | | if(archiveRecords.getIds()!=null) |
| | | lqw.in(ArchiveRecords::getId,new ArrayList<>(Arrays.asList(archiveRecords.getIds()))); |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * 【请填写功能名称】Service业务层处理 |
| | | * 【档案分配】Service业务层处理 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-20 |
| | |
| | | return AjaxResult.success(data); } |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】 |
| | | * 查询【档案分配】 |
| | | * |
| | | * @param id 【请填写功能名称】主键 |
| | | * @return 【请填写功能名称】 |
| | | * @param id 【档案分配】主键 |
| | | * @return 【档案分配】 |
| | | */ |
| | | @Override |
| | | public Archiverecordstouser selectArchiverecordstouserById(Long id) |
| | |
| | | } |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | * 查询【档案分配】列表 |
| | | * |
| | | * @param archiverecordstouser 【请填写功能名称】 |
| | | * @return 【请填写功能名称】 |
| | | * @param archiverecordstouser 【档案分配】 |
| | | * @return 【档案分配】 |
| | | */ |
| | | |
| | | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | * 新增【档案分配】 |
| | | * |
| | | * @param archiverecordstouser 【请填写功能名称】 |
| | | * @param archiverecordstouser 【档案分配】 |
| | | * @return 结果 |
| | | */ |
| | | @Override |
| | |
| | | } |
| | | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | * 修改【档案分配】 |
| | | * |
| | | * @param archiverecordstouser 【请填写功能名称】 |
| | | * @param archiverecordstouser 【档案分配】 |
| | | * @return 结果 |
| | | */ |
| | | @Override |
| | |
| | | } |
| | | |
| | | /** |
| | | * 批量删除【请填写功能名称】 |
| | | * 批量删除【档案分配】 |
| | | * |
| | | * @param ids 需要删除的【请填写功能名称】主键 |
| | | * @param ids 需要删除的【档案分配】主键 |
| | | * @return 结果 |
| | | */ |
| | | @Override |
| | |
| | | } |
| | | |
| | | /** |
| | | * 删除【请填写功能名称】信息 |
| | | * 删除【档案分配】信息 |
| | | * |
| | | * @param id 【请填写功能名称】主键 |
| | | * @param id 【档案分配】主键 |
| | | * @return 结果 |
| | | */ |
| | | @Override |
| | |
| | | import java.time.LocalDateTime; |
| | | import java.time.ZoneId; |
| | | import java.util.*; |
| | | |
| | | /** |
| | | * 【文件材料综合信息】Service业务层处理 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-26 |
| | | */ |
| | | @Service |
| | | public class DocumentMaterialsServiceImpl extends ServiceImpl<DocumentMaterialsMapper, DocumentMaterials> implements IDocumentMaterialsService { |
| | | private LambdaQueryWrapper<DocumentMaterials> buildCondition(DocumentMaterials documentMaterials){ |
| | |
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE; |
| | | |
| | | /** |
| | | * 【请填写功能名称】Controller |
| | | * 【案卷类别信息】Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-26 |
| | |
| | | private IArchiveCategoryService archiveCategoryService; |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | * 查询【案卷类别信息】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:category:list')") |
| | | @GetMapping("/list") |
| | |
| | | return success(archiveCategoryService.selectArchiveCategoryList(archiveCategory)); |
| | | } |
| | | /** |
| | | * 导出【请填写功能名称】列表 |
| | | * 导出【案卷类别信息】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:category:export')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) |
| | | @Log(title = "【案卷类别信息】", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ArchiveCategory archiveCategory) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 获取【请填写功能名称】详细信息 |
| | | * 获取【案卷类别信息】详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:category:query')") |
| | | @GetMapping(value = "/{id}") |
| | |
| | | } |
| | | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | * 新增【案卷类别信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:category:add')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT) |
| | | @Log(title = "【案卷类别信息】", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ArchiveCategory archiveCategory) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | * 修改【案卷类别信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:category:edit')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) |
| | | @Log(title = "【案卷类别信息】", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ArchiveCategory archiveCategory) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 删除【请填写功能名称】 |
| | | * 删除【案卷类别信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:category:remove')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) |
| | | @Log(title = "【案卷类别信息】", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | |
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE; |
| | | |
| | | /** |
| | | * 【请填写功能名称】Controller |
| | | * 【案件地区信息】Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-08-08 |
| | |
| | | private IArchivePlaceNameService archivePlaceNameService; |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | * 查询【案件地区信息】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:placeName:list')") |
| | | @GetMapping("/list") |
| | |
| | | return success(archivePlaceNameService.selectArchivePlaceNameList(archivePlaceName)); |
| | | } |
| | | /** |
| | | * 导出【请填写功能名称】列表 |
| | | * 导出【案件地区信息】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:name:export')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) |
| | | @Log(title = "【案件地区信息】", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ArchivePlaceName archivePlaceName) |
| | | { |
| | | List<ArchivePlaceName> list = archivePlaceNameService.selectArchivePlaceNameList(archivePlaceName); |
| | | ExcelUtil<ArchivePlaceName> util = new ExcelUtil<ArchivePlaceName>(ArchivePlaceName.class); |
| | | util.exportExcel(response, list, "【请填写功能名称】数据"); |
| | | util.exportExcel(response, list, "【案件地区信息】数据"); |
| | | } |
| | | |
| | | /** |
| | | * 获取【请填写功能名称】详细信息 |
| | | * 获取【案件地区信息】详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:name:query')") |
| | | @GetMapping(value = "/{id}") |
| | |
| | | } |
| | | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | * 新增【案件地区信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:name:add')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT) |
| | | @Log(title = "【案件地区信息】", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ArchivePlaceName archivePlaceName) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | * 修改【案件地区信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:name:edit')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) |
| | | @Log(title = "【案件地区信息】", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ArchivePlaceName archivePlaceName) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 删除【请填写功能名称】 |
| | | * 删除【案件地区信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:name:remove')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) |
| | | @Log(title = "【案件地区信息】", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | |
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE; |
| | | |
| | | /** |
| | | * 【请填写功能名称】Controller |
| | | * 【案件项目信息】Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-08-08 |
| | |
| | | private IArchiveProjectNameService archiveProjectNameService; |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | * 查询【案件项目信息】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:projectName:list')") |
| | | @GetMapping("/list") |
| | |
| | | return success(archiveProjectNameService.selectArchiveProjectNameList(archivePlaceName)); |
| | | } |
| | | /** |
| | | * 导出【请填写功能名称】列表 |
| | | * 导出【案件项目信息】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:projectName:export')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) |
| | | @Log(title = "【案件项目信息】", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, ArchiveProjectName archiveProjectName) |
| | | { |
| | | List<ArchiveProjectName> list = archiveProjectNameService.selectArchiveProjectNameList(archiveProjectName); |
| | | ExcelUtil<ArchiveProjectName> util = new ExcelUtil<ArchiveProjectName>(ArchiveProjectName.class); |
| | | util.exportExcel(response, list, "【请填写功能名称】数据"); |
| | | util.exportExcel(response, list, "【案件项目信息】数据"); |
| | | } |
| | | |
| | | /** |
| | | * 获取【请填写功能名称】详细信息 |
| | | * 获取【案件项目信息】详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:projectName:query')") |
| | | @GetMapping(value = "/{id}") |
| | |
| | | } |
| | | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | * 新增【案件项目信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:projectName:add')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT) |
| | | @Log(title = "【案件项目信息】", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody ArchiveProjectName archiveProjectName) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | * 修改【案件项目信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:projectName:edit')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) |
| | | @Log(title = "【案件项目信息】", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody ArchiveProjectName archiveProjectName) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 删除【请填写功能名称】 |
| | | * 删除【案件项目信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:projectName:remove')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) |
| | | @Log(title = "【案件项目信息】", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | |
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE; |
| | | |
| | | /** |
| | | * 【请填写功能名称】Controller |
| | | * 【档案分配】Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-20 |
| | |
| | | return toAjax(200); |
| | | } |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | * 查询【档案分配】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archiverecordstouser:list')") |
| | | @GetMapping("/list") |
| | |
| | | util.exportExcel(response, list, "导出统计信息"); |
| | | } |
| | | /** |
| | | * 导出【请填写功能名称】列表 |
| | | * 导出【档案分配】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archiverecordstouser:export')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) |
| | | @Log(title = "【档案分配】", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, Archiverecordstouser archiverecordstouser) |
| | | { |
| | | List<Archiverecordstouser> list = archiverecordstouserService.selectArchiverecordstouserList(archiverecordstouser); |
| | | ExcelUtil<Archiverecordstouser> util = new ExcelUtil<Archiverecordstouser>(Archiverecordstouser.class); |
| | | util.exportExcel(response, list, "【请填写功能名称】数据"); |
| | | util.exportExcel(response, list, "【档案分配】数据"); |
| | | } |
| | | |
| | | /** |
| | | * 获取【请填写功能名称】详细信息 |
| | | * 获取【档案分配】详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archiverecordstouser:query')") |
| | | @GetMapping(value = "/{id}") |
| | |
| | | } |
| | | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | * 新增【档案分配】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archiverecordstouser:add')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT) |
| | | @Log(title = "【档案分配】", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody Archiverecordstouser archiverecordstouser) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | * 修改【档案分配】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archiverecordstouser:edit')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) |
| | | @Log(title = "【档案分配】", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody Archiverecordstouser archiverecordstouser) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 删除【请填写功能名称】 |
| | | * 删除【档案分配】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:archiverecordstouser:remove')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) |
| | | @Log(title = "【档案分配】", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | |
| | | import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE; |
| | | |
| | | /** |
| | | * 【请填写功能名称】Controller |
| | | * 【文件材料综合信息】Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-07-28 |
| | |
| | | private IDocumentMaterialsService documentMaterialsService; |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | * 查询【文件材料综合信息】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:materials:list')") |
| | | @GetMapping("/list") |
| | |
| | | } |
| | | |
| | | /** |
| | | * 导出【请填写功能名称】列表 |
| | | * 导出【文件材料综合信息】列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:materials:export')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) |
| | | @Log(title = "【文件材料综合信息】", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, DocumentMaterials documentMaterials) |
| | | { |
| | | List<DocumentMaterials> list = documentMaterialsService.selectDocumentMaterialsList(documentMaterials); |
| | | ExcelUtil<DocumentMaterials> util = new ExcelUtil<DocumentMaterials>(DocumentMaterials.class); |
| | | util.exportExcel(response, list, "【请填写功能名称】数据"); |
| | | util.exportExcel(response, list, "【文件材料综合信息】数据"); |
| | | } |
| | | |
| | | /** |
| | | * 获取【请填写功能名称】详细信息 |
| | | * 获取【文件材料综合信息】详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:materials:query')") |
| | | @GetMapping(value = "/{materialId}") |
| | |
| | | } |
| | | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | * 新增【文件材料综合信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:materials:add')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT) |
| | | @Log(title = "【文件材料综合信息】", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody DocumentMaterials documentMaterials) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | * 修改【文件材料综合信息】 |
| | | * |
| | | * system:materials:edit |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:materials:edit')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) |
| | | @Log(title = "【文件材料综合信息】", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody DocumentMaterials documentMaterials) |
| | | { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 删除【请填写功能名称】 |
| | | * 删除【文件材料综合信息】 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:materials:remove')") |
| | | @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) |
| | | @Log(title = "【文件材料综合信息】", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{materialIds}") |
| | | public AjaxResult remove(@PathVariable String[] materialIds) |
| | | { |
| | |
| | | |
| | | ajax.put("uuid", uuid); |
| | | ajax.put("img", Base64.encode(os.toByteArray())); |
| | | ajax.put("imgCode", code); |
| | | |
| | | return ajax; |
| | | } |
| | | } |