Commit 0774eee2 by anxiaohe

修改台账xml

parent a9948db2
......@@ -52,12 +52,7 @@
<if test="type != null and type.id != null and type.id != ''">
AND a.type_id = #{type.id}
</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 != ''">
AND a.shelvesids LIKE
<if test="dbName == 'oracle'">'%'||#{shelvesIds}||'%'</if>
......@@ -178,4 +173,4 @@
where li.ledger_id = #{id}
and li.del_flag = '0'
</select>
</mapper>
\ No newline at end of file
</mapper>
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