| | |
| | | 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)); |
| | | } |
| | | } |