应征入伍保留学籍
This commit is contained in:
@@ -0,0 +1,183 @@
|
||||
package com.srs.routine.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.srs.common.annotation.Excel;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
import com.srs.common.core.domain.BaseEntity;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 应征入伍保留学籍申请对象 rt_enlistment_reserve
|
||||
*
|
||||
* @author srs
|
||||
* @date 2025-10-31
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@ApiModel(value = "RtEnlistmentReserve对象" , description = "应征入伍保留学籍申请表")
|
||||
@TableName("rt_enlistment_reserve")
|
||||
public class RtEnlistmentReserve extends BaseEntity{
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@ApiModelProperty("主键")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 申请编号(规则:RY+年份+6位序号,如RY2024000001)
|
||||
*/
|
||||
@ApiModelProperty("申请编号(规则:RY+年份+6位序号,如RY2024000001)")
|
||||
@TableField("apply_no")
|
||||
@Excel(name = "申请编号" , readConverterExp = "规=则:RY+年份+6位序号,如RY2024000001")
|
||||
private String applyNo;
|
||||
|
||||
/**
|
||||
* 学生ID(关联sys_user)
|
||||
*/
|
||||
@ApiModelProperty("学生ID(关联sys_user)")
|
||||
@TableField("student_id")
|
||||
@Excel(name = "学生ID" , readConverterExp = "关=联sys_user")
|
||||
private Long studentId;
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
@ApiModelProperty("姓名")
|
||||
@TableField("student_name")
|
||||
@Excel(name = "姓名")
|
||||
private String studentName;
|
||||
|
||||
/**
|
||||
* 性别(0-男
|
||||
*/
|
||||
@ApiModelProperty("性别(0-男")
|
||||
@TableField("gender")
|
||||
@Excel(name = "性别" , readConverterExp = "性别(0-男")
|
||||
private String gender;
|
||||
|
||||
/**
|
||||
* 民族
|
||||
*/
|
||||
@ApiModelProperty("民族")
|
||||
@TableField("nation")
|
||||
@Excel(name = "民族")
|
||||
private String nation;
|
||||
|
||||
/**
|
||||
* 年级
|
||||
*/
|
||||
@ApiModelProperty("年级")
|
||||
@TableField("grade")
|
||||
@Excel(name = "年级")
|
||||
private String grade;
|
||||
|
||||
/**
|
||||
* 学号
|
||||
*/
|
||||
@ApiModelProperty("学号")
|
||||
@TableField("student_no")
|
||||
@Excel(name = "学号")
|
||||
private String studentNo;
|
||||
|
||||
/**
|
||||
* 班级
|
||||
*/
|
||||
@ApiModelProperty("班级")
|
||||
@TableField("class_name")
|
||||
@Excel(name = "班级")
|
||||
private String className;
|
||||
|
||||
/**
|
||||
* 专业名称
|
||||
*/
|
||||
@ApiModelProperty("专业名称")
|
||||
@TableField("major")
|
||||
@Excel(name = "专业名称")
|
||||
private String major;
|
||||
|
||||
/**
|
||||
* 家庭地址
|
||||
*/
|
||||
@ApiModelProperty("家庭地址")
|
||||
@TableField("family_address")
|
||||
@Excel(name = "家庭地址")
|
||||
private String familyAddress;
|
||||
|
||||
/**
|
||||
* 家长联系电话
|
||||
*/
|
||||
@ApiModelProperty("家长联系电话")
|
||||
@TableField("parent_phone")
|
||||
@Excel(name = "家长联系电话")
|
||||
private String parentPhone;
|
||||
|
||||
/**
|
||||
* 申请理由(含入伍时间、服役期限)
|
||||
*/
|
||||
@ApiModelProperty("申请理由(含入伍时间、服役期限)")
|
||||
@TableField("apply_reason")
|
||||
@Excel(name = "申请理由" , readConverterExp = "含=入伍时间、服役期限")
|
||||
private String applyReason;
|
||||
|
||||
/**
|
||||
* 申请状态(0-草稿
|
||||
*/
|
||||
@ApiModelProperty("申请状态(0-草稿")
|
||||
@TableField("apply_status")
|
||||
@Excel(name = "申请状态" , readConverterExp = "申请状态(0-草稿")
|
||||
private Long applyStatus;
|
||||
|
||||
/**
|
||||
* Flowable流程实例ID
|
||||
*/
|
||||
@ApiModelProperty("Flowable流程实例ID")
|
||||
@TableField("process_instance_id")
|
||||
@Excel(name = "Flowable流程实例ID")
|
||||
private String processInstanceId;
|
||||
|
||||
/**
|
||||
* 保留学籍编号(审批通过后生成)
|
||||
*/
|
||||
@ApiModelProperty("保留学籍编号(审批通过后生成)")
|
||||
@TableField("reserve_no")
|
||||
@Excel(name = "保留学籍编号" , readConverterExp = "审=批通过后生成")
|
||||
private String reserveNo;
|
||||
|
||||
/**
|
||||
* 保留学籍开始日期
|
||||
*/
|
||||
@ApiModelProperty("保留学籍开始日期")
|
||||
@TableField("reserve_start_date")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "保留学籍开始日期" , width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date reserveStartDate;
|
||||
|
||||
/**
|
||||
* 保留学籍结束日期(入伍时间+服役期限)
|
||||
*/
|
||||
@ApiModelProperty("保留学籍结束日期(入伍时间+服役期限)")
|
||||
@TableField("reserve_end_date")
|
||||
@Excel(name = "保留学籍结束日期" , readConverterExp = "入=伍时间+服役期限")
|
||||
private Date reserveEndDate;
|
||||
|
||||
/**
|
||||
* 批文号
|
||||
*/
|
||||
@ApiModelProperty("批文号")
|
||||
@TableField("approval_no")
|
||||
@Excel(name = "批文号")
|
||||
private String approvalNo;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
package com.srs.routine.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.srs.common.annotation.Excel;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
import com.srs.common.core.domain.BaseEntity;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 保留学籍审批记录对象 rt_enlistment_reserve_approval
|
||||
*
|
||||
* @author srs
|
||||
* @date 2025-10-31
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@ApiModel(value = "RtEnlistmentReserveApproval对象" , description = "保留学籍审批记录")
|
||||
@TableName("rt_enlistment_reserve_approval")
|
||||
public class RtEnlistmentReserveApproval extends BaseEntity{
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@ApiModelProperty("主键")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 申请表ID
|
||||
*/
|
||||
@ApiModelProperty("申请表ID")
|
||||
@TableField("apply_id")
|
||||
@Excel(name = "申请表ID")
|
||||
private Long applyId;
|
||||
|
||||
/**
|
||||
* 流程实例ID
|
||||
*/
|
||||
@ApiModelProperty("流程实例ID")
|
||||
@TableField("process_instance_id")
|
||||
@Excel(name = "流程实例ID")
|
||||
private String processInstanceId;
|
||||
|
||||
/**
|
||||
* Flowable任务ID
|
||||
*/
|
||||
@ApiModelProperty("Flowable任务ID")
|
||||
@TableField("task_id")
|
||||
@Excel(name = "Flowable任务ID")
|
||||
private String taskId;
|
||||
|
||||
/**
|
||||
* 审批节点(辅导员/学务等)
|
||||
*/
|
||||
@ApiModelProperty("审批节点(辅导员/学务等)")
|
||||
@TableField("node_name")
|
||||
@Excel(name = "审批节点" , readConverterExp = "辅=导员/学务等")
|
||||
private String nodeName;
|
||||
|
||||
/**
|
||||
* 审批人ID(关联sys_user)
|
||||
*/
|
||||
@ApiModelProperty("审批人ID(关联sys_user)")
|
||||
@TableField("approver_id")
|
||||
@Excel(name = "审批人ID" , readConverterExp = "关=联sys_user")
|
||||
private Long approverId;
|
||||
|
||||
/**
|
||||
* 审批人姓名
|
||||
*/
|
||||
@ApiModelProperty("审批人姓名")
|
||||
@TableField("approver_name")
|
||||
@Excel(name = "审批人姓名")
|
||||
private String approverName;
|
||||
|
||||
/**
|
||||
* 审批意见
|
||||
*/
|
||||
@ApiModelProperty("审批意见")
|
||||
@TableField("approval_opinion")
|
||||
@Excel(name = "审批意见")
|
||||
private String approvalOpinion;
|
||||
|
||||
/**
|
||||
* 审批结果(1-通过
|
||||
*/
|
||||
@ApiModelProperty("审批结果(1-通过")
|
||||
@TableField("approval_result")
|
||||
@Excel(name = "审批结果" , readConverterExp = "审批结果(1-通过")
|
||||
private Long approvalResult;
|
||||
|
||||
/**
|
||||
* 审批时间
|
||||
*/
|
||||
@ApiModelProperty("审批时间")
|
||||
@TableField("approval_time")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "审批时间" , width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date approvalTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
package com.srs.routine.domain;
|
||||
|
||||
import com.srs.common.annotation.Excel;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
import com.srs.common.core.domain.BaseEntity;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 保留学籍申请附件(入伍通知书等)对象 rt_enlistment_reserve_attach
|
||||
*
|
||||
* @author srs
|
||||
* @date 2025-10-31
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@ApiModel(value = "RtEnlistmentReserveAttach对象" , description = "保留学籍申请附件(入伍通知书等)")
|
||||
@TableName("rt_enlistment_reserve_attach")
|
||||
public class RtEnlistmentReserveAttach extends BaseEntity{
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@ApiModelProperty("主键")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 申请表ID
|
||||
*/
|
||||
@ApiModelProperty("申请表ID")
|
||||
@TableField("apply_id")
|
||||
@Excel(name = "申请表ID")
|
||||
private Long applyId;
|
||||
|
||||
/**
|
||||
* 文件名
|
||||
*/
|
||||
@ApiModelProperty("文件名")
|
||||
@TableField("file_name")
|
||||
@Excel(name = "文件名")
|
||||
private String fileName;
|
||||
|
||||
/**
|
||||
* 文件路径(关联sys_file表)
|
||||
*/
|
||||
@ApiModelProperty("文件路径(关联sys_file表)")
|
||||
@TableField("file_path")
|
||||
@Excel(name = "文件路径" , readConverterExp = "关=联sys_file表")
|
||||
private String filePath;
|
||||
|
||||
/**
|
||||
* 文件大小(字节)
|
||||
*/
|
||||
@ApiModelProperty("文件大小(字节)")
|
||||
@TableField("file_size")
|
||||
@Excel(name = "文件大小" , readConverterExp = "字=节")
|
||||
private Long fileSize;
|
||||
|
||||
/**
|
||||
* 文件类型(如pdf、jpg)
|
||||
*/
|
||||
@ApiModelProperty("文件类型(如pdf、jpg)")
|
||||
@TableField("file_type")
|
||||
@Excel(name = "文件类型" , readConverterExp = "如=pdf、jpg")
|
||||
private String fileType;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.srs.routine.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.srs.routine.domain.RtEnlistmentReserveApproval;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 保留学籍审批记录Mapper接口
|
||||
*
|
||||
* @author srs
|
||||
* @date 2025-10-31
|
||||
*/
|
||||
public interface RtEnlistmentReserveApprovalMapper extends BaseMapper<RtEnlistmentReserveApproval> {
|
||||
/**
|
||||
* 查询保留学籍审批记录
|
||||
*
|
||||
* @param id 保留学籍审批记录主键
|
||||
* @return 保留学籍审批记录
|
||||
*/
|
||||
public RtEnlistmentReserveApproval selectRtEnlistmentReserveApprovalById(Long id);
|
||||
|
||||
/**
|
||||
* 查询保留学籍审批记录列表
|
||||
*
|
||||
* @param rtEnlistmentReserveApproval 保留学籍审批记录
|
||||
* @return 保留学籍审批记录集合
|
||||
*/
|
||||
List<RtEnlistmentReserveApproval> selectRtEnlistmentReserveApprovalList(RtEnlistmentReserveApproval rtEnlistmentReserveApproval);
|
||||
|
||||
/**
|
||||
* 新增保留学籍审批记录
|
||||
*
|
||||
* @param rtEnlistmentReserveApproval 保留学籍审批记录
|
||||
* @return 结果
|
||||
*/
|
||||
int insertRtEnlistmentReserveApproval(RtEnlistmentReserveApproval rtEnlistmentReserveApproval);
|
||||
|
||||
/**
|
||||
* 修改保留学籍审批记录
|
||||
*
|
||||
* @param rtEnlistmentReserveApproval 保留学籍审批记录
|
||||
* @return 结果
|
||||
*/
|
||||
int updateRtEnlistmentReserveApproval(RtEnlistmentReserveApproval rtEnlistmentReserveApproval);
|
||||
|
||||
/**
|
||||
* 删除保留学籍审批记录
|
||||
*
|
||||
* @param id 保留学籍审批记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteRtEnlistmentReserveApprovalById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除保留学籍审批记录
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteRtEnlistmentReserveApprovalByIds(Long[] ids);
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.srs.routine.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.srs.routine.domain.RtEnlistmentReserveAttach;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 保留学籍申请附件(入伍通知书等)Mapper接口
|
||||
*
|
||||
* @author srs
|
||||
* @date 2025-10-31
|
||||
*/
|
||||
public interface RtEnlistmentReserveAttachMapper extends BaseMapper<RtEnlistmentReserveAttach> {
|
||||
/**
|
||||
* 查询保留学籍申请附件(入伍通知书等)
|
||||
*
|
||||
* @param id 保留学籍申请附件(入伍通知书等)主键
|
||||
* @return 保留学籍申请附件(入伍通知书等)
|
||||
*/
|
||||
public RtEnlistmentReserveAttach selectRtEnlistmentReserveAttachById(Long id);
|
||||
|
||||
/**
|
||||
* 查询保留学籍申请附件(入伍通知书等)列表
|
||||
*
|
||||
* @param rtEnlistmentReserveAttach 保留学籍申请附件(入伍通知书等)
|
||||
* @return 保留学籍申请附件(入伍通知书等)集合
|
||||
*/
|
||||
List<RtEnlistmentReserveAttach> selectRtEnlistmentReserveAttachList(RtEnlistmentReserveAttach rtEnlistmentReserveAttach);
|
||||
|
||||
/**
|
||||
* 新增保留学籍申请附件(入伍通知书等)
|
||||
*
|
||||
* @param rtEnlistmentReserveAttach 保留学籍申请附件(入伍通知书等)
|
||||
* @return 结果
|
||||
*/
|
||||
int insertRtEnlistmentReserveAttach(RtEnlistmentReserveAttach rtEnlistmentReserveAttach);
|
||||
|
||||
/**
|
||||
* 修改保留学籍申请附件(入伍通知书等)
|
||||
*
|
||||
* @param rtEnlistmentReserveAttach 保留学籍申请附件(入伍通知书等)
|
||||
* @return 结果
|
||||
*/
|
||||
int updateRtEnlistmentReserveAttach(RtEnlistmentReserveAttach rtEnlistmentReserveAttach);
|
||||
|
||||
/**
|
||||
* 删除保留学籍申请附件(入伍通知书等)
|
||||
*
|
||||
* @param id 保留学籍申请附件(入伍通知书等)主键
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteRtEnlistmentReserveAttachById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除保留学籍申请附件(入伍通知书等)
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteRtEnlistmentReserveAttachByIds(Long[] ids);
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.srs.routine.mapper;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.srs.routine.domain.RtEnlistmentReserve;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 应征入伍保留学籍申请Mapper接口
|
||||
*
|
||||
* @author srs
|
||||
* @date 2025-10-31
|
||||
*/
|
||||
public interface RtEnlistmentReserveMapper extends BaseMapper<RtEnlistmentReserve> {
|
||||
/**
|
||||
* 查询应征入伍保留学籍申请
|
||||
*
|
||||
* @param id 应征入伍保留学籍申请主键
|
||||
* @return 应征入伍保留学籍申请
|
||||
*/
|
||||
public RtEnlistmentReserve selectRtEnlistmentReserveById(Long id);
|
||||
|
||||
/**
|
||||
* 查询应征入伍保留学籍申请列表
|
||||
*
|
||||
* @param rtEnlistmentReserve 应征入伍保留学籍申请
|
||||
* @return 应征入伍保留学籍申请集合
|
||||
*/
|
||||
List<RtEnlistmentReserve> selectRtEnlistmentReserveList(RtEnlistmentReserve rtEnlistmentReserve);
|
||||
|
||||
/**
|
||||
* 新增应征入伍保留学籍申请
|
||||
*
|
||||
* @param rtEnlistmentReserve 应征入伍保留学籍申请
|
||||
* @return 结果
|
||||
*/
|
||||
int insertRtEnlistmentReserve(RtEnlistmentReserve rtEnlistmentReserve);
|
||||
|
||||
/**
|
||||
* 修改应征入伍保留学籍申请
|
||||
*
|
||||
* @param rtEnlistmentReserve 应征入伍保留学籍申请
|
||||
* @return 结果
|
||||
*/
|
||||
int updateRtEnlistmentReserve(RtEnlistmentReserve rtEnlistmentReserve);
|
||||
|
||||
/**
|
||||
* 删除应征入伍保留学籍申请
|
||||
*
|
||||
* @param id 应征入伍保留学籍申请主键
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteRtEnlistmentReserveById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除应征入伍保留学籍申请
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteRtEnlistmentReserveByIds(Long[] ids);
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.srs.routine.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.srs.routine.domain.RtEnlistmentReserveApproval;
|
||||
|
||||
/**
|
||||
* 保留学籍审批记录Service接口
|
||||
*
|
||||
* @author srs
|
||||
* @date 2025-10-31
|
||||
*/
|
||||
public interface IRtEnlistmentReserveApprovalService extends IService<RtEnlistmentReserveApproval> {
|
||||
/**
|
||||
* 查询保留学籍审批记录
|
||||
*
|
||||
* @param id 保留学籍审批记录主键
|
||||
* @return 保留学籍审批记录
|
||||
*/
|
||||
public RtEnlistmentReserveApproval selectRtEnlistmentReserveApprovalById(Long id);
|
||||
|
||||
/**
|
||||
* 查询保留学籍审批记录列表
|
||||
*
|
||||
* @param rtEnlistmentReserveApproval 保留学籍审批记录
|
||||
* @return 保留学籍审批记录集合
|
||||
*/
|
||||
List<RtEnlistmentReserveApproval> selectRtEnlistmentReserveApprovalList(RtEnlistmentReserveApproval rtEnlistmentReserveApproval);
|
||||
|
||||
/**
|
||||
* 新增保留学籍审批记录
|
||||
*
|
||||
* @param rtEnlistmentReserveApproval 保留学籍审批记录
|
||||
* @return 结果
|
||||
*/
|
||||
int insertRtEnlistmentReserveApproval(RtEnlistmentReserveApproval rtEnlistmentReserveApproval);
|
||||
|
||||
/**
|
||||
* 修改保留学籍审批记录
|
||||
*
|
||||
* @param rtEnlistmentReserveApproval 保留学籍审批记录
|
||||
* @return 结果
|
||||
*/
|
||||
int updateRtEnlistmentReserveApproval(RtEnlistmentReserveApproval rtEnlistmentReserveApproval);
|
||||
|
||||
/**
|
||||
* 批量删除保留学籍审批记录
|
||||
*
|
||||
* @param ids 需要删除的保留学籍审批记录主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteRtEnlistmentReserveApprovalByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除保留学籍审批记录信息
|
||||
*
|
||||
* @param id 保留学籍审批记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteRtEnlistmentReserveApprovalById(Long id);
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.srs.routine.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.srs.routine.domain.RtEnlistmentReserveAttach;
|
||||
|
||||
/**
|
||||
* 保留学籍申请附件(入伍通知书等)Service接口
|
||||
*
|
||||
* @author srs
|
||||
* @date 2025-10-31
|
||||
*/
|
||||
public interface IRtEnlistmentReserveAttachService extends IService<RtEnlistmentReserveAttach> {
|
||||
/**
|
||||
* 查询保留学籍申请附件(入伍通知书等)
|
||||
*
|
||||
* @param id 保留学籍申请附件(入伍通知书等)主键
|
||||
* @return 保留学籍申请附件(入伍通知书等)
|
||||
*/
|
||||
public RtEnlistmentReserveAttach selectRtEnlistmentReserveAttachById(Long id);
|
||||
|
||||
/**
|
||||
* 查询保留学籍申请附件(入伍通知书等)列表
|
||||
*
|
||||
* @param rtEnlistmentReserveAttach 保留学籍申请附件(入伍通知书等)
|
||||
* @return 保留学籍申请附件(入伍通知书等)集合
|
||||
*/
|
||||
List<RtEnlistmentReserveAttach> selectRtEnlistmentReserveAttachList(RtEnlistmentReserveAttach rtEnlistmentReserveAttach);
|
||||
|
||||
/**
|
||||
* 新增保留学籍申请附件(入伍通知书等)
|
||||
*
|
||||
* @param rtEnlistmentReserveAttach 保留学籍申请附件(入伍通知书等)
|
||||
* @return 结果
|
||||
*/
|
||||
int insertRtEnlistmentReserveAttach(RtEnlistmentReserveAttach rtEnlistmentReserveAttach);
|
||||
|
||||
/**
|
||||
* 修改保留学籍申请附件(入伍通知书等)
|
||||
*
|
||||
* @param rtEnlistmentReserveAttach 保留学籍申请附件(入伍通知书等)
|
||||
* @return 结果
|
||||
*/
|
||||
int updateRtEnlistmentReserveAttach(RtEnlistmentReserveAttach rtEnlistmentReserveAttach);
|
||||
|
||||
/**
|
||||
* 批量删除保留学籍申请附件(入伍通知书等)
|
||||
*
|
||||
* @param ids 需要删除的保留学籍申请附件(入伍通知书等)主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteRtEnlistmentReserveAttachByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除保留学籍申请附件(入伍通知书等)信息
|
||||
*
|
||||
* @param id 保留学籍申请附件(入伍通知书等)主键
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteRtEnlistmentReserveAttachById(Long id);
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.srs.routine.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.srs.routine.domain.RtEnlistmentReserve;
|
||||
|
||||
/**
|
||||
* 应征入伍保留学籍申请Service接口
|
||||
*
|
||||
* @author srs
|
||||
* @date 2025-10-31
|
||||
*/
|
||||
public interface IRtEnlistmentReserveService extends IService<RtEnlistmentReserve> {
|
||||
/**
|
||||
* 查询应征入伍保留学籍申请
|
||||
*
|
||||
* @param id 应征入伍保留学籍申请主键
|
||||
* @return 应征入伍保留学籍申请
|
||||
*/
|
||||
public RtEnlistmentReserve selectRtEnlistmentReserveById(Long id);
|
||||
|
||||
/**
|
||||
* 查询应征入伍保留学籍申请列表
|
||||
*
|
||||
* @param rtEnlistmentReserve 应征入伍保留学籍申请
|
||||
* @return 应征入伍保留学籍申请集合
|
||||
*/
|
||||
List<RtEnlistmentReserve> selectRtEnlistmentReserveList(RtEnlistmentReserve rtEnlistmentReserve);
|
||||
|
||||
/**
|
||||
* 新增应征入伍保留学籍申请
|
||||
*
|
||||
* @param rtEnlistmentReserve 应征入伍保留学籍申请
|
||||
* @return 结果
|
||||
*/
|
||||
int insertRtEnlistmentReserve(RtEnlistmentReserve rtEnlistmentReserve);
|
||||
|
||||
/**
|
||||
* 修改应征入伍保留学籍申请
|
||||
*
|
||||
* @param rtEnlistmentReserve 应征入伍保留学籍申请
|
||||
* @return 结果
|
||||
*/
|
||||
int updateRtEnlistmentReserve(RtEnlistmentReserve rtEnlistmentReserve);
|
||||
|
||||
/**
|
||||
* 批量删除应征入伍保留学籍申请
|
||||
*
|
||||
* @param ids 需要删除的应征入伍保留学籍申请主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteRtEnlistmentReserveByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除应征入伍保留学籍申请信息
|
||||
*
|
||||
* @param id 应征入伍保留学籍申请主键
|
||||
* @return 结果
|
||||
*/
|
||||
int deleteRtEnlistmentReserveById(Long id);
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
package com.srs.routine.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.srs.routine.mapper.RtEnlistmentReserveApprovalMapper;
|
||||
import com.srs.routine.domain.RtEnlistmentReserveApproval;
|
||||
import com.srs.routine.service.IRtEnlistmentReserveApprovalService;
|
||||
|
||||
/**
|
||||
* 保留学籍审批记录Service业务层处理
|
||||
*
|
||||
* @author srs
|
||||
* @date 2025-10-31
|
||||
*/
|
||||
@Service
|
||||
public class RtEnlistmentReserveApprovalServiceImpl extends ServiceImpl<RtEnlistmentReserveApprovalMapper,RtEnlistmentReserveApproval> implements IRtEnlistmentReserveApprovalService {
|
||||
@Autowired
|
||||
private RtEnlistmentReserveApprovalMapper rtEnlistmentReserveApprovalMapper;
|
||||
|
||||
/**
|
||||
* 查询保留学籍审批记录
|
||||
*
|
||||
* @param id 保留学籍审批记录主键
|
||||
* @return 保留学籍审批记录
|
||||
*/
|
||||
@Override
|
||||
public RtEnlistmentReserveApproval selectRtEnlistmentReserveApprovalById(Long id) {
|
||||
return rtEnlistmentReserveApprovalMapper.selectRtEnlistmentReserveApprovalById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询保留学籍审批记录列表
|
||||
*
|
||||
* @param rtEnlistmentReserveApproval 保留学籍审批记录
|
||||
* @return 保留学籍审批记录
|
||||
*/
|
||||
@Override
|
||||
public List<RtEnlistmentReserveApproval> selectRtEnlistmentReserveApprovalList(RtEnlistmentReserveApproval rtEnlistmentReserveApproval) {
|
||||
return rtEnlistmentReserveApprovalMapper.selectRtEnlistmentReserveApprovalList(rtEnlistmentReserveApproval);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增保留学籍审批记录
|
||||
*
|
||||
* @param rtEnlistmentReserveApproval 保留学籍审批记录
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertRtEnlistmentReserveApproval(RtEnlistmentReserveApproval rtEnlistmentReserveApproval) {
|
||||
return rtEnlistmentReserveApprovalMapper.insertRtEnlistmentReserveApproval(rtEnlistmentReserveApproval);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改保留学籍审批记录
|
||||
*
|
||||
* @param rtEnlistmentReserveApproval 保留学籍审批记录
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateRtEnlistmentReserveApproval(RtEnlistmentReserveApproval rtEnlistmentReserveApproval) {
|
||||
return rtEnlistmentReserveApprovalMapper.updateRtEnlistmentReserveApproval(rtEnlistmentReserveApproval);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除保留学籍审批记录
|
||||
*
|
||||
* @param ids 需要删除的保留学籍审批记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteRtEnlistmentReserveApprovalByIds(Long[] ids) {
|
||||
return rtEnlistmentReserveApprovalMapper.deleteRtEnlistmentReserveApprovalByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除保留学籍审批记录信息
|
||||
*
|
||||
* @param id 保留学籍审批记录主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteRtEnlistmentReserveApprovalById(Long id) {
|
||||
return rtEnlistmentReserveApprovalMapper.deleteRtEnlistmentReserveApprovalById(id);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
package com.srs.routine.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.srs.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.srs.routine.mapper.RtEnlistmentReserveAttachMapper;
|
||||
import com.srs.routine.domain.RtEnlistmentReserveAttach;
|
||||
import com.srs.routine.service.IRtEnlistmentReserveAttachService;
|
||||
|
||||
/**
|
||||
* 保留学籍申请附件(入伍通知书等)Service业务层处理
|
||||
*
|
||||
* @author srs
|
||||
* @date 2025-10-31
|
||||
*/
|
||||
@Service
|
||||
public class RtEnlistmentReserveAttachServiceImpl extends ServiceImpl<RtEnlistmentReserveAttachMapper,RtEnlistmentReserveAttach> implements IRtEnlistmentReserveAttachService {
|
||||
@Autowired
|
||||
private RtEnlistmentReserveAttachMapper rtEnlistmentReserveAttachMapper;
|
||||
|
||||
/**
|
||||
* 查询保留学籍申请附件(入伍通知书等)
|
||||
*
|
||||
* @param id 保留学籍申请附件(入伍通知书等)主键
|
||||
* @return 保留学籍申请附件(入伍通知书等)
|
||||
*/
|
||||
@Override
|
||||
public RtEnlistmentReserveAttach selectRtEnlistmentReserveAttachById(Long id) {
|
||||
return rtEnlistmentReserveAttachMapper.selectRtEnlistmentReserveAttachById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询保留学籍申请附件(入伍通知书等)列表
|
||||
*
|
||||
* @param rtEnlistmentReserveAttach 保留学籍申请附件(入伍通知书等)
|
||||
* @return 保留学籍申请附件(入伍通知书等)
|
||||
*/
|
||||
@Override
|
||||
public List<RtEnlistmentReserveAttach> selectRtEnlistmentReserveAttachList(RtEnlistmentReserveAttach rtEnlistmentReserveAttach) {
|
||||
return rtEnlistmentReserveAttachMapper.selectRtEnlistmentReserveAttachList(rtEnlistmentReserveAttach);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增保留学籍申请附件(入伍通知书等)
|
||||
*
|
||||
* @param rtEnlistmentReserveAttach 保留学籍申请附件(入伍通知书等)
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertRtEnlistmentReserveAttach(RtEnlistmentReserveAttach rtEnlistmentReserveAttach) {
|
||||
rtEnlistmentReserveAttach.setCreateTime(DateUtils.getNowDate());
|
||||
return rtEnlistmentReserveAttachMapper.insertRtEnlistmentReserveAttach(rtEnlistmentReserveAttach);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改保留学籍申请附件(入伍通知书等)
|
||||
*
|
||||
* @param rtEnlistmentReserveAttach 保留学籍申请附件(入伍通知书等)
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateRtEnlistmentReserveAttach(RtEnlistmentReserveAttach rtEnlistmentReserveAttach) {
|
||||
return rtEnlistmentReserveAttachMapper.updateRtEnlistmentReserveAttach(rtEnlistmentReserveAttach);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除保留学籍申请附件(入伍通知书等)
|
||||
*
|
||||
* @param ids 需要删除的保留学籍申请附件(入伍通知书等)主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteRtEnlistmentReserveAttachByIds(Long[] ids) {
|
||||
return rtEnlistmentReserveAttachMapper.deleteRtEnlistmentReserveAttachByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除保留学籍申请附件(入伍通知书等)信息
|
||||
*
|
||||
* @param id 保留学籍申请附件(入伍通知书等)主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteRtEnlistmentReserveAttachById(Long id) {
|
||||
return rtEnlistmentReserveAttachMapper.deleteRtEnlistmentReserveAttachById(id);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
package com.srs.routine.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.srs.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.srs.routine.mapper.RtEnlistmentReserveMapper;
|
||||
import com.srs.routine.domain.RtEnlistmentReserve;
|
||||
import com.srs.routine.service.IRtEnlistmentReserveService;
|
||||
|
||||
/**
|
||||
* 应征入伍保留学籍申请Service业务层处理
|
||||
*
|
||||
* @author srs
|
||||
* @date 2025-10-31
|
||||
*/
|
||||
@Service
|
||||
public class RtEnlistmentReserveServiceImpl extends ServiceImpl<RtEnlistmentReserveMapper,RtEnlistmentReserve> implements IRtEnlistmentReserveService {
|
||||
@Autowired
|
||||
private RtEnlistmentReserveMapper rtEnlistmentReserveMapper;
|
||||
|
||||
/**
|
||||
* 查询应征入伍保留学籍申请
|
||||
*
|
||||
* @param id 应征入伍保留学籍申请主键
|
||||
* @return 应征入伍保留学籍申请
|
||||
*/
|
||||
@Override
|
||||
public RtEnlistmentReserve selectRtEnlistmentReserveById(Long id) {
|
||||
return rtEnlistmentReserveMapper.selectRtEnlistmentReserveById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询应征入伍保留学籍申请列表
|
||||
*
|
||||
* @param rtEnlistmentReserve 应征入伍保留学籍申请
|
||||
* @return 应征入伍保留学籍申请
|
||||
*/
|
||||
@Override
|
||||
public List<RtEnlistmentReserve> selectRtEnlistmentReserveList(RtEnlistmentReserve rtEnlistmentReserve) {
|
||||
return rtEnlistmentReserveMapper.selectRtEnlistmentReserveList(rtEnlistmentReserve);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增应征入伍保留学籍申请
|
||||
*
|
||||
* @param rtEnlistmentReserve 应征入伍保留学籍申请
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertRtEnlistmentReserve(RtEnlistmentReserve rtEnlistmentReserve) {
|
||||
rtEnlistmentReserve.setCreateTime(DateUtils.getNowDate());
|
||||
return rtEnlistmentReserveMapper.insertRtEnlistmentReserve(rtEnlistmentReserve);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改应征入伍保留学籍申请
|
||||
*
|
||||
* @param rtEnlistmentReserve 应征入伍保留学籍申请
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateRtEnlistmentReserve(RtEnlistmentReserve rtEnlistmentReserve) {
|
||||
rtEnlistmentReserve.setUpdateTime(DateUtils.getNowDate());
|
||||
return rtEnlistmentReserveMapper.updateRtEnlistmentReserve(rtEnlistmentReserve);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除应征入伍保留学籍申请
|
||||
*
|
||||
* @param ids 需要删除的应征入伍保留学籍申请主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteRtEnlistmentReserveByIds(Long[] ids) {
|
||||
return rtEnlistmentReserveMapper.deleteRtEnlistmentReserveByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除应征入伍保留学籍申请信息
|
||||
*
|
||||
* @param id 应征入伍保留学籍申请主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteRtEnlistmentReserveById(Long id) {
|
||||
return rtEnlistmentReserveMapper.deleteRtEnlistmentReserveById(id);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user