src/main/resources/mapper/modules/MallRefundMapper.xml
@@ -5,7 +5,6 @@ <select id="selectByItemIdAndOrderIdAndState" resultType="cc.mrbird.febs.mall.entity.MallRefundEntity"> select a.* from mall_refund a where item_id=#{itemId} and order_id=#{orderId} and state=#{state} <where> <if test="itemId != null and itemId != ''"> and a.item_id = #{itemId}