From 069c5ab23fcbd02144079c4df0fd8183b22b1e04 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期五, 30 一月 2026 15:02:55 +0800
Subject: [PATCH] feat(purchase): 配置文件

---
 main-business/src/main/resources/mapper/CarbonCubesMapper.xml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/main-business/src/main/resources/mapper/CarbonCubesMapper.xml b/main-business/src/main/resources/mapper/CarbonCubesMapper.xml
new file mode 100644
index 0000000..5d37469
--- /dev/null
+++ b/main-business/src/main/resources/mapper/CarbonCubesMapper.xml
@@ -0,0 +1,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>
\ No newline at end of file

--
Gitblit v1.9.3