Commit a152f3ae authored by 季圣华's avatar 季圣华
Browse files

解决单据查询bug

parent b60c0f09
......@@ -73,7 +73,7 @@
<bind name="bindKey" value="'%'+materialParam+'%'"/>
and (m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey})
</if>
<if test="depotIds != null">
<if test="depotIds != null and depotIds !=''">
and di.depot_id in (${depotIds})
</if>
<if test="creatorArray != null">
......@@ -118,7 +118,7 @@
<bind name="bindKey" value="'%'+materialParam+'%'"/>
and (m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey})
</if>
<if test="depotIds != null">
<if test="depotIds != null and depotIds !=''">
and di.depot_id in (${depotIds})
</if>
<if test="creatorArray != null">
......
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