| | |
| | | package com.yeshi.fanli.service.impl.goods;
|
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import org.springframework.stereotype.Service;
|
| | |
|
| | | import com.yeshi.fanli.dao.mybatis.taobao.TaoBaoLinkMapper;
|
| | | import com.yeshi.fanli.entity.system.BusinessSystem;
|
| | | import com.yeshi.fanli.entity.taobao.TaoBaoLink;
|
| | | import com.yeshi.fanli.service.inter.goods.TaoBaoLinkService;
|
| | |
|
| | | @Service
|
| | | public class TaoBaoLinkServiceImpl implements TaoBaoLinkService {
|
| | | |
| | | @Resource
|
| | | private TaoBaoLinkMapper taoBaoLinkMapper;
|
| | | |
| | | |
| | | public TaoBaoLink find(long auctionId, BusinessSystem system) {
|
| | | if (system == null) {
|
| | | return null;
|
| | | }
|
| | | return taoBaoLinkMapper.getTaoBaoLink(auctionId, system.getId());
|
| | | }
|
| | | |
| | | }
|
| | | package com.yeshi.fanli.service.impl.goods; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.yeshi.fanli.dao.mybatis.taobao.TaoBaoLinkMapper; |
| | | import com.yeshi.fanli.entity.system.BusinessSystem; |
| | | import com.yeshi.fanli.entity.taobao.TaoBaoLink; |
| | | import com.yeshi.fanli.service.inter.goods.TaoBaoLinkService; |
| | | |
| | | @Service |
| | | public class TaoBaoLinkServiceImpl implements TaoBaoLinkService { |
| | | |
| | | @Resource |
| | | private TaoBaoLinkMapper taoBaoLinkMapper; |
| | | |
| | | |
| | | public TaoBaoLink find(String auctionId, BusinessSystem system) { |
| | | if (system == null) { |
| | | return null; |
| | | } |
| | | return taoBaoLinkMapper.getTaoBaoLink(auctionId, system.getId()); |
| | | } |
| | | |
| | | } |