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}