resultType和resultMap一对一查询小结

resultType和resultMap一对一查询小结

 

SELECT
orders.*, USER .username,USER.birthday,USER.sex,USER.address
FROM
orders,
USER
WHERE
orders.user_id = USER .id

 

posted on 2016-09-18 22:06  Lightt  阅读(158)  评论(0)    收藏  举报