会议记录和面试记录的逻辑初始化
This commit is contained in:
@@ -112,8 +112,10 @@ public class HotakeCvInfoServiceImpl extends BaseServiceImpl implements IHotakeC
|
||||
fileSuffix = fileSuffix.toLowerCase();
|
||||
}
|
||||
hotakeCvInfo.setCvFileSuffix(fileSuffix);
|
||||
//对简历数据进行处理生成相应的题库数据
|
||||
handleHotakeCvInfo(hotakeCvInfo);
|
||||
if("cv".equals(hotakeCvInfo.getCvFileType())){
|
||||
//对简历数据进行处理生成相应的题库数据
|
||||
handleHotakeCvInfo(hotakeCvInfo);
|
||||
}
|
||||
return hotakeCvInfo;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,120 @@
|
||||
package com.vetti.hotake.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.vetti.common.core.service.BaseServiceImpl;
|
||||
import com.vetti.common.enums.FillTypeEnum;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.vetti.hotake.mapper.HotakeInterviewDetailMapper;
|
||||
import com.vetti.hotake.domain.HotakeInterviewDetail;
|
||||
import com.vetti.hotake.service.IHotakeInterviewDetailService;
|
||||
|
||||
/**
|
||||
* 面试信息明细Service业务层处理
|
||||
*
|
||||
* @author wangxiangshun
|
||||
* @date 2025-11-09
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@Service
|
||||
public class HotakeInterviewDetailServiceImpl extends BaseServiceImpl implements IHotakeInterviewDetailService
|
||||
{
|
||||
@Autowired
|
||||
private HotakeInterviewDetailMapper hotakeInterviewDetailMapper;
|
||||
|
||||
/**
|
||||
* 查询面试信息明细
|
||||
*
|
||||
* @param id 面试信息明细主键
|
||||
* @return 面试信息明细
|
||||
*/
|
||||
@Transactional(readOnly = true)
|
||||
@Override
|
||||
public HotakeInterviewDetail selectHotakeInterviewDetailById(Long id)
|
||||
{
|
||||
return hotakeInterviewDetailMapper.selectHotakeInterviewDetailById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询面试信息明细列表
|
||||
*
|
||||
* @param hotakeInterviewDetail 面试信息明细
|
||||
* @return 面试信息明细
|
||||
*/
|
||||
@Transactional(readOnly = true)
|
||||
@Override
|
||||
public List<HotakeInterviewDetail> selectHotakeInterviewDetailList(HotakeInterviewDetail hotakeInterviewDetail)
|
||||
{
|
||||
return hotakeInterviewDetailMapper.selectHotakeInterviewDetailList(hotakeInterviewDetail);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增面试信息明细
|
||||
*
|
||||
* @param hotakeInterviewDetail 面试信息明细
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public HotakeInterviewDetail insertHotakeInterviewDetail(HotakeInterviewDetail hotakeInterviewDetail)
|
||||
{
|
||||
fill(FillTypeEnum.INSERT.getCode(), hotakeInterviewDetail);
|
||||
hotakeInterviewDetailMapper.insertHotakeInterviewDetail(hotakeInterviewDetail);
|
||||
return hotakeInterviewDetail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改面试信息明细
|
||||
*
|
||||
* @param hotakeInterviewDetail 面试信息明细
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public HotakeInterviewDetail updateHotakeInterviewDetail(HotakeInterviewDetail hotakeInterviewDetail)
|
||||
{
|
||||
fill(FillTypeEnum.UPDATE.getCode(), hotakeInterviewDetail);
|
||||
hotakeInterviewDetailMapper.updateHotakeInterviewDetail(hotakeInterviewDetail);
|
||||
return hotakeInterviewDetail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除面试信息明细
|
||||
*
|
||||
* @param ids 需要删除的面试信息明细主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public int deleteHotakeInterviewDetailByIds(Long[] ids)
|
||||
{
|
||||
return hotakeInterviewDetailMapper.deleteHotakeInterviewDetailByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除面试信息明细信息
|
||||
*
|
||||
* @param id 面试信息明细主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public int deleteHotakeInterviewDetailById(Long id)
|
||||
{
|
||||
return hotakeInterviewDetailMapper.deleteHotakeInterviewDetailById(id);
|
||||
}
|
||||
/**
|
||||
* 批量新增面试信息明细
|
||||
*
|
||||
* @param hotakeInterviewDetailList 面试信息明细列表
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public int batchInsertHotakeInterviewDetail(List<HotakeInterviewDetail> hotakeInterviewDetailList){
|
||||
return hotakeInterviewDetailMapper.batchInsertHotakeInterviewDetail(hotakeInterviewDetailList);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
package com.vetti.hotake.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.vetti.common.core.service.BaseServiceImpl;
|
||||
import com.vetti.common.enums.FillTypeEnum;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.vetti.hotake.mapper.HotakeInterviewInfoMapper;
|
||||
import com.vetti.hotake.domain.HotakeInterviewInfo;
|
||||
import com.vetti.hotake.service.IHotakeInterviewInfoService;
|
||||
|
||||
/**
|
||||
* 面试信息Service业务层处理
|
||||
*
|
||||
* @author wangxiangshun
|
||||
* @date 2025-11-09
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@Service
|
||||
public class HotakeInterviewInfoServiceImpl extends BaseServiceImpl implements IHotakeInterviewInfoService
|
||||
{
|
||||
@Autowired
|
||||
private HotakeInterviewInfoMapper hotakeInterviewInfoMapper;
|
||||
|
||||
/**
|
||||
* 查询面试信息
|
||||
*
|
||||
* @param id 面试信息主键
|
||||
* @return 面试信息
|
||||
*/
|
||||
@Transactional(readOnly = true)
|
||||
@Override
|
||||
public HotakeInterviewInfo selectHotakeInterviewInfoById(Long id)
|
||||
{
|
||||
return hotakeInterviewInfoMapper.selectHotakeInterviewInfoById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询面试信息列表
|
||||
*
|
||||
* @param hotakeInterviewInfo 面试信息
|
||||
* @return 面试信息
|
||||
*/
|
||||
@Transactional(readOnly = true)
|
||||
@Override
|
||||
public List<HotakeInterviewInfo> selectHotakeInterviewInfoList(HotakeInterviewInfo hotakeInterviewInfo)
|
||||
{
|
||||
return hotakeInterviewInfoMapper.selectHotakeInterviewInfoList(hotakeInterviewInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增面试信息
|
||||
*
|
||||
* @param hotakeInterviewInfo 面试信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public HotakeInterviewInfo insertHotakeInterviewInfo(HotakeInterviewInfo hotakeInterviewInfo)
|
||||
{
|
||||
fill(FillTypeEnum.INSERT.getCode(), hotakeInterviewInfo);
|
||||
hotakeInterviewInfoMapper.insertHotakeInterviewInfo(hotakeInterviewInfo);
|
||||
return hotakeInterviewInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改面试信息
|
||||
*
|
||||
* @param hotakeInterviewInfo 面试信息
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public HotakeInterviewInfo updateHotakeInterviewInfo(HotakeInterviewInfo hotakeInterviewInfo)
|
||||
{
|
||||
fill(FillTypeEnum.UPDATE.getCode(), hotakeInterviewInfo);
|
||||
hotakeInterviewInfoMapper.updateHotakeInterviewInfo(hotakeInterviewInfo);
|
||||
return hotakeInterviewInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除面试信息
|
||||
*
|
||||
* @param ids 需要删除的面试信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public int deleteHotakeInterviewInfoByIds(Long[] ids)
|
||||
{
|
||||
return hotakeInterviewInfoMapper.deleteHotakeInterviewInfoByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除面试信息信息
|
||||
*
|
||||
* @param id 面试信息主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public int deleteHotakeInterviewInfoById(Long id)
|
||||
{
|
||||
return hotakeInterviewInfoMapper.deleteHotakeInterviewInfoById(id);
|
||||
}
|
||||
/**
|
||||
* 批量新增面试信息
|
||||
*
|
||||
* @param hotakeInterviewInfoList 面试信息列表
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public int batchInsertHotakeInterviewInfo(List<HotakeInterviewInfo> hotakeInterviewInfoList){
|
||||
return hotakeInterviewInfoMapper.batchInsertHotakeInterviewInfo(hotakeInterviewInfoList);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
package com.vetti.hotake.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.vetti.common.core.service.BaseServiceImpl;
|
||||
import com.vetti.common.enums.FillTypeEnum;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.vetti.hotake.mapper.HotakeMeetingCalendarDetailMapper;
|
||||
import com.vetti.hotake.domain.HotakeMeetingCalendarDetail;
|
||||
import com.vetti.hotake.service.IHotakeMeetingCalendarDetailService;
|
||||
|
||||
/**
|
||||
* 会议日历记录明细Service业务层处理
|
||||
*
|
||||
* @author wangxiangshun
|
||||
* @date 2025-11-09
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@Service
|
||||
public class HotakeMeetingCalendarDetailServiceImpl extends BaseServiceImpl implements IHotakeMeetingCalendarDetailService
|
||||
{
|
||||
@Autowired
|
||||
private HotakeMeetingCalendarDetailMapper hotakeMeetingCalendarDetailMapper;
|
||||
|
||||
/**
|
||||
* 查询会议日历记录明细
|
||||
*
|
||||
* @param id 会议日历记录明细主键
|
||||
* @return 会议日历记录明细
|
||||
*/
|
||||
@Transactional(readOnly = true)
|
||||
@Override
|
||||
public HotakeMeetingCalendarDetail selectHotakeMeetingCalendarDetailById(Long id)
|
||||
{
|
||||
return hotakeMeetingCalendarDetailMapper.selectHotakeMeetingCalendarDetailById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询会议日历记录明细列表
|
||||
*
|
||||
* @param hotakeMeetingCalendarDetail 会议日历记录明细
|
||||
* @return 会议日历记录明细
|
||||
*/
|
||||
@Transactional(readOnly = true)
|
||||
@Override
|
||||
public List<HotakeMeetingCalendarDetail> selectHotakeMeetingCalendarDetailList(HotakeMeetingCalendarDetail hotakeMeetingCalendarDetail)
|
||||
{
|
||||
return hotakeMeetingCalendarDetailMapper.selectHotakeMeetingCalendarDetailList(hotakeMeetingCalendarDetail);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增会议日历记录明细
|
||||
*
|
||||
* @param hotakeMeetingCalendarDetail 会议日历记录明细
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public HotakeMeetingCalendarDetail insertHotakeMeetingCalendarDetail(HotakeMeetingCalendarDetail hotakeMeetingCalendarDetail)
|
||||
{
|
||||
fill(FillTypeEnum.INSERT.getCode(), hotakeMeetingCalendarDetail);
|
||||
hotakeMeetingCalendarDetailMapper.insertHotakeMeetingCalendarDetail(hotakeMeetingCalendarDetail);
|
||||
return hotakeMeetingCalendarDetail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改会议日历记录明细
|
||||
*
|
||||
* @param hotakeMeetingCalendarDetail 会议日历记录明细
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public HotakeMeetingCalendarDetail updateHotakeMeetingCalendarDetail(HotakeMeetingCalendarDetail hotakeMeetingCalendarDetail)
|
||||
{
|
||||
fill(FillTypeEnum.UPDATE.getCode(), hotakeMeetingCalendarDetail);
|
||||
hotakeMeetingCalendarDetailMapper.updateHotakeMeetingCalendarDetail(hotakeMeetingCalendarDetail);
|
||||
return hotakeMeetingCalendarDetail;
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除会议日历记录明细
|
||||
*
|
||||
* @param ids 需要删除的会议日历记录明细主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public int deleteHotakeMeetingCalendarDetailByIds(Long[] ids)
|
||||
{
|
||||
return hotakeMeetingCalendarDetailMapper.deleteHotakeMeetingCalendarDetailByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除会议日历记录明细信息
|
||||
*
|
||||
* @param id 会议日历记录明细主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public int deleteHotakeMeetingCalendarDetailById(Long id)
|
||||
{
|
||||
return hotakeMeetingCalendarDetailMapper.deleteHotakeMeetingCalendarDetailById(id);
|
||||
}
|
||||
/**
|
||||
* 批量新增会议日历记录明细
|
||||
*
|
||||
* @param hotakeMeetingCalendarDetailList 会议日历记录明细列表
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public int batchInsertHotakeMeetingCalendarDetail(List<HotakeMeetingCalendarDetail> hotakeMeetingCalendarDetailList){
|
||||
return hotakeMeetingCalendarDetailMapper.batchInsertHotakeMeetingCalendarDetail(hotakeMeetingCalendarDetailList);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
package com.vetti.hotake.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.vetti.common.core.service.BaseServiceImpl;
|
||||
import com.vetti.common.enums.FillTypeEnum;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.vetti.hotake.mapper.HotakeMeetingCalendarInfoMapper;
|
||||
import com.vetti.hotake.domain.HotakeMeetingCalendarInfo;
|
||||
import com.vetti.hotake.service.IHotakeMeetingCalendarInfoService;
|
||||
|
||||
/**
|
||||
* 会议日历记录主Service业务层处理
|
||||
*
|
||||
* @author wangxiangshun
|
||||
* @date 2025-11-09
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
@Service
|
||||
public class HotakeMeetingCalendarInfoServiceImpl extends BaseServiceImpl implements IHotakeMeetingCalendarInfoService
|
||||
{
|
||||
@Autowired
|
||||
private HotakeMeetingCalendarInfoMapper hotakeMeetingCalendarInfoMapper;
|
||||
|
||||
/**
|
||||
* 查询会议日历记录主
|
||||
*
|
||||
* @param id 会议日历记录主主键
|
||||
* @return 会议日历记录主
|
||||
*/
|
||||
@Transactional(readOnly = true)
|
||||
@Override
|
||||
public HotakeMeetingCalendarInfo selectHotakeMeetingCalendarInfoById(Long id)
|
||||
{
|
||||
return hotakeMeetingCalendarInfoMapper.selectHotakeMeetingCalendarInfoById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询会议日历记录主列表
|
||||
*
|
||||
* @param hotakeMeetingCalendarInfo 会议日历记录主
|
||||
* @return 会议日历记录主
|
||||
*/
|
||||
@Transactional(readOnly = true)
|
||||
@Override
|
||||
public List<HotakeMeetingCalendarInfo> selectHotakeMeetingCalendarInfoList(HotakeMeetingCalendarInfo hotakeMeetingCalendarInfo)
|
||||
{
|
||||
return hotakeMeetingCalendarInfoMapper.selectHotakeMeetingCalendarInfoList(hotakeMeetingCalendarInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增会议日历记录主
|
||||
*
|
||||
* @param hotakeMeetingCalendarInfo 会议日历记录主
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public HotakeMeetingCalendarInfo insertHotakeMeetingCalendarInfo(HotakeMeetingCalendarInfo hotakeMeetingCalendarInfo)
|
||||
{
|
||||
fill(FillTypeEnum.INSERT.getCode(), hotakeMeetingCalendarInfo);
|
||||
hotakeMeetingCalendarInfoMapper.insertHotakeMeetingCalendarInfo(hotakeMeetingCalendarInfo);
|
||||
return hotakeMeetingCalendarInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改会议日历记录主
|
||||
*
|
||||
* @param hotakeMeetingCalendarInfo 会议日历记录主
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public HotakeMeetingCalendarInfo updateHotakeMeetingCalendarInfo(HotakeMeetingCalendarInfo hotakeMeetingCalendarInfo)
|
||||
{
|
||||
fill(FillTypeEnum.UPDATE.getCode(), hotakeMeetingCalendarInfo);
|
||||
hotakeMeetingCalendarInfoMapper.updateHotakeMeetingCalendarInfo(hotakeMeetingCalendarInfo);
|
||||
return hotakeMeetingCalendarInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除会议日历记录主
|
||||
*
|
||||
* @param ids 需要删除的会议日历记录主主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public int deleteHotakeMeetingCalendarInfoByIds(Long[] ids)
|
||||
{
|
||||
return hotakeMeetingCalendarInfoMapper.deleteHotakeMeetingCalendarInfoByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除会议日历记录主信息
|
||||
*
|
||||
* @param id 会议日历记录主主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public int deleteHotakeMeetingCalendarInfoById(Long id)
|
||||
{
|
||||
return hotakeMeetingCalendarInfoMapper.deleteHotakeMeetingCalendarInfoById(id);
|
||||
}
|
||||
/**
|
||||
* 批量新增会议日历记录主
|
||||
*
|
||||
* @param hotakeMeetingCalendarInfoList 会议日历记录主列表
|
||||
* @return 结果
|
||||
*/
|
||||
@Transactional(rollbackFor=Exception.class)
|
||||
@Override
|
||||
public int batchInsertHotakeMeetingCalendarInfo(List<HotakeMeetingCalendarInfo> hotakeMeetingCalendarInfoList){
|
||||
return hotakeMeetingCalendarInfoMapper.batchInsertHotakeMeetingCalendarInfo(hotakeMeetingCalendarInfoList);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user