|
|
|
@ -172,17 +172,21 @@ public class QuotationSheetBiddingServiceImpl extends MPJBaseServiceImpl<Quotati
|
|
|
|
|
quotationSheetBiddingDO.setIsWin(1);
|
|
|
|
|
this.updateById(quotationSheetBiddingDO);
|
|
|
|
|
});
|
|
|
|
|
quotationShe.setSupplierBiddingId(biddingList.toString());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
quotationShe.setBiddingStatus(QuotationSheetBiddingEnum.CONFIRM.getValue());
|
|
|
|
|
quotationShe.setBiddingStatus(BpmProcessInstanceResultEnum.APPROVE.getResult().toString());
|
|
|
|
|
|
|
|
|
|
quotationSheetService.updateById(quotationShe);
|
|
|
|
|
} 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);
|
|
|
|
|
}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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|