Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
b38fc4eb
Commit
b38fc4eb
authored
Aug 17, 2023
by
gu-jinli1118
Browse files
111
parent
912567ad
Changes
3
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/service/account/AccountService.java
View file @
b38fc4eb
...
@@ -593,4 +593,17 @@ public class AccountService {
...
@@ -593,4 +593,17 @@ public class AccountService {
}
}
return
result
;
return
result
;
}
}
public
String
test222
(
List
<
String
>
list
,
List
<
Map
>
list2
)
{
list2
.
forEach
(
tempMap
->{
System
.
out
.
println
(
"test17"
);
for
(
Object
en
:
tempMap
.
entrySet
())
{
System
.
out
.
println
(
"test18"
);
}
System
.
out
.
println
(
"test19"
);
});
return
null
;
}
}
}
jshERP-boot/src/main/java/com/jsh/erp/utils/OverRide.java
0 → 100644
View file @
b38fc4eb
package
com.jsh.erp.utils
;
public
class
OverRide
{
}
class
Shape
{
public
int
area
(
int
length
,
int
width
)
{
System
.
out
.
println
(
"Shape~area"
);
return
length
*
width
;
}
}
class
triangle
extends
Shape
{
@Override
public
int
area
(
int
length
,
int
width
)
{
System
.
out
.
println
(
"triangle ~area"
);
return
1
/
2
*
length
*
width
;
}
}
jshERP-boot/src/main/java/com/jsh/erp/utils/Overload.java
0 → 100644
View file @
b38fc4eb
package
com.jsh.erp.utils
;
public
class
Overload
{
public
int
add
(
int
a
,
int
b
)
{
System
.
out
.
println
(
a
+
b
);
return
a
+
b
;
}
public
double
add
(
double
a
,
double
b
)
{
System
.
out
.
println
(
a
+
b
);
return
a
+
b
;
}
public
int
add
(
int
a
,
int
b
,
int
c
)
{
System
.
out
.
println
(
a
+
b
);
return
a
+
b
+
c
;
}
public
void
add
(
int
a
)
{
System
.
out
.
println
(
a
);
}
}
Write
Preview
Supports
Markdown
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