Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
beijing-vehicleflow
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
zhangzhenbang
beijing-vehicleflow
Commits
7258e874
Commit
7258e874
authored
Feb 24, 2020
by
zhangzhenbang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单独实名认证
parent
3582c98d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
1 deletion
+18
-1
IdentityInfoController.java
...beijingvehicleflow/controller/IdentityInfoController.java
+4
-0
IdentityInformationMapper.java
.../beijingvehicleflow/mapper/IdentityInformationMapper.java
+4
-0
IdentityInformationService.java
...eijingvehicleflow/service/IdentityInformationService.java
+3
-0
IdentityInformationServiceImpl.java
...icleflow/service/impl/IdentityInformationServiceImpl.java
+6
-0
application.yml
src/main/resources/application.yml
+1
-1
No files found.
src/main/java/com/yingxin/beijingvehicleflow/controller/IdentityInfoController.java
View file @
7258e874
...
@@ -112,6 +112,10 @@ public class IdentityInfoController {
...
@@ -112,6 +112,10 @@ public class IdentityInfoController {
@PostMapping
(
"/identity/reservation/display"
)
@PostMapping
(
"/identity/reservation/display"
)
public
List
<
ReservationsDisplayDTO
>
selectReservatinsByIdentityId
(
@RequestBody
IdentityInformation
info
)
{
public
List
<
ReservationsDisplayDTO
>
selectReservatinsByIdentityId
(
@RequestBody
IdentityInformation
info
)
{
if
(
identityInformationService
.
selectReservationByIdentityId
(
info
).
size
()==
0
)
{
return
null
;
}
return
identityInformationService
.
selectReservatinsByIdentityId
(
info
);
return
identityInformationService
.
selectReservatinsByIdentityId
(
info
);
}
}
...
...
src/main/java/com/yingxin/beijingvehicleflow/mapper/IdentityInformationMapper.java
View file @
7258e874
...
@@ -51,4 +51,8 @@ public interface IdentityInformationMapper {
...
@@ -51,4 +51,8 @@ public interface IdentityInformationMapper {
@Update
(
"update identity_information set name=#{name}, id_card_number=#{idCardNumber},"
+
@Update
(
"update identity_information set name=#{name}, id_card_number=#{idCardNumber},"
+
"face_image=#{faceImage},is_authed=#{isAuthed} where id = #{id}"
)
"face_image=#{faceImage},is_authed=#{isAuthed} where id = #{id}"
)
int
updateIdentityVerificationById
(
IdentityInformation
info
);
int
updateIdentityVerificationById
(
IdentityInformation
info
);
//待删除,战士用的
@Select
(
"select * from reservation where identity_id=#{id}"
)
List
<
Reservation
>
selectReservationByIdentityId
(
IdentityInformation
info
);
}
}
src/main/java/com/yingxin/beijingvehicleflow/service/IdentityInformationService.java
View file @
7258e874
...
@@ -2,6 +2,7 @@ package com.yingxin.beijingvehicleflow.service;
...
@@ -2,6 +2,7 @@ package com.yingxin.beijingvehicleflow.service;
import
com.yingxin.beijingvehicleflow.dto.ReservationsDisplayDTO
;
import
com.yingxin.beijingvehicleflow.dto.ReservationsDisplayDTO
;
import
com.yingxin.beijingvehicleflow.entity.IdentityInformation
;
import
com.yingxin.beijingvehicleflow.entity.IdentityInformation
;
import
com.yingxin.beijingvehicleflow.entity.Reservation
;
import
net.sf.json.JSONObject
;
import
net.sf.json.JSONObject
;
import
java.util.List
;
import
java.util.List
;
...
@@ -43,4 +44,6 @@ public interface IdentityInformationService {
...
@@ -43,4 +44,6 @@ public interface IdentityInformationService {
int
updateIdentityVerificationById
(
IdentityInformation
info
);
int
updateIdentityVerificationById
(
IdentityInformation
info
);
List
<
Reservation
>
selectReservationByIdentityId
(
IdentityInformation
info
);
}
}
src/main/java/com/yingxin/beijingvehicleflow/service/impl/IdentityInformationServiceImpl.java
View file @
7258e874
...
@@ -3,6 +3,7 @@ package com.yingxin.beijingvehicleflow.service.impl;
...
@@ -3,6 +3,7 @@ package com.yingxin.beijingvehicleflow.service.impl;
import
com.yingxin.beijingvehicleflow.constant.Const
;
import
com.yingxin.beijingvehicleflow.constant.Const
;
import
com.yingxin.beijingvehicleflow.dto.ReservationsDisplayDTO
;
import
com.yingxin.beijingvehicleflow.dto.ReservationsDisplayDTO
;
import
com.yingxin.beijingvehicleflow.entity.IdentityInformation
;
import
com.yingxin.beijingvehicleflow.entity.IdentityInformation
;
import
com.yingxin.beijingvehicleflow.entity.Reservation
;
import
com.yingxin.beijingvehicleflow.mapper.IdentityInformationMapper
;
import
com.yingxin.beijingvehicleflow.mapper.IdentityInformationMapper
;
import
com.yingxin.beijingvehicleflow.service.IdentityInformationService
;
import
com.yingxin.beijingvehicleflow.service.IdentityInformationService
;
import
com.yingxin.beijingvehicleflow.util.PicUtils
;
import
com.yingxin.beijingvehicleflow.util.PicUtils
;
...
@@ -123,4 +124,9 @@ public class IdentityInformationServiceImpl implements IdentityInformationServic
...
@@ -123,4 +124,9 @@ public class IdentityInformationServiceImpl implements IdentityInformationServic
public
int
updateIdentityVerificationById
(
IdentityInformation
info
)
{
public
int
updateIdentityVerificationById
(
IdentityInformation
info
)
{
return
identityInformationMapper
.
updateIdentityVerificationById
(
info
);
return
identityInformationMapper
.
updateIdentityVerificationById
(
info
);
}
}
@Override
public
List
<
Reservation
>
selectReservationByIdentityId
(
IdentityInformation
info
)
{
return
identityInformationMapper
.
selectReservationByIdentityId
(
info
);
}
}
}
src/main/resources/application.yml
View file @
7258e874
...
@@ -32,7 +32,7 @@ restTemplate:
...
@@ -32,7 +32,7 @@ restTemplate:
defaultMaxPerRoute
:
10000
defaultMaxPerRoute
:
10000
validateAfterInactivity
:
30000
validateAfterInactivity
:
30000
QR-code-validTime
:
5
QR-code-validTime
:
30
async-Config
:
async-Config
:
MAX-POOL-SIZE
:
50
MAX-POOL-SIZE
:
50
...
...
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