@@ -49,6 +49,10 @@
<if test="goodsOrder.phone != null">
and sgo.phone = #{goodsOrder.phone}
</if>
+ <if test="goodsOrder.goodsStatus != null">
+ and sgo.goods_status = #{goodsOrder.goodsStatus}
+ </if>
+
order by sgo.create_time DESC
</select>