package platform.modules.sys.dao; import org.apache.ibatis.annotations.Param; import platform.common.base.mapper.BaseMapper; import platform.modules.carrier.dto.ActivityStatistic; import platform.modules.sys.entity.ActivityDetail; import platform.modules.sys.entity.ActivityRegistration; import platform.modules.sys.report.ActivityRegistrationExports; import platform.modules.sys.report.ActivitySignExports; import java.util.List; public interface ActivityRegistrationDao extends BaseMapper { Integer getRegistrationNumber(@Param("activityId") Integer activityId); List findRegistrationPage(@Param("activityId") Integer activityId, @Param("userId") Integer userId); List findSginPage(@Param("activityId") Integer activityId, @Param("userId") Integer userId); List findMyActivityPage(@Param("activity") ActivityRegistration activityRegistration); void updateStateBatch(@Param("idList") List idList, @Param("activity") ActivityRegistration activityRegistration); Integer updateState(@Param("activity") ActivityRegistration activityRegistration); List findByRelationIdAndType(@Param("type") String type, @Param("rel") String id, @Param("activity_id") String activity_id); List findByActivityUserIdPhone(@Param("activity_id") String activity_id, @Param("phone") String phone, @Param("user_id") String user_id); List findByActivityIdAndUserIdAndPhones(@Param("activity_id") String activity_id, @Param("user_id") String user_id, @Param("registrations") List registrations); List findRegistrationExport(@Param("activityId") Integer activityId, @Param("userId") Integer userId); void abortRegister(@Param("list") List ids); List getActivityRegistration(@Param("activityId") String activityId, @Param("userId") String userId); List findPendingActivity(Integer userId); List findCommentActivity(Integer userId); List findExpiredActivity(Integer userId); List findCompletedActivity(Integer userId); List findPushActivity(Integer userId); List findCollectionActivity(Integer userId); void deleteBatch(@Param("ids") List ids); }