diff --git a/src/main/java/com/dispose/controller/DisposeTaskController.java b/src/main/java/com/dispose/controller/DisposeTaskController.java index 37ebc7a5..040820bd 100644 --- a/src/main/java/com/dispose/controller/DisposeTaskController.java +++ b/src/main/java/com/dispose/controller/DisposeTaskController.java @@ -117,7 +117,7 @@ public class DisposeTaskController { return ProtocolRespDTO.result(ErrorCode.ERR_PARAMS); } - if (reqInfo.getDisposeTime() == null || reqInfo.getDisposeTime() < 0) { + if (reqInfo.getDisposeTime() == null || reqInfo.getDisposeTime() <= 0) { log.error("Request dispose time params error, error:{} --> {}", mr.getMsgContent(), reqInfo.getDisposeTime()); return ProtocolRespDTO.result(ErrorCode.ERR_PARAMS); }