| | |
| | | package com.yeshi.fanli.service.impl.taobao;
|
| | |
|
| | | import java.io.InputStream;
|
| | | import java.util.List;
|
| | | import java.util.UUID;
|
| | |
|
| | | import javax.annotation.Resource;
|
| | |
| | | import com.yeshi.fanli.util.StringUtil;
|
| | | import com.yeshi.fanli.util.db.MongoDBManager;
|
| | | import com.yeshi.fanli.util.taobao.TaoBaoShopUtil;
|
| | | import com.yeshi.fanli.vo.brand.TaoBaoShopVO;
|
| | |
|
| | | @Service
|
| | | public class TaoBaoShopServiceImpl implements TaoBaoShopService {
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | |
| | | if (StringUtil.isNullOrEmpty(shopName) || "null".equalsIgnoreCase(shopName)) {
|
| | | shopName = null;
|
| | | }
|
| | | |
| | | updateShop.setId(id);
|
| | | updateShop.setShopName(shopName);
|
| | | updateShop.setShopNameCustom(shopName);
|
| | | taoBaoShopMapper.updateByPrimaryKeySelective(updateShop);
|
| | | }
|
| | |
|
| | |
| | | return fileLink;
|
| | | }
|
| | |
|
| | |
|
| | | @Override
|
| | | public List<TaoBaoShopVO> listBrandShopinfo(long start, int count, Long cid) {
|
| | | return taoBaoShopMapper.listBrandShopinfo(start, count, cid);
|
| | | }
|
| | |
|
| | |
|
| | | @Override
|
| | | public long countBrandShopinfo(Long cid) {
|
| | | return taoBaoShopMapper.countBrandShopinfo(cid);
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | | }
|