REM:
1.修改更新鹏信设备任务状态的方法
This commit is contained in:
chenlinghy 2020-11-24 18:43:20 +08:00
parent f12ba229fd
commit c9d48edd1f
3 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ public interface DeviceTaskManager {
* @param id the id * @param id the id
* @return the dispose device task status * @return the dispose device task status
*/ */
int changeDisposeDeviceTaskInfoDevStatus(String id, Long devStatus); int changeDisposeDeviceTaskInfoDevStatus(Long id, Long devStatus);
/** /**
* Sets exec attack type. * Sets exec attack type.

View File

@ -88,11 +88,11 @@ public interface DeviceTaskMapper {
/** /**
* Change task dev status int. * Change task dev status int.
* *
* @param externId the extern id * @param id the id
* @param devStatus the dev status * @param devStatus the dev status
* @return the int * @return the int
*/ */
int changeTaskDevStatus(@Param("externId") String externId, int changeTaskDevStatus(@Param("id") Long id,
@Param("devStatus") Long devStatus); @Param("devStatus") Long devStatus);
/** /**

View File

@ -91,7 +91,7 @@
<update id="changeTaskDevStatus"> <update id="changeTaskDevStatus">
UPDATE device_task UPDATE device_task
SET devStatus = #{devStatus} SET devStatus = #{devStatus}
WHERE externId = #{externId} AND devStatus != #{devStatus} WHERE id = #{id} AND devStatus != #{devStatus}
</update> </update>
<update id="changeExecAttackTypeInValue"> <update id="changeExecAttackTypeInValue">