- 清理被错误提交的 target

This commit is contained in:
YunaiV
2019-06-05 08:03:30 +08:00
parent 92d8eec7ad
commit 1749ccbe41
106 changed files with 2 additions and 6951 deletions

View File

@@ -1,14 +0,0 @@
# es
spring:
data:
elasticsearch:
cluster-name: elasticsearch
cluster-nodes: 192.168.88.14:9300
repositories:
enable: true
# rocketmq
rocketmq:
name-server: 192.168.88.14:9876
producer:
group: search-producer-group

View File

@@ -1,37 +0,0 @@
# es
spring:
data:
elasticsearch:
cluster-name: elasticsearch
cluster-nodes: 180.167.213.26:9300
repositories:
enable: true
# dubbo
dubbo:
application:
name: search-service
registry:
address: zookeeper://127.0.0.1:2181
protocol:
port: -1
name: dubbo
scan:
base-packages: cn.iocoder.mall.search.biz.service
provider:
filter: -exception
ProductSearchService:
version: 1.0.0
consumer:
ProductSpuService:
version: 1.0.0
ProductCategoryService:
version: 1.0.0
CartService:
version: 1.0.0
# rocketmq
rocketmq:
name-server: 127.0.0.1:9876
producer:
group: search-producer-group

View File

@@ -1,83 +0,0 @@
package cn.iocoder.mall.search.biz.convert;
import cn.iocoder.mall.product.api.bo.ProductSpuDetailBO;
import cn.iocoder.mall.search.api.bo.ProductBO;
import cn.iocoder.mall.search.biz.dataobject.ESProductDO;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
@Generated(
value = "org.mapstruct.ap.MappingProcessor",
date = "2019-05-24T11:39:12+0800",
comments = "version: 1.3.0.Final, compiler: javac, environment: Java 1.8.0_121 (Oracle Corporation)"
)
public class ProductSearchConvertImpl implements ProductSearchConvert {
@Override
public ESProductDO convert(ProductSpuDetailBO spu) {
if ( spu == null ) {
return null;
}
ESProductDO eSProductDO = new ESProductDO();
eSProductDO.setId( spu.getId() );
eSProductDO.setName( spu.getName() );
eSProductDO.setSellPoint( spu.getSellPoint() );
eSProductDO.setDescription( spu.getDescription() );
eSProductDO.setCid( spu.getCid() );
eSProductDO.setCategoryName( spu.getCategoryName() );
List<String> list = spu.getPicUrls();
if ( list != null ) {
eSProductDO.setPicUrls( new ArrayList<String>( list ) );
}
eSProductDO.setVisible( spu.getVisible() );
eSProductDO.setSort( spu.getSort() );
return eSProductDO;
}
@Override
public List<ProductBO> convert(List<ESProductDO> list) {
if ( list == null ) {
return null;
}
List<ProductBO> list1 = new ArrayList<ProductBO>( list.size() );
for ( ESProductDO eSProductDO : list ) {
list1.add( eSProductDOToProductBO( eSProductDO ) );
}
return list1;
}
protected ProductBO eSProductDOToProductBO(ESProductDO eSProductDO) {
if ( eSProductDO == null ) {
return null;
}
ProductBO productBO = new ProductBO();
productBO.setId( eSProductDO.getId() );
productBO.setName( eSProductDO.getName() );
productBO.setSellPoint( eSProductDO.getSellPoint() );
productBO.setDescription( eSProductDO.getDescription() );
productBO.setCid( eSProductDO.getCid() );
productBO.setCategoryName( eSProductDO.getCategoryName() );
List<String> list = eSProductDO.getPicUrls();
if ( list != null ) {
productBO.setPicUrls( new ArrayList<String>( list ) );
}
productBO.setVisible( eSProductDO.getVisible() );
productBO.setSort( eSProductDO.getSort() );
productBO.setOriginalPrice( eSProductDO.getOriginalPrice() );
productBO.setBuyPrice( eSProductDO.getBuyPrice() );
productBO.setQuantity( eSProductDO.getQuantity() );
productBO.setPromotionActivityId( eSProductDO.getPromotionActivityId() );
productBO.setPromotionActivityTitle( eSProductDO.getPromotionActivityTitle() );
productBO.setPromotionActivityType( eSProductDO.getPromotionActivityType() );
return productBO;
}
}