| | |
| | | <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" > |
| | | <!-- --> |
| | |
| | | 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" > |
| | | <!-- --> |
| | |
| | | <if test="examineTaketime != null" > |
| | | examine_taketime, |
| | | </if> |
| | | <if test="acceptpdf != null"> |
| | | acceptpdf, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides="," > |
| | | <if test="id != null" > |
| | |
| | | </if> |
| | | <if test="examineTaketime != null" > |
| | | #{examineTaketime,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="acceptpdf != null"> |
| | | #{acceptpdf,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | |
| | | <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> |
| | |
| | | correctpdf = #{correctpdf,jdbcType=VARCHAR}, |
| | | examine_pageno = #{examinePageno,jdbcType=VARCHAR}, |
| | | examine_taketime = #{examineTaketime,jdbcType=VARCHAR} |
| | | acceptpdf = #{acceptpdf,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </update> |
| | | |