| | |
| | | */ |
| | | @PostMapping("/editNonCoalStu") |
| | | @ApiOperation(value = "修改非煤缴费学员") |
| | | public AjaxResult editNonCoalStu(@RequestBody NonCoalPayStudent nonCoalPayStudent) { |
| | | public AjaxResult editNonCoalStu(@Validated @RequestBody NonCoalPayStudent nonCoalPayStudent) { |
| | | return toAjax(nonCoalPayStudentService.updateNonCoalPayStudent(nonCoalPayStudent)); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | @PostMapping("/sendOrder") |
| | | @ApiOperation(value = "生成财政订单") |
| | | @Anonymous |
| | | @RepeatSubmit |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "id", dataTypeClass = Long.class, value = "个人缴费学员数据id,团队缴费数据id", required = true), |
| | | @ApiImplicitParam(name = "payType", dataTypeClass = String.class, value = "1个人2是团队", required = true), |
| | | }) |
| | | public AjaxResult sendOrder(@RequestParam("id") Long id, @RequestParam("payType") String payType) { |
| | | return success(nonCoalPayStudentService.sendOrder(id, payType)); |
| | | } |
| | | |
| | | } |