|  |  | 
 |  |  | package com.zy.asrs.wms.asrs.service.impl;
 | 
 |  |  | 
 | 
 |  |  | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 | 
 |  |  | import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
 | 
 |  |  | import com.zy.asrs.framework.exception.CoolException;
 | 
 |  |  | import com.zy.asrs.wms.apis.wcs.entity.response.SowSeeds;
 | 
 |  |  | import com.zy.asrs.wms.asrs.entity.param.WaveSeedReviewParam;
 | 
 |  |  | 
 |  |  | 
 | 
 |  |  |     @Override
 | 
 |  |  |     public List<SowSeeds> selectSeedsList() {
 | 
 |  |  |        return this.baseMapper.getSeedsList(new LambdaQueryWrapper<WaveSeed>().eq(WaveSeed::getStatus, 1));
 | 
 |  |  |        return this.baseMapper.getSeedsList(new LambdaQueryWrapper<WaveSeed>().eq(WaveSeed::getStatus, 1).eq(WaveSeed::getDeleted, 0));
 | 
 |  |  |     }
 | 
 |  |  | 
 | 
 |  |  |     @Override
 | 
 |  |  |     public int removeSowById(Long id) {
 | 
 |  |  |         return this.baseMapper.update(new LambdaUpdateWrapper<WaveSeed>().eq(WaveSeed::getId, id).set(WaveSeed::getDeleted, 1).set(WaveSeed::getStatus, 0));
 | 
 |  |  |     }
 | 
 |  |  | }
 |