-报价回调状态更改

new
Agoni 1 year ago
parent 1447e5d26c
commit dd2ca3e24b

@ -97,6 +97,7 @@ public class QuotationSheetServiceImpl extends MPJBaseServiceImpl<QuotationSheet
quotationSheet.setDeptId(user.getDeptId());
quotationSheet.setApplicant(loginUser.getId());
quotationSheet.setQuotationStatus(1);
quotationSheet.setReleaseStatus(1);
quotationSheet.setStatus("0");
saveOrUpdate(quotationSheet);
if (createReqVO.getQuotationDetails().size() > 0){
@ -453,17 +454,17 @@ public class QuotationSheetServiceImpl extends MPJBaseServiceImpl<QuotationSheet
QuotationSheetDO apply = getById(id);
if (BpmProcessInstanceResultEnum.APPROVE.getResult().equals(result)) {
//审核通过
apply.setQuotationStatus(3);
apply.setReleaseStatus(3);
apply.setStatus(QuotationSheetEnum.APPROVE.getValue());
updateById(apply);
} else if (BpmProcessInstanceResultEnum.REJECT.getResult().equals(result)) {
//驳回
apply.setQuotationStatus(2);
apply.setReleaseStatus(2);
apply.setStatus(QuotationSheetEnum.APPROVE.getValue());
updateById(apply);
}else if (BpmProcessInstanceResultEnum.CANCEL.getResult().equals(result)) {
//驳回
apply.setQuotationStatus(1);
apply.setReleaseStatus(1);
apply.setStatus(QuotationSheetEnum.APPROVE.getValue());
updateById(apply);
}

Loading…
Cancel
Save