|
@@ -35,6 +35,7 @@
|
|
|
<result column="ownership_type_" property="ownershipType"
|
|
|
typeHandler="com.ym.mec.common.dal.CustomEnumTypeHandler"/>
|
|
|
<result column="fee_type_" property="feeType" typeHandler="com.ym.mec.common.dal.CustomEnumTypeHandler"/>
|
|
|
+ <result column="del_flag_" property="delFlag"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
@@ -67,7 +68,7 @@
|
|
|
bill_start_date_, improvent_classes_num_, enroll_classes_, payment_expire_date_, is_extra_class_,
|
|
|
settlement_type_, cooperation_organ_id_, enlightenment_course_time_,
|
|
|
parent_meeting_time_, img_, director_user_id_, is_classroom_lessons_, memo_, expect_start_group_date_,
|
|
|
- ownership_type_, repair_user_id_, fee_type_)
|
|
|
+ ownership_type_, repair_user_id_, fee_type_,del_flag)
|
|
|
VALUES (#{id}, #{name}, #{organId}, #{schoolId}, #{applyExpireDate}, #{teamTeacherId}, #{educationalTeacherId},
|
|
|
#{chargeTypeId}, #{courseForm}, now(), now(),
|
|
|
#{status, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, #{billStartDate},
|
|
@@ -77,7 +78,7 @@
|
|
|
#{cooperationOrganId}, #{enlightenmentCourseTime}, #{parentMeetingTime}, #{img}, #{directorUserId},
|
|
|
#{isClassroomLessons}, #{memo}, #{expectStartGroupDate},
|
|
|
#{ownershipType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}, #{repairUserId},
|
|
|
- #{feeType, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler})
|
|
|
+ #{feeType, typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler},#{delFlag})
|
|
|
</insert>
|
|
|
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
@@ -163,6 +164,9 @@
|
|
|
<if test="memo != null">
|
|
|
memo_ = #{memo},
|
|
|
</if>
|
|
|
+ <if test="delFlag != null">
|
|
|
+ del_flag_ = #{delFlag},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
WHERE id_ = #{id}
|
|
|
</update>
|
|
@@ -183,6 +187,7 @@
|
|
|
|
|
|
<sql id="musicGroupQueryPageSql">
|
|
|
<where>
|
|
|
+ del_flag_ = 0
|
|
|
<if test="organId != null">
|
|
|
AND FIND_IN_SET(organ_id_,#{organId})
|
|
|
</if>
|