| | |
| | | |
| | | import com.gkhy.exam.pay.dto.rep.CoalPayRepDto; |
| | | import com.gkhy.exam.pay.dto.rep.CoalPayStudentRep; |
| | | import com.gkhy.exam.pay.dto.req.CoalPayDto; |
| | | import com.gkhy.exam.pay.dto.req.CoalPayReq; |
| | | import com.gkhy.exam.pay.dto.req.CoalPayStudentReq; |
| | | import com.gkhy.exam.pay.dto.req.CoalPayTypeReq; |
| | | import com.gkhy.exam.pay.dto.req.*; |
| | | import com.gkhy.exam.pay.entity.CoalPayStudent; |
| | | import com.gkhy.exam.pay.service.CoalPayService; |
| | | import com.ruoyi.common.annotation.Anonymous; |
| | |
| | | return toAjax(coalPayService.updateCoalPayType(coalPayTypeReq)); |
| | | } |
| | | |
| | | // /** |
| | | // * 修改煤矿缴费 |
| | | // */ |
| | | // @PostMapping("/updatePayCompany") |
| | | // public AjaxResult updatePay(@RequestBody ){ |
| | | // return toAjax(coalPayService.updatePay()); |
| | | // } |
| | | /** |
| | | * 删除煤矿缴费管理 |
| | | */ |
| | |
| | | return success(coalPayStudentReps); |
| | | } |
| | | |
| | | @PostMapping("/personPay") |
| | | @GetMapping("/personPay") |
| | | @ApiOperation(value = "个人缴费接口") |
| | | @Anonymous |
| | | public AjaxResult payMoney(@RequestParam("coalPayId") Long coalPayId,@RequestParam("studentId") Long studentId){ |
| | | return success(coalPayService.personPayMoney(coalPayId,studentId)); |
| | | } |
| | | |
| | | @PostMapping("/teamPay") |
| | | @Anonymous |
| | | @ApiOperation(value = "批量缴费") |
| | | public AjaxResult teamMoney(@RequestBody CoalTeamPayReq coalTeamPayReq){ |
| | | return success(coalPayService.teamPayMoney(coalTeamPayReq)); |
| | | } |
| | | |
| | | |
| | | |
| | | |