严智鑫
2024-09-14 f74b51190a77c560949abd4628c5f33cd7e734ac
JiuMuMesParent/moduleService/DeviceInteractionModule/src/main/java/com/mes/md/service/impl/GlassInfoServiceImpl.java
@@ -1,7 +1,9 @@
package com.mes.md.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.github.yulichang.base.MPJBaseServiceImpl;
import com.mes.md.entity.GlassInfo;
import com.mes.md.entity.Tasking;
import com.mes.md.mapper.GlassInfoMapper;
import com.mes.md.service.GlassInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
@@ -18,4 +20,10 @@
@Service
public class GlassInfoServiceImpl extends MPJBaseServiceImpl<GlassInfoMapper, GlassInfo> implements GlassInfoService {
    @Override
    public GlassInfo selectTaskingByGlass(String scanId) {
        QueryWrapper<GlassInfo>wrapper = new QueryWrapper<>();
        wrapper.eq("scan_id",scanId);
        return this.getOne(wrapper);
    }
}