cn.herodotus.stirrup.logic.bpmn.mongodb.controller.ProcessCommentsController Maven / Gradle / Ivy
The newest version!
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2020-2030 郑庚伟 ZHENGGENGWEI (码匠君), Licensed under the AGPL License
*
* This file is part of Herodotus Stirrup.
*
* Herodotus Stirrup is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Herodotus Stirrup is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
package cn.herodotus.stirrup.logic.bpmn.mongodb.controller;
import cn.herodotus.stirrup.data.crud.service.MongoService;
import cn.herodotus.stirrup.logic.bpmn.mongodb.entity.ProcessComments;
import cn.herodotus.stirrup.logic.bpmn.mongodb.service.ProcessCommentsService;
import cn.herodotus.stirrup.web.api.servlet.AbstractMongoController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* Description: 流程审批意见 controller
*
* @author : gengwei.zheng
* @date : 2023/2/26 21:05
*/
@RestController
@RequestMapping("/camunda-extended/process-comments")
public class ProcessCommentsController extends AbstractMongoController {
private final ProcessCommentsService processCommentsService;
public ProcessCommentsController(ProcessCommentsService processCommentsService) {
this.processCommentsService = processCommentsService;
}
@Override
public MongoService getMongoService() {
return processCommentsService;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy