解决单据查询bug
This commit is contained in:
@@ -73,7 +73,7 @@
|
|||||||
<bind name="bindKey" value="'%'+materialParam+'%'"/>
|
<bind name="bindKey" value="'%'+materialParam+'%'"/>
|
||||||
and (m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey})
|
and (m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey})
|
||||||
</if>
|
</if>
|
||||||
<if test="depotIds != null">
|
<if test="depotIds != null and depotIds !=''">
|
||||||
and di.depot_id in (${depotIds})
|
and di.depot_id in (${depotIds})
|
||||||
</if>
|
</if>
|
||||||
<if test="creatorArray != null">
|
<if test="creatorArray != null">
|
||||||
@@ -118,7 +118,7 @@
|
|||||||
<bind name="bindKey" value="'%'+materialParam+'%'"/>
|
<bind name="bindKey" value="'%'+materialParam+'%'"/>
|
||||||
and (m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey})
|
and (m.name like #{bindKey} or m.standard like #{bindKey} or m.model like #{bindKey})
|
||||||
</if>
|
</if>
|
||||||
<if test="depotIds != null">
|
<if test="depotIds != null and depotIds !=''">
|
||||||
and di.depot_id in (${depotIds})
|
and di.depot_id in (${depotIds})
|
||||||
</if>
|
</if>
|
||||||
<if test="creatorArray != null">
|
<if test="creatorArray != null">
|
||||||
|
|||||||
Reference in New Issue
Block a user