mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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.ComMediateTypeDao">
    <select id="eventList" resultType="com.panzhihua.service_community.entity.ComMediateType">
        select * from com_mediate_type
        where delete_flag=0
        <if test="keyWord != null and keyWord != ''">
            and name like concat('%',#{keyWord},'%')
        </if>
    </select>
    <select id="selectEventCount" resultType="java.lang.Integer">
        select count(id) from com_sanshuo_event_info
        where event_category = #{id}
        AND app_id=#{appId}
    </select>
</mapper>