parent
d371ef63ab
commit
03e01027aa
|
@ -17,7 +17,7 @@
|
||||||
<result column="status" property="status"/>
|
<result column="status" property="status"/>
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<select id="selectAll" resultMap="task_info">
|
<select id="selectAll" resultMap="device_task">
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM device_task
|
FROM device_task
|
||||||
</select>
|
</select>
|
||||||
|
@ -39,19 +39,19 @@
|
||||||
${@com.dispose.common.DisposeTaskStatus@TASK_NEW.getValue()})
|
${@com.dispose.common.DisposeTaskStatus@TASK_NEW.getValue()})
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<select id="getTaskInfoByTaskId" resultMap="task_info">
|
<select id="getTaskInfoByTaskId" resultMap="device_task">
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM device_task
|
FROM device_task
|
||||||
WHERE taskId = #{taskId, jdbcType=INTEGER}
|
WHERE taskId = #{taskId, jdbcType=INTEGER}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getNewTaskInfos" resultMap="task_info">
|
<select id="getNewTaskInfos" resultMap="device_task">
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM device_task
|
FROM device_task
|
||||||
WHERE status = ${@com.dispose.common.DisposeTaskStatus@TASK_NEW.getValue()}
|
WHERE status = ${@com.dispose.common.DisposeTaskStatus@TASK_NEW.getValue()}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getTaskByDetails" resultMap="task_info">
|
<select id="getTaskByDetails" resultMap="device_task">
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM device_task
|
FROM device_task
|
||||||
WHERE status != ${@com.dispose.common.DisposeTaskStatus@TASK_FINISHED.getValue()}
|
WHERE status != ${@com.dispose.common.DisposeTaskStatus@TASK_FINISHED.getValue()}
|
||||||
|
|
Loading…
Reference in New Issue