| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.vos.community.ComMngVolunteerMngVO; |
| | | import com.panzhihua.common.model.vos.community.TodoEventsVO; |
| | | import com.panzhihua.service_community.model.dos.ComMngVolunteerMngDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @program: springcloud_k8s_panzhihuazhihuishequ |
| | |
| | | "ORDER BY state asc " + |
| | | "</script>") |
| | | IPage<ComMngVolunteerMngVO> pageVolunteerExamine(Page page, @Param("comMngVolunteerMngVO") ComMngVolunteerMngVO comMngVolunteerMngVO); |
| | | @Select("SELECT\n" + |
| | | "'人脸采集' FUNCTION,\n" + |
| | | "'待审核' behavior,\n" + |
| | | "'新增人脸采集信息待审核' words \n" + |
| | | "FROM\n" + |
| | | "sys_user u \n" + |
| | | "WHERE\n" + |
| | | "u.face_state = 0 \n" + |
| | | "AND u.community_id = #{communityId} \n" + |
| | | "GROUP BY\n" + |
| | | "u.community_id UNION ALL\n" + |
| | | "SELECT\n" + |
| | | "'志愿者审核' FUNCTION,\n" + |
| | | "'待审核' behavior,\n" + |
| | | "'新增志愿者申请待审核' words \n" + |
| | | "FROM\n" + |
| | | "com_mng_volunteer_mng v \n" + |
| | | "WHERE\n" + |
| | | "v.state = 1 \n" + |
| | | "AND v.`community_id` = #{communityId} \n" + |
| | | "GROUP BY\n" + |
| | | "v.community_id") |
| | | List<TodoEventsVO> selectNeedToDo(Long communityId); |
| | | @Select("select user_id from sys_user where type=1 and phone=#{phone}") |
| | | Long selectUserIdByPhone(String phone); |
| | | } |