Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
1e47b32b
Commit
1e47b32b
authored
May 14, 2019
by
qiankunpingtai
Browse files
应用信息sql$修改为#
parent
e86c84b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/mapper_xml/AppMapperEx.xml
View file @
1e47b32b
...
...
@@ -5,11 +5,12 @@
select *
FROM jsh_app
where 1=1
<if
test=
"name != null"
>
and name like '%${name}%'
<if
test=
"name != null and name != ''"
>
<bind
name=
"name"
value=
"'%' + _parameter.name + '%'"
/>
and name like #{name}
</if>
<if
test=
"type != null"
>
and type=
'$
{type}
'
<if
test=
"type != null
and type != ''
"
>
and type=
#
{type}
</if>
and ifnull(delete_Flag,'0') !='1'
order by sort asc
...
...
@@ -22,11 +23,12 @@
COUNT(id)
FROM jsh_app
WHERE 1=1
<if
test=
"name != null"
>
and name like '%${name}%'
<if
test=
"name != null and name != ''"
>
<bind
name=
"name"
value=
"'%' + _parameter.name + '%'"
/>
and name like #{name}
</if>
<if
test=
"type != null"
>
and type=
'$
{type}
'
<if
test=
"type != null
and type != ''
"
>
and type=
#
{type}
</if>
and ifnull(delete_Flag,'0') !='1'
</select>
...
...
Write
Preview
Supports
Markdown
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