Przeglądaj źródła

公出新增省市区地址

anderx 1 rok temu
rodzic
commit
1b34363b6a

+ 20 - 6
src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

@@ -44,6 +44,8 @@
             <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>
 
     <sql id="Base_Column_List">
@@ -59,10 +61,11 @@
         assistant_aid,assistant_name,public_again,
         audit_time,new_user,sign_sum,
         user_names,object_type,public_type,
-        district_name,clock_in,tech_start_process
+        district_name,clock_in,tech_start_process,
+        tech_start_auditor,address_name
     </sql>
 
-    <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
         select
         <include refid="Base_Column_List" />
         from public_release
@@ -88,7 +91,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)
         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}
@@ -102,7 +105,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})
     </insert>
     <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.PublicRelease" useGeneratedKeys="true">
         insert into public_release
@@ -146,6 +149,8 @@
                 <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=",">
                 <if test="id != null">#{id,jdbcType=INTEGER},</if>
@@ -187,6 +192,8 @@
                 <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>
     <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.PublicRelease">
@@ -306,6 +313,12 @@
                 <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>
         </set>
         where   id = #{id,jdbcType=INTEGER} 
     </update>
@@ -349,7 +362,9 @@
             public_type =  #{publicType,jdbcType=INTEGER},
             district_name =  #{districtName,jdbcType=VARCHAR},
             clock_in =  #{clockIn,jdbcType=INTEGER},
-            tech_start_process =  #{techStartProcess,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>
 
@@ -795,4 +810,3 @@
         order by contract_no desc
     </select>
 </mapper>
-

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

@@ -203,6 +203,16 @@ public class PublicRelease implements Serializable {
      */
     private Integer techStartProcess;
 
+    /**
+     * 技术发起审核人
+     */
+    private String techStartAuditor;
+
+    /**
+     * 公出企业地址
+     */
+    private String addressName;
+
     private static final long serialVersionUID = 1L;
 
     /**
@@ -750,4 +760,32 @@ public class PublicRelease implements Serializable {
     public void setTechStartProcess(Integer techStartProcess) {
         this.techStartProcess = techStartProcess;
     }
+
+    /**
+     * 技术发起审核人
+     */
+    public String getTechStartAuditor() {
+        return techStartAuditor;
+    }
+
+    /**
+     * 技术发起审核人
+     */
+    public void setTechStartAuditor(String techStartAuditor) {
+        this.techStartAuditor = techStartAuditor;
+    }
+
+    /**
+     * 公出企业地址
+     */
+    public String getAddressName() {
+        return addressName;
+    }
+
+    /**
+     * 公出企业地址
+     */
+    public void setAddressName(String addressName) {
+        this.addressName = addressName;
+    }
 }