Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
涂亚平
/
subsidy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 52d13bc2
authored
Aug 05, 2022
by
邓敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按别名查询
1 parent
40ad9df5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
src/main/java/com/subsidy/service/impl/ContentVodMappingServiceImpl.java
src/main/resources/mapper/VodDictMapper.xml
src/main/java/com/subsidy/service/impl/ContentVodMappingServiceImpl.java
View file @
52d13bc
...
@@ -35,7 +35,8 @@ public class ContentVodMappingServiceImpl extends ServiceImpl<ContentVodMappingM
...
@@ -35,7 +35,8 @@ public class ContentVodMappingServiceImpl extends ServiceImpl<ContentVodMappingM
@Override
@Override
public
List
<
GetContendVodsVO
>
getContendVods
(
GetContendVodsDTO
getContendVodsDTO
)
{
public
List
<
GetContendVodsVO
>
getContendVods
(
GetContendVodsDTO
getContendVodsDTO
)
{
return
vodDictMapper
.
getContendVods
(
getContendVodsDTO
.
getVodName
(),
getContendVodsDTO
.
getContentId
());
List
<
GetContendVodsVO
>
contendVods
=
vodDictMapper
.
getContendVods
(
getContendVodsDTO
.
getVodName
(),
getContendVodsDTO
.
getContentId
());
return
contendVods
;
}
}
@Override
@Override
...
...
src/main/resources/mapper/VodDictMapper.xml
View file @
52d13bc
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
AND t3.delete_date IS NULL
AND t3.delete_date IS NULL
AND t3.content_id = #{contentId}
AND t3.content_id = #{contentId}
<if
test=
"vodName != null and vodName !=''"
>
<if
test=
"vodName != null and vodName !=''"
>
and
vod
_name like concat('%',#{vodName} ,'%')
and
t3.vod_alias
_name like concat('%',#{vodName} ,'%')
</if>
</if>
order by t3.order_no, t2.order_no, t.order_no
order by t3.order_no, t2.order_no, t.order_no
</select>
</select>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment