yanghui
2022-10-24 10df7e29b51d6a2efacc83d870856f57d97a9b66
springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbMemberRoleDAO.java
@@ -31,8 +31,8 @@
    IPage<PartyCommitteeVO> pagePartyOrganization(Page page,
        @Param("partyCommitteeVO") PartyCommitteeVO partyCommitteeVO);
    @Select("select * from sys_user where phone=#{phone} and type=1")
    SysUserVO getSysUserByPhone(@Param("phone") String phone);
    @Select("select * from sys_user where phone=#{phone} AND app_id = #{appid} and type=1")
    SysUserVO getSysUserByPhone(@Param("phone") String phone, @Param("appid") String appid);
    /**
     * 根据身份证查询小程序用户id
@@ -45,10 +45,10 @@
    /**
     * 根据手机号查询小程序用户id
     * @param phone 手机号
     * @param areaCode
     * @param appid
     * @return  小程序用户id
     */
    Long getSysUserIdByPhone(@Param("phone") String phone, @Param("areaCode") String areaCode);
    Long getSysUserIdByPhone(@Param("phone") String phone, @Param("appid") String appid);
    @Update("update sys_user u set u.phone=#{newphone} where u.phone=#{oldphone}")
    void updateUserPhone(@Param("newphone") String newphone, @Param("oldphone") String oldphone);