From 2fcd97552d16718cc7997629fd637a73a5a4483f Mon Sep 17 00:00:00 2001
From: 郑永安 <zyazyz250@sina.com>
Date: 星期一, 19 六月 2023 14:44:19 +0800
Subject: [PATCH] 删除

---
 src/main/java/com/gk/firework/Mapper/mybatis/ContractFileMapper.xml |  103 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 103 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/gk/firework/Mapper/mybatis/ContractFileMapper.xml b/src/main/java/com/gk/firework/Mapper/mybatis/ContractFileMapper.xml
new file mode 100644
index 0000000..636c764
--- /dev/null
+++ b/src/main/java/com/gk/firework/Mapper/mybatis/ContractFileMapper.xml
@@ -0,0 +1,103 @@
+<?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.ContractFileMapper" >
+  <resultMap id="BaseResultMap" type="com.gk.firework.Domain.ContractFile" >
+    <!--          -->
+    <result column="id" property="id" jdbcType="BIGINT" />
+    <result column="ordercode" property="ordercode" jdbcType="VARCHAR" />
+    <result column="filename" property="filename" jdbcType="VARCHAR" />
+    <result column="url" property="url" jdbcType="VARCHAR" />
+    <result column="validflag" property="validflag" jdbcType="BIT" />
+    <result column="createtime" property="createtime" jdbcType="TIMESTAMP" />
+    <result column="createby" property="createby" jdbcType="BIGINT" />
+    <result column="createbyname" property="createbyname" jdbcType="VARCHAR" />
+    <result column="updatetime" property="updatetime" jdbcType="TIMESTAMP" />
+    <result column="updateby" property="updateby" jdbcType="BIGINT" />
+    <result column="updatebyname" property="updatebyname" jdbcType="VARCHAR" />
+  </resultMap>
+  <insert id="insert" parameterType="com.gk.firework.Domain.ContractFile" >
+    <!--          -->
+    insert into contractfile (id, ordercode, filename, 
+      url, validflag, createtime, 
+      createby, createbyname, updatetime, 
+      updateby, updatebyname)
+    values (#{id,jdbcType=BIGINT}, #{ordercode,jdbcType=VARCHAR}, #{filename,jdbcType=VARCHAR}, 
+      #{url,jdbcType=VARCHAR}, #{validflag,jdbcType=BIT}, #{createtime,jdbcType=TIMESTAMP}, 
+      #{createby,jdbcType=BIGINT}, #{createbyname,jdbcType=VARCHAR}, #{updatetime,jdbcType=TIMESTAMP}, 
+      #{updateby,jdbcType=BIGINT}, #{updatebyname,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gk.firework.Domain.ContractFile" >
+    <!--          -->
+    insert into contractfile
+    <trim prefix="(" suffix=")" suffixOverrides="," >
+      <if test="id != null" >
+        id,
+      </if>
+      <if test="ordercode != null" >
+        ordercode,
+      </if>
+      <if test="filename != null" >
+        filename,
+      </if>
+      <if test="url != null" >
+        url,
+      </if>
+      <if test="validflag != null" >
+        validflag,
+      </if>
+      <if test="createtime != null" >
+        createtime,
+      </if>
+      <if test="createby != null" >
+        createby,
+      </if>
+      <if test="createbyname != null" >
+        createbyname,
+      </if>
+      <if test="updatetime != null" >
+        updatetime,
+      </if>
+      <if test="updateby != null" >
+        updateby,
+      </if>
+      <if test="updatebyname != null" >
+        updatebyname,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
+      <if test="id != null" >
+        #{id,jdbcType=BIGINT},
+      </if>
+      <if test="ordercode != null" >
+        #{ordercode,jdbcType=VARCHAR},
+      </if>
+      <if test="filename != null" >
+        #{filename,jdbcType=VARCHAR},
+      </if>
+      <if test="url != null" >
+        #{url,jdbcType=VARCHAR},
+      </if>
+      <if test="validflag != null" >
+        #{validflag,jdbcType=BIT},
+      </if>
+      <if test="createtime != null" >
+        #{createtime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="createby != null" >
+        #{createby,jdbcType=BIGINT},
+      </if>
+      <if test="createbyname != null" >
+        #{createbyname,jdbcType=VARCHAR},
+      </if>
+      <if test="updatetime != null" >
+        #{updatetime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="updateby != null" >
+        #{updateby,jdbcType=BIGINT},
+      </if>
+      <if test="updatebyname != null" >
+        #{updatebyname,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+</mapper>
\ No newline at end of file

--
Gitblit v1.9.2