Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
064163c0
Commit
064163c0
authored
Dec 24, 2019
by
zuoyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
股東表插入、查詢
parent
a6925ecf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
AppShareholderDetailBiz.java
...b/wxiaoqi/security/admin/biz/AppShareholderDetailBiz.java
+8
-7
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/AppShareholderDetailBiz.java
View file @
064163c0
...
@@ -143,13 +143,8 @@ public class AppShareholderDetailBiz extends BaseBiz<AppShareholderDetailMapper,
...
@@ -143,13 +143,8 @@ public class AppShareholderDetailBiz extends BaseBiz<AppShareholderDetailMapper,
if
(
Objects
.
nonNull
(
appShareholderDetailFindDTO
.
getPositionId
()))
{
if
(
Objects
.
nonNull
(
appShareholderDetailFindDTO
.
getPositionId
()))
{
positionId
=
appShareholderDetailFindDTO
.
getPositionId
();
positionId
=
appShareholderDetailFindDTO
.
getPositionId
();
}
}
Integer
finalPositionId
=
positionId
;
Integer
finalCompanyID
=
companyID
;
PageDataVO
<
AppShareholderDetail
>
pageDataVO
=
findPage
(
appShareholderDetailFindDTO
,
positionId
,
companyID
,
phone
,
name
);
String
finalPhone
=
phone
;
String
finalName
=
name
;
PageDataVO
<
AppShareholderDetail
>
pageDataVO
=
PageDataVO
.
pageInfo
(
appShareholderDetailFindDTO
.
getPage
(),
appShareholderDetailFindDTO
.
getLimit
(),
()
->
{
mapper
.
findPage
(
finalName
,
finalPhone
,
finalPositionId
,
finalCompanyID
);
});
List
<
AppShareholderDetail
>
data
=
pageDataVO
.
getData
();
List
<
AppShareholderDetail
>
data
=
pageDataVO
.
getData
();
if
(
CollectionUtils
.
isEmpty
(
data
))
{
if
(
CollectionUtils
.
isEmpty
(
data
))
{
dataVO
.
setData
(
Collections
.
EMPTY_LIST
);
dataVO
.
setData
(
Collections
.
EMPTY_LIST
);
...
@@ -190,6 +185,12 @@ public class AppShareholderDetailBiz extends BaseBiz<AppShareholderDetailMapper,
...
@@ -190,6 +185,12 @@ public class AppShareholderDetailBiz extends BaseBiz<AppShareholderDetailMapper,
return
dataVO
;
return
dataVO
;
}
}
private
PageDataVO
<
AppShareholderDetail
>
findPage
(
AppShareholderDetailFindDTO
appShareholderDetailFindDTO
,
Integer
finalPositionId
,
Integer
finalCompanyID
,
String
finalPhone
,
String
finalName
)
{
return
PageDataVO
.
pageInfo
(
appShareholderDetailFindDTO
.
getPage
(),
appShareholderDetailFindDTO
.
getLimit
(),
()
->
{
mapper
.
findPage
(
finalName
,
finalPhone
,
finalPositionId
,
finalCompanyID
);
});
}
/**
/**
* 批量导入
* 批量导入
*/
*/
...
...
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