|
@@ -419,6 +419,7 @@
|
|
<result property="parentName" column="parent_name_"/>
|
|
<result property="parentName" column="parent_name_"/>
|
|
<result property="phone" column="phone_"/>
|
|
<result property="phone" column="phone_"/>
|
|
<result property="noPaymentAmount" column="no_payment_amount_"/>
|
|
<result property="noPaymentAmount" column="no_payment_amount_"/>
|
|
|
|
+ <result property="paymentType" column="payment_type_" typeHandler="com.ym.mec.common.dal.CustomEnumTypeHandler"/>
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="queryArrearageStudentsCondition">
|
|
<sql id="queryArrearageStudentsCondition">
|
|
@@ -445,6 +446,9 @@
|
|
<if test="search!=null and search!=''">
|
|
<if test="search!=null and search!=''">
|
|
AND (mgpcd.user_id_=#{search} OR su.username_ LIKE CONCAT('%', #{search}, '%'))
|
|
AND (mgpcd.user_id_=#{search} OR su.username_ LIKE CONCAT('%', #{search}, '%'))
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="paymentType!=null">
|
|
|
|
+ AND mgpc.payment_type_=#{paymentType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
|
|
|
|
+ </if>
|
|
</where>
|
|
</where>
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
@@ -457,6 +461,7 @@
|
|
co.name_ cooperation_name_,
|
|
co.name_ cooperation_name_,
|
|
mgpc.music_group_id_,
|
|
mgpc.music_group_id_,
|
|
mg.name_ music_group_name_,
|
|
mg.name_ music_group_name_,
|
|
|
|
+ mgpc.payment_type_,
|
|
edu.real_name_ edu_teacher_name_,
|
|
edu.real_name_ edu_teacher_name_,
|
|
MAX( sub.name_ ) subject_name_,
|
|
MAX( sub.name_ ) subject_name_,
|
|
su.gender_ gender_,
|
|
su.gender_ gender_,
|