package com.zy.asrs.wcs.core.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.zy.asrs.wcs.core.mapper.BasConveyorStaMapper; import com.zy.asrs.wcs.core.entity.BasConveyorSta; import com.zy.asrs.wcs.core.service.BasConveyorStaService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.stereotype.Service; @Service("basConveyorStaService") public class BasConveyorStaServiceImpl extends ServiceImpl implements BasConveyorStaService { @Override public BasConveyorSta selectBySiteNo(String siteNo) { return this.baseMapper.selectOne(new LambdaQueryWrapper() .eq(BasConveyorSta::getSiteNo, siteNo)); } }