<?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>
|