中标回调赋值修改

new
Agoni 1 year ago
parent 1fb7bce6e9
commit e24fedc7a9

@ -172,17 +172,21 @@ public class QuotationSheetBiddingServiceImpl extends MPJBaseServiceImpl<Quotati
quotationSheetBiddingDO.setIsWin(1); quotationSheetBiddingDO.setIsWin(1);
this.updateById(quotationSheetBiddingDO); this.updateById(quotationSheetBiddingDO);
}); });
quotationShe.setSupplierBiddingId(biddingList.toString());
} }
quotationShe.setBiddingStatus(QuotationSheetBiddingEnum.CONFIRM.getValue()); quotationShe.setBiddingStatus(BpmProcessInstanceResultEnum.APPROVE.getResult().toString());
quotationSheetService.updateById(quotationShe); quotationSheetService.updateById(quotationShe);
} else if (BpmProcessInstanceResultEnum.REJECT.getResult().equals(result)) { } else if (BpmProcessInstanceResultEnum.REJECT.getResult().equals(result)) {
//驳回 //驳回
quotationShe.setBiddingStatus(QuotationSheetBiddingEnum.ABANDON.getValue()); // quotationShe.setBiddingStatus(QuotationSheetBiddingEnum.ABANDON.getValue());
quotationShe.setBiddingStatus(BpmProcessInstanceResultEnum.REJECT.getResult().toString());
quotationSheetService.updateById(quotationShe); quotationSheetService.updateById(quotationShe);
}else if (BpmProcessInstanceResultEnum.CANCEL.getResult().equals(result)) { }else if (BpmProcessInstanceResultEnum.CANCEL.getResult().equals(result)) {
//驳回 //驳回
quotationShe.setBiddingStatus(QuotationSheetBiddingEnum.NO_CONFIRM.getValue()); // quotationShe.setBiddingStatus(QuotationSheetBiddingEnum.NO_CONFIRM.getValue());
quotationShe.setBiddingStatus(BpmProcessInstanceResultEnum.CANCEL.getResult().toString());
quotationSheetService.updateById(quotationShe); quotationSheetService.updateById(quotationShe);
} }
} }

Loading…
Cancel
Save