package com.zy.acs.manager.manager.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.zy.acs.manager.manager.entity.Sta; import com.zy.acs.manager.manager.mapper.StaMapper; import com.zy.acs.manager.manager.service.StaService; import org.springframework.stereotype.Service; @Service("staService") public class StaServiceImpl extends ServiceImpl implements StaService { @Override public Sta selectByStaNo(String staNo) { return this.getOne(new LambdaQueryWrapper().eq(Sta::getStaNo, staNo)); } }