package com.ygj.yuemum.controller.promotion; import com.ygj.yuemum.domain.promotion.PromotionTestResultShow; import com.ygj.yuemum.service.promotion.PromotionTestResultShowService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import java.util.List; @RestController public class PromotionTestResultShowController { @Autowired private PromotionTestResultShowService promotionTestResultShowService; @GetMapping("/getPromotionTestResultShowByPrxID") public List getPromotionTestResultShowByPrxID(@RequestParam("prx_id") Integer prx_id){ return promotionTestResultShowService.getPromotionTestResultShowByPrxID(prx_id); } }