pang.jiabao
2025-11-20 1465b8bcfb5c901118cfcf0caa646e688036bde8
src/main/resources/mapper/TaskWrkMapper.xml
@@ -25,7 +25,10 @@
        <result column="command_step" property="commandStep" />
        <result column="transfer_mark" property="transferMark" />
        <result column="mark_start" property="markStart"/>
        <result column="mp" property="mp"/>
        <result column="lx" property="lx"/>
        <result column="lev" property="lev"/>
        <result column="mp_completed_report" property="mpCompletedReport"/>
    </resultMap>
    
    <select id="selectByTaskNo" resultMap="BaseResultMap">
@@ -37,10 +40,16 @@
    <select id="selectByStartPoint" resultMap="BaseResultMap">
        select top 1 * from wcs_task_wrk
        where 1=1
        and io_type=3
        and start_point = #{startPoint}
    </select>
    <select id="selectByTargetPoint" resultMap="BaseResultMap">
        select top 1 * from wcs_task_wrk
        where 1=1
        and target_point = #{targetPoint}
    </select>
    <select id="selectByBarcode" resultMap="BaseResultMap">
        select top 1 * from wcs_task_wrk
        where 1=1