|
@@ -17,6 +17,7 @@
|
|
|
<result column="subject_name_" jdbcType="VARCHAR" property="subjectName"/>
|
|
|
<result column="type_" jdbcType="INTEGER" property="type"/>
|
|
|
<result column="instrument_no_" jdbcType="VARCHAR" property="instrumentNo"/>
|
|
|
+ <result column="fee_list_" jdbcType="VARCHAR" property="feeList"/>
|
|
|
<result column="description_" jdbcType="VARCHAR" property="description"/>
|
|
|
<result column="amount_" jdbcType="DECIMAL" property="amount"/>
|
|
|
<result column="finish_time_" jdbcType="TIMESTAMP" property="finishTime"/>
|
|
@@ -42,7 +43,7 @@
|
|
|
insert into student_repair (id_, trans_no_, organ_id_,
|
|
|
student_id_, student_name_, student_school_,
|
|
|
employee_id_, employee_name_, subject_id_,
|
|
|
- subject_name_, type_, instrument_no_,
|
|
|
+ subject_name_, type_, instrument_no_,fee_list_,
|
|
|
description_, amount_, finish_time_,
|
|
|
send_type_, contact_name_, contact_mobile_,
|
|
|
address_, pay_status_, create_time_,
|
|
@@ -51,10 +52,10 @@
|
|
|
#{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},
|
|
|
- #{description,jdbcType=VARCHAR}, #{amount,jdbcType=DECIMAL}, #{finishTime,jdbcType=TIMESTAMP},
|
|
|
- #{sendType,jdbcType=INTEGER}, #{contactName,jdbcType=VARCHAR}, #{contactMobile,jdbcType=VARCHAR},
|
|
|
- #{address,jdbcType=VARCHAR}, #{payStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
- #{updateTime,jdbcType=TIMESTAMP},#{repairStatus})
|
|
|
+ #{feeList,jdbcType=VARCHAR},#{description,jdbcType=VARCHAR}, #{amount,jdbcType=DECIMAL},
|
|
|
+ #{finishTime,jdbcType=TIMESTAMP},#{sendType,jdbcType=INTEGER}, #{contactName,jdbcType=VARCHAR},
|
|
|
+ #{contactMobile,jdbcType=VARCHAR},#{address,jdbcType=VARCHAR}, #{payStatus,jdbcType=INTEGER},
|
|
|
+ #{createTime,jdbcType=TIMESTAMP},#{updateTime,jdbcType=TIMESTAMP},#{repairStatus})
|
|
|
</insert>
|
|
|
<update id="update" parameterType="com.ym.mec.biz.dal.entity.StudentRepair">
|
|
|
UPDATE student_repair
|
|
@@ -95,6 +96,9 @@
|
|
|
<if test="instrumentNo != null">
|
|
|
instrument_no_ = #{instrumentNo},
|
|
|
</if>
|
|
|
+ <if test="feeList != null">
|
|
|
+ fee_list_ = #{feeList},
|
|
|
+ </if>
|
|
|
<if test="description != null">
|
|
|
description_ = #{description},
|
|
|
</if>
|