潘志宝
2024-11-26 757bfdc997691450a68514c879fcb08cfbd5451f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?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.iailab.module.model.mcs.pre.dao.MmItemOutputDao">
 
    <select id="queryList" resultType="com.iailab.module.model.mcs.pre.dto.MmItemOutputDTO">
        select * from t_mm_item_output t
        <where>
            <if test="params.itemid != null and params.itemid != ''">
                AND t.itemid LIKE CONCAT('%', #{params.itemid},'%')
            </if>
        </where>
    </select>
</mapper>