|
|
|
@ -18,6 +18,7 @@ import org.springframework.web.context.request.RequestContextHolder;
|
|
|
|
|
import org.springframework.web.servlet.mvc.condition.RequestConditionHolder;
|
|
|
|
|
|
|
|
|
|
import java.time.Instant;
|
|
|
|
|
import java.time.LocalDate;
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
@ -40,6 +41,8 @@ public class KnowledgeFlowController {
|
|
|
|
|
@Parameter(name = "flowType", description = "审批类型 1知识报送 2:知识撤回 3 知识删除", in = ParameterIn.QUERY),
|
|
|
|
|
@Parameter(name = "publishDateBegin", description = "发文时间开始", in = ParameterIn.QUERY),
|
|
|
|
|
@Parameter(name = "publishDateEnd", description = "发文时间结束", in = ParameterIn.QUERY),
|
|
|
|
|
@Parameter(name = "submitDateBegin", description = "报送时间开始", in = ParameterIn.QUERY),
|
|
|
|
|
@Parameter(name = "submitDateEnd", description = "报送时间结束", in = ParameterIn.QUERY),
|
|
|
|
|
@Parameter(name = "pageNum", description = "分页", in = ParameterIn.QUERY),
|
|
|
|
|
@Parameter(name = "pageSize", description = "分页", in = ParameterIn.QUERY)
|
|
|
|
|
})
|
|
|
|
@ -50,11 +53,13 @@ public class KnowledgeFlowController {
|
|
|
|
|
@RequestParam(required = false) String baseId,
|
|
|
|
|
@RequestParam(required = false) String submittedDeptId,
|
|
|
|
|
@RequestParam(required = false) Instant flowType,
|
|
|
|
|
@RequestParam(required = false) LocalDateTime publishDateBegin,
|
|
|
|
|
@RequestParam(required = false) LocalDateTime publishDateEnd,
|
|
|
|
|
@RequestParam(required = false) LocalDate publishDateBegin,
|
|
|
|
|
@RequestParam(required = false) LocalDate publishDateEnd,
|
|
|
|
|
@RequestParam(required = false) LocalDate submitDateBegin,
|
|
|
|
|
@RequestParam(required = false) LocalDate submitDateEnd,
|
|
|
|
|
Integer pageNum, Integer pageSize) {
|
|
|
|
|
return knowledgeFlowService.queryKnowledgeFlowPage(processStatus, title, publishDeptId, baseId, submittedDeptId, flowType,
|
|
|
|
|
publishDateBegin, publishDateEnd, pageNum, pageSize);
|
|
|
|
|
publishDateBegin, publishDateEnd, submitDateBegin, submitDateEnd, pageNum, pageSize);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Operation(summary = "审批知识流程")
|
|
|
|
|