Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intel_promotion_api
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
liyilin
intel_promotion_api
Commits
7606db72
Commit
7606db72
authored
Jul 31, 2024
by
刘帅阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
超级管理员商家管理员展示
parent
6b17f7ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
CmsNewsServiceImpl.java
...oft/business/cmsnews/service/impl/CmsNewsServiceImpl.java
+4
-0
CmsVideoMapper.xml
...ources/mapper/business/cmsvideo/mapper/CmsVideoMapper.xml
+2
-2
No files found.
src/main/java/org/rcisoft/business/cmsnews/service/impl/CmsNewsServiceImpl.java
View file @
7606db72
...
@@ -496,6 +496,10 @@ public class CmsNewsServiceImpl extends ServiceImpl<CmsNewsRepository, CmsNews>
...
@@ -496,6 +496,10 @@ public class CmsNewsServiceImpl extends ServiceImpl<CmsNewsRepository, CmsNews>
if
(
cmsNews1
.
getPath
()
!=
null
)
{
if
(
cmsNews1
.
getPath
()
!=
null
)
{
cmsNews1
.
setPath
(
global
.
getBase_Discovery
()
+
cmsNews1
.
getPath
());
cmsNews1
.
setPath
(
global
.
getBase_Discovery
()
+
cmsNews1
.
getPath
());
}
}
//封面
if
(
cmsNews1
.
getDefaultUrl
()
!=
null
)
{
cmsNews1
.
setDefaultUrl
(
global
.
getBase_Discovery
()
+
cmsNews1
.
getDefaultUrl
());
}
}
}
return
cmsVideoIPage
;
return
cmsVideoIPage
;
}
}
...
...
src/main/resources/mapper/business/cmsvideo/mapper/CmsVideoMapper.xml
View file @
7606db72
...
@@ -192,8 +192,8 @@
...
@@ -192,8 +192,8 @@
SUM(cv.click_through_rate) AS readNum
SUM(cv.click_through_rate) AS readNum
FROM (SELECT cv.*,
FROM (SELECT cv.*,
cpc.click_through_rate AS click_through_rate,
cpc.click_through_rate AS click_through_rate,
oi1.path AS
defaultUrl
,
oi1.path AS
path
,
oi.path AS
path
oi.path AS
defaultUrl
FROM cms_video cv
FROM cms_video cv
LEFT JOIN cms_unit_new_video cunv ON cv.business_id = cunv.news_video_id AND cunv.type = 1
LEFT JOIN cms_unit_new_video cunv ON cv.business_id = cunv.news_video_id AND cunv.type = 1
LEFT JOIN sys_user_unit suu ON cunv.unit_id = suu.unit_id
LEFT JOIN sys_user_unit suu ON cunv.unit_id = suu.unit_id
...
...
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