Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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
base_platform_enterprise
gic-platform-enterprise
Commits
c9afcdff
Commit
c9afcdff
authored
Apr 28, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商户规则名称筛选修复
parent
5644cf53
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ConfigRuleEnterpriseApiServiceImpl.java
...ervice/outer/impl/ConfigRuleEnterpriseApiServiceImpl.java
+1
-1
TabConfigRuleEnterpriseMapper.xml
...c/main/resources/mapper/TabConfigRuleEnterpriseMapper.xml
+3
-1
No files found.
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/impl/ConfigRuleEnterpriseApiServiceImpl.java
View file @
c9afcdff
...
...
@@ -202,7 +202,7 @@ public class ConfigRuleEnterpriseApiServiceImpl implements ConfigRuleEnterpriseA
com
.
github
.
pagehelper
.
Page
page
=
configRuleEnterpriseService
.
listRule
(
search
,
pageNum
,
pageSize
);
Page
<
RuleEnterpriseDTO
>
resultPage
=
PageHelperUtils
.
changePageHelperToCurrentPage
(
page
);
//
if
(
pageNum
!=
null
&&
pageNum
==
1
)
{
if
(
pageNum
!=
null
&&
pageNum
==
1
&&
StringUtils
.
isBlank
(
search
)
)
{
//添加默认平台规则
TabConfigRuleEnterpriseRel
defaultRule
=
configRuleEnterpriseService
.
getByEnterpriseId
(-
1
);
if
(
defaultRule
!=
null
)
{
...
...
gic-platform-enterprise-service/src/main/resources/mapper/TabConfigRuleEnterpriseMapper.xml
View file @
c9afcdff
...
...
@@ -118,7 +118,9 @@
from tab_config_rule_enterprise t1
left join tab_config_rule_enterprise_rel t2 on t1.enterprise_rule_id = t2.enterprise_rule_id
and t2.status = 1
and t2.enterprise_id != -1
<if
test=
"search == null or search == '' "
>
and t2.enterprise_id != -1
</if>
<if
test=
"search != null and search != '' "
>
left join tab_enterprise t3 on t2.enterprise_id = t3.enterprise_id
</if>
...
...
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