ZengTao
2025-05-20 dbbf0c051ef05480a0becee07974b80e32b1cb8f
hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/mapper/EdgStorageDeviceTaskMapper.xml
@@ -4,18 +4,16 @@
    <resultMap id="baseMap" type="com.mes.opctask.entity.EdgStorageDeviceTask">
        <id column="task_running" property="taskRunning"/>
        <id column="glass_id" property="glassId"/>
        <id column="in_place" property="inPlace"/>
        <id column="glass_id_in" property="glassIdIn"/>
        <id column="glass_id_out" property="glassIdOut"/>
        <id column="current_cell" property="currentCell"/>
        <id column="start_cell" property="startCell"/>
        <id column="enc_cell" property="endCell"/>
        <id column="end_cell" property="endCell"/>
        <id column="task_state" property="taskState"/>
        <id column="create_time" property="createTime"/>
        <id column="update_time" property="updateTime"/>
        <id column="width" property="width"/>
        <id column="height" property="height"/>
        <id column="thickness" property="thickness"/>
        <id column="film_remove" property="filmRemove"/>
    </resultMap>
    <select id="queryTaskMessage" resultMap="baseMap">
@@ -30,13 +28,6 @@
        glass_id_out = #{task.glassIdOut},
        current_cell = #{task.currentCell},
        start_cell = #{task.startCell},
        end_cell = #{task.endCell},
        width = #{task.width},
        height = #{task.height},
        thickness = #{task.thickness},
        film_remove = #{task.filmRemove}
        <if test="task.taskState == 0">
            ,task_state = #{task.taskState}
        </if>
        end_cell = #{task.endCell}
    </update>
</mapper>