|
|
@@ -3,6 +3,8 @@ package com.iformall.service.impl; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.github.pagehelper.PageHelper; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import com.iformall.common.ErrorCode; |
|
|
|
import com.iformall.common.ResultData; |
|
|
|
import com.iformall.domain.po.TtMerchantPoi; |
|
|
|
import com.iformall.domain.po.WxAppinfo; |
|
|
|
import com.iformall.enums.EnumAppPlat; |
|
|
@@ -51,7 +53,7 @@ public class TtMerchantPoiServiceImpl implements TtMerchantPoiService { |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public boolean addShopMaterial(WxAppinfo appinfo, TtMerchantPoi merchantPoi) { |
|
|
|
public ResultData addShopMaterial(WxAppinfo appinfo, TtMerchantPoi merchantPoi) { |
|
|
|
|
|
|
|
WxAppinfo appinfoQ = new WxAppinfo(); |
|
|
|
appinfoQ.setTenantId(appinfo.getTenantId()); |
|
|
@@ -76,13 +78,14 @@ public class TtMerchantPoiServiceImpl implements TtMerchantPoiService { |
|
|
|
if(res.isSuccess()){ |
|
|
|
merchantPoi.setUpdateDate(new Date()); |
|
|
|
ttMerchantPoiMapper.updateById(merchantPoi); |
|
|
|
return true; |
|
|
|
return new ResultData(); |
|
|
|
} |
|
|
|
logger.error("提交商铺资质材料error"+ res.getMessage()); |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),res.getMessage()); |
|
|
|
}catch(Exception e){ |
|
|
|
logger.error("提交商铺资质材料error"+ e.getMessage()); |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),e.getMessage()); |
|
|
|
} |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|