parent
f12ba229fd
commit
c9d48edd1f
|
@ -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.
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue