会议记录和面试记录的逻辑初始化
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
package com.vetti.web.controller.hotake;
|
||||
|
||||
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.enums.BusinessType;
|
||||
import com.vetti.hotake.domain.HotakeInterviewDetail;
|
||||
import com.vetti.hotake.service.IHotakeInterviewDetailService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 面试信息明细Controller
|
||||
*
|
||||
* @author wangxiangshun
|
||||
* @date 2025-11-09
|
||||
*/
|
||||
@Api(tags ="面试信息明细")
|
||||
@RestController
|
||||
@RequestMapping("/hotake/interviewDetail")
|
||||
public class HotakeInterviewDetailController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IHotakeInterviewDetailService hotakeInterviewDetailService;
|
||||
|
||||
/**
|
||||
* 查询面试信息明细列表
|
||||
*/
|
||||
@ApiOperation("查询面试信息明细列表")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:interviewDetail:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(HotakeInterviewDetail hotakeInterviewDetail)
|
||||
{
|
||||
startPage();
|
||||
List<HotakeInterviewDetail> list = hotakeInterviewDetailService.selectHotakeInterviewDetailList(hotakeInterviewDetail);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取面试信息明细详细信息
|
||||
*/
|
||||
@ApiOperation("获取面试信息明细详细信息")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:interviewDetail:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public R<HotakeInterviewDetail> getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return R.ok(hotakeInterviewDetailService.selectHotakeInterviewDetailById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增面试信息明细
|
||||
*/
|
||||
@ApiOperation("新增面试信息明细")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:interviewDetail:add')")
|
||||
@Log(title = "面试信息明细", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public R<HotakeInterviewDetail> add(@RequestBody HotakeInterviewDetail hotakeInterviewDetail)
|
||||
{
|
||||
return R.ok(hotakeInterviewDetailService.insertHotakeInterviewDetail(hotakeInterviewDetail));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改面试信息明细
|
||||
*/
|
||||
@ApiOperation("修改面试信息明细")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:interviewDetail:edit')")
|
||||
@Log(title = "面试信息明细", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public R<HotakeInterviewDetail> edit(@RequestBody HotakeInterviewDetail hotakeInterviewDetail)
|
||||
{
|
||||
return R.ok(hotakeInterviewDetailService.updateHotakeInterviewDetail(hotakeInterviewDetail));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除面试信息明细
|
||||
*/
|
||||
@ApiOperation("删除面试信息明细")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:interviewDetail:remove')")
|
||||
@Log(title = "面试信息明细", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return R.ok(hotakeInterviewDetailService.deleteHotakeInterviewDetailByIds(ids));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
package com.vetti.web.controller.hotake;
|
||||
|
||||
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.enums.BusinessType;
|
||||
import com.vetti.hotake.domain.HotakeInterviewInfo;
|
||||
import com.vetti.hotake.service.IHotakeInterviewInfoService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 面试信息Controller
|
||||
*
|
||||
* @author wangxiangshun
|
||||
* @date 2025-11-09
|
||||
*/
|
||||
@Api(tags ="面试信息")
|
||||
@RestController
|
||||
@RequestMapping("/hotake/interviewInfo")
|
||||
public class HotakeInterviewInfoController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IHotakeInterviewInfoService hotakeInterviewInfoService;
|
||||
|
||||
/**
|
||||
* 查询面试信息列表
|
||||
*/
|
||||
@ApiOperation("查询面试信息列表")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:interviewInfo:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(HotakeInterviewInfo hotakeInterviewInfo)
|
||||
{
|
||||
startPage();
|
||||
List<HotakeInterviewInfo> list = hotakeInterviewInfoService.selectHotakeInterviewInfoList(hotakeInterviewInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取面试信息详细信息
|
||||
*/
|
||||
@ApiOperation("获取面试信息详细信息")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:interviewInfo:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public R<HotakeInterviewInfo> getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return R.ok(hotakeInterviewInfoService.selectHotakeInterviewInfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增面试信息
|
||||
*/
|
||||
@ApiOperation("新增面试信息")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:interviewInfo:add')")
|
||||
@Log(title = "面试信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public R<HotakeInterviewInfo> add(@RequestBody HotakeInterviewInfo hotakeInterviewInfo)
|
||||
{
|
||||
return R.ok(hotakeInterviewInfoService.insertHotakeInterviewInfo(hotakeInterviewInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改面试信息
|
||||
*/
|
||||
@ApiOperation("修改面试信息")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:interviewInfo:edit')")
|
||||
@Log(title = "面试信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public R<HotakeInterviewInfo> edit(@RequestBody HotakeInterviewInfo hotakeInterviewInfo)
|
||||
{
|
||||
return R.ok(hotakeInterviewInfoService.updateHotakeInterviewInfo(hotakeInterviewInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除面试信息
|
||||
*/
|
||||
@ApiOperation("删除面试信息")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:interviewInfo:remove')")
|
||||
@Log(title = "面试信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return R.ok(hotakeInterviewInfoService.deleteHotakeInterviewInfoByIds(ids));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
package com.vetti.web.controller.hotake;
|
||||
|
||||
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.enums.BusinessType;
|
||||
import com.vetti.hotake.domain.HotakeMeetingCalendarDetail;
|
||||
import com.vetti.hotake.service.IHotakeMeetingCalendarDetailService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 会议日历记录明细Controller
|
||||
*
|
||||
* @author wangxiangshun
|
||||
* @date 2025-11-09
|
||||
*/
|
||||
@Api(tags ="会议日历记录明细")
|
||||
@RestController
|
||||
@RequestMapping("/hotake/meetingCalendarDetail")
|
||||
public class HotakeMeetingCalendarDetailController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IHotakeMeetingCalendarDetailService hotakeMeetingCalendarDetailService;
|
||||
|
||||
/**
|
||||
* 查询会议日历记录明细列表
|
||||
*/
|
||||
@ApiOperation("查询会议日历记录明细列表")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarDetail:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(HotakeMeetingCalendarDetail hotakeMeetingCalendarDetail)
|
||||
{
|
||||
startPage();
|
||||
List<HotakeMeetingCalendarDetail> list = hotakeMeetingCalendarDetailService.selectHotakeMeetingCalendarDetailList(hotakeMeetingCalendarDetail);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取会议日历记录明细详细信息
|
||||
*/
|
||||
@ApiOperation("获取会议日历记录明细详细信息")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarDetail:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public R<HotakeMeetingCalendarDetail> getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return R.ok(hotakeMeetingCalendarDetailService.selectHotakeMeetingCalendarDetailById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增会议日历记录明细
|
||||
*/
|
||||
@ApiOperation("新增会议日历记录明细")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarDetail:add')")
|
||||
@Log(title = "会议日历记录明细", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public R<HotakeMeetingCalendarDetail> add(@RequestBody HotakeMeetingCalendarDetail hotakeMeetingCalendarDetail)
|
||||
{
|
||||
return R.ok(hotakeMeetingCalendarDetailService.insertHotakeMeetingCalendarDetail(hotakeMeetingCalendarDetail));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改会议日历记录明细
|
||||
*/
|
||||
@ApiOperation("修改会议日历记录明细")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarDetail:edit')")
|
||||
@Log(title = "会议日历记录明细", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public R<HotakeMeetingCalendarDetail> edit(@RequestBody HotakeMeetingCalendarDetail hotakeMeetingCalendarDetail)
|
||||
{
|
||||
return R.ok(hotakeMeetingCalendarDetailService.updateHotakeMeetingCalendarDetail(hotakeMeetingCalendarDetail));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除会议日历记录明细
|
||||
*/
|
||||
@ApiOperation("删除会议日历记录明细")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarDetail:remove')")
|
||||
@Log(title = "会议日历记录明细", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return R.ok(hotakeMeetingCalendarDetailService.deleteHotakeMeetingCalendarDetailByIds(ids));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
package com.vetti.web.controller.hotake;
|
||||
|
||||
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.enums.BusinessType;
|
||||
import com.vetti.hotake.domain.HotakeMeetingCalendarInfo;
|
||||
import com.vetti.hotake.service.IHotakeMeetingCalendarInfoService;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 会议日历记录主Controller
|
||||
*
|
||||
* @author wangxiangshun
|
||||
* @date 2025-11-09
|
||||
*/
|
||||
@Api(tags ="会议日历记录主")
|
||||
@RestController
|
||||
@RequestMapping("/hotake/meetingCalendarInfo")
|
||||
public class HotakeMeetingCalendarInfoController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IHotakeMeetingCalendarInfoService hotakeMeetingCalendarInfoService;
|
||||
|
||||
/**
|
||||
* 查询会议日历记录主列表
|
||||
*/
|
||||
@ApiOperation("查询会议日历记录主列表")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarInfo:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(HotakeMeetingCalendarInfo hotakeMeetingCalendarInfo)
|
||||
{
|
||||
startPage();
|
||||
List<HotakeMeetingCalendarInfo> list = hotakeMeetingCalendarInfoService.selectHotakeMeetingCalendarInfoList(hotakeMeetingCalendarInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取会议日历记录主详细信息
|
||||
*/
|
||||
@ApiOperation("获取会议日历记录主详细信息")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarInfo:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public R<HotakeMeetingCalendarInfo> getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return R.ok(hotakeMeetingCalendarInfoService.selectHotakeMeetingCalendarInfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增会议日历记录主
|
||||
*/
|
||||
@ApiOperation("新增会议日历记录主")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarInfo:add')")
|
||||
@Log(title = "会议日历记录主", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public R<HotakeMeetingCalendarInfo> add(@RequestBody HotakeMeetingCalendarInfo hotakeMeetingCalendarInfo)
|
||||
{
|
||||
return R.ok(hotakeMeetingCalendarInfoService.insertHotakeMeetingCalendarInfo(hotakeMeetingCalendarInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改会议日历记录主
|
||||
*/
|
||||
@ApiOperation("修改会议日历记录主")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarInfo:edit')")
|
||||
@Log(title = "会议日历记录主", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public R<HotakeMeetingCalendarInfo> edit(@RequestBody HotakeMeetingCalendarInfo hotakeMeetingCalendarInfo)
|
||||
{
|
||||
return R.ok(hotakeMeetingCalendarInfoService.updateHotakeMeetingCalendarInfo(hotakeMeetingCalendarInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除会议日历记录主
|
||||
*/
|
||||
@ApiOperation("删除会议日历记录主")
|
||||
@PreAuthorize("@ss.hasPermi('hotake:meetingCalendarInfo:remove')")
|
||||
@Log(title = "会议日历记录主", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public R remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return R.ok(hotakeMeetingCalendarInfoService.deleteHotakeMeetingCalendarInfoByIds(ids));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user