| | |
| | | package com.zy.asrs.wcs.rcs.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.zy.asrs.wcs.rcs.mapper.DeviceTypeMapper; |
| | | import com.zy.asrs.wcs.rcs.entity.DeviceType; |
| | | import com.zy.asrs.wcs.rcs.service.DeviceTypeService; |
| | |
| | | @Service("deviceTypeService") |
| | | public class DeviceTypeServiceImpl extends ServiceImpl<DeviceTypeMapper, DeviceType> implements DeviceTypeService { |
| | | |
| | | @Override |
| | | public DeviceType selectByFlag(String flag) { |
| | | return this.getOne(new LambdaQueryWrapper<DeviceType>().eq(DeviceType::getFlag, flag)); |
| | | } |
| | | |
| | | } |