From 8c945d42c6610abd9ef17bc153114024175bec2a Mon Sep 17 00:00:00 2001
From: houshuai <17802598606@163.com>
Date: 星期四, 03 七月 2025 19:43:12 +0800
Subject: [PATCH] 线边库和订单 基本搭建

---
 src/main/java/org/jeecg/modules/pms/mapper/xml/PmsProcessBillMaterialsDetailMapper.xml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/jeecg/modules/pms/mapper/xml/PmsProcessBillMaterialsDetailMapper.xml b/src/main/java/org/jeecg/modules/pms/mapper/xml/PmsProcessBillMaterialsDetailMapper.xml
new file mode 100644
index 0000000..3d45db9
--- /dev/null
+++ b/src/main/java/org/jeecg/modules/pms/mapper/xml/PmsProcessBillMaterialsDetailMapper.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="org.jeecg.modules.pms.mapper.PmsProcessBillMaterialsDetailMapper">
+    <select id="queryByMaterialId" resultType="org.jeecg.modules.pms.entity.PmsProcessBillMaterialsDetail">
+        SELECT TOP 1 * FROM pms_process_bill_materials_detail
+        WHERE material_id = #{materialId}
+    </select>
+    <select id="getpmsProcessBillMaterialsDetailListData" parameterType="Map" resultType="Map">
+        select * from pms_process_bill_materials_detail WHERE 1=1
+        <if test="params.materialNumber != null and params.materialNumber != ''">
+            AND material_number LIKE CONCAT('%', #{params.materialNumber}, '%')
+        </if>
+        <if test="params.materialName != null and params.materialName != ''">
+            AND material_name LIKE CONCAT('%', #{params.materialName}, '%')
+        </if>
+    </select>
+</mapper>
\ No newline at end of file

--
Gitblit v1.9.3