@@ -28,7 +28,7 @@ public interface GoodsOrderInfoMapper extends BaseMapper<GoodsOrderInfo,String>
* @param orderStatus
* @return
*/
- List<OrderInfoBO> searchOrderInfoByCustomerId(@Param("custId") String customerId,@Param("orderStatus") Integer orderStatus);
+ List<OrderInfoBO> searchOrderInfoByCustomerId(@Param("customerId") String customerId,@Param("orderStatus") Integer orderStatus);
/**
* 通过订单编号查询订单信息
@@ -109,8 +109,8 @@
FROM
t_goods_order_info aa
WHERE
- aa.state = 1
- AND aa.fk_customer_guid = #{custId}
+ 1 = 1
+ AND aa.fk_customer_guid = #{customerId}
<if test="orderStatus!=null and orderStatus!=-1">
AND aa.order_status=#{orderStatus}
</if>