|
|
@@ -68,12 +68,14 @@ public class SuccessfulTask {
|
|
|
if (car.getBidStatus().equals("01")){
|
|
|
//查询车辆详情
|
|
|
BbpDetailBean detailBean = getBbpDetail(token, new BbpDetailBody(car.getId()));
|
|
|
- if (!Objects.isNull(detailBean) &&
|
|
|
- detailBean.getData().getBbpWonBidVo().getBidCompanyName().indexOf("湖北同凯拍卖有限公司")>0) {
|
|
|
-
|
|
|
+ if (!Objects.isNull(detailBean)) {
|
|
|
+ String zbgzstatus = "3";
|
|
|
+ if (detailBean.getData().getBbpWonBidVo().getBidCompanyName().indexOf("湖北同凯拍卖有限公司")>0){
|
|
|
+ zbgzstatus = "4";
|
|
|
+ }
|
|
|
String carid = piccgrabaccountService.getCarId(car.getCarNo());
|
|
|
//修改车辆中标信息
|
|
|
- zbwtMapper.updateZbwt(carid
|
|
|
+ zbwtMapper.updateZbwt(zbgzstatus,carid
|
|
|
,detailBean.getData().getBbpWonBidVo().getBidCompanyName()
|
|
|
,detailBean.getData().getBbpWonBidVo().getCreateTime()
|
|
|
,detailBean.getData().getBbpWonBidVo().getBidPrice());
|