| | |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @program: springcloud_k8s_panzhihuazhihuishequ |
| | | * @description: 活动成员 |
| | |
| | | @Select("select a.* from com_pb_activity_member a join com_pb_member m on m.id=a.member_id " + |
| | | "join sys_user u on m.id_card=u.id_card and u.user_id=#{userId} where a.activity_id=#{id}") |
| | | ComPbActivityMemberDO selectByUserIdActivityId(@Param("id") Long id, @Param("userId") Long userId); |
| | | @Select("SELECT \n" + |
| | | "u.user_id\n" + |
| | | "FROM\n" + |
| | | "com_pb_activity_member m \n" + |
| | | "join com_pb_member b on m.member_id=b.id\n" + |
| | | "join sys_user u on b.id_card=u.id_card\n" + |
| | | "WHERE\n" + |
| | | "m.activity_id =#{id}") |
| | | List<Long> selectAllPartyBuildingActivityMembers(Long id); |
| | | } |