yzc 2 rokov pred
rodič
commit
e50197b479

+ 0 - 5
hx-account/src/main/java/com/fjhx/account/service/account/impl/AccountRequestFundsServiceImpl.java

@@ -168,11 +168,6 @@ public class AccountRequestFundsServiceImpl extends ServiceImpl<AccountRequestFu
         }
 
         DynamicDataSourceContextHolder.poll();
-        //赋值流程id
-        FlowExample flowExample = flowExampleService.getOne(q -> q.eq(FlowExample::getBusinessId, accountRequestFunds.getId()));
-        if (ObjectUtil.isNotEmpty(flowExample)) {
-            accountRequestFundsVo.setFlowInfoId(flowExample.getId());
-        }
 
         return accountRequestFundsVo;
     }

+ 2 - 0
hx-account/src/main/resources/mapper/account/AccountRequestFundsDetailMapper.xml

@@ -39,6 +39,8 @@
                 LEFT JOIN bytesailing_sale.contract c ON arfd.contract_id = c.id
         WHERE
             arfd.account_request_funds_id = #{accountRequestFundsId}
+        GROUP BY
+            arfd.id
     </select>
 
     <select id="getList" resultType="com.fjhx.account.entity.account.po.AccountRequestFundsDetail">