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
aa33fb71
Commit
aa33fb71
authored
Feb 25, 2020
by
zhangzhenbang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
suo
parent
95fd943f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
0 deletions
+15
-0
IdentityInfoController.java
...beijingvehicleflow/controller/IdentityInfoController.java
+5
-0
IdentityInformationMapper.java
.../beijingvehicleflow/mapper/IdentityInformationMapper.java
+3
-0
IdentityInformationService.java
...eijingvehicleflow/service/IdentityInformationService.java
+2
-0
IdentityInformationServiceImpl.java
...icleflow/service/impl/IdentityInformationServiceImpl.java
+5
-0
No files found.
src/main/java/com/yingxin/beijingvehicleflow/controller/IdentityInfoController.java
View file @
aa33fb71
...
@@ -216,5 +216,10 @@ public class IdentityInfoController {
...
@@ -216,5 +216,10 @@ public class IdentityInfoController {
}
}
@PostMapping
(
"/phone"
)
public
IdentityInformation
getPhoneById
(
@RequestBody
IdentityInformation
info
)
{
return
identityInformationService
.
getAllIdentityInfoById
(
info
.
getId
());
}
}
}
src/main/java/com/yingxin/beijingvehicleflow/mapper/IdentityInformationMapper.java
View file @
aa33fb71
...
@@ -55,4 +55,7 @@ public interface IdentityInformationMapper {
...
@@ -55,4 +55,7 @@ public interface IdentityInformationMapper {
//待删除,战士用的
//待删除,战士用的
@Select
(
"select * from reservation where identity_id=#{id}"
)
@Select
(
"select * from reservation where identity_id=#{id}"
)
List
<
Reservation
>
selectReservationByIdentityId
(
IdentityInformation
info
);
List
<
Reservation
>
selectReservationByIdentityId
(
IdentityInformation
info
);
@Select
(
"select * from identity_information where id = #{id}"
)
IdentityInformation
getAllIdentityInfoById
(
int
id
);
}
}
src/main/java/com/yingxin/beijingvehicleflow/service/IdentityInformationService.java
View file @
aa33fb71
...
@@ -46,4 +46,6 @@ public interface IdentityInformationService {
...
@@ -46,4 +46,6 @@ public interface IdentityInformationService {
List
<
Reservation
>
selectReservationByIdentityId
(
IdentityInformation
info
);
List
<
Reservation
>
selectReservationByIdentityId
(
IdentityInformation
info
);
IdentityInformation
getAllIdentityInfoById
(
int
id
);
}
}
src/main/java/com/yingxin/beijingvehicleflow/service/impl/IdentityInformationServiceImpl.java
View file @
aa33fb71
...
@@ -129,4 +129,9 @@ public class IdentityInformationServiceImpl implements IdentityInformationServic
...
@@ -129,4 +129,9 @@ public class IdentityInformationServiceImpl implements IdentityInformationServic
public
List
<
Reservation
>
selectReservationByIdentityId
(
IdentityInformation
info
)
{
public
List
<
Reservation
>
selectReservationByIdentityId
(
IdentityInformation
info
)
{
return
identityInformationMapper
.
selectReservationByIdentityId
(
info
);
return
identityInformationMapper
.
selectReservationByIdentityId
(
info
);
}
}
@Override
public
IdentityInformation
getAllIdentityInfoById
(
int
id
)
{
return
identityInformationMapper
.
getAllIdentityInfoById
(
id
);
}
}
}
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