zhangtiansen
2022-09-18 82896616ab61b7fc3aabe4da878832c8cf583ccd
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>