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
431f6eb2
Commit
431f6eb2
authored
Apr 24, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加查询妥投失败原因API
parent
db204755
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
0 deletions
+28
-0
DeliveredApi.java
src/main/java/com/yxproject/start/api/DeliveredApi.java
+16
-0
DeliveredInfoMapper.java
.../java/com/yxproject/start/mapper/DeliveredInfoMapper.java
+3
-0
DeliveredService.java
...in/java/com/yxproject/start/service/DeliveredService.java
+2
-0
DeliveredServiceImpl.java
...om/yxproject/start/service/impl/DeliveredServiceImpl.java
+7
-0
No files found.
src/main/java/com/yxproject/start/api/DeliveredApi.java
View file @
431f6eb2
package
com
.
yxproject
.
start
.
api
;
package
com
.
yxproject
.
start
.
api
;
import
com.yxproject.start.entity.DeliveredFailedInfoEntity
;
import
com.yxproject.start.entity.DeliveredFailedInfoEntity
;
import
com.yxproject.start.entity.DeliveredFailedReasonEntity
;
import
com.yxproject.start.entity.DeliveredImportDicEntity
;
import
com.yxproject.start.entity.DeliveredImportDicEntity
;
import
com.yxproject.start.entity.DeliveredInfoEntity
;
import
com.yxproject.start.entity.DeliveredInfoEntity
;
import
com.yxproject.start.service.DeliveredService
;
import
com.yxproject.start.service.DeliveredService
;
...
@@ -224,6 +225,11 @@ public class DeliveredApi {
...
@@ -224,6 +225,11 @@ public class DeliveredApi {
List
<
String
>
list
=
(
List
<
String
>)
jsonArray
;
List
<
String
>
list
=
(
List
<
String
>)
jsonArray
;
for
(
String
cardId:
list
){
for
(
String
cardId:
list
){
//todo 确认接收妥投失败证件
//todo 确认接收妥投失败证件
//更改妥投失败证件状态
//查询出对应详单信息
//生成新的交接单信息
//更改对应的详单信息
}
}
return
true
;
return
true
;
...
@@ -256,6 +262,16 @@ public class DeliveredApi {
...
@@ -256,6 +262,16 @@ public class DeliveredApi {
return
deliveredService
.
deleteDeliveredFailedById
(
Long
.
valueOf
(
id
));
return
deliveredService
.
deleteDeliveredFailedById
(
Long
.
valueOf
(
id
));
}
}
/**
* 查询登记妥投失败类型
* @return 返回值
*/
@RequestMapping
(
"queryDeliveredFailedType"
)
// @RequiresPermissions("userInfo.add")//权限管理;
public
List
<
DeliveredFailedReasonEntity
>
queryDeliveredFailedType
(){
return
deliveredService
.
selectDeliveredFailedType
();
}
/**
/**
...
...
src/main/java/com/yxproject/start/mapper/DeliveredInfoMapper.java
View file @
431f6eb2
package
com
.
yxproject
.
start
.
mapper
;
package
com
.
yxproject
.
start
.
mapper
;
import
com.yxproject.start.entity.DeliveredFailedReasonEntity
;
import
com.yxproject.start.entity.DeliveredImportDicEntity
;
import
com.yxproject.start.entity.DeliveredImportDicEntity
;
import
com.yxproject.start.entity.DeliveredInfoEntity
;
import
com.yxproject.start.entity.DeliveredInfoEntity
;
import
org.apache.ibatis.annotations.*
;
import
org.apache.ibatis.annotations.*
;
...
@@ -45,4 +46,6 @@ public interface DeliveredInfoMapper {
...
@@ -45,4 +46,6 @@ public interface DeliveredInfoMapper {
@Delete
(
"delete from DELIVERED_FAILED_INFO where id = #{id}"
)
@Delete
(
"delete from DELIVERED_FAILED_INFO where id = #{id}"
)
public
boolean
deleteDeliveredFailedById
(
@Param
(
"id"
)
long
id
);
public
boolean
deleteDeliveredFailedById
(
@Param
(
"id"
)
long
id
);
@Select
(
"select * from DELIVERED_FAILED_REASON "
)
public
List
<
DeliveredFailedReasonEntity
>
selectDeliveredFailedType
();
}
}
src/main/java/com/yxproject/start/service/DeliveredService.java
View file @
431f6eb2
package
com
.
yxproject
.
start
.
service
;
package
com
.
yxproject
.
start
.
service
;
import
com.yxproject.start.entity.DeliveredFailedInfoEntity
;
import
com.yxproject.start.entity.DeliveredFailedInfoEntity
;
import
com.yxproject.start.entity.DeliveredFailedReasonEntity
;
import
com.yxproject.start.entity.DeliveredImportDicEntity
;
import
com.yxproject.start.entity.DeliveredImportDicEntity
;
import
com.yxproject.start.entity.DeliveredInfoEntity
;
import
com.yxproject.start.entity.DeliveredInfoEntity
;
...
@@ -20,4 +21,5 @@ public interface DeliveredService {
...
@@ -20,4 +21,5 @@ public interface DeliveredService {
public
List
<
Map
<
String
,
Object
>>
selectDeliveredFailedByRegisterDate
(
String
date
);
public
List
<
Map
<
String
,
Object
>>
selectDeliveredFailedByRegisterDate
(
String
date
);
public
boolean
deleteDeliveredByFileId
(
long
filedID
);
public
boolean
deleteDeliveredByFileId
(
long
filedID
);
public
boolean
deleteDeliveredFailedById
(
long
id
);
public
boolean
deleteDeliveredFailedById
(
long
id
);
public
List
<
DeliveredFailedReasonEntity
>
selectDeliveredFailedType
();
}
}
src/main/java/com/yxproject/start/service/impl/DeliveredServiceImpl.java
View file @
431f6eb2
package
com
.
yxproject
.
start
.
service
.
impl
;
package
com
.
yxproject
.
start
.
service
.
impl
;
import
com.yxproject.start.entity.DeliveredFailedInfoEntity
;
import
com.yxproject.start.entity.DeliveredFailedInfoEntity
;
import
com.yxproject.start.entity.DeliveredFailedReasonEntity
;
import
com.yxproject.start.entity.DeliveredImportDicEntity
;
import
com.yxproject.start.entity.DeliveredImportDicEntity
;
import
com.yxproject.start.entity.DeliveredInfoEntity
;
import
com.yxproject.start.entity.DeliveredInfoEntity
;
import
com.yxproject.start.mapper.DeliveredFailedInfoMapper
;
import
com.yxproject.start.mapper.DeliveredFailedInfoMapper
;
...
@@ -79,4 +80,10 @@ public class DeliveredServiceImpl implements DeliveredService {
...
@@ -79,4 +80,10 @@ public class DeliveredServiceImpl implements DeliveredService {
public
boolean
deleteDeliveredFailedById
(
long
id
)
{
public
boolean
deleteDeliveredFailedById
(
long
id
)
{
return
deliveredInfoMapper
.
deleteDeliveredFailedById
(
id
);
return
deliveredInfoMapper
.
deleteDeliveredFailedById
(
id
);
}
}
@Override
public
List
<
DeliveredFailedReasonEntity
>
selectDeliveredFailedType
()
{
return
deliveredInfoMapper
.
selectDeliveredFailedType
();
}
}
}
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