This commit is contained in:
Lemon
2024-01-17 14:13:54 +08:00
parent 63c37e71ef
commit 7f75bc4c15
8 changed files with 342 additions and 12 deletions

View File

@@ -31,6 +31,7 @@ import com.jsowell.pile.vo.web.PileStationVO;
import com.jsowell.service.PileService;
import com.jsowell.thirdparty.lianlian.service.LianLianService;
import com.jsowell.thirdparty.nanrui.service.NRService;
import com.jsowell.thirdparty.xindiantu.service.XDTService;
import com.jsowell.thirdparty.yongchengboche.service.YCBCService;
import com.jsowell.thirdparty.zhongdianlian.service.ZDLService;
import org.springframework.beans.factory.annotation.Autowired;
@@ -70,6 +71,9 @@ public class PileStationInfoController extends BaseController {
@Autowired
private YCBCService ycbcService;
@Autowired
private XDTService xdtService;
@Autowired
private ThirdPartyStationRelationService thirdPartyStationRelationService;
@@ -307,6 +311,10 @@ public class PileStationInfoController extends BaseController {
// 甬城泊车平台
result = ycbcService.pushStationInfo(dto);
}
if (StringUtils.equals(ThirdPlatformTypeEnum.XIN_DIAN_TU.getCode(), dto.getThirdPartyType())) {
// 新电途平台
result = xdtService.pushStationInfo(dto);
}
response = new RestApiResponse<>(result);
}catch (BusinessException e) {
logger.error("推送第三方平台充电站信息 error",e);