| | |
| | | package com.dsh.course.mapper; |
| | | |
| | | import com.dsh.course.entity.TCoursePackagePayment; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dsh.course.entity.TCoursePackagePayment; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | public interface TCoursePackagePaymentMapper extends BaseMapper<TCoursePackagePayment> { |
| | | |
| | | List<TCoursePackagePayment> queryAllCoursePackage(@Param("stuId") Integer stuId, |
| | | @Param("appUserId") Integer appUserId); |
| | | |
| | | |
| | | /** |
| | | * 获取课包购买人数 |
| | | * @param coursePackageId |
| | | * @return |
| | | */ |
| | | Integer queryCountNumber(@Param("coursePackageId") Integer coursePackageId); |
| | | |
| | | TCoursePackagePayment getCoursePackagePaymentByCode(@Param("code") String code); |
| | | |
| | | } |