有意思的两段java代码
首先,创建一个实体类Order对象,代码如下:public class Order{ private String orderNo; private String name; public Order(){ setOrderNo("order:"+ UUID.randomUUID().toString()); setName("name:"+UUID.randomUUID