diff --git a/srs-admin/src/main/java/com/srs/web/controller/routine/RtEnlistmentReserveController.java b/srs-admin/src/main/java/com/srs/web/controller/routine/RtEnlistmentReserveController.java index 687f8dc..a9d33df 100644 --- a/srs-admin/src/main/java/com/srs/web/controller/routine/RtEnlistmentReserveController.java +++ b/srs-admin/src/main/java/com/srs/web/controller/routine/RtEnlistmentReserveController.java @@ -2,6 +2,7 @@ package com.srs.web.controller.routine; import java.util.List; import javax.servlet.http.HttpServletResponse; + import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; @@ -37,11 +38,10 @@ public class RtEnlistmentReserveController extends BaseController { /** * 查询应征入伍保留学籍申请列表 */ -@PreAuthorize("@ss.hasPermi('routine:enlistmentReserve:list')") -@GetMapping("/list") -@ApiOperation("查询应征入伍保留学籍申请列表") - public TableDataInfo list(RtEnlistmentReserve rtEnlistmentReserve) - { + @PreAuthorize("@ss.hasPermi('routine:enlistmentReserve:list')") + @GetMapping("/list") + @ApiOperation("查询应征入伍保留学籍申请列表") + public TableDataInfo list(RtEnlistmentReserve rtEnlistmentReserve) { startPage(); List list = rtEnlistmentReserveService.selectRtEnlistmentReserveList(rtEnlistmentReserve); return getDataTable(list); @@ -54,8 +54,7 @@ public class RtEnlistmentReserveController extends BaseController { @Log(title = "应征入伍保留学籍申请", businessType = BusinessType.EXPORT) @PostMapping("/export") @ApiOperation("导出应征入伍保留学籍申请列表") - public void export(HttpServletResponse response, RtEnlistmentReserve rtEnlistmentReserve) - { + public void export(HttpServletResponse response, RtEnlistmentReserve rtEnlistmentReserve) { List list = rtEnlistmentReserveService.selectRtEnlistmentReserveList(rtEnlistmentReserve); ExcelUtil util = new ExcelUtil(RtEnlistmentReserve.class); util.exportExcel(response, list, "应征入伍保留学籍申请数据"); @@ -67,11 +66,20 @@ public class RtEnlistmentReserveController extends BaseController { @PreAuthorize("@ss.hasPermi('routine:enlistmentReserve:query')") @GetMapping(value = "/{id}") @ApiOperation("获取应征入伍保留学籍申请详细信息") - public AjaxResult getInfo(@PathVariable("id") Long id) - { + public AjaxResult getInfo(@PathVariable("id") Long id) { return success(rtEnlistmentReserveService.selectRtEnlistmentReserveById(id)); } + /** + * 获取应征入伍保留学籍申请详细信息 + */ + @PreAuthorize("@ss.hasPermi('routine:enlistmentReserve:query')") + @GetMapping(value = "/process/{processInstanceId}") + @ApiOperation("获取应征入伍保留学籍申请详细信息") + public AjaxResult getInfoByProcessInstanceId(@PathVariable("processInstanceId") String processInstanceId) { + return success(rtEnlistmentReserveService.selectRtEnlistmentReserveByProcessInstanceId(processInstanceId)); + } + /** * 新增应征入伍保留学籍申请 */ @@ -79,8 +87,7 @@ public class RtEnlistmentReserveController extends BaseController { @Log(title = "应征入伍保留学籍申请", businessType = BusinessType.INSERT) @PostMapping("/add") @ApiOperation("新增应征入伍保留学籍申请") - public AjaxResult add(@RequestBody RtEnlistmentReserve rtEnlistmentReserve) - { + public AjaxResult add(@RequestBody RtEnlistmentReserve rtEnlistmentReserve) { return toAjax(rtEnlistmentReserveService.insertRtEnlistmentReserve(rtEnlistmentReserve)); } @@ -91,8 +98,7 @@ public class RtEnlistmentReserveController extends BaseController { @Log(title = "应征入伍保留学籍申请", businessType = BusinessType.UPDATE) @PostMapping("/update") @ApiOperation("修改应征入伍保留学籍申请") - public AjaxResult edit(@RequestBody RtEnlistmentReserve rtEnlistmentReserve) - { + public AjaxResult edit(@RequestBody RtEnlistmentReserve rtEnlistmentReserve) { return toAjax(rtEnlistmentReserveService.updateRtEnlistmentReserve(rtEnlistmentReserve)); } @@ -103,8 +109,7 @@ public class RtEnlistmentReserveController extends BaseController { @Log(title = "应征入伍保留学籍申请", businessType = BusinessType.DELETE) @PostMapping("/{ids}") @ApiOperation("删除应征入伍保留学籍申请") - public AjaxResult remove(@PathVariable Long[] ids) - { + public AjaxResult remove(@PathVariable Long[] ids) { return toAjax(rtEnlistmentReserveService.deleteRtEnlistmentReserveByIds(ids)); } } diff --git a/srs-flowable/src/main/java/com/srs/flowable/listener/enlistmentReserve/ApprovalAssigneeListener.java b/srs-flowable/src/main/java/com/srs/flowable/listener/enlistmentReserve/ApprovalAssigneeListener.java index 58b80bf..215195a 100644 --- a/srs-flowable/src/main/java/com/srs/flowable/listener/enlistmentReserve/ApprovalAssigneeListener.java +++ b/srs-flowable/src/main/java/com/srs/flowable/listener/enlistmentReserve/ApprovalAssigneeListener.java @@ -64,10 +64,13 @@ public class ApprovalAssigneeListener implements ExecutionListener { Long enlistmentId = Long.valueOf(execution.getVariable("enlistmentId").toString()); // 获取审核意见 - String approvalOpinion = (String) execution.getVariable("comment"); + String approvalOpinion = (String) execution.getVariable("approvalOpinion"); + + // 获取审核状态 + Long approvalResult = (Long) execution.getVariable("approvalResult"); // 4. 后续逻辑不变:查询下一个节点负责人并更新变量 - Long nextAssigneeId = getNextAssignee(currentNodeName, processInstanceId, enlistmentId, currentActivityId, approvalOpinion); + Long nextAssigneeId = getNextAssignee(currentNodeName, processInstanceId, enlistmentId, currentActivityId, approvalOpinion, approvalResult); if (nextAssigneeId != null) { execution.setVariable("approval", nextAssigneeId); execution.setVariable("currentNode", currentNodeName); @@ -92,7 +95,7 @@ public class ApprovalAssigneeListener implements ExecutionListener { /** * 根据当前节点查询下一个节点的负责人 */ - private Long getNextAssignee(String currentNodeName, String processInstanceId, Long enlistmentId, String currentActivityId, String approvalOpinion) { + private Long getNextAssignee(String currentNodeName, String processInstanceId, Long enlistmentId, String currentActivityId, String approvalOpinion, Long approvalResult) { EnlistmentReserveMapper rtEnlistmentReserveMapper = (EnlistmentReserveMapper) SpringUtils.getBean(EnlistmentReserveMapper.class); // 根据Id查询入伍申请记录 EnlistmentReserve enlistmentReserve = rtEnlistmentReserveMapper.selectRtEnlistmentReserveById(enlistmentId); @@ -112,7 +115,7 @@ public class ApprovalAssigneeListener implements ExecutionListener { queryUser.setRoleId(105L); // 学务角色固定ID List academicAffairsUsers = sysUserService.selectAllocatedList(queryUser); if (academicAffairsUsers.isEmpty()) { - throw new RuntimeException("未查询到角色ID=105(学务)的用户"); + throw new RuntimeException("未查询到角色(学务)的用户"); } // 从学务用户中筛选出部门ID与当前辅导员部门一致的用户 @@ -122,7 +125,7 @@ public class ApprovalAssigneeListener implements ExecutionListener { .orElseThrow(() -> new RuntimeException("未找到部门ID=" + currentDeptId + "的学务负责人")); // 添加审批记录 - saveApprovalRecord(enlistmentReserve.getId(), enlistmentReserve.getProcessInstanceId(),currentActivityId,currentNodeName, enlistmentReserve.getStudentName(), enlistmentReserve.getStudentNo(), approvalOpinion); + saveApprovalRecord(enlistmentReserve.getId(), enlistmentReserve.getProcessInstanceId(),currentActivityId,currentNodeName, enlistmentReserve.getStudentName(), enlistmentReserve.getStudentNo(), approvalOpinion, approvalResult); // 返回匹配的学务用户ID(作为下一个节点负责人) return targetAcademic.getUserId(); @@ -140,7 +143,7 @@ public class ApprovalAssigneeListener implements ExecutionListener { qUser.setRoleId(106L); // 二级学院角色固定ID=106 List collegeUsers = sysUserService.selectAllocatedList(qUser); if (collegeUsers.isEmpty()) { - throw new RuntimeException("未查询到角色ID=106(二级学院)的用户"); + throw new RuntimeException("未查询到角色(二级学院)的用户"); } // 筛选出部门ID(学院ID)与登录用户所属学院一致的二级学院负责人 @@ -151,32 +154,48 @@ public class ApprovalAssigneeListener implements ExecutionListener { // 添加审批记录 - saveApprovalRecord(enlistmentReserve.getId(), enlistmentReserve.getProcessInstanceId(),currentActivityId,currentNodeName, enlistmentReserve.getStudentName(), enlistmentReserve.getStudentNo(), approvalOpinion); + saveApprovalRecord(enlistmentReserve.getId(), enlistmentReserve.getProcessInstanceId(),currentActivityId,currentNodeName, enlistmentReserve.getStudentName(), enlistmentReserve.getStudentNo(), approvalOpinion, approvalResult); - // 4. 返回匹配的二级学院负责人ID + // 返回匹配的二级学院负责人ID return targetCollegeLeader.getUserId(); case "二级学院审批": - // 二级学院通过后 → 下一个节点:学籍管理科(假设部门ID=30) + // 二级学院通过后 → 下一个节点:学籍管理科 + // 获取学籍管理科审核人 + List shenDataInfo = rtEnlistmentReserveMapper.getShenDataInfo("学籍管理科"); + + if (shenDataInfo.isEmpty()) { + throw new RuntimeException("未查询到对应的用户"); + } // 添加审批记录 - saveApprovalRecord(enlistmentReserve.getId(), enlistmentReserve.getProcessInstanceId(),currentActivityId,currentNodeName, enlistmentReserve.getStudentName(), enlistmentReserve.getStudentNo(), approvalOpinion); - return 30L; + saveApprovalRecord(enlistmentReserve.getId(), enlistmentReserve.getProcessInstanceId(),currentActivityId,currentNodeName, enlistmentReserve.getStudentName(), enlistmentReserve.getStudentNo(), approvalOpinion, approvalResult); + + // 暂时选择学籍管理科第一个人作为审核人 + return shenDataInfo.get(0).getUserId(); case "学籍管理科审批": - // 学籍管理科通过后 → 下一个节点:教务处(假设部门ID=40) + // 学籍管理科通过后 → 下一个节点:教务处主管领导(假设部门ID=40) + + // 获取学教务处主管领导审核人 + List teacherVos = rtEnlistmentReserveMapper.getShenDataInfo("教务处主管领导"); + + if (teacherVos.isEmpty()) { + throw new RuntimeException("未查询到对应的用户"); + } // 添加审批记录 - saveApprovalRecord(enlistmentReserve.getId(), enlistmentReserve.getProcessInstanceId(),currentActivityId,currentNodeName, enlistmentReserve.getStudentName(), enlistmentReserve.getStudentNo(), approvalOpinion); - return 40L; + saveApprovalRecord(enlistmentReserve.getId(), enlistmentReserve.getProcessInstanceId(),currentActivityId,currentNodeName, enlistmentReserve.getStudentName(), enlistmentReserve.getStudentNo(), approvalOpinion, approvalResult); + // 暂时选择教务处主管领导第一个人作为审核人 + return teacherVos.get(0).getUserId(); case "教务处主管领导审批": // 最后一个节点通过后 → 流程结束(无需设置负责人) // 添加审批记录 - saveApprovalRecord(enlistmentReserve.getId(), enlistmentReserve.getProcessInstanceId(),currentActivityId,currentNodeName, enlistmentReserve.getStudentName(), enlistmentReserve.getStudentNo(), approvalOpinion); + saveApprovalRecord(enlistmentReserve.getId(), enlistmentReserve.getProcessInstanceId(),currentActivityId,currentNodeName, enlistmentReserve.getStudentName(), enlistmentReserve.getStudentNo(), approvalOpinion, approvalResult); // 改变申请表中的审核状态(审核通过) enlistmentReserve.setApplyStatus(2L); @@ -192,7 +211,7 @@ public class ApprovalAssigneeListener implements ExecutionListener { /** * 通用审批记录保存方法 */ - private void saveApprovalRecord(Long ApplyId,String processInstanceId, String taskId, String nodeName, String studentName, String studentNo, String approvalOpinion) { + private void saveApprovalRecord(Long ApplyId,String processInstanceId, String taskId, String nodeName, String studentName, String studentNo, String approvalOpinion, Long approvalResult) { EnlistmentReserveApproval enlistmentReserveApproval = new EnlistmentReserveApproval(); // 赋值 enlistmentReserveApproval.setApplyId(ApplyId); @@ -204,10 +223,10 @@ public class ApprovalAssigneeListener implements ExecutionListener { enlistmentReserveApproval.setApproverName(SecurityUtils.getLoginUser().getUser().getNickName()); // 若变量未传递,直接用默认值“同意”(前端点击同意按钮的默认意见) - enlistmentReserveApproval.setApprovalOpinion(approvalOpinion != null ? approvalOpinion : "同意"); - if (approvalOpinion != null) { - enlistmentReserveApproval.setApprovalResult(!approvalOpinion.equals("同意") ? 0L : 1L); // 1-通过,若有驳回场景需根据变量调整 - } + enlistmentReserveApproval.setApprovalOpinion(approvalOpinion); + + // 审核状态 + enlistmentReserveApproval.setApprovalResult(approvalResult == null ? 0L : approvalResult); // 审批时间:当前系统时间 enlistmentReserveApproval.setApprovalTime(new Date()); diff --git a/srs-flowable/src/main/java/com/srs/flowable/mapper/EnlistmentReserveMapper.java b/srs-flowable/src/main/java/com/srs/flowable/mapper/EnlistmentReserveMapper.java index bcdc2e1..38568ba 100644 --- a/srs-flowable/src/main/java/com/srs/flowable/mapper/EnlistmentReserveMapper.java +++ b/srs-flowable/src/main/java/com/srs/flowable/mapper/EnlistmentReserveMapper.java @@ -34,6 +34,14 @@ public interface EnlistmentReserveMapper extends BaseMapper { // public TeacherVo getCounselorInfo(String stuNo); + /** + * 获取审批用户信息 + * @param roleName + * @return + * 邵政文 + */ + List getShenDataInfo(String roleName); + /** * 查询应征入伍保留学籍申请列表 * diff --git a/srs-flowable/src/main/resources/mapper/EnlistmentReserveMapper.xml b/srs-flowable/src/main/resources/mapper/EnlistmentReserveMapper.xml index ee948f7..e98f93d 100644 --- a/srs-flowable/src/main/resources/mapper/EnlistmentReserveMapper.xml +++ b/srs-flowable/src/main/resources/mapper/EnlistmentReserveMapper.xml @@ -1,69 +1,98 @@ + PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - select id, apply_no, student_id, teacher_name, student_name, gender, nation, grade, student_no, class_name, major, family_address, parent_phone, apply_reason, apply_status, process_instance_id, reserve_no, reserve_start_date, reserve_end_date, approval_no, create_time, update_time from rt_enlistment_reserve + select id, + apply_no, + student_id, + teacher_name, + student_name, + gender, + nation, + grade, + student_no, + class_name, + major, + family_address, + parent_phone, + apply_reason, + apply_status, + process_instance_id, + reserve_no, + reserve_start_date, + reserve_end_date, + approval_no, + create_time, + update_time + from rt_enlistment_reserve - + - where process_instance_id = #{processInstanceId} @@ -78,6 +107,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" WHERE a.stu_no = #{stuNo} + + + insert into rt_enlistment_reserve @@ -157,7 +195,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from rt_enlistment_reserve where id = #{id} + delete + from rt_enlistment_reserve + where id = #{id} diff --git a/srs-routine/src/main/java/com/srs/routine/domain/RtEnlistmentReserve.java b/srs-routine/src/main/java/com/srs/routine/domain/RtEnlistmentReserve.java index a6b2fa9..9e84492 100644 --- a/srs-routine/src/main/java/com/srs/routine/domain/RtEnlistmentReserve.java +++ b/srs-routine/src/main/java/com/srs/routine/domain/RtEnlistmentReserve.java @@ -1,6 +1,8 @@ package com.srs.routine.domain; import java.util.Date; +import java.util.List; + import com.fasterxml.jackson.annotation.JsonFormat; import com.srs.common.annotation.Excel; import com.baomidou.mybatisplus.annotation.*; @@ -197,4 +199,18 @@ private static final long serialVersionUID=1L; @TableField("update_time") @JsonFormat(pattern = "yyyy-MM-dd") private Date updateTime; + + /** + * 入伍保留学籍申请表-审核记录 + */ + @ApiModelProperty(value = "入伍保留学籍申请表-审核记录", hidden = true) + @Excel(name = "入伍保留学籍申请表-审核记录") + private List enlistmentReserveApprovalList; + + /** + * 入伍保留学籍申请表-附件记录 + */ + @ApiModelProperty(value = "入伍保留学籍申请表-附件记录", hidden = true) + @Excel(name = "入伍保留学籍申请表-附件记录") + private List enlistmentReserveAttachList; } diff --git a/srs-routine/src/main/java/com/srs/routine/domain/RtEnlistmentReserveAttach.java b/srs-routine/src/main/java/com/srs/routine/domain/RtEnlistmentReserveAttach.java index 3d52ba3..42b0e55 100644 --- a/srs-routine/src/main/java/com/srs/routine/domain/RtEnlistmentReserveAttach.java +++ b/srs-routine/src/main/java/com/srs/routine/domain/RtEnlistmentReserveAttach.java @@ -8,22 +8,21 @@ import lombok.*; import com.srs.common.core.domain.BaseEntity; - /** * 保留学籍申请附件(入伍通知书等)对象 rt_enlistment_reserve_attach * * @author srs - * @date 2025-10-31 + * @date 2025-11-14 */ @Data @EqualsAndHashCode(callSuper = true) @NoArgsConstructor @AllArgsConstructor @Builder -@ApiModel(value = "RtEnlistmentReserveAttach对象" , description = "保留学籍申请附件(入伍通知书等)") +@ApiModel(value = "RtEnlistmentReserveAttach对象", description = "保留学籍申请附件(入伍通知书等)") @TableName("rt_enlistment_reserve_attach") -public class RtEnlistmentReserveAttach extends BaseEntity{ -private static final long serialVersionUID=1L; +public class RtEnlistmentReserveAttach extends BaseEntity { + private static final long serialVersionUID = 1L; /** * 主键 @@ -53,7 +52,7 @@ private static final long serialVersionUID=1L; */ @ApiModelProperty("文件路径(关联sys_file表)") @TableField("file_path") - @Excel(name = "文件路径" , readConverterExp = "关=联sys_file表") + @Excel(name = "文件路径", readConverterExp = "关=联sys_file表") private String filePath; /** @@ -61,7 +60,7 @@ private static final long serialVersionUID=1L; */ @ApiModelProperty("文件大小(字节)") @TableField("file_size") - @Excel(name = "文件大小" , readConverterExp = "字=节") + @Excel(name = "文件大小", readConverterExp = "字=节") private Long fileSize; /** @@ -69,8 +68,32 @@ private static final long serialVersionUID=1L; */ @ApiModelProperty("文件类型(如pdf、jpg)") @TableField("file_type") - @Excel(name = "文件类型" , readConverterExp = "如=pdf、jpg") + @Excel(name = "文件类型", readConverterExp = "如=pdf、jpg") private String fileType; + /** + * 申请编号(规则:RY+年份+6位序号,如RY2024000001) + */ + @ApiModelProperty("申请编号(规则:RY+年份+6位序号,如RY2024000001)") + @TableField("apply_no") + @Excel(name = "申请编号", readConverterExp = "规=则:RY+年份+6位序号,如RY2024000001") + private String applyNo; + + /** + * 姓名 + */ + @ApiModelProperty("姓名") + @TableField("student_name") + @Excel(name = "姓名") + private String studentName; + + /** + * 学号 + */ + @ApiModelProperty("学号") + @TableField("student_no") + @Excel(name = "学号") + private String studentNo; + } diff --git a/srs-routine/src/main/java/com/srs/routine/service/IRtEnlistmentReserveService.java b/srs-routine/src/main/java/com/srs/routine/service/IRtEnlistmentReserveService.java index f8d09fa..4aa39c5 100644 --- a/srs-routine/src/main/java/com/srs/routine/service/IRtEnlistmentReserveService.java +++ b/srs-routine/src/main/java/com/srs/routine/service/IRtEnlistmentReserveService.java @@ -20,6 +20,14 @@ public interface IRtEnlistmentReserveService extends IService where id = #{id} - + + - + - - + + insert into rt_enlistment_reserve_attach apply_id, @@ -43,7 +63,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" file_size, file_type, create_time, - + apply_no, + student_name, + student_no, + #{applyId}, #{fileName}, @@ -51,7 +74,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{fileSize}, #{fileType}, #{createTime}, - + #{applyNo}, + #{studentName}, + #{studentNo}, + @@ -63,16 +89,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" file_size = #{fileSize}, file_type = #{fileType}, create_time = #{createTime}, + apply_no = #{applyNo}, + student_name = #{studentName}, + student_no = #{studentNo}, where id = #{id} - delete from rt_enlistment_reserve_attach where id = #{id} + delete + from rt_enlistment_reserve_attach + where id = #{id} - delete from rt_enlistment_reserve_attach where id in + delete from rt_enlistment_reserve_attach where id in #{id} diff --git a/srs-routine/src/main/resources/mapper/routine/RtEnlistmentReserveMapper.xml b/srs-routine/src/main/resources/mapper/routine/RtEnlistmentReserveMapper.xml index 4db1b82..256247d 100644 --- a/srs-routine/src/main/resources/mapper/routine/RtEnlistmentReserveMapper.xml +++ b/srs-routine/src/main/resources/mapper/routine/RtEnlistmentReserveMapper.xml @@ -1,69 +1,169 @@ + PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - select id, apply_no, student_id, teacher_name, student_name, gender, nation, grade, student_no, class_name, major, family_address, parent_phone, apply_reason, apply_status, process_instance_id, reserve_no, reserve_start_date, reserve_end_date, approval_no, create_time, update_time from rt_enlistment_reserve - - - + select * + from rt_enlistment_reserve_approval - and apply_no = #{applyNo} - and student_id = #{studentId} - and teacher_name like concat('%', #{teacherName}, '%') - and student_name like concat('%', #{studentName}, '%') - and gender = #{gender} - and nation = #{nation} - and grade = #{grade} - and student_no = #{studentNo} - and class_name like concat('%', #{className}, '%') - and major = #{major} - and family_address = #{familyAddress} - and parent_phone = #{parentPhone} - and apply_reason = #{applyReason} - and apply_status = #{applyStatus} - and process_instance_id = #{processInstanceId} - and reserve_no = #{reserveNo} - and reserve_start_date = #{reserveStartDate} - and reserve_end_date = #{reserveEndDate} - and approval_no = #{approvalNo} + + and student_name = #{studentName} + + + and student_no = #{studentNo} + - + + + + + + + + + + + + + + + + + + + + + select id, + apply_no, + student_id, + teacher_name, + student_name, + gender, + nation, + grade, + student_no, + class_name, + major, + family_address, + parent_phone, + apply_reason, + apply_status, + process_instance_id, + reserve_no, + reserve_start_date, + reserve_end_date, + approval_no, + create_time, + update_time + from rt_enlistment_reserve + + + + - where process_instance_id = #{processInstanceId} @@ -157,7 +257,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from rt_enlistment_reserve where id = #{id} + delete + from rt_enlistment_reserve + where id = #{id}