实体order和user采用resultMap order package pojo; import java.util.Date; public class Order { private Integer id; private Integer userId; private String number; private Date createtime; private String note; private User user; public User getUesr() { return…