package org.jeecg.modules.arj.service.impl;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import org.jeecg.modules.arj.entity.LineChanliangtongji;
|
import org.jeecg.modules.arj.mapper.LineChanliangtongjiMapper;
|
import org.jeecg.modules.arj.service.LineChanliangtongjiService;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.stereotype.Service;
|
|
/**
|
* <p>
|
* 产量统计 服务实现类
|
* </p>
|
*
|
* @author jinjun.huang
|
* @since 2022-11-21
|
*/
|
@Service
|
public class LineChanliangtongjiServiceImpl extends ServiceImpl<LineChanliangtongjiMapper, LineChanliangtongji> implements LineChanliangtongjiService {
|
|
@Autowired
|
private LineChanliangtongjiMapper lineChanliangtongjiMapper ;
|
@Override
|
public LineChanliangtongji queryByHeadId(String headId) {
|
QueryWrapper<LineChanliangtongji> q = new QueryWrapper<>();
|
q.eq("head_id",headId);
|
return lineChanliangtongjiMapper.selectOne(q);
|
|
}
|
}
|