| | |
| | | |
| | | 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; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | |
| | | return toAjax(coalPayService.updateCoalPayType(coalPayTypeReq)); |
| | | } |
| | | |
| | | // /** |
| | | // * 修改煤矿缴费 |
| | | // */ |
| | | // @PostMapping("/updatePayCompany") |
| | | // public AjaxResult updatePay(@RequestBody ){ |
| | | // return toAjax(coalPayService.updatePay()); |
| | | // } |
| | | /** |
| | | * 删除煤矿缴费管理 |
| | | */ |
| | |
| | | /** |
| | | * 个人缴费接口 |
| | | */ |
| | | @PostMapping("/findStudent") |
| | | @GetMapping("/findStudent") |
| | | @Anonymous |
| | | @ApiOperation(value ="H5个人缴费查询") |
| | | public AjaxResult findStudent(@RequestBody CoalPayStudentReq coalPayStudent){ |
| | | List<CoalPayStudentRep> coalPayStudentReps = coalPayService.selectCoalPay(coalPayStudent); |
| | | public AjaxResult findStudent(@RequestParam("idCard") String idCard,@RequestParam("phone") String phone){ |
| | | List<CoalPayStudentRep> coalPayStudentReps = coalPayService.selectCoalPay(idCard,phone); |
| | | return success(coalPayStudentReps); |
| | | } |
| | | |
| | | @GetMapping("/personPay") |
| | | @ApiOperation(value = "个人缴费接口") |
| | | @Anonymous |
| | | public AjaxResult payMoney(@RequestParam("coalPayId") Long coalPayId,@RequestParam("studentId") Long studentId){ |
| | | return success(coalPayService.personPayMoney(coalPayId,studentId)); |
| | | } |
| | | |
| | | |
| | | // @PostMapping("/personPay") |
| | | // @ApiOperation(value = "个人缴费接口") |
| | | // public void payFees(){ |
| | | // |
| | | // } |
| | | @PostMapping("/teamPay") |
| | | @Anonymous |
| | | @ApiOperation(value = "批量缴费") |
| | | public AjaxResult teamMoney(@RequestBody CoalTeamPayReq coalTeamPayReq){ |
| | | return success(coalPayService.teamPayMoney(coalTeamPayReq)); |
| | | } |
| | | |
| | | |
| | | |