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
d85d5725
Commit
d85d5725
authored
Jun 26, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
5c872431
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
1 deletion
+9
-1
DeliveredApi.java
src/main/java/com/yxproject/start/api/DeliveredApi.java
+1
-1
DeliveredInfoMapper.java
.../java/com/yxproject/start/mapper/DeliveredInfoMapper.java
+2
-0
DeliveredService.java
...in/java/com/yxproject/start/service/DeliveredService.java
+1
-0
DeliveredServiceImpl.java
...om/yxproject/start/service/impl/DeliveredServiceImpl.java
+5
-0
No files found.
src/main/java/com/yxproject/start/api/DeliveredApi.java
View file @
d85d5725
...
...
@@ -290,7 +290,7 @@ public class DeliveredApi {
String
name
=
jsonObject
.
getString
(
"name"
)
+
""
;
List
<
String
>
list
=
(
List
<
String
>)
jsonArray
;
for
(
String
cardId
:
list
)
{
//todo 确认接收妥投失败证件
deliveredService
.
updateDeliveredFailedInfo
(
cardId
,
name
);
//查询出对应详单信息
List
<
DetailReceiptListEntity
>
detailReceiptListEntityList
=
detailReceiptListService
.
selectDetailReceiptListEntityByCardId
(
cardId
);
if
(
detailReceiptListEntityList
.
size
()
>
0
)
{
...
...
src/main/java/com/yxproject/start/mapper/DeliveredInfoMapper.java
View file @
d85d5725
...
...
@@ -62,5 +62,7 @@ public interface DeliveredInfoMapper {
"left join DELIVERED_FAILED_REASON on DELIVERED_FAILED_REASON.ID = DELIVERED_FAILED_INFO.BACK_REASON\n"
+
"where RECEIVE_DATE is null"
)
public
List
<
Map
<
String
,
Object
>>
selectDeliveredFailedNotReceive
();
@Update
(
"update DELIVERED_FAILED_INFO set RECEIVE_NAME =#{name},RECEIVE_DATE = sysdate where CARD_ID = #{cardID} and RECEIVE_DATE is null"
)
public
boolean
updateDeliveredFailedInfo
(
@Param
(
"cardID"
)
String
cardID
,
@Param
(
"name"
)
String
name
);
}
src/main/java/com/yxproject/start/service/DeliveredService.java
View file @
d85d5725
...
...
@@ -25,4 +25,5 @@ public interface DeliveredService {
public
List
<
Map
<
String
,
Object
>>
selectDeliverData
(
String
stringList
);
public
List
<
Map
<
String
,
Object
>>
selectDeliverDataByWaybillNumber
(
String
waybillNumber
);
public
List
<
Map
<
String
,
Object
>>
selectDeliveredFailedNotReceive
();
public
boolean
updateDeliveredFailedInfo
(
String
cardID
,
String
name
);
}
src/main/java/com/yxproject/start/service/impl/DeliveredServiceImpl.java
View file @
d85d5725
...
...
@@ -105,4 +105,9 @@ public class DeliveredServiceImpl implements DeliveredService {
public
List
<
Map
<
String
,
Object
>>
selectDeliveredFailedNotReceive
()
{
return
deliveredInfoMapper
.
selectDeliveredFailedNotReceive
();
}
@Override
public
boolean
updateDeliveredFailedInfo
(
String
cardID
,
String
name
)
{
return
deliveredInfoMapper
.
updateDeliveredFailedInfo
(
cardID
,
name
);
}
}
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