<?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.panzhihua.service_community.dao.ComSanshuoEventDao">
|
|
<resultMap id="BaseResultMap" type="com.panzhihua.service_community.entity.ComSanshuoEvent">
|
<id property="id" column="id" jdbcType="INTEGER"/>
|
<result property="name" column="name" jdbcType="VARCHAR"/>
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
<result property="status" column="status" jdbcType="INTEGER"/>
|
<result property="delFlag" column="del_flag" jdbcType="INTEGER"/>
|
</resultMap>
|
|
<sql id="Base_Column_List">
|
select id,name,create_time,
|
update_time,status,del_flag from com_sanshuo_event
|
</sql>
|
<select id="pageEvent" resultType="com.panzhihua.service_community.entity.ComSanshuoEvent">
|
<include refid="Base_Column_List"/>
|
where name like concat('%',#{comSanshuoEventDTO.name},'%')
|
</select>
|
</mapper>
|