Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
site-project
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
site-project
Commits
89d7c150
Commit
89d7c150
authored
Apr 22, 2025
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4.21bug优化
parent
4237d81f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletions
+5
-1
cloud-site-service/src/main/java/com/yizhi/site/application/service/impl/SystemMailboxServiceImpl.java
+1
-0
cloud-site-service/src/main/resources/mapper/MyItemConfigMapper.xml
+3
-0
cloud-site-service/src/main/resources/mapper/PortalTerminalMapper.xml
+1
-1
No files found.
cloud-site-service/src/main/java/com/yizhi/site/application/service/impl/SystemMailboxServiceImpl.java
View file @
89d7c150
...
@@ -52,6 +52,7 @@ public class SystemMailboxServiceImpl extends ServiceImpl<SystemMailboxMapper,Sy
...
@@ -52,6 +52,7 @@ public class SystemMailboxServiceImpl extends ServiceImpl<SystemMailboxMapper,Sy
EntityWrapper
<
SystemMailbox
>
entityWrapper
=
new
EntityWrapper
();
EntityWrapper
<
SystemMailbox
>
entityWrapper
=
new
EntityWrapper
();
RequestContext
context
=
ContextHolder
.
get
();
RequestContext
context
=
ContextHolder
.
get
();
entityWrapper
.
eq
(
"site_id"
,
context
.
getSiteId
());
entityWrapper
.
eq
(
"site_id"
,
context
.
getSiteId
());
entityWrapper
.
eq
(
"deleted"
,
0
);
if
(
ObjectUtil
.
isNotEmpty
(
conditionVo
.
getContactName
())){
if
(
ObjectUtil
.
isNotEmpty
(
conditionVo
.
getContactName
())){
entityWrapper
.
like
(
"contact_name"
,
conditionVo
.
getContactName
());
entityWrapper
.
like
(
"contact_name"
,
conditionVo
.
getContactName
());
}
}
...
...
cloud-site-service/src/main/resources/mapper/MyItemConfigMapper.xml
View file @
89d7c150
...
@@ -71,6 +71,9 @@
...
@@ -71,6 +71,9 @@
select item_id from my_item_config_role where role_id in(
select item_id from my_item_config_role where role_id in(
select role_id from cloud_system.authz_account_role aar where account_id =#{accountId}))
select role_id from cloud_system.authz_account_role aar where account_id =#{accountId}))
</if>
</if>
<if
test=
"accountId ==null"
>
and my.id not in(1237069526114295813)
</if>
<if
test=
"terminalType !=null"
>
<if
test=
"terminalType !=null"
>
and my.terminal_type in
and my.terminal_type in
<foreach
collection=
"terminalType"
item=
"t"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"terminalType"
item=
"t"
open=
"("
close=
")"
separator=
","
>
...
...
cloud-site-service/src/main/resources/mapper/PortalTerminalMapper.xml
View file @
89d7c150
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<select
id=
"listPortal"
resultType=
"com.yizhi.site.application.vo.site.TerminalListVO"
>
<select
id=
"listPortal"
resultType=
"com.yizhi.site.application.vo.site.TerminalListVO"
>
select id, terminal_name AS terminalName, state, update_by_name AS updateByName, update_time AS updateTime,type from tr_portal_terminal
select id, terminal_name AS terminalName, state, update_by_name AS updateByName, update_time AS updateTime,type from tr_portal_terminal
where site_id=#{siteId} and company_id=#{companyId} and display=1
group by type
where site_id=#{siteId} and company_id=#{companyId} and display=1
</select>
</select>
...
...
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