PromotionTestResultShowController.java 901 B

1234567891011121314151617181920212223
  1. package com.ygj.yuemum.controller.promotion;
  2. import com.ygj.yuemum.domain.promotion.PromotionTestResultShow;
  3. import com.ygj.yuemum.service.promotion.PromotionTestResultShowService;
  4. import org.springframework.beans.factory.annotation.Autowired;
  5. import org.springframework.web.bind.annotation.GetMapping;
  6. import org.springframework.web.bind.annotation.RequestParam;
  7. import org.springframework.web.bind.annotation.RestController;
  8. import java.util.List;
  9. @RestController
  10. public class PromotionTestResultShowController {
  11. @Autowired
  12. private PromotionTestResultShowService promotionTestResultShowService;
  13. @GetMapping("/getPromotionTestResultShowByPrxID")
  14. public List<PromotionTestResultShow> getPromotionTestResultShowByPrxID(@RequestParam("prx_id") Integer prx_id){
  15. return promotionTestResultShowService.getPromotionTestResultShowByPrxID(prx_id);
  16. }
  17. }