zjj
2025-03-10 f139cd65c2932748e2232301cdd68d18f4a11b86
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));
    }
 
}