Browse Source

加入律师通知接口

zhangchen 3 weeks ago
parent
commit
5e40fc5eb9

+ 3 - 0
alien-entity/src/main/java/shop/alien/entity/store/vo/LawyerConsultationOrderVO.java

@@ -134,6 +134,9 @@ public class LawyerConsultationOrderVO implements Serializable {
     @ApiModelProperty(value = "头像")
     @ApiModelProperty(value = "头像")
     private String headImg;
     private String headImg;
 
 
+    @ApiModelProperty(value = "用户头像")
+    private String userImage;
+
     @ApiModelProperty(value = "昵称")
     @ApiModelProperty(value = "昵称")
     private String nickName;
     private String nickName;
 
 

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

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