Commit 1e47b32b authored by qiankunpingtai's avatar qiankunpingtai
Browse files

应用信息sql$修改为#

parent e86c84b2
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment