소스 검색

订单列表加状态

zhangchen 2 주 전
부모
커밋
da444a3840
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      alien-entity/src/main/java/shop/alien/mapper/LawyerConsultationOrderMapper.java

+ 1 - 1
alien-entity/src/main/java/shop/alien/mapper/LawyerConsultationOrderMapper.java

@@ -359,7 +359,7 @@ public interface LawyerConsultationOrderMapper extends BaseMapper<LawyerConsulta
             "        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 lawyer_order_review lor on lor.order_id = lco.id " +
-            "        left join comment_appeals cas on cas.comment_id = lor.id " +
+            "        left join comment_appeals cas on cas.comment_id = lor.id and cas.delete_flag = 0  " +
             "        left join lawyer_user_violation luv on luv.order_number = lco.order_number and luv.delete_flag = 0 " +
             " ${ew.customSqlSegment}")
     IPage<LawyerConsultationOrderVO> getLawyerConsultationOrderInfo(