| | |
| | | package org.jeecg.modules.eam.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.jeecg.modules.eam.entity.EamPrecisionCheckDetail; |
| | | import org.jeecg.modules.eam.mapper.EamPrecisionCheckDetailMapper; |
| | | import org.jeecg.modules.eam.service.IEamPrecisionCheckDetailService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import javax.annotation.Resource; |
| | | import java.util.Collections; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description: 设备精度检测明细 |
| | |
| | | @Service |
| | | public class EamPrecisionCheckDetailServiceImpl extends ServiceImpl<EamPrecisionCheckDetailMapper, EamPrecisionCheckDetail> implements IEamPrecisionCheckDetailService { |
| | | |
| | | @Resource |
| | | private EamPrecisionCheckDetailMapper eamPrecisionCheckDetailMapper; |
| | | |
| | | @Override |
| | | public List<EamPrecisionCheckDetail> getByOrderId(String orderId) { |
| | | return Collections.emptyList(); |
| | | } |
| | | |
| | | @Override |
| | | public boolean hasPrecisionCheckDetail(String orderId) { |
| | | LambdaQueryWrapper<EamPrecisionCheckDetail> wrapper = new LambdaQueryWrapper<>(); |
| | | wrapper.eq(EamPrecisionCheckDetail::getOrderId, orderId); |
| | | return eamPrecisionCheckDetailMapper.selectCount(wrapper) > 0; |
| | | } |
| | | } |