|
|
@ -46,7 +46,7 @@ |
|
|
|
wt_sp_allocation wa |
|
|
|
wt_sp_allocation wa |
|
|
|
JOIN wt_sp_warehouse sw ON wa.OUT_WAREHOUSE_ID = sw.id |
|
|
|
JOIN wt_sp_warehouse sw ON wa.OUT_WAREHOUSE_ID = sw.id |
|
|
|
<if test="params.code!=null and params.code!=''"> |
|
|
|
<if test="params.code!=null and params.code!=''"> |
|
|
|
and wa.code = #{params.code} |
|
|
|
and wa.code like concat('%',#{params.code},'%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="params.status!=null"> |
|
|
|
<if test="params.status!=null"> |
|
|
|
and wa.status = #{params.status} |
|
|
|
and wa.status = #{params.status} |
|
|
|