保留学籍审核记录根据id新增或修改记录
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改保留学籍审批记录
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user