mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?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>