REM:
1.修改数据库改变任务状态SQL语句
This commit is contained in:
chenlinghy 2020-11-12 18:12:18 +08:00
parent 78c4ff66e5
commit 374ecbcb5f
2 changed files with 3 additions and 3 deletions

View File

@ -89,11 +89,11 @@ public interface DeviceTaskMapper {
* Change task dev status int. * Change task dev status int.
* *
* @param id the id * @param id the id
* @param status the status * @param devStatus the devStatus
* @return the int * @return the int
*/ */
int changeTaskDevStatus(@Param("id") Long id, int changeTaskDevStatus(@Param("id") Long id,
@Param("status") Long status); @Param("devStatus") Long devStatus);
/** /**
* Change exec attack type in value int. * Change exec attack type in value int.

View File

@ -90,7 +90,7 @@
<update id="changeTaskDevStatus"> <update id="changeTaskDevStatus">
UPDATE device_task UPDATE device_task
SET status = #{status} SET devStatus = #{devStatus}
WHERE id = #{id} WHERE id = #{id}
</update> </update>