Просмотр исходного кода

//update test

release_toaliyun_real
xhxu 4 лет назад
Родитель
Сommit
d4d842a898
2 измененных файлов: 6 добавлений и 6 удалений
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/domain/po/TtMerchantPoi.java
  2. +4
    -4
      mallinkService/src/main/java/com/iformall/service/impl/TtMerchantPoiServiceImpl.java

+ 2
- 2
mallinkService/src/main/java/com/iformall/domain/po/TtMerchantPoi.java Просмотреть файл

@@ -115,8 +115,8 @@ public class TtMerchantPoi extends TenantEntity {

public String getTtPath(){
JsonObject object = new JsonObject();
// if(!merchantPoi.getTenantId().equals(id.toString())){
if(id != null && id != 1038){
if(id != null && !id.toString().equals(getTenantId())){
// if(id != null && id != 1038){
object.addProperty("type","md");
object.addProperty("id",id);
}


+ 4
- 4
mallinkService/src/main/java/com/iformall/service/impl/TtMerchantPoiServiceImpl.java Просмотреть файл

@@ -249,8 +249,8 @@ public class TtMerchantPoiServiceImpl implements TtMerchantPoiService {
String introduction = "";
Integer businessId = EnumBusiness.BUSINESS_ID1.getCode();

// if(merchantPoi.getTenantId().equals(id.toString())){
if(merchantPoi.getId() == 1038){
if(merchantPoi.getTenantId().equals(id.toString())){
// if(merchantPoi.getId() == 1038){
WxMall mall = wxMallMapper.getByTenantId(merchantPoi.getTenantId());
contactTel = mall.getServicePhone();
images.add(mall.getImg());
@@ -493,8 +493,8 @@ public class TtMerchantPoiServiceImpl implements TtMerchantPoiService {
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"卷类型不支持同步poi");
}
List<TtMerchantPoi> list = new ArrayList<>();
// TtMerchantPoi merchantPoi = ttMerchantPoiMapper.selectById(Long.parseLong(tenantInfo.getTenantId()));
TtMerchantPoi merchantPoi = ttMerchantPoiMapper.selectById(Long.parseLong("1038"));
TtMerchantPoi merchantPoi = ttMerchantPoiMapper.selectById(Long.parseLong(tenantInfo.getTenantId()));
// TtMerchantPoi merchantPoi = ttMerchantPoiMapper.selectById(Long.parseLong("1038"));
list.add(merchantPoi);

List<Long> merchantIds = wxCouponMerchantMapper.findMerchantIdListByProduct(coupon.getId(), tenantInfo.getTenantId());


Загрузка…
Отмена
Сохранить