|
@@ -335,7 +335,7 @@
|
|
|
</resultMap>
|
|
|
<select id="queryStudentPayment" resultMap="StudentPaymentDto">
|
|
|
SELECT cs.class_date_,cs.start_class_time_,cs.type_ class_group_type_ ,cg.name_ class_group_name_,
|
|
|
- cg.total_class_times_,sa.current_class_times_,sa.status_,cssp.expect_price_,cssp.actual_price_
|
|
|
+ cg.total_class_times_,sa.current_class_times_,IF(sa.status_ IS NULL,'TRUANT',sa.status_) status_,,cssp.expect_price_,cssp.actual_price_
|
|
|
FROM course_schedule_student_payment cssp
|
|
|
LEFT JOIN course_schedule cs ON cssp.course_schedule_id_ = cs.id_
|
|
|
LEFT JOIN class_group cg ON cg.id_ = cs.class_group_id_
|