From d096516873552404eac98ee7c1d37490af9e8340 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期一, 14 九月 2026 11:00:46 +0800
Subject: [PATCH] feat(home): 添加工序颜色支持功能

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

diff --git a/src/main/resources/mapper/technology/TechnologyOperationMapper.xml b/src/main/resources/mapper/technology/TechnologyOperationMapper.xml
index 2039849..7b56065 100644
--- a/src/main/resources/mapper/technology/TechnologyOperationMapper.xml
+++ b/src/main/resources/mapper/technology/TechnologyOperationMapper.xml
@@ -13,9 +13,26 @@
         <result column="salary_quota" property="salaryQuota" />
         <result column="is_quality" property="isQuality" />
         <result column="type" property="type" />
+        <result column="color" property="color" />
         <result column="device_ledger_id" property="deviceLedgerId" />
         <result column="create_user" property="createUser" />
         <result column="dept_id" property="deptId" />
     </resultMap>
 
+    <select id="listPage" resultType="com.ruoyi.technology.bean.vo.TechnologyOperationVo">
+        select *
+        from technology_operation t
+        <where>
+            <if test="c.name != null and c.name != ''">
+                and t.name like concat('%', #{c.name}, '%')
+            </if>
+            <if test="c.no != null and c.no != ''">
+                and t.no like concat('%', #{c.no}, '%')
+            </if>
+            <if test="c.type != null">
+                and t.type = #{c.type}
+            </if>
+        </where>
+        order by t.id asc
+    </select>
 </mapper>

--
Gitblit v1.9.3