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
c5d48c53
Commit
c5d48c53
authored
Apr 09, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询交接单详情
parent
1005de23
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
ReceiptApi.java
src/main/java/com/yxproject/start/api/ReceiptApi.java
+1
-1
ReceiptMapper.java
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
+2
-2
ReceiptService.java
...main/java/com/yxproject/start/service/ReceiptService.java
+1
-1
ReceiptServiceImpl.java
.../com/yxproject/start/service/impl/ReceiptServiceImpl.java
+2
-2
No files found.
src/main/java/com/yxproject/start/api/ReceiptApi.java
View file @
c5d48c53
...
...
@@ -136,7 +136,7 @@ public class ReceiptApi {
@RequestMapping
(
"selectRecriptData"
)
public
List
<
Map
<
String
,
Object
>>
selectRecriptData
(
@RequestParam
(
"name"
)
String
name
)
{
//返回交接单数据
List
<
Map
<
String
,
Object
>>
resultMap
=
receiptService
.
selectReceiptListOfSpecialCard
();
List
<
Map
<
String
,
Object
>>
resultMap
=
receiptService
.
selectReceiptListOfSpecialCard
(
name
);
for
(
int
i
=
0
;
i
<
resultMap
.
size
();
i
++)
{
String
groupNo
=
(
String
)
resultMap
.
get
(
i
).
get
(
"QR_CODE"
);
//判断是否是特证
...
...
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
View file @
c5d48c53
...
...
@@ -114,8 +114,8 @@ public interface ReceiptMapper {
public
int
selectSpecialCardByAcceptNo
(
@Param
(
"id"
)
String
id
);
//查询未复核交接单
@Select
(
"SELECT RECEIPT_LIST.* ,GAJG_DM.GAJG_MC FROM RECEIPT_LIST LEFT JOIN GAJG_DM ON RECEIPT_LIST.POLICE_CODE=GAJG_DM.GAJG_DM where state=0 \n"
)
public
List
<
Map
<
String
,
Object
>>
selectReceiptListOfSpecialCard
();
@Select
(
"SELECT RECEIPT_LIST.* ,GAJG_DM.GAJG_MC FROM RECEIPT_LIST LEFT JOIN GAJG_DM ON RECEIPT_LIST.POLICE_CODE=GAJG_DM.GAJG_DM where state=0
and check_name =#{name}
\n"
)
public
List
<
Map
<
String
,
Object
>>
selectReceiptListOfSpecialCard
(
@Param
(
"name"
)
String
name
);
//根据身份证号查询普通证交接单
@Select
(
"SELECT RECEIPT_LIST.* FROM RECEIPT_LIST \n"
+
...
...
src/main/java/com/yxproject/start/service/ReceiptService.java
View file @
c5d48c53
...
...
@@ -24,7 +24,7 @@ public interface ReceiptService {
public
int
selectSpecialCardByAcceptNo
(
String
id
);
public
List
<
Map
<
String
,
Object
>>
selectReceiptListOfSpecialCard
();
public
List
<
Map
<
String
,
Object
>>
selectReceiptListOfSpecialCard
(
String
name
);
public
Map
<
String
,
Object
>
selectReceiptList
(
String
id
);
...
...
src/main/java/com/yxproject/start/service/impl/ReceiptServiceImpl.java
View file @
c5d48c53
...
...
@@ -59,8 +59,8 @@ public class ReceiptServiceImpl implements ReceiptService {
}
@Override
public
List
<
Map
<
String
,
Object
>>
selectReceiptListOfSpecialCard
()
{
List
<
Map
<
String
,
Object
>>
resultList
=
receiptMapper
.
selectReceiptListOfSpecialCard
();
public
List
<
Map
<
String
,
Object
>>
selectReceiptListOfSpecialCard
(
String
name
)
{
List
<
Map
<
String
,
Object
>>
resultList
=
receiptMapper
.
selectReceiptListOfSpecialCard
(
name
);
return
resultList
;
}
...
...
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