feat(bpm): 为报销单添加支付公司名称

- 在 BpmOAReimbursementServiceImpl 中,为 BpmOAReimbursementRespVO 对象添加支付公司名称- 通过 deptMap 获取支付公司的名称,并设置到 BpmOAReimbursementRespVO 中
This commit is contained in:
aikai 2025-07-11 16:39:33 +08:00
parent 1ebd9cea07
commit 19a7b00caf

View File

@ -362,6 +362,7 @@ public class BpmOAReimbursementServiceImpl extends BpmOABaseService implements B
List<ReimbursementDTO> reimbursementDTOS = BeanUtils.toBean(reimbursements, ReimbursementDTO.class);
BpmOAReimbursementRespVO bpmOAReimbursementRespVO = BeanUtils.toBean(reimbursementDO, BpmOAReimbursementRespVO.class);
bpmOAReimbursementRespVO.setPaymentCompanyName(deptMap.get(reimbursementDO.getPaymentCompany()).getName());
bpmOAReimbursementRespVO.setReimbursements(BpmOAReimbursementConvert.INSTANCE.convertList(reimbursementDTOS, deptMap)); //拼接数据
return bpmOAReimbursementRespVO;