From bbb1b74f122affa814224dd2c9e5fb4ddcfcbe5a Mon Sep 17 00:00:00 2001
From: 郑永安 <zyazyz250@sina.com>
Date: 星期一, 04 九月 2023 17:48:14 +0800
Subject: [PATCH] 添加字段

---
 src/main/java/com/gk/hotwork/Mapper/mybatis/SafetyFacilityInspectionMapper.xml |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/gk/hotwork/Mapper/mybatis/SafetyFacilityInspectionMapper.xml b/src/main/java/com/gk/hotwork/Mapper/mybatis/SafetyFacilityInspectionMapper.xml
index 3e57cb5..9332259 100644
--- a/src/main/java/com/gk/hotwork/Mapper/mybatis/SafetyFacilityInspectionMapper.xml
+++ b/src/main/java/com/gk/hotwork/Mapper/mybatis/SafetyFacilityInspectionMapper.xml
@@ -22,12 +22,13 @@
     <result column="correctpdf" property="correctpdf" jdbcType="VARCHAR" />
     <result column="examine_pageno" property="examinePageno" jdbcType="VARCHAR" />
     <result column="examine_taketime" property="examineTaketime" jdbcType="VARCHAR" />
+    <result column="acceptpdf" jdbcType="VARCHAR" property="acceptpdf" />
   </resultMap>
   <sql id="Base_Column_List" >
     <!--          -->
     id, valid_flag, create_time, create_by, update_time, submit_date, type, project_name, 
     progress, expert, contact, telephone, company, accept_time, review_time, examine_time, 
-    correctpdf, examine_pageno, examine_taketime
+    correctpdf, examine_pageno, examine_taketime, acceptpdf
   </sql>
   <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long" >
     <!--          -->
@@ -49,14 +50,14 @@
       expert, contact, telephone, 
       company, accept_time, review_time, 
       examine_time, correctpdf, examine_pageno, 
-      examine_taketime)
+      examine_taketime, acceptpdf)
     values (#{id,jdbcType=BIGINT}, #{validFlag,jdbcType=TINYINT}, #{createTime,jdbcType=TIMESTAMP}, 
       #{createBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{submitDate,jdbcType=DATE}, 
       #{type,jdbcType=INTEGER}, #{projectName,jdbcType=VARCHAR}, #{progress,jdbcType=INTEGER}, 
       #{expert,jdbcType=VARCHAR}, #{contact,jdbcType=VARCHAR}, #{telephone,jdbcType=VARCHAR}, 
       #{company,jdbcType=VARCHAR}, #{acceptTime,jdbcType=TIMESTAMP}, #{reviewTime,jdbcType=TIMESTAMP}, 
       #{examineTime,jdbcType=TIMESTAMP}, #{correctpdf,jdbcType=VARCHAR}, #{examinePageno,jdbcType=VARCHAR}, 
-      #{examineTaketime,jdbcType=VARCHAR})
+      #{examineTaketime,jdbcType=VARCHAR}, #{acceptpdf,jdbcType=VARCHAR})
   </insert>
   <insert id="insertSelective" parameterType="com.gk.hotwork.Domain.SafetyFacilityInspection" >
     <!--          -->
@@ -119,6 +120,9 @@
       <if test="examineTaketime != null" >
         examine_taketime,
       </if>
+      <if test="acceptpdf != null">
+        acceptpdf,
+      </if>
     </trim>
     <trim prefix="values (" suffix=")" suffixOverrides="," >
       <if test="id != null" >
@@ -177,6 +181,9 @@
       </if>
       <if test="examineTaketime != null" >
         #{examineTaketime,jdbcType=VARCHAR},
+      </if>
+            <if test="acceptpdf != null">
+        #{acceptpdf,jdbcType=VARCHAR},
       </if>
     </trim>
   </insert>
@@ -238,6 +245,9 @@
       <if test="examineTaketime != null" >
         examine_taketime = #{examineTaketime,jdbcType=VARCHAR},
       </if>
+            <if test="acceptpdf != null">
+        acceptpdf = #{acceptpdf,jdbcType=VARCHAR},
+      </if>
     </set>
     where id = #{id,jdbcType=BIGINT}
   </update>
@@ -262,6 +272,7 @@
       correctpdf = #{correctpdf,jdbcType=VARCHAR},
       examine_pageno = #{examinePageno,jdbcType=VARCHAR},
       examine_taketime = #{examineTaketime,jdbcType=VARCHAR}
+      acceptpdf = #{acceptpdf,jdbcType=VARCHAR}
     where id = #{id,jdbcType=BIGINT}
   </update>
   

--
Gitblit v1.9.2