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
fd3388de
Commit
fd3388de
authored
Apr 12, 2021
by
季圣华
Browse files
给销售出库增加销售人员
parent
efe8811d
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/controller/PersonController.java
View file @
fd3388de
...
...
@@ -100,7 +100,7 @@ public class PersonController {
* @param request
* @return
*/
@
Pos
tMapping
(
value
=
"/getPersonByNumType"
)
@
Ge
tMapping
(
value
=
"/getPersonByNumType"
)
public
JSONArray
getPersonByNumType
(
@RequestParam
(
"type"
)
String
typeNum
,
HttpServletRequest
request
)
throws
Exception
{
JSONArray
dataArray
=
new
JSONArray
();
...
...
@@ -117,8 +117,8 @@ public class PersonController {
if
(
null
!=
personList
)
{
for
(
Person
person
:
personList
)
{
JSONObject
item
=
new
JSONObject
();
item
.
put
(
"
id
"
,
person
.
getId
());
item
.
put
(
"
name
"
,
person
.
getName
());
item
.
put
(
"
value
"
,
person
.
getId
()
.
toString
()
);
item
.
put
(
"
text
"
,
person
.
getName
());
dataArray
.
add
(
item
);
}
}
...
...
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