he2802 1 년 전
부모
커밋
55212b7ae8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-system/src/main/resources/mapper/modules/order/OrderMapper.xml

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

@@ -196,7 +196,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 #{item}
             </foreach>
         </if>
-        <if test="orderFroms != null ">
+        <if test="orderFroms != null and orderFroms.size()!=0">
             AND o.order_from in
             <foreach collection="orderFroms" item="item" index="index" open="(" close=")" separator=",">
                 #{item}