解决单据查询bug

This commit is contained in:
季圣华
2021-05-24 21:55:44 +08:00
parent b60c0f098a
commit a152f3ae61

View File

@@ -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">