| | |
| | | package com.panzhihua.service_dangjian.dao; |
| | | |
| | | import com.panzhihua.common.model.vos.community.ComActVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.panzhihua.common.model.vos.partybuilding.PartyCommitteeVO; |
| | | import com.panzhihua.common.model.vos.partybuilding.west.PartyCommitteeVO; |
| | | import com.panzhihua.common.model.vos.user.SysUserVO; |
| | | import com.panzhihua.service_dangjian.model.dos.ComPbMemberRoleDO; |
| | | |
| | |
| | | /** |
| | | * 根据身份证查询小程序用户id |
| | | * @param idCard 身份证 |
| | | * @param areaCode |
| | | * @return 小程序用户id |
| | | */ |
| | | Long getUserIdByIdCard(@Param("idCard") String idCard); |
| | | Long getUserIdByIdCard(@Param("idCard") String idCard, @Param("areaCode") String areaCode); |
| | | |
| | | /** |
| | | * 根据手机号查询小程序用户id |
| | | * @param phone 手机号 |
| | | * @param areaCode |
| | | * @return 小程序用户id |
| | | */ |
| | | Long getSysUserIdByPhone(@Param("phone") String phone); |
| | | Long getSysUserIdByPhone(@Param("phone") String phone, @Param("areaCode") String areaCode); |
| | | |
| | | @Update("update sys_user u set u.phone=#{newphone} where u.phone=#{oldphone}") |
| | | void updateUserPhone(@Param("newphone") String newphone, @Param("oldphone") String oldphone); |
| | |
| | | /** |
| | | * 根据身份证查询用户数量 |
| | | * @param idCard 身份证号码 |
| | | * @param areaCode |
| | | * @return 用户数量 |
| | | */ |
| | | Integer getSysUserByIdCardCount(@Param("idCard") String idCard); |
| | | Integer getSysUserByIdCardCount(@Param("idCard") String idCard, @Param("areaCode") String areaCode); |
| | | |
| | | /** |
| | | * 获取社区信息 |
| | | * @param communityId |
| | | * @return |
| | | */ |
| | | ComActVO selectActById(@Param("communityId") Long communityId); |
| | | } |