zhangyuewww il y a 3 ans
Parent
commit
a7ce4c6a30

+ 6 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/PaymentManagementServiceImpl.java

@@ -91,6 +91,12 @@ public class PaymentManagementServiceImpl extends ServiceImpl<PaymentManagementM
         List<PaymentManagement> dataList = baseMapper.getListByCondition(pageView);
         if (!CollectionUtils.isEmpty(dataList)) {
             dataList.forEach(paymentManagement1 -> {
+                CommonCompany commonCompany=commonCompanyService.selectOne(new EntityWrapper<CommonCompany>()
+                        .eq("comp_id",paymentManagement1.getCompId()));
+                //公司名
+                if (commonCompany!=null){
+                    paymentManagement1.setCompName(commonCompany.getCompName());
+                }
                 String taskId = "";
                 // 只有待审核状态才有taskId
                 if (StringUtils.isNotBlank(paymentManagement1.getWorkflowId())) {