| | |
| | | package com.ycl.service.caseHandler.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ycl.entity.caseHandler.Writ; |
| | | import com.ycl.mapper.caseHandler.WritMapper; |
| | |
| | | WritMapper writMapper; |
| | | |
| | | @Override |
| | | public Page<WritVO> selectWritPage(Page<Writ> writPage, Integer writType) { |
| | | return writMapper.selectWritPage(writPage,writType); |
| | | public Page<WritVO> selectWritPage(Page<Writ> writPage, String keyword) { |
| | | return writMapper.selectWritPage(writPage, keyword); |
| | | } |
| | | |
| | | @Override |
| | | public Writ selectByCaseId(Long baseCaseId) { |
| | | LambdaQueryWrapper<Writ> queryWrapper = new LambdaQueryWrapper<Writ>().eq(Writ::getBaseCaseId, baseCaseId); |
| | | return baseMapper.selectOne(queryWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteValueByCaseId(Long id) { |
| | | writMapper.deleteValueByCaseId(id); |
| | | } |
| | | } |