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}