This commit is contained in:
2025-11-28 16:45:01 +08:00
4 changed files with 56 additions and 3 deletions

View File

@@ -84,6 +84,18 @@ public class RtEnlistmentReserveApprovalController extends BaseController {
return toAjax(rtEnlistmentReserveApprovalService.insertRtEnlistmentReserveApproval(rtEnlistmentReserveApproval));
}
/**
* 根据学生姓名、学号、审批人ID判断存在则更新不存在则新增
*/
@PreAuthorize("@ss.hasPermi('routine:enlistmentReserveApproval:add')")
@Log(title = "保留学籍审批记录", businessType = BusinessType.INSERT)
@PostMapping("/insertOrUpdateByStuAndApprover")
@ApiOperation("新增\\修改保留学籍审批记录")
public AjaxResult insertOrUpdateByStuAndApprover(@RequestBody RtEnlistmentReserveApproval rtEnlistmentReserveApproval)
{
return toAjax(rtEnlistmentReserveApprovalService.insertOrUpdateByStuAndApprover(rtEnlistmentReserveApproval));
}
/**
* 修改保留学籍审批记录
*/