zouxuan 5 年之前
父節點
當前提交
ccf5d47efa

+ 0 - 1
mec-biz/src/main/java/com/ym/mec/biz/dal/entity/StudentRepair.java

@@ -5,7 +5,6 @@ import java.util.Date;
 
 
 public class StudentRepair {
 public class StudentRepair {
     private Integer id;
     private Integer id;
-
     /**
     /**
     * 维修单号
     * 维修单号
     */
     */

+ 3 - 4
mec-biz/src/main/resources/config/mybatis/StudentRepairMapper.xml

@@ -55,7 +55,6 @@
         #{updateTime,jdbcType=TIMESTAMP},#{repairStatus})
         #{updateTime,jdbcType=TIMESTAMP},#{repairStatus})
     </insert>
     </insert>
     <update id="update" parameterType="com.ym.mec.biz.dal.entity.StudentRepair">
     <update id="update" parameterType="com.ym.mec.biz.dal.entity.StudentRepair">
-        <!--@mbg.generated-->
         UPDATE student_repair
         UPDATE student_repair
         <set>
         <set>
             <if test="transNo != null">
             <if test="transNo != null">
@@ -65,7 +64,7 @@
                 repair_status_ = #{repairStatus},
                 repair_status_ = #{repairStatus},
             </if>
             </if>
             <if test="organId != null">
             <if test="organId != null">
-                organ_id_ = ##{organId},
+                organ_id_ = #{organId},
             </if>
             </if>
             <if test="studentId != null">
             <if test="studentId != null">
                 student_id_ = #{studentId},
                 student_id_ = #{studentId},
@@ -104,13 +103,13 @@
                 finish_time_ = #{finishTime},
                 finish_time_ = #{finishTime},
             </if>
             </if>
             <if test="sendType != null">
             <if test="sendType != null">
-                send_type_ #{sendType},
+                send_type_ = #{sendType},
             </if>
             </if>
             <if test="contactName != null">
             <if test="contactName != null">
                 contact_name_ = #{contactName},
                 contact_name_ = #{contactName},
             </if>
             </if>
             <if test="contactMobile != null">
             <if test="contactMobile != null">
-                contact_mobile_ = #{contactName},
+                contact_mobile_ = #{contactMobile},
             </if>
             </if>
             <if test="address != null">
             <if test="address != null">
                 address_ = #{address},
                 address_ = #{address},