소스 검색

[fix]
完善订单逻辑

chenchen 3 달 전
부모
커밋
2fc54dfbb2
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      application-webadmin/src/main/java/com/tourism/webadmin/back/dao/mapper/TourOrderMapper.xml

+ 4 - 0
application-webadmin/src/main/java/com/tourism/webadmin/back/dao/mapper/TourOrderMapper.xml

@@ -131,6 +131,10 @@
                 <bind name = "safeTourOrderCustomerName" value = "'%' + tourOrderFilter.customerName + '%'" />
                 AND tour_order.customer_name LIKE #{safeTourOrderCustomerName}
             </if>
+            <if test="tourOrderFilter.customerWechat != null and tourOrderFilter.customerWechat != ''">
+                <bind name = "safeTourOrderCustomerWechat" value = "'%' + tourOrderFilter.customerWechat + '%'" />
+                AND tour_order.customer_wechat LIKE #{safeTourOrderCustomerWechat}
+            </if>
             <if test="tourOrderFilter.customerMobile != null and tourOrderFilter.customerMobile != ''">
                 <bind name = "safeTourOrderCustomerMobile" value = "'%' + tourOrderFilter.customerMobile + '%'" />
                 AND tour_order.customer_mobile LIKE #{safeTourOrderCustomerMobile}