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
587e973c
Commit
587e973c
authored
Mar 11, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据核验
parent
42af3943
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
ReceiptApi.java
src/main/java/com/yxproject/start/api/ReceiptApi.java
+16
-1
No files found.
src/main/java/com/yxproject/start/api/ReceiptApi.java
View file @
587e973c
...
@@ -89,7 +89,11 @@ public class ReceiptApi {
...
@@ -89,7 +89,11 @@ public class ReceiptApi {
return
true
;
return
true
;
}
}
/**
* 根据身份证号查询任务单
* @param id
* @return
*/
@RequestMapping
(
"selectReceipt"
)
@RequestMapping
(
"selectReceipt"
)
public
Map
<
String
,
Object
>
selectReceipt
(
String
id
){
public
Map
<
String
,
Object
>
selectReceipt
(
String
id
){
Map
<
String
,
Object
>
resultMap
=
receiptService
.
selectReceiptListOfSpecialCard
(
id
);
Map
<
String
,
Object
>
resultMap
=
receiptService
.
selectReceiptListOfSpecialCard
(
id
);
...
@@ -99,12 +103,23 @@ public class ReceiptApi {
...
@@ -99,12 +103,23 @@ public class ReceiptApi {
return
resultMap
;
return
resultMap
;
}
}
/**
* 根据任务单查询详细信息
* @param receiptId
* @return
*/
@RequestMapping
(
"selectDetailList"
)
@RequestMapping
(
"selectDetailList"
)
public
List
<
Map
<
String
,
Object
>>
selectDetailList
(
String
receiptId
){
public
List
<
Map
<
String
,
Object
>>
selectDetailList
(
String
receiptId
){
List
<
Map
<
String
,
Object
>>
resultList
=
receiptService
.
selectDetailList
(
receiptId
);
List
<
Map
<
String
,
Object
>>
resultList
=
receiptService
.
selectDetailList
(
receiptId
);
return
resultList
;
return
resultList
;
}
}
/**
* 数据核验
* @param receiptId
* @param chechName
* @return
*/
@RequestMapping
(
"updateReceiptList"
)
@RequestMapping
(
"updateReceiptList"
)
public
boolean
updateReceiptList
(
@Param
(
"receiptId"
)
int
receiptId
,
@Param
(
"checkName"
)
String
chechName
){
public
boolean
updateReceiptList
(
@Param
(
"receiptId"
)
int
receiptId
,
@Param
(
"checkName"
)
String
chechName
){
SimpleDateFormat
dt
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
//设置日期格式
SimpleDateFormat
dt
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
//设置日期格式
...
...
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