Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
f4e39365
Commit
f4e39365
authored
Mar 12, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加交接单详单备注
parent
701c76c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
ReceiptApi.java
src/main/java/com/yxproject/start/api/ReceiptApi.java
+9
-4
No files found.
src/main/java/com/yxproject/start/api/ReceiptApi.java
View file @
f4e39365
...
...
@@ -222,19 +222,24 @@ public class ReceiptApi {
for
(
int
i
=
0
;
i
<
jsonarray
.
size
();
i
++){
DetailReceiptListEntity
detailReceiptListEntity
=
receiptService
.
selectDetailByAcceptNo
((
String
)
jsonarray
.
get
(
i
));
resultList
.
add
(
detailReceiptListEntity
);
}
return
resultList
;
}
/**
* 更改备注信息
* @param acceptNo
* @param note
* @param jsonStr
* @return
*/
@RequestMapping
(
"updateDetailNote"
)
public
boolean
updateDetailNote
(
@RequestParam
(
"acceptNo"
)
String
acceptNo
,
@RequestParam
(
"note"
)
String
note
){
receiptService
.
updateDetail
(
acceptNo
,
note
);
public
boolean
updateDetailNote
(
@RequestBody
String
jsonStr
){
JSONArray
jsonArray
=
JSONArray
.
fromObject
(
jsonStr
);
for
(
int
i
=
0
;
i
<
jsonArray
.
size
();
i
++){
Map
<
String
,
Object
>
resultMap
=
(
Map
<
String
,
Object
>)
jsonArray
.
get
(
i
);
receiptService
.
updateDetail
(
resultMap
.
get
(
"acceptNo"
).
toString
(),
resultMap
.
get
(
"note"
).
toString
());
}
return
true
;
}
...
...
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