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/StandardEquipmentLegerMapper.xml | 231 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 231 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gk/firework/Mapper/mybatis/StandardEquipmentLegerMapper.xml b/src/main/java/com/gk/firework/Mapper/mybatis/StandardEquipmentLegerMapper.xml new file mode 100644 index 0000000..01ff844 --- /dev/null +++ b/src/main/java/com/gk/firework/Mapper/mybatis/StandardEquipmentLegerMapper.xml @@ -0,0 +1,231 @@ +<?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.StandardEquipmentLegerMapper" > + <resultMap id="BaseResultMap" type="com.gk.firework.Domain.StandardEquipmentLeger" > + <!-- --> + <id column="id" property="id" jdbcType="BIGINT" /> + <result column="name" property="name" jdbcType="VARCHAR" /> + <result column="num" property="num" jdbcType="INTEGER" /> + <result column="checkcontent" property="checkcontent" jdbcType="VARCHAR" /> + <result column="checktime" property="checktime" jdbcType="TIMESTAMP" /> + <result column="checkperson" property="checkperson" jdbcType="VARCHAR" /> + <result column="memo" property="memo" jdbcType="VARCHAR" /> + <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" /> + <result column="validflag" property="validflag" jdbcType="BIT" /> + <result column="enterprisenumber" property="enterprisenumber" jdbcType="VARCHAR" /> + <result column="enterprisename" property="enterprisename" jdbcType="VARCHAR" /> + </resultMap> + <sql id="Base_Column_List" > + <!-- --> + id, name, num, checkcontent, checktime, checkperson, memo, createtime, createby, + createbyname, updatetime, updateby, updatebyname, validflag, enterprisenumber, enterprisename + </sql> + <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long" > + <!-- --> + select + <include refid="Base_Column_List" /> + from standardequipmentleger + where id = #{id,jdbcType=BIGINT} + </select> + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long" > + <!-- --> + delete from standardequipmentleger + where id = #{id,jdbcType=BIGINT} + </delete> + <insert id="insert" parameterType="com.gk.firework.Domain.StandardEquipmentLeger" > + <!-- --> + insert into standardequipmentleger (id, name, num, + checkcontent, checktime, checkperson, + memo, createtime, createby, + createbyname, updatetime, updateby, + updatebyname, validflag, enterprisenumber, + enterprisename) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{num,jdbcType=INTEGER}, + #{checkcontent,jdbcType=VARCHAR}, #{checktime,jdbcType=TIMESTAMP}, #{checkperson,jdbcType=VARCHAR}, + #{memo,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{createby,jdbcType=BIGINT}, + #{createbyname,jdbcType=VARCHAR}, #{updatetime,jdbcType=TIMESTAMP}, #{updateby,jdbcType=BIGINT}, + #{updatebyname,jdbcType=VARCHAR}, #{validflag,jdbcType=BIT}, #{enterprisenumber,jdbcType=VARCHAR}, + #{enterprisename,jdbcType=VARCHAR}) + </insert> + <insert id="insertSelective" parameterType="com.gk.firework.Domain.StandardEquipmentLeger" > + <!-- --> + insert into standardequipmentleger + <trim prefix="(" suffix=")" suffixOverrides="," > + <if test="id != null" > + id, + </if> + <if test="name != null" > + name, + </if> + <if test="num != null" > + num, + </if> + <if test="checkcontent != null" > + checkcontent, + </if> + <if test="checktime != null" > + checktime, + </if> + <if test="checkperson != null" > + checkperson, + </if> + <if test="memo != null" > + memo, + </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> + <if test="validflag != null" > + validflag, + </if> + <if test="enterprisenumber != null" > + enterprisenumber, + </if> + <if test="enterprisename != null" > + enterprisename, + </if> + </trim> + <trim prefix="values (" suffix=")" suffixOverrides="," > + <if test="id != null" > + #{id,jdbcType=BIGINT}, + </if> + <if test="name != null" > + #{name,jdbcType=VARCHAR}, + </if> + <if test="num != null" > + #{num,jdbcType=INTEGER}, + </if> + <if test="checkcontent != null" > + #{checkcontent,jdbcType=VARCHAR}, + </if> + <if test="checktime != null" > + #{checktime,jdbcType=TIMESTAMP}, + </if> + <if test="checkperson != null" > + #{checkperson,jdbcType=VARCHAR}, + </if> + <if test="memo != null" > + #{memo,jdbcType=VARCHAR}, + </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> + <if test="validflag != null" > + #{validflag,jdbcType=BIT}, + </if> + <if test="enterprisenumber != null" > + #{enterprisenumber,jdbcType=VARCHAR}, + </if> + <if test="enterprisename != null" > + #{enterprisename,jdbcType=VARCHAR}, + </if> + </trim> + </insert> + <update id="updateByPrimaryKeySelective" parameterType="com.gk.firework.Domain.StandardEquipmentLeger" > + <!-- --> + update standardequipmentleger + <set > + <if test="name != null" > + name = #{name,jdbcType=VARCHAR}, + </if> + <if test="num != null" > + num = #{num,jdbcType=INTEGER}, + </if> + <if test="checkcontent != null" > + checkcontent = #{checkcontent,jdbcType=VARCHAR}, + </if> + <if test="checktime != null" > + checktime = #{checktime,jdbcType=TIMESTAMP}, + </if> + <if test="checkperson != null" > + checkperson = #{checkperson,jdbcType=VARCHAR}, + </if> + <if test="memo != null" > + memo = #{memo,jdbcType=VARCHAR}, + </if> + <if test="createtime != null" > + createtime = #{createtime,jdbcType=TIMESTAMP}, + </if> + <if test="createby != null" > + createby = #{createby,jdbcType=BIGINT}, + </if> + <if test="createbyname != null" > + createbyname = #{createbyname,jdbcType=VARCHAR}, + </if> + <if test="updatetime != null" > + updatetime = #{updatetime,jdbcType=TIMESTAMP}, + </if> + <if test="updateby != null" > + updateby = #{updateby,jdbcType=BIGINT}, + </if> + <if test="updatebyname != null" > + updatebyname = #{updatebyname,jdbcType=VARCHAR}, + </if> + <if test="validflag != null" > + validflag = #{validflag,jdbcType=BIT}, + </if> + <if test="enterprisenumber != null" > + enterprisenumber = #{enterprisenumber,jdbcType=VARCHAR}, + </if> + <if test="enterprisename != null" > + enterprisename = #{enterprisename,jdbcType=VARCHAR}, + </if> + </set> + where id = #{id,jdbcType=BIGINT} + </update> + <update id="updateByPrimaryKey" parameterType="com.gk.firework.Domain.StandardEquipmentLeger" > + <!-- --> + update standardequipmentleger + set name = #{name,jdbcType=VARCHAR}, + num = #{num,jdbcType=INTEGER}, + checkcontent = #{checkcontent,jdbcType=VARCHAR}, + checktime = #{checktime,jdbcType=TIMESTAMP}, + checkperson = #{checkperson,jdbcType=VARCHAR}, + memo = #{memo,jdbcType=VARCHAR}, + createtime = #{createtime,jdbcType=TIMESTAMP}, + createby = #{createby,jdbcType=BIGINT}, + createbyname = #{createbyname,jdbcType=VARCHAR}, + updatetime = #{updatetime,jdbcType=TIMESTAMP}, + updateby = #{updateby,jdbcType=BIGINT}, + updatebyname = #{updatebyname,jdbcType=VARCHAR}, + validflag = #{validflag,jdbcType=BIT}, + enterprisenumber = #{enterprisenumber,jdbcType=VARCHAR}, + enterprisename = #{enterprisename,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + </update> +</mapper> \ No newline at end of file -- Gitblit v1.9.2