报销打印 - 对付款公司paymentCompanyName赋值

This commit is contained in:
Echo 2025-07-11 16:41:57 +08:00
parent 19a7b00caf
commit 3d6737bc57

View File

@ -899,6 +899,8 @@ public class BpmProcessInstanceServiceImpl implements BpmProcessInstanceService
case "oa_reimbursement":
BpmOAReimbursementDO reimbursement = reimbursementService.getReimbursement(businessKey);
BpmOAReimbursementRespVO bpmOAReimbursementRespVO = reimbursementService.convert(reimbursement); //报销业务数据
//设置付款公司名称
bpmOAReimbursementRespVO.setPaymentCompanyName(deptApi.getDept(bpmOAReimbursementRespVO.getPaymentCompany()).getCheckedData().getName());
// 移除自己得审批节点
taskRespVOList.removeIf(data -> data.getAssigneeUser().getId().equals(reimbursement.getUserId()));