请问下老师mp在实际开发中 ,遇到多表关联查询 ,mp能实现这些功能吗,还是说直接用原生mybatis在xml中写sql更方便
就好像这种
SELECT Persons.LastName, Persons.FirstName, Orders.OrderNo FROM Persons INNER JOIN Orders ON Persons.Id_P=Orders.Id_P ORDER BY Persons.LastName
就好像这种
SELECT Persons.LastName, Persons.FirstName, Orders.OrderNo FROM Persons INNER JOIN Orders ON Persons.Id_P=Orders.Id_P ORDER BY Persons.LastName
2019-07-29
举报