master:入库单下载BUG修复;
parent
a1391172f2
commit
529c3d6cf6
|
|
@ -100,10 +100,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
WHERE
|
||||
spsd.del_flag = 0
|
||||
AND sps.voucher_date BETWEEN #{voucherDateStart} AND #{voucherDateEnd}
|
||||
AND sps.store_prod_id IN
|
||||
<foreach collection="storeProdIdList" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
<if test="storeProdIdList != null and storeProdIdList.size() > 0">
|
||||
AND spsd.store_prod_id IN
|
||||
<foreach collection="storeProdIdList" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="prodArtNum != null and prodArtNum != ''">
|
||||
AND spsd.prod_art_num LIKE CONCAT('%', #{prodArtNum}, '%')
|
||||
</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue