|
@@ -344,9 +344,7 @@
|
|
|
from music_sheet_purchase_record mspr
|
|
|
left join music_sheet ms on mspr.music_sheet_id_ = ms.id_
|
|
|
<where>
|
|
|
- <if test="param.orderStatus != null">
|
|
|
- and mspr.order_status_ = #{param.orderStatus}
|
|
|
- </if>
|
|
|
+ mspr.order_status_ = 'PAID'
|
|
|
<if test="param.idAndName != null and param.idAndName != ''">
|
|
|
and (ms.id_ like concat('%',#{param.idAndName} ,'%')
|
|
|
or ms.music_sheet_name_ like concat('%',#{param.idAndName},'%'))
|