|
@@ -151,16 +151,16 @@
|
|
|
LEFT JOIN `subject` st ON FIND_IN_SET(st.id_,s.subject_id_list_)
|
|
|
<where>
|
|
|
<if test="userId != null">
|
|
|
- mgpc.user_id_ = #{userId}
|
|
|
+ AND mgpc.user_id_ = #{userId}
|
|
|
</if>
|
|
|
<if test="id != null">
|
|
|
- mgpc.music_group_payment_calender_id_ = #{id}
|
|
|
+ AND mgpc.music_group_payment_calender_id_ = #{id}
|
|
|
</if>
|
|
|
<if test="paymentStatus != null">
|
|
|
- mgpc.payment_status_ = #{paymentStatus,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
|
|
|
+ AND mgpc.payment_status_ = #{paymentStatus,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
|
|
|
</if>
|
|
|
<if test="subjectId != null">
|
|
|
- FIND_IN_SET(#{subjectId},s.subject_id_list_)
|
|
|
+ AND FIND_IN_SET(#{subjectId},s.subject_id_list_)
|
|
|
</if>
|
|
|
</where>
|
|
|
ORDER BY mgpc.create_time_
|