Commit 7b9fc89c by zhangchen

1.根据日期和产品id查询teetime价格

parent b2898dc9
......@@ -457,11 +457,11 @@ public class AsmCourseResourceController {
@ResponseBody
@RequestMapping(value = "/getProductPriceList", method = RequestMethod.POST)
public Response<List<ProductTeePriceBean>> getProductPriceList(@RequestBody Request<Integer> request) {
public Response<List<ProductTeePriceBean>> getProductPriceList(@RequestBody Request<CourseMinPriceQuery> request) {
Response<List<ProductTeePriceBean>> respose = new Response<List<ProductTeePriceBean>>();
respose.setStatus(ResponseStatusEnum.SUCCESS.getValue());
respose.setMessage(ResponseStatusEnum.SUCCESS.getMsg());
List<AsmCourseresource> productPriceList = asmCourseResourceService.getProductPriceList(request.getBody(), DateUtil.parseDate("2019-03-22"));
List<AsmCourseresource> productPriceList = asmCourseResourceService.getProductPriceList(Integer.parseInt(request.getBody().getIds()), request.getBody().getDate());
List<ProductTeePriceBean> responseList = new ArrayList<>();
for(AsmCourseresource asmCourseresource : productPriceList){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment