Merge branch 'master' of http://47.93.189.255:8099/r/archiveSystem
| | |
| | | @Select("select ROW_NUMBER() OVER (ORDER BY record_id) AS num, filing_number, concat_ws(\" \", inquiry_number,record_id) as inqrid, case_title, public_attribute, (select count(*) as cnt from document_materials where record_id=ar.id) as cnt, remarks from archive_records as ar \n" + |
| | | "${ew.customSqlSegment}") |
| | | public List<ArchiveRecordSmall> selectByIds(@Param("ew") LambdaQueryWrapper<ArchiveRecords> queryWrapper); |
| | | |
| | | @Select("SELECT COALESCE(SUM(IF(url IS NULL AND file_style != '文字材料', 1, 0)), 0) = 0 AS result from document_materials where `record_id` = #{recordId}") |
| | | boolean whether(@Param("recordId") Long recordId); |
| | | } |
| | |
| | | public int updateStatusByIds(Long [] ids); |
| | | public List<ArchiveRecordSmall> findByIds(ArchiveRecords archiveRecords); |
| | | |
| | | boolean whether(@Param("recordId") Long recordId); |
| | | |
| | | |
| | | } |
| | |
| | | import com.ruoyi.mapper.ArchiveRecordsMapper; |
| | | import com.ruoyi.mapper.ArchiverecordstouserMapper; |
| | | import com.ruoyi.service.IArchiveRecordsService; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | |
| | | } |
| | | |
| | | } |
| | | @Override |
| | | public boolean whether(@Param("recordId") Long recordId){ |
| | | return this.baseMapper.whether(recordId); |
| | | } |
| | | } |
| | |
| | | ExcelUtil<ArchiveRecordModelOther> util = new ExcelUtil<>(ArchiveRecordModelOther.class); |
| | | util.exportExcel(response,list,"档案信息导入模板"); |
| | | } |
| | | |
| | | @PreAuthorize("@ss.hasPermi('system:records:list')") |
| | | @Log(title = "是否允许提交", businessType = BusinessType.IMPORT) |
| | | @GetMapping(value = "/whether/{recordId}") |
| | | public AjaxResult whether(@PathVariable("recordId") Long recordId) |
| | | { |
| | | return AjaxResult.success( archiveRecordsService.whether(recordId)); |
| | | } |
| | | } |