IP Spoofing增加定时任务ipPool状态变更BUG更改;
IP Spoofing取消状态的配置修改,ippool状态更改
This commit is contained in:
@@ -18,6 +18,6 @@ public interface PxyObjSpoofingIpPoolDao extends CrudDao<PxyObjSpoofingIpPool>{
|
||||
PxyObjSpoofingIpPool getPxyObjSpoofingIpPool(Long cfgId);
|
||||
int insert(PxyObjSpoofingIpPool spoofingPool);
|
||||
int update(PxyObjSpoofingIpPool spoofingPool);
|
||||
int updateState(@Param("tableName")String tableName,@Param("compileId")int compileId,@Param("isValid")Integer isValid,@Param("editorId")Long editorId);
|
||||
int updateState(@Param("tableName")String tableName,@Param("compileId")String compileId,@Param("isValid")Integer isValid);
|
||||
List<PxyObjSpoofingIpPool> findByPage(@Param("ids")String ids);
|
||||
}
|
||||
@@ -309,14 +309,12 @@
|
||||
</select>
|
||||
|
||||
<update id="updateState">
|
||||
update ${tableName}
|
||||
<set>
|
||||
is_valid = #{isValid} ,
|
||||
is_audit = 1,
|
||||
editor_id = #{editorId},
|
||||
edit_time=now(),
|
||||
</set>
|
||||
where compile_id = #{compileId}
|
||||
UPDATE ${tableName} SET
|
||||
is_valid = #{isValid,jdbcType=INTEGER},
|
||||
audit_time = now()
|
||||
<where>
|
||||
AND cfg_id =#{compileId}
|
||||
</where>
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user