|
@@ -4,6 +4,7 @@ import com.bosshand.virgo.api.model.MeetingMinutes;
|
|
import com.bosshand.virgo.api.model.MeetingPlace;
|
|
import com.bosshand.virgo.api.model.MeetingPlace;
|
|
import com.bosshand.virgo.api.model.MeetingType;
|
|
import com.bosshand.virgo.api.model.MeetingType;
|
|
import com.bosshand.virgo.api.service.MeetingMinutesService;
|
|
import com.bosshand.virgo.api.service.MeetingMinutesService;
|
|
|
|
+import com.bosshand.virgo.core.config.OperationControllerLog;
|
|
import com.bosshand.virgo.core.response.Response;
|
|
import com.bosshand.virgo.core.response.Response;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -22,6 +23,7 @@ public class MeetingMinutesController {
|
|
@Autowired
|
|
@Autowired
|
|
MeetingMinutesService meetingMinutesService;
|
|
MeetingMinutesService meetingMinutesService;
|
|
|
|
|
|
|
|
+ @OperationControllerLog(module = "运维管理", operation = "会议纪要-新增")
|
|
@ApiOperation("保存")
|
|
@ApiOperation("保存")
|
|
@RequestMapping(value = "", method = RequestMethod.POST)
|
|
@RequestMapping(value = "", method = RequestMethod.POST)
|
|
public Response insert(@RequestBody MeetingMinutes meetingMinutes) {
|
|
public Response insert(@RequestBody MeetingMinutes meetingMinutes) {
|
|
@@ -29,6 +31,7 @@ public class MeetingMinutesController {
|
|
return Response.ok();
|
|
return Response.ok();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @OperationControllerLog(module = "运维管理", operation = "会议纪要-列表")
|
|
@ApiOperation("获取")
|
|
@ApiOperation("获取")
|
|
@RequestMapping(value = "/{currPage}/{pageSize}", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/{currPage}/{pageSize}", method = RequestMethod.POST)
|
|
public Response list(@RequestBody MeetingMinutes meetingMinutes, @PathVariable int currPage, @PathVariable int pageSize) {
|
|
public Response list(@RequestBody MeetingMinutes meetingMinutes, @PathVariable int currPage, @PathVariable int pageSize) {
|
|
@@ -40,6 +43,7 @@ public class MeetingMinutesController {
|
|
return Response.ok(result);
|
|
return Response.ok(result);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @OperationControllerLog(module = "运维管理", operation = "会议纪要-编辑")
|
|
@ApiOperation("更新")
|
|
@ApiOperation("更新")
|
|
@RequestMapping(value = "", method = RequestMethod.PUT)
|
|
@RequestMapping(value = "", method = RequestMethod.PUT)
|
|
public Response update(@RequestBody MeetingMinutes meetingMinutes) {
|
|
public Response update(@RequestBody MeetingMinutes meetingMinutes) {
|
|
@@ -47,6 +51,7 @@ public class MeetingMinutesController {
|
|
return Response.ok();
|
|
return Response.ok();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @OperationControllerLog(module = "运维管理", operation = "会议纪要-删除")
|
|
@ApiOperation("删除")
|
|
@ApiOperation("删除")
|
|
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
|
|
@RequestMapping(value = "/{id}", method = RequestMethod.DELETE)
|
|
public Response delete(@PathVariable long id) {
|
|
public Response delete(@PathVariable long id) {
|
|
@@ -54,6 +59,7 @@ public class MeetingMinutesController {
|
|
return Response.ok();
|
|
return Response.ok();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @OperationControllerLog(module = "运维管理", operation = "会议纪要-详情")
|
|
@ApiOperation("详情")
|
|
@ApiOperation("详情")
|
|
@RequestMapping(value = "/{id}", method = RequestMethod.GET)
|
|
@RequestMapping(value = "/{id}", method = RequestMethod.GET)
|
|
public Response get(@PathVariable long id) {
|
|
public Response get(@PathVariable long id) {
|
|
@@ -63,6 +69,7 @@ public class MeetingMinutesController {
|
|
/**
|
|
/**
|
|
* 会议场所
|
|
* 会议场所
|
|
*/
|
|
*/
|
|
|
|
+ @OperationControllerLog(module = "运维管理", operation = "会议纪要-会议设置-会议场所-新增")
|
|
@ApiOperation("保存会议场所")
|
|
@ApiOperation("保存会议场所")
|
|
@RequestMapping(value = "/place", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/place", method = RequestMethod.POST)
|
|
public Response insertMeetingPlace(@RequestBody MeetingPlace meetingPlace) {
|
|
public Response insertMeetingPlace(@RequestBody MeetingPlace meetingPlace) {
|
|
@@ -70,12 +77,14 @@ public class MeetingMinutesController {
|
|
return Response.ok();
|
|
return Response.ok();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @OperationControllerLog(module = "运维管理", operation = "会议纪要-会议设置-会议场所-列表")
|
|
@ApiOperation("获取会议场所")
|
|
@ApiOperation("获取会议场所")
|
|
@RequestMapping(value = "/place/query", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/place/query", method = RequestMethod.POST)
|
|
public Response getMeetingPlaceList(@RequestBody MeetingPlace meetingPlace) {
|
|
public Response getMeetingPlaceList(@RequestBody MeetingPlace meetingPlace) {
|
|
return Response.ok(meetingMinutesService.getMeetingPlaceList(meetingPlace));
|
|
return Response.ok(meetingMinutesService.getMeetingPlaceList(meetingPlace));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @OperationControllerLog(module = "运维管理", operation = "会议纪要-会议设置-会议场所-编辑")
|
|
@ApiOperation("更新会议场所")
|
|
@ApiOperation("更新会议场所")
|
|
@RequestMapping(value = "/place", method = RequestMethod.PUT)
|
|
@RequestMapping(value = "/place", method = RequestMethod.PUT)
|
|
public Response updateMeetingPlace(@RequestBody MeetingPlace meetingPlace) {
|
|
public Response updateMeetingPlace(@RequestBody MeetingPlace meetingPlace) {
|
|
@@ -83,6 +92,7 @@ public class MeetingMinutesController {
|
|
return Response.ok();
|
|
return Response.ok();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @OperationControllerLog(module = "运维管理", operation = "会议纪要-会议设置-会议场所-删除")
|
|
@ApiOperation("删除会议场所")
|
|
@ApiOperation("删除会议场所")
|
|
@RequestMapping(value = "/place/{id}", method = RequestMethod.DELETE)
|
|
@RequestMapping(value = "/place/{id}", method = RequestMethod.DELETE)
|
|
public Response deleteMeetingPlace(@PathVariable long id) {
|
|
public Response deleteMeetingPlace(@PathVariable long id) {
|
|
@@ -94,6 +104,7 @@ public class MeetingMinutesController {
|
|
/**
|
|
/**
|
|
* 会议类别
|
|
* 会议类别
|
|
*/
|
|
*/
|
|
|
|
+ @OperationControllerLog(module = "运维管理", operation = "会议纪要-会议设置-会议类型-新增")
|
|
@ApiOperation("保存会议类别")
|
|
@ApiOperation("保存会议类别")
|
|
@RequestMapping(value = "/type", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/type", method = RequestMethod.POST)
|
|
public Response insertMeetingPlace(@RequestBody MeetingType meetingType) {
|
|
public Response insertMeetingPlace(@RequestBody MeetingType meetingType) {
|
|
@@ -101,12 +112,14 @@ public class MeetingMinutesController {
|
|
return Response.ok();
|
|
return Response.ok();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @OperationControllerLog(module = "运维管理", operation = "会议纪要-会议设置-会议类型-列表")
|
|
@ApiOperation("获取会议类别")
|
|
@ApiOperation("获取会议类别")
|
|
@RequestMapping(value = "/type/query", method = RequestMethod.POST)
|
|
@RequestMapping(value = "/type/query", method = RequestMethod.POST)
|
|
public Response getMeetingPlaceList(@RequestBody MeetingType meetingType) {
|
|
public Response getMeetingPlaceList(@RequestBody MeetingType meetingType) {
|
|
return Response.ok(meetingMinutesService.getMeetingTypeList(meetingType));
|
|
return Response.ok(meetingMinutesService.getMeetingTypeList(meetingType));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @OperationControllerLog(module = "运维管理", operation = "会议纪要-会议设置-会议类型-编辑")
|
|
@ApiOperation("更新会议类别")
|
|
@ApiOperation("更新会议类别")
|
|
@RequestMapping(value = "/type", method = RequestMethod.PUT)
|
|
@RequestMapping(value = "/type", method = RequestMethod.PUT)
|
|
public Response updateMeetingPlace(@RequestBody MeetingType meetingType) {
|
|
public Response updateMeetingPlace(@RequestBody MeetingType meetingType) {
|
|
@@ -114,6 +127,7 @@ public class MeetingMinutesController {
|
|
return Response.ok();
|
|
return Response.ok();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @OperationControllerLog(module = "运维管理", operation = "会议纪要-会议设置-会议类型-删除")
|
|
@ApiOperation("删除会议类别")
|
|
@ApiOperation("删除会议类别")
|
|
@RequestMapping(value = "/type/{id}", method = RequestMethod.DELETE)
|
|
@RequestMapping(value = "/type/{id}", method = RequestMethod.DELETE)
|
|
public Response deleteMeetingType(@PathVariable long id) {
|
|
public Response deleteMeetingType(@PathVariable long id) {
|