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/HelpDocInfoMapper.xml | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/gk/firework/Mapper/mybatis/HelpDocInfoMapper.xml b/src/main/java/com/gk/firework/Mapper/mybatis/HelpDocInfoMapper.xml
new file mode 100644
index 0000000..c34017a
--- /dev/null
+++ b/src/main/java/com/gk/firework/Mapper/mybatis/HelpDocInfoMapper.xml
@@ -0,0 +1,36 @@
+<?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.HelpDocInfoMapper" >
+ <resultMap id="BaseResultMap" type="com.gk.firework.Domain.HelpDocInfo" >
+ <!-- -->
+ <id column="id" property="id" jdbcType="BIGINT" />
+ <result column="filetype" property="filetype" jdbcType="VARCHAR" />
+ <result column="filename" property="filename" jdbcType="VARCHAR" />
+ <result column="fileurl" property="fileurl" jdbcType="VARCHAR" />
+ <result column="version" property="version" jdbcType="INTEGER" />
+ <result column="remark" property="remark" jdbcType="VARCHAR" />
+ <result column="createdby" property="createdby" jdbcType="VARCHAR" />
+ <result column="created" property="created" jdbcType="TIMESTAMP" />
+ <result column="updated" property="updated" jdbcType="TIMESTAMP" />
+ <result column="isdel" property="isdel" jdbcType="TINYINT" />
+ <result column="flag" property="flag" jdbcType="TINYINT" />
+ </resultMap>
+ <sql id="Base_Column_List" >
+ <!-- -->
+ id, filetype, filename, fileurl, version, remark, createdby, created, updated, isdel,
+ flag
+ </sql>
+
+ <select id="selectDataGrid" resultType="com.gk.firework.Domain.HelpDocInfo">
+ select
+ <include refid="Base_Column_List" />
+ from helpdoc
+ <where>
+ 1=1
+ and isdel = 0
+ <if test="condition.name != null and condition.name !=''">
+ and filename like concat('%',#{condition.name},'%')
+ </if>
+ </where>
+ </select>
+</mapper>
\ No newline at end of file
--
Gitblit v1.9.2