Commit 0774eee2 by anxiaohe

修改台账xml

parent a9948db2
...@@ -52,12 +52,7 @@ ...@@ -52,12 +52,7 @@
<if test="type != null and type.id != null and type.id != ''"> <if test="type != null and type.id != null and type.id != ''">
AND a.type_id = #{type.id} AND a.type_id = #{type.id}
</if> </if>
<if test="model != null and model != ''">
AND a.model LIKE
<if test="dbName == 'oracle'">'%'||#{model}||'%'</if>
<if test="dbName == 'mssql'">'%'+#{model}+'%'</if>
<if test="dbName == 'mysql'">concat('%',#{model},'%')</if>
</if>
<if test="shelvesIds != null and shelvesIds != ''"> <if test="shelvesIds != null and shelvesIds != ''">
AND a.shelvesids LIKE AND a.shelvesids LIKE
<if test="dbName == 'oracle'">'%'||#{shelvesIds}||'%'</if> <if test="dbName == 'oracle'">'%'||#{shelvesIds}||'%'</if>
......
Markdown is supported
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