#
Junjie
2024-10-15 f43b508dda7334487a1640b0bbd908d7b3aa3cb6
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));
    }
 
}