|  | @@ -30,6 +30,7 @@
 | 
	
		
			
				|  |  |          <result column="create_time_" jdbcType="TIMESTAMP" property="createTime"/>
 | 
	
		
			
				|  |  |          <result column="update_time_" jdbcType="TIMESTAMP" property="updateTime"/>
 | 
	
		
			
				|  |  |          <result column="username_" jdbcType="VARCHAR" property="studentName"/>
 | 
	
		
			
				|  |  | +        <result column="goods_json_" jdbcType="VARCHAR" property="goodsJson"/>
 | 
	
		
			
				|  |  |      </resultMap>
 | 
	
		
			
				|  |  |      <!-- 根据主键查询一条记录 -->
 | 
	
		
			
				|  |  |      <select id="get" resultMap="StudentRepair">
 | 
	
	
		
			
				|  | @@ -48,7 +49,7 @@
 | 
	
		
			
				|  |  |          description_, amount_, finish_time_,
 | 
	
		
			
				|  |  |          send_type_, contact_name_, contact_mobile_,
 | 
	
		
			
				|  |  |          address_, pay_status_, create_time_,
 | 
	
		
			
				|  |  | -        update_time_,repair_status_)
 | 
	
		
			
				|  |  | +        update_time_,repair_status_,goods_json_)
 | 
	
		
			
				|  |  |          values (#{id,jdbcType=INTEGER}, #{transNo,jdbcType=VARCHAR}, #{organId,jdbcType=INTEGER},
 | 
	
		
			
				|  |  |          #{studentId,jdbcType=INTEGER}, #{studentName,jdbcType=VARCHAR}, #{studentSchool,jdbcType=VARCHAR},
 | 
	
		
			
				|  |  |          #{employeeId,jdbcType=INTEGER}, #{employeeName,jdbcType=VARCHAR}, #{subjectId,jdbcType=INTEGER},
 | 
	
	
		
			
				|  | @@ -56,11 +57,14 @@
 | 
	
		
			
				|  |  |          #{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})
 | 
	
		
			
				|  |  | +        #{createTime,jdbcType=TIMESTAMP},#{updateTime,jdbcType=TIMESTAMP},#{repairStatus},#{goodsJson})
 | 
	
		
			
				|  |  |      </insert>
 | 
	
		
			
				|  |  |      <update id="update" parameterType="com.ym.mec.biz.dal.entity.StudentRepair">
 | 
	
		
			
				|  |  |          UPDATE student_repair
 | 
	
		
			
				|  |  |          <set>
 | 
	
		
			
				|  |  | +            <if test="goodsJson != null">
 | 
	
		
			
				|  |  | +                goods_json_ = #{goodsJson},
 | 
	
		
			
				|  |  | +            </if>
 | 
	
		
			
				|  |  |              <if test="transNo != null">
 | 
	
		
			
				|  |  |                  trans_no_ = #{transNo},
 | 
	
		
			
				|  |  |              </if>
 |