郑永安
2023-09-04 bbb1b74f122affa814224dd2c9e5fb4ddcfcbe5a
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>