Fix query in *.entity.Users && method in LinesDaoImpl