| | |
| | | import com.iailab.module.data.ind.item.dao.IndItemAtomDao; |
| | | import com.iailab.module.data.ind.item.entity.IndItemAtomEntity; |
| | | import com.iailab.module.data.ind.item.service.IndItemAtomService; |
| | | import com.iailab.module.data.ind.item.vo.IndItemAtomVo; |
| | | import com.iailab.module.data.ind.item.vo.IndItemAtomVO; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | |
| | | @Service |
| | | public class IndItemAtomServiceImpl extends BaseServiceImpl<IndItemAtomDao, IndItemAtomEntity> implements IndItemAtomService { |
| | | @Override |
| | | public IndItemAtomVo getByItemId(String itemId) { |
| | | return BeanUtils.toBean(baseDao.selectOne(new QueryWrapper<IndItemAtomEntity>().eq("item_id", itemId)), IndItemAtomVo.class); |
| | | public IndItemAtomVO getByItemId(String itemId) { |
| | | return BeanUtils.toBean(baseDao.selectOne(new QueryWrapper<IndItemAtomEntity>().eq("item_id", itemId)), IndItemAtomVO.class); |
| | | } |
| | | |
| | | @Override |
| | | public IndItemAtomVo get(String id) { |
| | | return BeanUtils.toBean(baseDao.selectById(id), IndItemAtomVo.class); |
| | | public IndItemAtomVO get(String id) { |
| | | return BeanUtils.toBean(baseDao.selectById(id), IndItemAtomVO.class); |
| | | } |
| | | |
| | | @Override |