OrderServcice:
/** * @author Tommy * Created by Tommy on 2019/12/13 **/ public interface OrderService { String getOrder(); }
** * @author Tommy * Created by Tommy on 2019/12/4 **/ public class User implements Serializable { private Integer id; private String name; private String sex; private String sex2; private Integer age; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getSex() { return sex; } public void setSex(String sex) { this.sex = sex; } public String getSex2() { return sex2; } public void setSex2(String sex2) { this.sex2 = sex2; } public Integer getAge() { return age; } public void setAge(Integer age) { this.age = age; } @Override public String toString() { return "User{" + "id=" + id + ", name='" + name + '\'' + ", sex='" + sex + '\'' + '}'; } }
/** * @author Tommy * Created by Tommy on 2019/12/4 **/ public interface UserService { User getUser(Integer id); List<User> findUser(String city, String sex); }