package com.tzy.mapper; import com.tzy.entity.AppAccount; import org.apache.ibatis.annotations.Param; import java.util.List; public interface PoyeeAppAccountMapper { AppAccount selectByLoginId(@Param("loginId") String loginId); int insertAppAccount(AppAccount appAccount); int updatePassword(@Param("account") String account, @Param("password") String password, @Param("salt") String salt); int updatePhone(@Param("account") String account, @Param("phone") String phone); int updateAccountAndPhone(@Param("oldAccount") String oldAccount, @Param("newAccount") String newAccount, @Param("phone") String phone); int updateOpenId(@Param("account") String account, @Param("openId") String openId); List selectRoleCodesByRoleId(@Param("roleid") Integer roleid); }