Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8dff1e95
authored
Mar 31, 2021
by
wnb0128
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
车家智能数据服务开发 场景模板名字相同校验--think.wang
1 parent
5a93ef5f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
src/main/resources/mapper/SmartSceneMapper.xml
src/main/resources/mapper/SmartSceneTemplateMapper.xml
src/main/resources/mapper/SmartSceneMapper.xml
View file @
8dff1e9
...
...
@@ -445,6 +445,9 @@
<if
test=
"userId != null and userId != ''"
>
and t.user_id = #{userId,jdbcType=BIGINT}
</if>
<if
test=
"sceneName != null and sceneName != ''"
>
and t.scene_name = #{sceneName,jdbcType=VARCHAR}
</if>
</where>
order by t.create_time desc
</select>
...
...
src/main/resources/mapper/SmartSceneTemplateMapper.xml
View file @
8dff1e9
...
...
@@ -472,6 +472,9 @@
<if
test=
"status != null"
>
and t.status = #{status,jdbcType=TINYINT}
</if>
<if
test=
"sceneName != null and sceneName != ''"
>
and t.scene_name = #{sceneName,jdbcType=VARCHAR}
</if>
</where>
order by t.create_time desc
</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