|
|
@@ -219,7 +219,7 @@ public interface LawyerConsultationOrderMapper extends BaseMapper<LawyerConsulta
|
|
|
" lea.expertise_area_info,\n" +
|
|
|
" lur.user_name client_user_name,\n" +
|
|
|
" lur.user_phone client_user_phone\n" +
|
|
|
- " COALESCE(lco.order_amount, 0) - COALESCE(lco.consultation_fee, 0) as lawyerEarnings\n" +
|
|
|
+ " lco.order_amount - lco.consultation_fee as lawyerEarnings\n" +
|
|
|
" FROM lawyer_consultation_order lco\n" +
|
|
|
" LEFT JOIN lawyer_user lu ON lco.lawyer_user_id = lu.id AND lu.delete_flag = 0\n" +
|
|
|
" LEFT JOIN law_firm lf on lf.id = lu.firm_id\n" +
|