REM:
1. 修改数据库名称
This commit is contained in:
chenlinghy 2020-08-21 14:51:08 +08:00
parent d371ef63ab
commit 03e01027aa
1 changed files with 4 additions and 4 deletions

View File

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