manailin
2022-09-25 cfea88ee29569c14a58f18f375d117edbc096625
1
2
3
4
5
6
7
8
9
10
<?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
        <if test="keyWord != null and keyWord != ''">
            where name like concat('%',#{keyWord},'%')
        </if>
    </select>
</mapper>