盘点测试修改

This commit is contained in:
liuhanqing
2025-10-11 13:15:37 +08:00
parent f5c7552799
commit 4d4a381b0c
6 changed files with 22 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
and in_or_out > 20
and status = 1 and execution_phase= 0
order by priority desc,create_time desc
order by priority desc,create_time
</select>
<insert id="insertMydoJob" parameterType="MydoJob">
@@ -220,4 +220,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="faultFlag != null and faultFlag != ''"> and fault_flag = #{faultFlag}</if>
</where>
</select>
<select id="selectRunningMydoJobByExitList" resultMap="MydoJobResult">
select TOP 1 job_id, status, task_no, roadway_id, cargo_space_id, target_roadway_id, target_cargo_space_id, priority, execution_phase, in_or_out, create_time, start_time, finish_time, entrance_id, exit_id, warehouse_id, fault_flag from mydo_job_wcs
where exit_id in
<foreach item="item" index="index" collection="exitList" separator="," open="(" close=")">
#{item}
</foreach>
and in_or_out > 20
and status = 3
order by priority desc,create_time
</select>
</mapper>