zouxuan 5 anos atrás
pai
commit
ec260c5803

+ 4 - 4
mec-biz/src/main/resources/config/mybatis/MusicGroupPaymentCalenderDetailMapper.xml

@@ -172,10 +172,10 @@
 			<if test="id != null">
 				AND mgpcd.music_group_payment_calender_id_ = #{id}
 			</if>
-			<if test="paymentStatus != null">
+			<if test="paymentStatus != null and paymentStatus != ''">
 				AND mgpcd.payment_status_ = #{paymentStatus}
 			</if>
-			<if test="musicGroupStatus != null">
+			<if test="musicGroupStatus != null and musicGroupStatus != ''">
 				AND sr.music_group_status_ = #{musicGroupStatus}
 			</if>
 			<if test="subjectId != null">
@@ -202,10 +202,10 @@
 			<if test="subjectId != null">
 				AND #{subjectId} = sr.actual_subject_id_
 			</if>
-			<if test="paymentStatus != null">
+			<if test="paymentStatus != null and paymentStatus != ''">
 				AND mgpcd.payment_status_ = #{paymentStatus}
 			</if>
-			<if test="musicGroupStatus != null">
+			<if test="musicGroupStatus != null and musicGroupStatus != ''">
 				AND sr.music_group_status_ = #{musicGroupStatus}
 			</if>
 		</where>