|
|
@@ -345,6 +345,7 @@ public interface LawyerConsultationOrderMapper extends BaseMapper<LawyerConsulta
|
|
|
" lco.order_amount - lco.consultation_fee as lawyerEarnings,\n" +
|
|
|
" luv.processing_status,\n" +
|
|
|
" luv.processing_time,\n" +
|
|
|
+ " lur.user_image,\n" +
|
|
|
" luv.report_result\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" +
|
|
|
@@ -484,6 +485,7 @@ public interface LawyerConsultationOrderMapper extends BaseMapper<LawyerConsulta
|
|
|
"FROM " +
|
|
|
"lawyer_consultation_order " +
|
|
|
"WHERE order_status = 2 " +
|
|
|
+ " and delete_flag = 0 " +
|
|
|
"<if test='clientUserId != null'>" +
|
|
|
"AND client_user_id = #{clientUserId} " +
|
|
|
"</if>" +
|