Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
Orders
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Vladimir Trubachoff
Orders
Commits
053afa15
Commit
053afa15
authored
Jul 01, 2024
by
Vladimir Trubachoff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix remove comments
parent
0498ba10
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
Goods.java
src/main/java/com/example/testj/domain/Goods.java
+0
-14
index-page.component.ts
...n/webapp/src/app/pages/index-page/index-page.component.ts
+0
-1
No files found.
src/main/java/com/example/testj/domain/Goods.java
View file @
053afa15
...
...
@@ -19,15 +19,9 @@ public class Goods {
@Column
(
name
=
"name"
)
private
String
name
;
@NotEmpty
@Column
(
name
=
"price"
)
private
double
price
;
// @JsonIgnore
// @OneToMany(mappedBy= "goods", cascade = CascadeType.ALL, orphanRemoval =
// true)
// private List<OrderLine> orderLine;
public
Goods
()
{
}
...
...
@@ -65,12 +59,4 @@ public class Goods {
public
void
setPrice
(
Double
price
)
{
this
.
price
=
price
;
}
// public List<OrderLine> getOrderLine() {
// return orderLine;
// }
// public void setOrderLine(List<OrderLine> orderLine) {
// this.orderLine = orderLine;
// }
}
src/main/webapp/src/app/pages/index-page/index-page.component.ts
View file @
053afa15
...
...
@@ -118,7 +118,6 @@ export class IndexPageComponent
concatMap
(()
=>
this
.
goodsService
.
get
(
this
.
goodsPage
.
number
)),
)
.
subscribe
((
resp
:
PagedResponseModel
<
Goods
>
)
=>
{
console
.
dir
(
resp
);
this
.
goodsPage
=
resp
.
page
;
this
.
goodsSubj$
.
next
(
resp
);
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment