Commit 053afa15 authored by Vladimir Trubachoff's avatar Vladimir Trubachoff

Fix remove comments

parent 0498ba10
...@@ -19,15 +19,9 @@ public class Goods { ...@@ -19,15 +19,9 @@ public class Goods {
@Column(name = "name") @Column(name = "name")
private String name; private String name;
@NotEmpty
@Column(name = "price") @Column(name = "price")
private double price; private double price;
// @JsonIgnore
// @OneToMany(mappedBy= "goods", cascade = CascadeType.ALL, orphanRemoval =
// true)
// private List<OrderLine> orderLine;
public Goods() { public Goods() {
} }
...@@ -65,12 +59,4 @@ public class Goods { ...@@ -65,12 +59,4 @@ public class Goods {
public void setPrice(Double price) { public void setPrice(Double price) {
this.price = price; this.price = price;
} }
// public List<OrderLine> getOrderLine() {
// return orderLine;
// }
// public void setOrderLine(List<OrderLine> orderLine) {
// this.orderLine = orderLine;
// }
} }
...@@ -118,7 +118,6 @@ export class IndexPageComponent ...@@ -118,7 +118,6 @@ export class IndexPageComponent
concatMap(() => this.goodsService.get(this.goodsPage.number)), concatMap(() => this.goodsService.get(this.goodsPage.number)),
) )
.subscribe((resp: PagedResponseModel<Goods>) => { .subscribe((resp: PagedResponseModel<Goods>) => {
console.dir(resp);
this.goodsPage = resp.page; this.goodsPage = resp.page;
this.goodsSubj$.next(resp); this.goodsSubj$.next(resp);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment