Browse Source

费用回显留点比例

Qchen 10 months ago
parent
commit
0050a85855

+ 3 - 0
commons/src/main/java/com/jzg/commons/entity/dto/PtlAgreementCostEnd.java

@@ -119,6 +119,9 @@ public class PtlAgreementCostEnd {
         @Schema(description = "加投比例")
         private BigDecimal addThrow;
 
+        @Schema(description = "留点比例")
+        private BigDecimal keepPointRatio;
+
     }
 
 }

+ 2 - 0
tenant/organization/src/main/resources/mapper/PtlAgreementCostMapper.xml

@@ -57,6 +57,7 @@
         <result column="inlet" property="inlet" jdbcType="DECIMAL"/>
         <result column="export" property="export" jdbcType="DECIMAL"/>
         <result column="add_throw" property="addThrow" jdbcType="DECIMAL"/>
+        <result column="keep_point_ratio" property="keepPointRatio" jdbcType="DECIMAL"/>
     </resultMap>
 
 
@@ -281,6 +282,7 @@
             tt.inlet,
             tt.export,
             tt.add_throw,
+            tt.keep_point_ratio,
             CASE
                 WHEN tt.cost_type = '交强险' THEN pa.jq_entrance_fee_ratio
                 WHEN tt.cost_type = '商业险' THEN pa.sy_entrance_fee_ratio