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/ContractLogInfoMapper.xml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 56 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/gk/firework/Mapper/mybatis/ContractLogInfoMapper.xml b/src/main/java/com/gk/firework/Mapper/mybatis/ContractLogInfoMapper.xml
new file mode 100644
index 0000000..c8d2a4f
--- /dev/null
+++ b/src/main/java/com/gk/firework/Mapper/mybatis/ContractLogInfoMapper.xml
@@ -0,0 +1,56 @@
+<?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.ContractLogInfoMapper" >
+ <resultMap id="BaseResultMap" type="com.gk.firework.Domain.ContractLogInfo" >
+ <!-- -->
+ <id column="id" property="id" jdbcType="BIGINT" />
+ <result column="operatordate" property="operatordate" jdbcType="TIMESTAMP" />
+ <result column="optlog" property="optlog" jdbcType="VARCHAR" />
+ <result column="operator" property="operator" jdbcType="VARCHAR" />
+ <result column="ordercode" property="ordercode" jdbcType="VARCHAR" />
+ </resultMap>
+ <sql id="Base_Column_List" >
+ <!-- -->
+ id, operatordate, optlog, operator, ordercode
+ </sql>
+ <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long" >
+ <!-- -->
+ select
+ <include refid="Base_Column_List" />
+ from contractlog
+ where id = #{id,jdbcType=BIGINT}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Long" >
+ <!-- -->
+ delete from contractlog
+ where id = #{id,jdbcType=BIGINT}
+ </delete>
+ <update id="updateByPrimaryKeySelective" parameterType="com.gk.firework.Domain.ContractLogInfo" >
+ <!-- -->
+ update contractlog
+ <set >
+ <if test="operatordate != null" >
+ operatordate = #{operatordate,jdbcType=TIMESTAMP},
+ </if>
+ <if test="optlog != null" >
+ optlog = #{optlog,jdbcType=VARCHAR},
+ </if>
+ <if test="operator != null" >
+ operator = #{operator,jdbcType=VARCHAR},
+ </if>
+ <if test="ordercode != null" >
+ ordercode = #{ordercode,jdbcType=VARCHAR},
+ </if>
+ </set>
+ where id = #{id,jdbcType=BIGINT}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.gk.firework.Domain.ContractLogInfo" >
+ <!-- -->
+ update contractlog
+ set operatordate = #{operatordate,jdbcType=TIMESTAMP},
+ optlog = #{optlog,jdbcType=VARCHAR},
+ operator = #{operator,jdbcType=VARCHAR},
+ ordercode = #{ordercode,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+ </update>
+</mapper>
--
Gitblit v1.9.2