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
d22f0d42
Commit
d22f0d42
authored
Mar 11, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
交接单修改
parent
72987709
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
14 deletions
+9
-14
ReceiptApi.java
src/main/java/com/yxproject/start/api/ReceiptApi.java
+3
-6
ReceiptMapper.java
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
+2
-4
ReceiptService.java
...main/java/com/yxproject/start/service/ReceiptService.java
+1
-1
ReceiptServiceImpl.java
.../com/yxproject/start/service/impl/ReceiptServiceImpl.java
+3
-3
No files found.
src/main/java/com/yxproject/start/api/ReceiptApi.java
View file @
d22f0d42
...
...
@@ -30,7 +30,7 @@ public class ReceiptApi {
*/
@RequestMapping
(
"createReceiptList"
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Map
<
String
,
Object
>
createReceiptList
(
@RequestParam
(
"id"
)
String
id
)
{
public
List
<
Map
<
String
,
Object
>
>
createReceiptList
(
@RequestParam
(
"id"
)
String
id
)
{
//判断是否是特证
if
(
receiptService
.
selectSpecialCardByAcceptNo
(
id
)==
1
){
...
...
@@ -87,11 +87,8 @@ public class ReceiptApi {
int
specialCardCount
=
receiptService
.
selectSpecialCard
(
groupNo
);
receiptService
.
detailedTallyDown
(
specialCardCount
,
groupNo
);
}
Map
<
String
,
Object
>
resultMap
=
receiptService
.
selectReceiptListOfSpecialCard
(
id
);
if
(
resultMap
==
null
){
resultMap
=
receiptService
.
selectReceiptList
(
id
);
}
return
resultMap
;
List
<
Map
<
String
,
Object
>>
resultList
=
receiptService
.
selectReceiptListOfSpecialCard
();
return
resultList
;
}
...
...
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
View file @
d22f0d42
...
...
@@ -64,10 +64,8 @@ public interface ReceiptMapper {
//根据身份证号查询特证交接单
@Select
(
"SELECT RECEIPT_LIST.* FROM RECEIPT_LIST \n"
+
"LEFT JOIN PROD_CARD_T@PROD_LINK ON PROD_CARD_T.ACCEPT_NO =RECEIPT_LIST.QR_CODE\n"
+
"WHERE PROD_CARD_T.ID_NO =#{id}"
)
public
Map
<
String
,
Object
>
selectReceiptListOfSpecialCard
(
String
id
);
@Select
(
"SELECT RECEIPT_LIST.* FROM RECEIPT_LIST where state=0\n"
)
public
List
<
Map
<
String
,
Object
>>
selectReceiptListOfSpecialCard
();
//根据身份证号查询普通证交接单
...
...
src/main/java/com/yxproject/start/service/ReceiptService.java
View file @
d22f0d42
...
...
@@ -24,7 +24,7 @@ public interface ReceiptService {
public
int
selectSpecialCardByAcceptNo
(
String
id
);
public
Map
<
String
,
Object
>
selectReceiptListOfSpecialCard
(
String
id
);
public
List
<
Map
<
String
,
Object
>>
selectReceiptListOfSpecialCard
(
);
public
Map
<
String
,
Object
>
selectReceiptList
(
String
id
);
...
...
src/main/java/com/yxproject/start/service/impl/ReceiptServiceImpl.java
View file @
d22f0d42
...
...
@@ -63,9 +63,9 @@ public class ReceiptServiceImpl implements ReceiptService {
}
@Override
public
Map
<
String
,
Object
>
selectReceiptListOfSpecialCard
(
String
id
)
{
Map
<
String
,
Object
>
resultMap
=
receiptMapper
.
selectReceiptListOfSpecialCard
(
id
);
return
result
Map
;
public
List
<
Map
<
String
,
Object
>>
selectReceiptListOfSpecialCard
(
)
{
List
<
Map
<
String
,
Object
>>
resultList
=
receiptMapper
.
selectReceiptListOfSpecialCard
(
);
return
result
List
;
}
@Override
...
...
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