tanzh 3 жил өмнө
parent
commit
8a69be6192

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

@@ -174,7 +174,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             AND o.input_order_sn = #{inputOrderSn}
         </if>
         <if test="searchKey != null and searchKey != ''">
-            AND (u.realname like concat('%', #{searchKey}, '%') or o.order_sn = #{searchKey} or o.id_card = #{searchKey} or g.goods_name like concat('%', #{searchKey}, '%'))
+            AND (u.realname like concat('%', #{searchKey}, '%') or o.order_sn = #{searchKey} or u.id_card = #{searchKey} or g.goods_name like concat('%', #{searchKey}, '%'))
         </if>
         <if test="orderGoodsIds != null ">
             AND og.order_goods_id in