xiaoyong931011
2022-08-29 a5a508edf6868bb6c91ac98d21e80459ab7ec1c0
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}