From 41ab7abd0b0ec0fefb03b60bbaf42c02fbda666b Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 23 四月 2026 15:53:16 +0800
Subject: [PATCH] feat(production): 添加生产订单与销售台账关联功能
---
src/main/resources/mapper/technology/TechnologyOperationMapper.xml | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/technology/TechnologyOperationMapper.xml b/src/main/resources/mapper/technology/TechnologyOperationMapper.xml
index 2039849..f6adc74 100644
--- a/src/main/resources/mapper/technology/TechnologyOperationMapper.xml
+++ b/src/main/resources/mapper/technology/TechnologyOperationMapper.xml
@@ -18,4 +18,20 @@
<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