PoyeeAppAccountMapper.java 863 B

123456789101112131415161718192021222324
  1. package com.tzy.mapper;
  2. import com.tzy.entity.AppAccount;
  3. import org.apache.ibatis.annotations.Param;
  4. import java.util.List;
  5. public interface PoyeeAppAccountMapper {
  6. AppAccount selectByLoginId(@Param("loginId") String loginId);
  7. int insertAppAccount(AppAccount appAccount);
  8. int updatePassword(@Param("account") String account, @Param("password") String password, @Param("salt") String salt);
  9. int updatePhone(@Param("account") String account, @Param("phone") String phone);
  10. int updateAccountAndPhone(@Param("oldAccount") String oldAccount,
  11. @Param("newAccount") String newAccount,
  12. @Param("phone") String phone);
  13. int updateOpenId(@Param("account") String account, @Param("openId") String openId);
  14. List<String> selectRoleCodesByRoleId(@Param("roleid") Integer roleid);
  15. }