Browse Source

产品变更需求,增加待接单时校验

ldz 3 weeks ago
parent
commit
30d40f95ea

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

@@ -495,7 +495,7 @@ public interface LawyerConsultationOrderMapper extends BaseMapper<LawyerConsulta
             "accept_orders_status "+
             "accept_orders_status "+
             "FROM " +
             "FROM " +
             "lawyer_consultation_order " +
             "lawyer_consultation_order " +
-            "WHERE order_status = 2 " +
+            "WHERE order_status in (1,2) " +
             " and delete_flag = 0 " +
             " and delete_flag = 0 " +
             "<if test='clientUserId != null'>" +
             "<if test='clientUserId != null'>" +
             "AND client_user_id = #{clientUserId} " +
             "AND client_user_id = #{clientUserId} " +