Selaa lähdekoodia

公出新增省市区地址

anderx 1 vuosi sitten
vanhempi
commit
4688de7bd7

+ 3 - 10
src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

@@ -44,7 +44,6 @@
             <result property="districtName" column="district_name" jdbcType="VARCHAR"/>
             <result property="clockIn" column="clock_in" jdbcType="INTEGER"/>
             <result property="techStartProcess" column="tech_start_process" jdbcType="INTEGER"/>
-            <result property="techStartAuditor" column="tech_start_auditor" jdbcType="VARCHAR"/>
             <result property="addressName" column="address_name" jdbcType="VARCHAR"/>
     </resultMap>
 
@@ -62,7 +61,7 @@
         audit_time,new_user,sign_sum,
         user_names,object_type,public_type,
         district_name,clock_in,tech_start_process,
-        tech_start_auditor,address_name
+        address_name
     </sql>
 
     <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
@@ -91,7 +90,7 @@
         ,audit_time,new_user,sign_sum
         ,user_names,object_type,public_type
         ,district_name,clock_in,tech_start_process
-        ,tech_start_auditor,address_name)
+        ,address_name)
         values (#{id,jdbcType=INTEGER},#{aid,jdbcType=VARCHAR},#{releaseStart,jdbcType=TIMESTAMP}
         ,#{releaseEnd,jdbcType=TIMESTAMP},#{remarks,jdbcType=VARCHAR},#{annexUrl,jdbcType=VARCHAR}
         ,#{status,jdbcType=INTEGER},#{createTime,jdbcType=TIMESTAMP},#{pid,jdbcType=VARCHAR}
@@ -105,7 +104,7 @@
         ,#{auditTime,jdbcType=TIMESTAMP},#{newUser,jdbcType=VARCHAR},#{signSum,jdbcType=VARCHAR}
         ,#{userNames,jdbcType=VARCHAR},#{objectType,jdbcType=INTEGER},#{publicType,jdbcType=INTEGER}
         ,#{districtName,jdbcType=VARCHAR},#{clockIn,jdbcType=INTEGER},#{techStartProcess,jdbcType=INTEGER}
-        ,#{techStartAuditor,jdbcType=VARCHAR},#{addressName,jdbcType=VARCHAR})
+        ,#{addressName,jdbcType=VARCHAR})
     </insert>
     <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.PublicRelease" useGeneratedKeys="true">
         insert into public_release
@@ -149,7 +148,6 @@
                 <if test="districtName != null">district_name,</if>
                 <if test="clockIn != null">clock_in,</if>
                 <if test="techStartProcess != null">tech_start_process,</if>
-                <if test="techStartAuditor != null">tech_start_auditor,</if>
                 <if test="addressName != null">address_name,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -192,7 +190,6 @@
                 <if test="districtName != null">#{districtName,jdbcType=VARCHAR},</if>
                 <if test="clockIn != null">#{clockIn,jdbcType=INTEGER},</if>
                 <if test="techStartProcess != null">#{techStartProcess,jdbcType=INTEGER},</if>
-                <if test="techStartAuditor != null">#{techStartAuditor,jdbcType=VARCHAR},</if>
                 <if test="addressName != null">#{addressName,jdbcType=VARCHAR},</if>
         </trim>
     </insert>
@@ -313,9 +310,6 @@
                 <if test="techStartProcess != null">
                     tech_start_process = #{techStartProcess,jdbcType=INTEGER},
                 </if>
-                <if test="techStartAuditor != null">
-                    tech_start_auditor = #{techStartAuditor,jdbcType=VARCHAR},
-                </if>
                 <if test="addressName != null">
                     address_name = #{addressName,jdbcType=VARCHAR},
                 </if>
@@ -363,7 +357,6 @@
             district_name =  #{districtName,jdbcType=VARCHAR},
             clock_in =  #{clockIn,jdbcType=INTEGER},
             tech_start_process =  #{techStartProcess,jdbcType=INTEGER},
-            tech_start_auditor =  #{techStartAuditor,jdbcType=VARCHAR},
             address_name =  #{addressName,jdbcType=VARCHAR}
         where   id = #{id,jdbcType=INTEGER} 
     </update>

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

@@ -204,11 +204,6 @@ public class PublicRelease implements Serializable {
     private Integer techStartProcess;
 
     /**
-     * 技术发起审核人
-     */
-    private String techStartAuditor;
-
-    /**
      * 公出企业地址
      */
     private String addressName;
@@ -762,20 +757,6 @@ public class PublicRelease implements Serializable {
     }
 
     /**
-     * 技术发起审核人
-     */
-    public String getTechStartAuditor() {
-        return techStartAuditor;
-    }
-
-    /**
-     * 技术发起审核人
-     */
-    public void setTechStartAuditor(String techStartAuditor) {
-        this.techStartAuditor = techStartAuditor;
-    }
-
-    /**
      * 公出企业地址
      */
     public String getAddressName() {