| package com.zy.asrs.wcs.core.service.impl; | 
|   | 
| import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; | 
| import com.zy.asrs.wcs.core.mapper.MotionCtgMapper; | 
| import com.zy.asrs.wcs.core.entity.MotionCtg; | 
| import com.zy.asrs.wcs.core.service.MotionCtgService; | 
| import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | 
| import org.springframework.stereotype.Service; | 
|   | 
| @Service("motionCtgService") | 
| public class MotionCtgServiceImpl extends ServiceImpl<MotionCtgMapper, MotionCtg> implements MotionCtgService { | 
|   | 
|     @Override | 
|     public MotionCtg selectByFlag(String flag) { | 
|         return this.getOne(new LambdaQueryWrapper<MotionCtg>().eq(MotionCtg::getFlag, flag)); | 
|     } | 
|   | 
| } |