From 59e91a4e9ddaf23cebb12993c774aa899ab22d16 Mon Sep 17 00:00:00 2001
From: 郑永安 <zyazyz250@sina.com>
Date: Mon, 19 Jun 2023 14:22:45 +0800
Subject: [PATCH] 描述
---
src/main/java/com/gk/firework/Mapper/mybatis/HiddenDangerCheckResultMapper.xml | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 150 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/gk/firework/Mapper/mybatis/HiddenDangerCheckResultMapper.xml b/src/main/java/com/gk/firework/Mapper/mybatis/HiddenDangerCheckResultMapper.xml
new file mode 100644
index 0000000..dcd4b49
--- /dev/null
+++ b/src/main/java/com/gk/firework/Mapper/mybatis/HiddenDangerCheckResultMapper.xml
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.gk.firework.Mapper.HiddenDangerCheckResultMapper" >
+ <resultMap id="BaseResultMap" type="com.gk.firework.Domain.HiddenDangerCheckResult" >
+ <!-- -->
+ <id column="id" property="id" jdbcType="BIGINT" />
+ <result column="checkresult" property="checkresult" jdbcType="VARCHAR" />
+ <result column="isqualified" property="isqualified" jdbcType="BIT" />
+ <result column="belongid" property="belongid" jdbcType="BIGINT" />
+ <result column="createtime" property="createtime" jdbcType="TIMESTAMP" />
+ <result column="createby" property="createby" jdbcType="VARCHAR" />
+ <result column="updatetime" property="updatetime" jdbcType="TIMESTAMP" />
+ <result column="updateby" property="updateby" jdbcType="VARCHAR" />
+ <result column="validflag" property="validflag" jdbcType="BIT" />
+ </resultMap>
+ <sql id="Base_Column_List" >
+ <!-- -->
+ id, checkresult, isqualified, belongid, createtime, createby, updatetime, updateby,
+ validflag
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long" >
+ <!-- -->
+ select
+ <include refid="Base_Column_List" />
+ from hiddendangercheckresult
+ where id = #{id,jdbcType=BIGINT}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Long" >
+ <!-- -->
+ delete from hiddendangercheckresult
+ where id = #{id,jdbcType=BIGINT}
+ </delete>
+ <insert id="insert" parameterType="com.gk.firework.Domain.HiddenDangerCheckResult" >
+ <!-- -->
+ insert into hiddendangercheckresult (id, checkresult, isqualified,
+ belongid, createtime, createby,
+ updatetime, updateby, validflag
+ )
+ values (#{id,jdbcType=BIGINT}, #{checkresult,jdbcType=VARCHAR}, #{isqualified,jdbcType=BIT},
+ #{belongid,jdbcType=BIGINT}, #{createtime,jdbcType=TIMESTAMP}, #{createby,jdbcType=VARCHAR},
+ #{updatetime,jdbcType=TIMESTAMP}, #{updateby,jdbcType=VARCHAR}, #{validflag,jdbcType=BIT}
+ )
+ </insert>
+ <insert id="insertSelective" parameterType="com.gk.firework.Domain.HiddenDangerCheckResult" >
+ <!-- -->
+ insert into hiddendangercheckresult
+ <trim prefix="(" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ id,
+ </if>
+ <if test="checkresult != null" >
+ checkresult,
+ </if>
+ <if test="isqualified != null" >
+ isqualified,
+ </if>
+ <if test="belongid != null" >
+ belongid,
+ </if>
+ <if test="createtime != null" >
+ createtime,
+ </if>
+ <if test="createby != null" >
+ createby,
+ </if>
+ <if test="updatetime != null" >
+ updatetime,
+ </if>
+ <if test="updateby != null" >
+ updateby,
+ </if>
+ <if test="validflag != null" >
+ validflag,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
+ <if test="id != null" >
+ #{id,jdbcType=BIGINT},
+ </if>
+ <if test="checkresult != null" >
+ #{checkresult,jdbcType=VARCHAR},
+ </if>
+ <if test="isqualified != null" >
+ #{isqualified,jdbcType=BIT},
+ </if>
+ <if test="belongid != null" >
+ #{belongid,jdbcType=BIGINT},
+ </if>
+ <if test="createtime != null" >
+ #{createtime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="createby != null" >
+ #{createby,jdbcType=VARCHAR},
+ </if>
+ <if test="updatetime != null" >
+ #{updatetime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="updateby != null" >
+ #{updateby,jdbcType=VARCHAR},
+ </if>
+ <if test="validflag != null" >
+ #{validflag,jdbcType=BIT},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.gk.firework.Domain.HiddenDangerCheckResult" >
+ <!-- -->
+ update hiddendangercheckresult
+ <set >
+ <if test="checkresult != null" >
+ checkresult = #{checkresult,jdbcType=VARCHAR},
+ </if>
+ <if test="isqualified != null" >
+ isqualified = #{isqualified,jdbcType=BIT},
+ </if>
+ <if test="belongid != null" >
+ belongid = #{belongid,jdbcType=BIGINT},
+ </if>
+ <if test="createtime != null" >
+ createtime = #{createtime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="createby != null" >
+ createby = #{createby,jdbcType=VARCHAR},
+ </if>
+ <if test="updatetime != null" >
+ updatetime = #{updatetime,jdbcType=TIMESTAMP},
+ </if>
+ <if test="updateby != null" >
+ updateby = #{updateby,jdbcType=VARCHAR},
+ </if>
+ <if test="validflag != null" >
+ validflag = #{validflag,jdbcType=BIT},
+ </if>
+ </set>
+ where id = #{id,jdbcType=BIGINT}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.gk.firework.Domain.HiddenDangerCheckResult" >
+ <!-- -->
+ update hiddendangercheckresult
+ set checkresult = #{checkresult,jdbcType=VARCHAR},
+ isqualified = #{isqualified,jdbcType=BIT},
+ belongid = #{belongid,jdbcType=BIGINT},
+ createtime = #{createtime,jdbcType=TIMESTAMP},
+ createby = #{createby,jdbcType=VARCHAR},
+ updatetime = #{updatetime,jdbcType=TIMESTAMP},
+ updateby = #{updateby,jdbcType=VARCHAR},
+ validflag = #{validflag,jdbcType=BIT}
+ where id = #{id,jdbcType=BIGINT}
+ </update>
+</mapper>
\ No newline at end of file
--
Gitblit v1.9.2