对比新文件 |
| | |
| | | <?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> |