From a8188d1675594d7756eddccc3eda60601325942a Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期二, 20 十月 2026 15:22:35 +0800
Subject: [PATCH] feat: 工序添加是否领料,用于后续生产订单领料

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

diff --git a/src/main/resources/mapper/technology/TechnologyOperationMapper.xml b/src/main/resources/mapper/technology/TechnologyOperationMapper.xml
index 2039849..d50ccd4 100644
--- a/src/main/resources/mapper/technology/TechnologyOperationMapper.xml
+++ b/src/main/resources/mapper/technology/TechnologyOperationMapper.xml
@@ -12,10 +12,28 @@
         <result column="remark" property="remark" />
         <result column="salary_quota" property="salaryQuota" />
         <result column="is_quality" property="isQuality" />
+        <result column="is_production" property="isProduction" />
+        <result column="is_pick" property="isPick" />
         <result column="type" property="type" />
         <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