he2802 1 سال پیش
والد
کامیت
77c63a8a07
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      zhongzheng-system/src/main/resources/mapper/modules/order/OrderHandleMapper.xml

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/order/OrderHandleMapper.xml

@@ -55,7 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             AND oh.education_type_id = #{educationTypeId}
         </if>
         <if test="searchKey != null and searchKey != ''">
-            AND (oh.create_username like concat('%', #{searchKey}, '%') or oh.handle_order_sn = #{searchKey})
+            AND ((oh.create_username like concat('%', #{searchKey}, '%'))>0 or oh.handle_order_sn = #{searchKey})
         </if>
         <if test="goodsType != null">
             AND oh.goods_type = #{goodsType}