|  |  | 
 |  |  |  | 
 |  |  |     @Select("select * from user where md5(pushKey) = '${sign}'") | 
 |  |  |     List<User> checkPushAuthorityByCallId(String sign); | 
 |  |  |  | 
 |  |  |     @Select("select u.id, u.username,u.pushKey,u.roleId, r.id as roleID, r.name as roleName, r.authority as roleAuthority , r.createTime as roleCreateTime , r.updateTime as roleUpdateTime FROM user u join user_role r on u.roleId=r.id") | 
 |  |  |     @ResultMap(value="roleMap") | 
 |  |  |     List<User> getUsers(); | 
 |  |  |  | 
 |  |  |     @Update("update user set pushKey=#{pushKey} where id=#{id}") | 
 |  |  |     int changePushKey(int id, String pushKey); | 
 |  |  | } |