|
@@ -342,12 +342,16 @@ public interface LawyerConsultationOrderMapper extends BaseMapper<LawyerConsulta
|
|
|
" lea.expertise_area_info,\n" +
|
|
" lea.expertise_area_info,\n" +
|
|
|
" lur.user_name client_user_name,\n" +
|
|
" lur.user_name client_user_name,\n" +
|
|
|
" lur.user_phone client_user_phone,\n" +
|
|
" lur.user_phone client_user_phone,\n" +
|
|
|
- " lco.order_amount - lco.consultation_fee as lawyerEarnings\n" +
|
|
|
|
|
|
|
+ " lco.order_amount - lco.consultation_fee as lawyerEarnings,\n" +
|
|
|
|
|
+ " luv.processing_status,\n" +
|
|
|
|
|
+ " luv.processing_time,\n" +
|
|
|
|
|
+ " luv.report_result\n" +
|
|
|
" FROM lawyer_consultation_order lco\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 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" +
|
|
" LEFT JOIN law_firm lf on lf.id = lu.firm_id\n" +
|
|
|
" left join lawyer_expertise_area lea on lea.id = lu.lawyer_expertise_area_id and lea.delete_flag = 0 " +
|
|
" left join lawyer_expertise_area lea on lea.id = lu.lawyer_expertise_area_id and lea.delete_flag = 0 " +
|
|
|
" left join life_user lur on lur.id = lco.client_user_id " +
|
|
" left join life_user lur on lur.id = lco.client_user_id " +
|
|
|
|
|
+ " left join lawyer_user_violation luv on luv.order_number = lco.order_number and luv.delete_flag = 0 " +
|
|
|
" ${ew.customSqlSegment}")
|
|
" ${ew.customSqlSegment}")
|
|
|
IPage<LawyerConsultationOrderVO> getLawyerConsultationOrderInfo(
|
|
IPage<LawyerConsultationOrderVO> getLawyerConsultationOrderInfo(
|
|
|
IPage<LawyerConsultationOrderVO> page, @Param(Constants.WRAPPER) QueryWrapper<LawyerConsultationOrderVO> queryWrapper
|
|
IPage<LawyerConsultationOrderVO> page, @Param(Constants.WRAPPER) QueryWrapper<LawyerConsultationOrderVO> queryWrapper
|