| | |
| | | |
| | | <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="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"> |
| | |
| | | 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} |
| | | end_cell = #{task.endCell} |
| | | <if test="task.taskState == 0"> |
| | | ,task_state = #{task.taskState} |
| | | </if> |