浏览代码

首页异常提醒调整

zouxuan 2 年之前
父节点
当前提交
65efc1074e

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/IndexBaseMonthDataMapper.xml

@@ -843,10 +843,10 @@
 		AND ((mgpc.member_rank_setting_id_ IS NOT NULL AND (sr.membership_end_time_ < NOW() OR sr.membership_end_time_ IS NULL)) OR mgpc.member_rank_setting_id_ IS NULL)
 		AND mgpcd.payment_status_ = 'NON_PAYMENT' AND mgpc.batch_no_ IS NOT NULL AND mgpc.pay_user_type_ = 'STUDENT'
 		AND mgpc.current_total_amount_ > 0
-		<if test="hasCourse != null and hasCourse == 'true'">
+		<if test="hasCourse != null and hasCourse == true">
 			AND mgpsc.used_course_minutes_ > 0
 		</if>
-		<if test="hasCourse != null and hasCourse == 'false'">
+		<if test="hasCourse != null and hasCourse == false">
 			AND mgpsc.used_course_minutes_ = 0
 		</if>
 		<if test="educationUserId != null">

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

@@ -442,10 +442,10 @@
 		<where>
 			mg.status_ = 'PROGRESS' and mg.tenant_id_ = #{tenantId}
 			AND ((mgpc.member_rank_setting_id_ IS NOT NULL AND (sr.membership_end_time_ &lt; NOW() OR sr.membership_end_time_ IS NULL)) OR mgpc.member_rank_setting_id_ IS NULL)
-			<if test="hasCourse != null and hasCourse == 'true'">
+			<if test="hasCourse != null and hasCourse == true">
 				AND mgpsc.used_course_minutes_ > 0
 			</if>
-			<if test="hasCourse != null and hasCourse == 'false'">
+			<if test="hasCourse != null and hasCourse == false">
 				AND mgpsc.used_course_minutes_ = 0
 			</if>
 			<if test="noPaymentType==null or noPaymentType==0">

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/StudentRegistrationMapper.xml

@@ -1244,10 +1244,10 @@
             <if test="organIds != null and organIds != ''">
                 AND FIND_IN_SET(mg.organ_id_,#{organIds})
             </if>
-            <if test="hasCourse != null and hasCourse == 'true'">
+            <if test="hasCourse != null and hasCourse == true">
                 AND mg.first_course_start_time_ >= NOW()
             </if>
-            <if test="hasCourse != null and hasCourse == 'false'">
+            <if test="hasCourse != null and hasCourse == false">
                 AND (mg.first_course_start_time_ &lt; NOW() OR mg.first_course_start_time_ IS NULL)
             </if>
             <if test="educationUserId != null">

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/VipGroupActivityMapper.xml

@@ -139,10 +139,10 @@
 				AND (NOW() >= vga.end_time_ OR NOW() &lt;= vga.start_time_)
 			</if>
 			<if test="giveFlag != null">
-				<if test="giveFlag == 'true'">
+				<if test="giveFlag == true">
 					AND (vga.give_course_num_ > 0 OR vga.member_time_ > 0)
 				</if>
-				<if test="giveFlag == 'false'">
+				<if test="giveFlag == false">
 					AND vga.give_course_num_ = 0 AND vga.member_time_ = 0
 				</if>
 			</if>