|
|
@@ -111,6 +111,32 @@ public class SuccessfulTask {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ /*for (OfferPlatformBean.BbpAuctionSelectVo car : platFromBean.getData().getBbpAuctionSelectVoList()) {
|
|
|
+ //查询车辆详情
|
|
|
+ try {
|
|
|
+ BbpDetailBean detailBean = getBbpDetail(token, new BbpDetailBody(car.getId()));
|
|
|
+ if (!Objects.isNull(detailBean)) {
|
|
|
+ String zbgzstatus = "3";
|
|
|
+ if (StringUtils.isNotBlank(detailBean.getData().getBbpWonBidVo().getBidCompanyName())
|
|
|
+ && detailBean.getData().getBbpWonBidVo().getBidCompanyName().contains("湖北同凯拍卖有限公司")){
|
|
|
+ zbgzstatus = "4";
|
|
|
+ }
|
|
|
+ List<Zbwt> zbwts = piccgrabaccountService.getZbwt(car.getCarNo());
|
|
|
+ //修改车辆中标信息
|
|
|
+ for (Zbwt zbwt : zbwts) {
|
|
|
+ if (zbwt.getZbgzstatus() == 1 || zbwt.getZbgzstatus() == 3){
|
|
|
+ zbwtMapper.updateZbwt(zbgzstatus,zbwt.getCarid()
|
|
|
+ ,detailBean.getData().getBbpWonBidVo().getBidCompanyName()
|
|
|
+ ,detailBean.getData().getBbpWonBidVo().getCreateTime()
|
|
|
+ ,detailBean.getData().getBbpWonBidVo().getBidPrice());
|
|
|
+ log.info("定时任务--同步车辆中标信息,车辆id:"+zbwt.getCarid());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }catch (Exception e){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ }*/
|
|
|
|
|
|
}
|
|
|
|