#
luxiaotao1123
2022-03-09 652f3d8208438cfd3a9525feb9240257779bf8e3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package zy.cloud.wms.manager.service.impl;
 
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import zy.cloud.wms.manager.mapper.DocTypeMapper;
import zy.cloud.wms.manager.entity.DocType;
import zy.cloud.wms.manager.service.DocTypeService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
 
import javax.print.Doc;
 
@Service("docTypeService")
public class DocTypeServiceImpl extends ServiceImpl<DocTypeMapper, DocType> implements DocTypeService {
 
    @Override
    public DocType selectByNumAndHost(Long docType, Long hostId) {
        return this.selectOne(new EntityWrapper<DocType>().eq("doc_id", docType).eq("host_id", hostId));
    }
}