guoyujia 1 年之前
父节点
当前提交
ecec9166fc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mybatis/business/BizOutsourcedOrderDetailProcessMapper.xml

+ 1 - 1
src/main/resources/mybatis/business/BizOutsourcedOrderDetailProcessMapper.xml

@@ -57,7 +57,7 @@
                     ( 0 )
                 </if>
             </if>
-            <if test="returnStatus ==1 ">AND t1.detail_id in
+            <if test="returnStatus ==1  and hasReturnDetailId.size > 0 ">AND t1.detail_id in
                 <foreach collection="hasReturnDetailId" index="index" item="id" separator="," open="(" close=")">
                     #{id,jdbcType=BIGINT}
                 </foreach>