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