|  |  |  | 
|---|
|  |  |  | public interface TCoursePackagePaymentMapper extends BaseMapper<TCoursePackagePayment> { | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取课包购买人数 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param coursePackageId | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | TCoursePackagePayment getCoursePackagePaymentByCode(@Param("code") String code); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<BillingRequest> billingDataRequestVo(@Param("appUserId")Integer appUserId, | 
|---|
|  |  |  | @Param("monthStart")String monthStart, | 
|---|
|  |  |  | @Param("monthEnd")String monthEnd); | 
|---|
|  |  |  | List<BillingRequest> billingDataRequestVo(@Param("appUserId") Integer appUserId, | 
|---|
|  |  |  | @Param("monthStart") String monthStart, | 
|---|
|  |  |  | @Param("monthEnd") String monthEnd); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取课包报名信息 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param page | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Map<String, Object>> queryRegistrationRecord(Page<Map<String, Object>> page, @Param("coursePackageId") Integer coursePackageId, | 
|---|
|  |  |  | @Param("userIds") List<Integer> userIds, @Param("studentIds") List<Integer> studentIds); | 
|---|
|  |  |  | List<Map<String, Object>> queryRegistrationRecord1(Page<Map<String, Object>> page, @Param("coursePackageId") Integer coursePackageId, | 
|---|
|  |  |  | @Param("userIds") List<Integer> userIds, @Param("studentIds") List<Integer> studentIds); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取未预约排课学员列表 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param page | 
|---|
|  |  |  | * @param coursePackagePaymentId | 
|---|
|  |  |  | * @param userIds | 
|---|
|  |  |  | 
|---|
|  |  |  | List<Map<String, Object>> queryWalkInStudentList(Page<Map<String, Object>> page, @Param("coursePackageId") Integer coursePackageId, @Param("coursePackagePaymentId") List<Long> coursePackagePaymentId, | 
|---|
|  |  |  | @Param("userIds") List<Integer> userIds, @Param("studentIds") List<Integer> studentIds); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void updateUseTime(@Param("id")Long id,  @Param("date") Date date); | 
|---|
|  |  |  | void updateUseTime(@Param("id") Long id, @Param("date") Date date); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Integer> getStudentIds(@Param("id")Long payId,@Param("classId")Integer classId,@Param("appId")Integer appId); | 
|---|
|  |  |  | List<Integer> getStudentIds(@Param("id") Long payId, @Param("classId") Integer classId, @Param("appId") Integer appId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | boolean updateHoursById(@Param("id") Long id, @Param("i") int i); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | boolean updateHoursById1(@Param("id") Long id, @Param("i") int i); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void updateBytime(@Param("coursePackagePayment") TCoursePackagePayment coursePackagePayment); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Map<String, Object>>  getStudentTotal(StudentQeryDto studentQeryDto); | 
|---|
|  |  |  | List<Map<String, Object>> getStudentTotal(@Param("appUserIds") List<Integer> appUserIds, @Param("start") String start, | 
|---|
|  |  |  | @Param("end") String end,@Param("packageIds")List<Integer> packageIds ); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Map<String, Object>> pacQueryDto(PacQueryDto pacQueryDto); | 
|---|
|  |  |  | List<Map<String, Object>> pacQueryDto(@Param("start") String start, @Param("end") String end, | 
|---|
|  |  |  | @Param("storeIds") List<Integer> storeIds, @Param("name") String name); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<TCoursePackagePayment> listOne(@Param("ids") List<Integer> ids); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Integer queryStore(String code); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Map<String, Object>> queryRegistrationRecord3(Integer coursePackageId, List<Integer> userIds, List<Integer> studentIds); | 
|---|
|  |  |  | } | 
|---|