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
cc7d594d
Commit
cc7d594d
authored
Feb 20, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审批记录根据店长和管理员过滤
parent
961cdfd3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
7 deletions
+11
-7
AuditApiService.java
...va/com/gic/haoban/manage/api/service/AuditApiService.java
+1
-1
TabHaobanAuditMapper.java
...aoban/manage/service/dao/mapper/TabHaobanAuditMapper.java
+1
-1
AuditApiServiceImpl.java
.../manage/service/service/out/impl/AuditApiServiceImpl.java
+4
-2
TabHaobanAuditMapper.xml
...ervice/src/main/resources/mapper/TabHaobanAuditMapper.xml
+4
-2
AuditController.java
...com/gic/haoban/manage/web/controller/AuditController.java
+1
-1
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/AuditApiService.java
View file @
cc7d594d
...
...
@@ -32,7 +32,7 @@ public interface AuditApiService {
Page
<
AuditDTO
>
listByStaffId
(
String
staffId
,
Integer
auditType
,
Integer
auditStatus
,
String
enterpriseId
,
BasePageInfo
pageInfo
);
Page
<
AuditDTO
>
pageStoreListByParams
(
List
<
String
>
storeIds
,
BasePageInfo
pageInfo
,
Integer
auditType
,
Integer
auditStatus
,
String
wxEnterpriseId
,
String
enterpriseId
);
Integer
auditType
,
Integer
auditStatus
,
String
wxEnterpriseId
,
String
enterpriseId
,
String
clerkId
);
AuditDTO
findById
(
String
auditId
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/TabHaobanAuditMapper.java
View file @
cc7d594d
...
...
@@ -36,7 +36,7 @@ public interface TabHaobanAuditMapper {
@Param
(
"auditType"
)
Integer
auditType
,
@Param
(
"auditStatus"
)
Integer
auditStatus
,
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
,
@Param
(
"enterpriseId"
)
String
enterpriseId
);
@Param
(
"enterpriseId"
)
String
enterpriseId
,
@Param
(
"clerkType"
)
int
clerkType
);
TabHaobanAudit
findByBindRelatedIdAndAuditType
(
@Param
(
"relatedId"
)
String
relatedId
,
@Param
(
"auditType"
)
int
auditType
,
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/AuditApiServiceImpl.java
View file @
cc7d594d
...
...
@@ -412,9 +412,11 @@ public class AuditApiServiceImpl implements AuditApiService {
@Override
public
Page
<
AuditDTO
>
pageStoreListByParams
(
List
<
String
>
storeIds
,
BasePageInfo
pageInfo
,
Integer
auditType
,
Integer
auditStatus
,
String
wxEnterpriseId
,
String
enterpriseId
)
{
Integer
auditStatus
,
String
wxEnterpriseId
,
String
enterpriseId
,
String
clerkId
)
{
ClerkDTO
clerkDTO
=
this
.
clerkService
.
getclerkById
(
clerkId
)
;
int
clerkType
=
clerkDTO
.
getClerkType
()
;
PageHelper
.
startPage
(
pageInfo
.
getPageNum
(),
pageInfo
.
getPageSize
());
return
PageUtil
.
changePageHelperToCurrentPage
(
auditMapper
.
pageStoreListByParams
(
storeIds
,
auditType
,
auditStatus
,
wxEnterpriseId
,
enterpriseId
),
AuditDTO
.
class
);
return
PageUtil
.
changePageHelperToCurrentPage
(
auditMapper
.
pageStoreListByParams
(
storeIds
,
auditType
,
auditStatus
,
wxEnterpriseId
,
enterpriseId
,
clerkType
),
AuditDTO
.
class
);
}
public
void
insertBatchLog
(
String
batchId
,
int
auditResult
,
TabHaobanAudit
tab
)
{
...
...
haoban-manage3-service/src/main/resources/mapper/TabHaobanAuditMapper.xml
View file @
cc7d594d
...
...
@@ -210,8 +210,10 @@
from tab_haoban_audit
where
status_flag = 1
<if
test=
"auditType == null || auditType == -1"
>
and audit_type in (2,3,4,5)
<if
test=
"clerkType==1"
>
<if
test=
"auditType == null || auditType == -1"
>
and audit_type in (2,3,4,5)
</if>
</if>
<if
test=
"auditType != null and auditType != -1"
>
and audit_type = #{auditType}
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/AuditController.java
View file @
cc7d594d
...
...
@@ -145,7 +145,7 @@ public class AuditController extends WebBaseController {
if
(
storeIds
.
contains
(
"-1"
))
{
storeIds
=
null
;
}
Page
<
AuditDTO
>
page
=
auditApiService
.
pageStoreListByParams
(
storeIds
,
pageInfo
,
auditType
,
auditStatus
,
wxEnterpriseId
,
enterpriseId
);
Page
<
AuditDTO
>
page
=
auditApiService
.
pageStoreListByParams
(
storeIds
,
pageInfo
,
auditType
,
auditStatus
,
wxEnterpriseId
,
enterpriseId
,
clerkId
);
List
<
AuditDTO
>
list
=
page
.
getResult
();
List
<
AuditVO
>
voList
=
new
ArrayList
<
AuditVO
>();
for
(
AuditDTO
auditDTO
:
list
)
{
...
...
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