Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
haoban3.0
haoban-manage3.0
Commits
f714a8dd
Commit
f714a8dd
authored
Mar 18, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
3cb6cdb9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
AuditApiService.java
...va/com/gic/haoban/manage/api/service/AuditApiService.java
+1
-1
AuditMapper.java
...com/gic/haoban/manage/service/dao/mapper/AuditMapper.java
+2
-1
AuditApiServiceImpl.java
.../manage/service/service/out/impl/AuditApiServiceImpl.java
+2
-2
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/AuditApiService.java
View file @
f714a8dd
...
...
@@ -10,6 +10,6 @@ import com.gic.haoban.manage.api.dto.AuditDTO;
*/
public
interface
AuditApiService
{
Page
<
AuditDTO
>
page
(
Integer
auditType
,
String
search
,
String
enterpriseId
,
BasePageInfo
pageInfo
);
Page
<
AuditDTO
>
page
(
Integer
auditType
,
String
search
,
String
enterpriseId
,
Integer
auditStatus
,
BasePageInfo
pageInfo
);
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/AuditMapper.java
View file @
f714a8dd
...
...
@@ -19,6 +19,6 @@ public interface AuditMapper {
int
updateByPrimaryKey
(
TabHaobanAudit
record
);
Page
<
TabHaobanAudit
>
page
(
Integer
auditType
,
List
<
String
>
storeIds
,
List
<
String
>
staffIds
,
String
enterpriseId
);
Page
<
TabHaobanAudit
>
page
(
Integer
auditType
,
List
<
String
>
storeIds
,
List
<
String
>
staffIds
,
String
enterpriseId
,
Integer
auditStatus
);
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/AuditApiServiceImpl.java
View file @
f714a8dd
...
...
@@ -22,12 +22,12 @@ public class AuditApiServiceImpl implements AuditApiService{
private
AuditMapper
auditMapper
;
@Override
public
Page
<
AuditDTO
>
page
(
Integer
auditType
,
String
search
,
String
enterpriseId
,
BasePageInfo
pageInfo
)
{
String
enterpriseId
,
Integer
auditStatus
,
BasePageInfo
pageInfo
)
{
//TODO 通过search模糊查找storeIds,和staffIds
List
<
String
>
storeIds
=
new
ArrayList
<>();
List
<
String
>
staffIds
=
new
ArrayList
<>();
PageHelper
.
startPage
(
pageInfo
.
getPageNum
(),
pageInfo
.
getPageSize
());
com
.
github
.
pagehelper
.
Page
<
TabHaobanAudit
>
page
=
auditMapper
.
page
(
auditType
,
storeIds
,
staffIds
,
enterpriseId
);
com
.
github
.
pagehelper
.
Page
<
TabHaobanAudit
>
page
=
auditMapper
.
page
(
auditType
,
storeIds
,
staffIds
,
enterpriseId
,
auditStatus
);
return
PageUtil
.
changePageHelperToCurrentPage
(
page
,
AuditDTO
.
class
);
}
}
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