[update]订单列表修改

master
NH-LHG 2 years ago
parent 7e9f50e65f
commit c6974ceac4

@ -100,6 +100,8 @@ public class OrderController {
records.add(orderExt); records.add(orderExt);
}); });
pageExt.setRecords(records); pageExt.setRecords(records);
pageExt.setTotal(pageList.getTotal());
pageExt.setPages(pageList.getPages());
return Result.OK(pageExt); return Result.OK(pageExt);
} }

@ -81,7 +81,13 @@ public class Bbs implements Serializable {
/**产品id*/ /**产品id*/
@Excel(name = "产品id", width = 15) @Excel(name = "产品id", width = 15)
@ApiModelProperty(value = "产品id") @ApiModelProperty(value = "产品id")
private java.lang.Integer goodId; @JsonSerialize(using = ToStringSerializer.class)
private java.lang.Long goodId;
/**订单id*/
@Excel(name = "订单id", width = 15)
@ApiModelProperty(value = "订单id")
@JsonSerialize(using = ToStringSerializer.class)
private java.lang.Long orderId;
/**产品*/ /**产品*/
@Excel(name = "产品", width = 15) @Excel(name = "产品", width = 15)
@ApiModelProperty(value = "产品") @ApiModelProperty(value = "产品")

Loading…
Cancel
Save