Просмотр исходного кода

修改bug:
安盛系统卡的是出险小于2次,但报价匹配不上费用
原因:是匹配费用规则时,没有把ptl_agreement_cost_rule的operator(操作符)的查询出来导致,inputNumberEqual方法的判断一直是false

jiakai 4 месяцев назад
Родитель
Сommit
ca6d2bc297

+ 5 - 1
tenant/organization/src/main/resources/mapper/PtlAgreementCostMapper.xml

@@ -100,6 +100,8 @@
             <result column="attr_code" property="attrCode" jdbcType="VARCHAR"/>
             <result column="min" property="min" jdbcType="VARCHAR"/>
             <result column="max" property="max" jdbcType="VARCHAR"/>
+            <result column="operator" property="operator" jdbcType="VARCHAR"/>
+            <result column="batch" property="batch" jdbcType="VARCHAR"/>
         </collection>
     </resultMap>
 
@@ -156,7 +158,9 @@
         r.ptl_agreement_cost_id as ptl_agreement_cost_id,
         r.attr_code as attr_code,
         r.min as min,
-        r.max as max
+        r.max as max,
+        r.operator as operator,
+        r.batch as batch
         FROM
         ptl_agreement_cost c
         left join ptl_agreement_cost_rule r on c.id = r.ptl_agreement_cost_id