You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udi-wms-java/src/main/resources/mybatis/mapper/collect/IoSplitFifoInvRelMapper.xml

22 lines
775 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.api.dao.collect.IoSplitFifoInvRelMapper">
<select id="findInvIdFk" resultType="com.glxp.api.entity.collect.IoSplitFifoInvRel">
SELECT *
from io_split_fifo_inv_rel icc left join io_split_fifo_inv isfi
on icc.invIdFk = isfi.id
<where>
<if test="workPlaceCode != null">
AND icc.collectWorkCode =#{collectWorkCode}
</if>
<if test="busType != null">
AND icc.busType =#{busType}
</if>
and isfi.invRemindCount>0
</where>
group by icc.id
</select>
</mapper>