12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- package thyyxxk.webserver.controller.datamodify;
- import org.springframework.web.bind.annotation.GetMapping;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RequestParam;
- import org.springframework.web.bind.annotation.RestController;
- import thyyxxk.webserver.entity.ResultVo;
- import thyyxxk.webserver.entity.datamodify.MzChargeDetail;
- import thyyxxk.webserver.service.datamodify.SecondFefundService;
- /**
- * <p>
- * 描述: 二次退费
- * </p>
- *
- * @author xc
- * @date 2021-05-18 11:21
- */
- @RestController
- @RequestMapping("/secondFefund")
- public class SecondFefundController {
- private final SecondFefundService service;
- public SecondFefundController(SecondFefundService service) {
- this.service = service;
- }
- @GetMapping("/getOrderInformation")
- public ResultVo<MzChargeDetail> getOrderInformation(@RequestParam("patientId") String patientId,
- @RequestParam("times") Integer times,
- @RequestParam("chargeItemCode") String chargeItemCode) {
- return service.getOrderInformation(patientId, times, chargeItemCode);
- }
- @GetMapping("/xiuGaiTuiFei")
- public ResultVo<MzChargeDetail> xiuGaiTuiFei(@RequestParam("patientId") String patientId,
- @RequestParam("times") Integer times,
- @RequestParam("chargeItemCode") String chargeItemCode,
- @RequestParam("quantity") Integer quantity) {
- return service.xiuGaiTuiFei(patientId, times, chargeItemCode, quantity);
- }
- }
|