Show final calculate rate in workflow list

This commit is contained in:
wkc
2026-05-18 10:56:25 +08:00
parent a4f927fdcb
commit a6e7ef6105
21 changed files with 209 additions and 34 deletions

View File

@@ -9,6 +9,8 @@ public class LoanPricingWorkflowListVO
{
private String serialNum;
private String custIsn;
private String custName;
private String custType;

View File

@@ -7,13 +7,14 @@
<select id="selectWorkflowPageWithRates" resultType="com.ruoyi.loanpricing.domain.vo.LoanPricingWorkflowListVO">
SELECT
lpw.serial_num AS serialNum,
lpw.cust_isn AS custIsn,
lpw.cust_name AS custName,
lpw.cust_type AS custType,
lpw.guar_type AS guarType,
lpw.apply_amt AS applyAmt,
CASE
WHEN lpw.cust_type = '个人' THEN mr.final_calculate_rate
WHEN lpw.cust_type = '企业' THEN mc.calculate_rate
WHEN lpw.cust_type = '企业' THEN mc.final_calculate_rate
ELSE NULL
END AS calculateRate,
lpw.execute_rate AS executeRate,