xiaoyong931011
2022-08-30 1a6a034373a07c5ce7b5a442b7ddf5842fc4e7b4
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}