Browse Source

bug修复

master
luogw 3 weeks ago
parent
commit
8499e98677
  1. 3
      src/main/java/com/project/task/application/impl/TaskApplicationServiceImpl.java

3
src/main/java/com/project/task/application/impl/TaskApplicationServiceImpl.java

@ -13,6 +13,7 @@ import com.project.task.domain.enums.QuestionTypeEnum;
import com.project.task.domain.param.TaskParam;
import com.project.task.domain.service.*;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@ -75,7 +76,7 @@ public class TaskApplicationServiceImpl implements TaskApplicationService {
@Override
public Result<Boolean> isDeletedTask(Long taskId, List<Long> taskKpIds,Integer type) {
if (taskKpIds == null || CollectionUtils.isEmpty(taskKpIds) || type == null) {
if (taskId == null || CollectionUtils.isEmpty(taskKpIds) || type == null) {
throw new MissingParameterException("参数不完整");
}

Loading…
Cancel
Save