#
zjj
2024-06-24 835be703696c44af1e510eca5fe2f6b8553a3b56
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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));
    }
 
}