@@ -1690,6 +1690,9 @@
<if test="depotId !=null">
and sq.depot_id is not null
</if>
+ <if test="depotId ==null">
+ and sq.depot_id is null
+ </if>
<!--区分粮情卡的数据-->
and sq.flag_type is null
</where>