Pārlūkot izejas kodu

公出修改、撤销BUG修复

anderx 3 gadi atpakaļ
vecāks
revīzija
0f3c99fef4

+ 4 - 2
src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

@@ -70,7 +70,8 @@
       `plan`, expected_effect, next_plan,
       `type`, order_no, update_time,
       update_status, assist, assist_aid,
-      assist_aid_name, main_id)
+      assist_aid_name, main_id, main_name
+      )
     values (#{id,jdbcType=INTEGER}, #{uid,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR},
       #{releaseStart,jdbcType=TIMESTAMP}, #{releaseEnd,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR},
       #{annexUrl,jdbcType=VARCHAR}, #{userName,jdbcType=VARCHAR}, #{longitude,jdbcType=VARCHAR},
@@ -82,7 +83,8 @@
       #{plan,jdbcType=VARCHAR}, #{expectedEffect,jdbcType=VARCHAR}, #{nextPlan,jdbcType=VARCHAR},
       #{type,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
       #{updateStatus,jdbcType=INTEGER}, #{assist,jdbcType=INTEGER}, #{assistAid,jdbcType=VARCHAR},
-      #{assistAidName,jdbcType=VARCHAR}, #{mainId,jdbcType=INTEGER})
+      #{assistAidName,jdbcType=VARCHAR}, #{mainId,jdbcType=INTEGER}, #{mainName,jdbcType=VARCHAR}
+      )
   </insert>
 
   <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.PublicRelease" useGeneratedKeys="true">

+ 2 - 2
src/main/java/com/goafanti/common/model/PublicRelease.java

@@ -5,7 +5,7 @@ import java.util.Date;
 
 /**
  * public_release
- * @author an
+ * @author 
  */
 public class PublicRelease implements Serializable {
     private Integer id;
@@ -487,4 +487,4 @@ public class PublicRelease implements Serializable {
     public void setMainName(String mainName) {
         this.mainName = mainName;
     }
-}
+}