jinlin
2023-12-29 a4f932c6ca705feb3bee3b7d7bbe0ee5c0c85515
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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.zt.life.modules.configItemOutbound.dao.OutboundConfigItemDao">
 
    <select id="getList" resultType="com.zt.life.modules.configItemOutbound.model.OutboundConfigItem">
        select a.*
        from config_item_outbound_detail a
        <where>
            a.is_delete = 0
            <if test="warehouseId!=null">
                and outbound_id = ${outboundId}
            </if>
        </where>
        <if test="orderBySql!=null">
            ORDER BY ${orderBySql}
        </if>
    </select>
</mapper>