|
@@ -4,6 +4,9 @@
|
|
|
<resultMap id="StudentRepair" type="com.ym.mec.biz.dal.entity.StudentRepair">
|
|
|
<result column="id_" jdbcType="INTEGER" property="id"/>
|
|
|
<result column="music_group_id_" jdbcType="VARCHAR" property="musicGroupId"/>
|
|
|
+ <result column="student_instrument_id_" property="studentInstrumentId"/>
|
|
|
+ <result column="repair_name_" property="repairName"/>
|
|
|
+ <result column="exemption_amount_" property="exemptionAmount"/>
|
|
|
<result column="trans_no_" jdbcType="VARCHAR" property="transNo"/>
|
|
|
<result column="trans_no_" jdbcType="VARCHAR" property="transNo"/>
|
|
|
<result column="organ_id_" jdbcType="INTEGER" property="organId"/>
|
|
@@ -44,7 +47,7 @@
|
|
|
<insert id="insert" parameterType="com.ym.mec.biz.dal.entity.StudentRepair" useGeneratedKeys="true" keyColumn="id"
|
|
|
keyProperty="id">
|
|
|
<!--@mbg.generated-->
|
|
|
- insert into student_repair (id_,music_group_id_, trans_no_, organ_id_,
|
|
|
+ insert into student_repair (id_,music_group_id_, trans_no_, organ_id_,student_instrument_id_,repair_name_,exemption_amount_,
|
|
|
student_id_, student_name_, student_school_,
|
|
|
employee_id_, employee_name_, subject_id_,
|
|
|
subject_name_, type_, instrument_no_,fee_list_,
|
|
@@ -53,6 +56,7 @@
|
|
|
address_, pay_status_, create_time_,
|
|
|
update_time_,repair_status_,goods_json_)
|
|
|
values (#{id,jdbcType=INTEGER},#{musicGroupId}, #{transNo,jdbcType=VARCHAR}, #{organId,jdbcType=INTEGER},
|
|
|
+ #{studentInstrumentId},#{repairName},#{exemptionAmount},
|
|
|
#{studentId,jdbcType=INTEGER}, #{studentName,jdbcType=VARCHAR}, #{studentSchool,jdbcType=VARCHAR},
|
|
|
#{employeeId,jdbcType=INTEGER}, #{employeeName,jdbcType=VARCHAR}, #{subjectId,jdbcType=INTEGER},
|
|
|
#{subjectName,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{instrumentNo,jdbcType=VARCHAR},
|