邀请面试业务逻辑完善
This commit is contained in:
@@ -4,6 +4,7 @@ import com.vetti.common.annotation.Log;
|
||||
import com.vetti.common.core.controller.BaseController;
|
||||
import com.vetti.common.core.domain.R;
|
||||
import com.vetti.common.core.page.TableDataInfo;
|
||||
import com.vetti.common.core.page.TableWebDataInfo;
|
||||
import com.vetti.common.enums.BusinessType;
|
||||
import com.vetti.hotake.domain.HotakeMeetingCalendarDetail;
|
||||
import com.vetti.hotake.service.IHotakeMeetingCalendarDetailService;
|
||||
@@ -33,13 +34,12 @@ public class HotakeMeetingCalendarDetailController extends BaseController
|
||||
* 查询会议日历记录明细列表
|
||||
*/
|
||||
@ApiOperation("查询会议日历记录明细列表")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarDetail:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(HotakeMeetingCalendarDetail hotakeMeetingCalendarDetail)
|
||||
public TableWebDataInfo<HotakeMeetingCalendarDetail> list(HotakeMeetingCalendarDetail hotakeMeetingCalendarDetail)
|
||||
{
|
||||
startPage();
|
||||
List<HotakeMeetingCalendarDetail> list = hotakeMeetingCalendarDetailService.selectHotakeMeetingCalendarDetailList(hotakeMeetingCalendarDetail);
|
||||
return getDataTable(list);
|
||||
return getWebDataTable(list);
|
||||
}
|
||||
|
||||
|
||||
@@ -47,7 +47,6 @@ public class HotakeMeetingCalendarDetailController extends BaseController
|
||||
* 获取会议日历记录明细详细信息
|
||||
*/
|
||||
@ApiOperation("获取会议日历记录明细详细信息")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarDetail:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public R<HotakeMeetingCalendarDetail> getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
@@ -58,7 +57,6 @@ public class HotakeMeetingCalendarDetailController extends BaseController
|
||||
* 新增会议日历记录明细
|
||||
*/
|
||||
@ApiOperation("新增会议日历记录明细")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarDetail:add')")
|
||||
@Log(title = "会议日历记录明细", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public R<HotakeMeetingCalendarDetail> add(@RequestBody HotakeMeetingCalendarDetail hotakeMeetingCalendarDetail)
|
||||
@@ -70,7 +68,6 @@ public class HotakeMeetingCalendarDetailController extends BaseController
|
||||
* 修改会议日历记录明细
|
||||
*/
|
||||
@ApiOperation("修改会议日历记录明细")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarDetail:edit')")
|
||||
@Log(title = "会议日历记录明细", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public R<HotakeMeetingCalendarDetail> edit(@RequestBody HotakeMeetingCalendarDetail hotakeMeetingCalendarDetail)
|
||||
@@ -82,7 +79,6 @@ public class HotakeMeetingCalendarDetailController extends BaseController
|
||||
* 删除会议日历记录明细
|
||||
*/
|
||||
@ApiOperation("删除会议日历记录明细")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarDetail:remove')")
|
||||
@Log(title = "会议日历记录明细", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R remove(@PathVariable Long[] ids)
|
||||
|
||||
@@ -4,8 +4,10 @@ import com.vetti.common.annotation.Log;
|
||||
import com.vetti.common.core.controller.BaseController;
|
||||
import com.vetti.common.core.domain.R;
|
||||
import com.vetti.common.core.page.TableDataInfo;
|
||||
import com.vetti.common.core.page.TableWebDataInfo;
|
||||
import com.vetti.common.enums.BusinessType;
|
||||
import com.vetti.hotake.domain.HotakeMeetingCalendarInfo;
|
||||
import com.vetti.hotake.domain.vo.HotakeMeetingCalendarVo;
|
||||
import com.vetti.hotake.service.IHotakeMeetingCalendarInfoService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
@@ -21,7 +23,7 @@ import java.util.List;
|
||||
* @author wangxiangshun
|
||||
* @date 2025-11-09
|
||||
*/
|
||||
@Api(tags ="会议日历记录主")
|
||||
@Api(tags ="会议日历记录")
|
||||
@RestController
|
||||
@RequestMapping("/hotake/meetingCalendarInfo")
|
||||
public class HotakeMeetingCalendarInfoController extends BaseController
|
||||
@@ -32,21 +34,31 @@ public class HotakeMeetingCalendarInfoController extends BaseController
|
||||
/**
|
||||
* 查询会议日历记录主列表
|
||||
*/
|
||||
@ApiOperation("查询会议日历记录主列表")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarInfo:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(HotakeMeetingCalendarInfo hotakeMeetingCalendarInfo)
|
||||
@ApiOperation("查询会议日历记录列表")
|
||||
@GetMapping("/getPageList")
|
||||
public TableWebDataInfo<HotakeMeetingCalendarInfo> pageList(HotakeMeetingCalendarInfo hotakeMeetingCalendarInfo)
|
||||
{
|
||||
startPage();
|
||||
List<HotakeMeetingCalendarInfo> list = hotakeMeetingCalendarInfoService.selectHotakeMeetingCalendarInfoList(hotakeMeetingCalendarInfo);
|
||||
return getDataTable(list);
|
||||
return getWebDataTable(list);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 查询会议日历记录主列表(无分页)
|
||||
*/
|
||||
@ApiOperation("查询会议日历记录列表(无分页)")
|
||||
@GetMapping("/getList")
|
||||
public R<List<HotakeMeetingCalendarInfo>> list(HotakeMeetingCalendarInfo hotakeMeetingCalendarInfo)
|
||||
{
|
||||
List<HotakeMeetingCalendarInfo> list = hotakeMeetingCalendarInfoService.selectHotakeMeetingCalendarInfoList(hotakeMeetingCalendarInfo);
|
||||
return R.ok(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取会议日历记录主详细信息
|
||||
*/
|
||||
@ApiOperation("获取会议日历记录主详细信息")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarInfo:query')")
|
||||
@ApiOperation("获取会议日历记录详细信息")
|
||||
@GetMapping(value = "/{id}")
|
||||
public R<HotakeMeetingCalendarInfo> getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
@@ -56,8 +68,7 @@ public class HotakeMeetingCalendarInfoController extends BaseController
|
||||
/**
|
||||
* 新增会议日历记录主
|
||||
*/
|
||||
@ApiOperation("新增会议日历记录主")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarInfo:add')")
|
||||
@ApiOperation("新增会议日历记录")
|
||||
@Log(title = "会议日历记录主", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public R<HotakeMeetingCalendarInfo> add(@RequestBody HotakeMeetingCalendarInfo hotakeMeetingCalendarInfo)
|
||||
@@ -68,8 +79,7 @@ public class HotakeMeetingCalendarInfoController extends BaseController
|
||||
/**
|
||||
* 修改会议日历记录主
|
||||
*/
|
||||
@ApiOperation("修改会议日历记录主")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarInfo:edit')")
|
||||
@ApiOperation("修改会议日历记录")
|
||||
@Log(title = "会议日历记录主", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public R<HotakeMeetingCalendarInfo> edit(@RequestBody HotakeMeetingCalendarInfo hotakeMeetingCalendarInfo)
|
||||
@@ -80,12 +90,24 @@ public class HotakeMeetingCalendarInfoController extends BaseController
|
||||
/**
|
||||
* 删除会议日历记录主
|
||||
*/
|
||||
@ApiOperation("删除会议日历记录主")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarInfo:remove')")
|
||||
@ApiOperation("删除会议日历记录")
|
||||
@Log(title = "会议日历记录主", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return R.ok(hotakeMeetingCalendarInfoService.deleteHotakeMeetingCalendarInfoByIds(ids));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 保存会议日历记录主
|
||||
*/
|
||||
@ApiOperation("保存会议日历记录")
|
||||
@Log(title = "保存会议日历记录", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public R<?> save(@RequestBody HotakeMeetingCalendarVo calendarVo)
|
||||
{
|
||||
hotakeMeetingCalendarInfoService.saveHotakeMeetingCalendarInfo(calendarVo);
|
||||
return R.ok();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user