| | |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/student/queryById") |
| | | public TStudent queryById(@RequestBody Integer id) { |
| | | return studentService.getById(id); |
| | | } |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/base/appUser/updateTStudent") |
| | | public void updateTStudent(@RequestBody TStudent student){ |
| | | try { |
| | |
| | | System.out.println("======giftSelect=========giftSearchDto===="+giftSearchDto); |
| | | TAppUser one = appUserService.getOne(new QueryWrapper<TAppUser>().eq("name", giftSearchDto.getName()) |
| | | .eq("phone", giftSearchDto.getPhone())); |
| | | |
| | | |
| | | // Integer appId = studentService.getGiftSelect(giftSearchDto); |
| | | TCoursePackagePayment1 coursePackagePaymentById = paymentClient.getCoursePackagePaymentById1(giftSearchDto.getId()); |
| | | // System.out.println("=======giftSelect======appId====>"+appId); |
| | |
| | | selectDto.setId(student.getId()); |
| | | list.add(selectDto); |
| | | } |
| | | // 只筛选当前用户已经购买了这个课程的学员 |
| | | |
| | | System.out.println("=======giftSelect======selectDtos====>"+list); |
| | | return list; |
| | | } |