Browse Source

缴费详情报错修改

18792927508 2 years ago
parent
commit
85e9240eee

+ 1
- 1
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml View File

595
                CASE c.pay_type when 0 then '线上支付' when 0 then '线下支付' else '' end payTypeName
595
                CASE c.pay_type when 0 then '线上支付' when 0 then '线下支付' else '' end payTypeName
596
         from case_application c left join case_payment_record p on c.id  = p.case_id
596
         from case_application c left join case_payment_record p on c.id  = p.case_id
597
         where c.case_status  = 3
597
         where c.case_status  = 3
598
-          AND c.id = #{id}
598
+          AND c.id = #{id} and p.payment_status=1
599
 
599
 
600
     </select>
600
     </select>
601
     <select id="selectCaseNumLike" resultType="java.lang.Integer">
601
     <select id="selectCaseNumLike" resultType="java.lang.Integer">