package org.jeecg.modules.arj.b.service.impl;
|
|
import org.jeecg.modules.arj.b.entity.ZhxxDj;
|
import org.jeecg.modules.arj.b.service.ZhxxDjService;
|
import org.jeecg.modules.arj.b.mapper.ZhxxDjMapper;
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import org.springframework.stereotype.Service;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import java.util.List;
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
/**
|
* <p>
|
* 综合信息辅料 前端控制器
|
* </p>
|
*
|
* @author hyy
|
* @since 2023-05-18
|
*/
|
@Service
|
public class ZhxxDjServiceImpl extends ServiceImpl<ZhxxDjMapper, ZhxxDj> implements ZhxxDjService{
|
|
@Autowired
|
private ZhxxDjMapper zhxxDjMapper;
|
|
@Override
|
public ZhxxDj queryByHeadId(String headId) {
|
QueryWrapper<ZhxxDj> q = new QueryWrapper<>();
|
q.eq("head_id",headId);
|
|
return zhxxDjMapper.selectOne(q);
|
|
}
|
}
|