From e5c29d6ac2b210a9385723598d79a42ae5a9679e Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 23 四月 2025 15:20:13 +0800
Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/WebFileMapper.xml | 126 ++++++++++++++++++++++++++++++++++++++++++
1 files changed, 126 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/WebFileMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/WebFileMapper.xml
new file mode 100644
index 0000000..e136766
--- /dev/null
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/WebFileMapper.xml
@@ -0,0 +1,126 @@
+<?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.dy.pipIrrGlobal.daoFi.WebFileMapper">
+ <resultMap id="BaseResultMap" type="com.dy.pipIrrGlobal.pojoFi.WebFile">
+ <!--@mbg.generated-->
+ <!--@Table web_file-->
+ <id column="id" property="id" />
+ <result column="org_name" property="orgName" />
+ <result column="ext_name" property="extName" />
+ <result column="new_name" property="newName" />
+ <result column="hash" property="hash" />
+ <result column="file_path" property="filePath" />
+ <result column="dt" property="dt" />
+ </resultMap>
+ <sql id="Base_Column_List">
+ <!--@mbg.generated-->
+ id, org_name, ext_name, new_name, hash, file_path, dt
+ </sql>
+
+ <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
+ <!--@mbg.generated-->
+ select
+ <include refid="Base_Column_List" />
+ from web_file
+ where id = #{id}
+ </select>
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
+ <!--@mbg.generated-->
+ delete from web_file
+ where id = #{id}
+ </delete>
+ <insert id="insert" parameterType="com.dy.pipIrrGlobal.pojoFi.WebFile">
+ <!--@mbg.generated-->
+ insert into web_file (id, org_name, ext_name, new_name, hash, file_path,
+ dt)
+ values (#{id}, #{orgName}, #{extName}, #{newName}, #{hash}, #{filePath},
+ #{dt})
+ </insert>
+ <insert id="insertSelective" parameterType="com.dy.pipIrrGlobal.pojoFi.WebFile">
+ <!--@mbg.generated-->
+ insert into web_file
+ <trim prefix="(" suffix=")" suffixOverrides=",">
+ <if test="id != null">
+ id,
+ </if>
+ <if test="orgName!= null and orgName !=''">
+ org_name,
+ </if>
+ <if test="extName!= null and extName !=''">
+ ext_name,
+ </if>
+ <if test="newName!= null and newName !=''">
+ new_name,
+ </if>
+ <if test="hash!= null">
+ hash,
+ </if>
+ <if test="filePath!= null and filePath !=''">
+ file_path,
+ </if>
+ <if test="dt != null">
+ dt,
+ </if>
+ </trim>
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
+ <if test="id != null">
+ #{id},
+ </if>
+ <if test="orgName!= null and orgName !=''">
+ #{orgName},
+ </if>
+ <if test="extName!= null and extName !=''">
+ #{extName},
+ </if>
+ <if test="newName!= null and newName !=''">
+ #{newName},
+ </if>
+ <if test="hash!= null">
+ #{hash},
+ </if>
+ <if test="filePath!= null and filePath !=''">
+ #{filePath},
+ </if>
+ <if test="dt != null">
+ #{dt},
+ </if>
+ </trim>
+ </insert>
+ <update id="updateByPrimaryKeySelective" parameterType="com.dy.pipIrrGlobal.pojoFi.WebFile">
+ <!--@mbg.generated-->
+ update web_file
+ <set>
+ <if test="orgName!= null and orgName !=''">
+ org_name = #{orgName},
+ </if>
+ <if test="extName!= null and extName !=''">
+ ext_name = #{extName},
+ </if>
+ <if test="newName!= null and newName !=''">
+ new_name = #{newName},
+ </if>
+ <if test="hash!= null">
+ hash = #{hash},
+ </if>
+ <if test="filePath!= null and filePath !=''">
+ file_path = #{filePath},
+ </if>
+ <if test="dt != null">
+ dt = #{dt},
+ </if>
+ </set>
+ where id = #{id}
+ </update>
+ <update id="updateByPrimaryKey" parameterType="com.dy.pipIrrGlobal.pojoFi.WebFile">
+ <!--@mbg.generated-->
+ update web_file
+ set org_name = #{orgName},
+ ext_name = #{extName},
+ new_name = #{newName},
+ hash = #{hash},
+ file_path = #{filePath},
+ dt = #{dt}
+ where id = #{id}
+ </update>
+
+</mapper>
\ No newline at end of file
--
Gitblit v1.8.0