|
@@ -396,6 +396,7 @@ public interface LawyerConsultationOrderMapper extends BaseMapper<LawyerConsulta
|
|
|
" lco.order_str,\n" +
|
|
" lco.order_str,\n" +
|
|
|
" lco.apply_refund_status,\n" +
|
|
" lco.apply_refund_status,\n" +
|
|
|
" lco.pay_type,\n" +
|
|
" lco.pay_type,\n" +
|
|
|
|
|
+ " lco.comment as commonStatus ,\n" +
|
|
|
" CASE\n" +
|
|
" CASE\n" +
|
|
|
" WHEN EXISTS (SELECT 1 FROM lawyer_order_review lor WHERE lor.order_id = lco.id) THEN '1'\n" +
|
|
" WHEN EXISTS (SELECT 1 FROM lawyer_order_review lor WHERE lor.order_id = lco.id) THEN '1'\n" +
|
|
|
" ELSE '2'\n" +
|
|
" ELSE '2'\n" +
|
|
@@ -635,6 +636,7 @@ public interface LawyerConsultationOrderMapper extends BaseMapper<LawyerConsulta
|
|
|
"lco.rating, " +
|
|
"lco.rating, " +
|
|
|
"lco.comment, " +
|
|
"lco.comment, " +
|
|
|
"lco.lawyer_user_id, " +
|
|
"lco.lawyer_user_id, " +
|
|
|
|
|
+ "lco.pay_type, " +
|
|
|
"lu.name AS lawyerName, " +
|
|
"lu.name AS lawyerName, " +
|
|
|
"lu.phone AS lawyerPhone, " +
|
|
"lu.phone AS lawyerPhone, " +
|
|
|
"lu.email AS lawyerEmail, " +
|
|
"lu.email AS lawyerEmail, " +
|