This commit is contained in:
张怡蓉
2025-10-28 14:11:05 +08:00
parent aab11d26e1
commit e8fea3433e
7 changed files with 187 additions and 18 deletions

View File

@@ -371,13 +371,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
mj.tray_code
from mydo_job_detail mjd
left join bas_product bp on mjd.product_id = bp.product_id
left join bas_product bp on mjd.product_id = bp.product_id
left join mydo_job mj on mjd.job_id = mj.job_id
where mj.exit_id=#{exitId}
and mj.status='3'
and mj.execution_phase=2
and mjd.product_id=#{productId}
and mj.in_or_out=#{inOrOut}
where mj.status='3'
and mj.tray_code = #{trayCode}
</select>
<select id="selectPdMydoJobDetailListByExit" parameterType="MydoJob" resultMap="MydoJobDetailResult">
@@ -422,9 +420,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from mydo_job_detail mjd
left join bas_product bp on mjd.product_id = bp.product_id
left join mydo_job mj on mjd.job_id = mj.job_id
where mj.exit_id=#{exitId}
where mj.tray_code=#{trayCode}
and mj.status='3'
and mj.execution_phase=2
and mj.in_or_out = #{inOrOut}
</select>
</mapper>