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