liyong
2026-01-30 069c5ab23fcbd02144079c4df0fd8183b22b1e04
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?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.ruoyi.business.mapper.CarbonCubesMapper">
 
 
    <select id="pageCarbonCubes" resultType="com.ruoyi.business.entity.CarbonCubes">
        select * from carbon_cubes
        <where>
            <if test="ew.coal != null and ew.coal != null ">
                and coal like concat('%',#{ew.coal},'%')
            </if>
            <if test="ew.orderType != null and ew.orderType != ''">
                and order_type = #{ew.orderType}
            </if>
        </where>
    </select>
</mapper>