| | |
| | | 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 int updateArchiveById(Long id) { |
| | | this.baseMapper.updateStatusById(id); |
| | | public int updateArchiveById(String status, Long id) { |
| | | this.baseMapper.updateStatusById(status, id); |
| | | return 0; |
| | | } |
| | | |
| | | @Override |
| | | public int updateStatusByIds(Long[] ids) { |
| | | for(Long id : ids) |
| | | this.baseMapper.updateStatusById(id); |
| | | this.baseMapper.updateStatusById("录入完成",id); |
| | | return 0; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | } |
| | | @Override |
| | | public boolean whether(@Param("recordId") Long recordId){ |
| | | return this.baseMapper.whether(recordId); |
| | | } |
| | | } |