From 83923ea389a172c1cf3d9cd7a3628d3692e9feaf Mon Sep 17 00:00:00 2001
From: wujian <14790700720@163.com>
Date: 星期四, 18 一月 2024 18:14:12 +0800
Subject: [PATCH] add 工艺流程

---
 jcdm-main/src/main/resources/mapper/bs/formulaChild/BsFormulaChildInfoMapper.xml |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/jcdm-main/src/main/resources/mapper/bs/formulaChild/BsFormulaChildInfoMapper.xml b/jcdm-main/src/main/resources/mapper/bs/formulaChild/BsFormulaChildInfoMapper.xml
index 4810be1..24ab904 100644
--- a/jcdm-main/src/main/resources/mapper/bs/formulaChild/BsFormulaChildInfoMapper.xml
+++ b/jcdm-main/src/main/resources/mapper/bs/formulaChild/BsFormulaChildInfoMapper.xml
@@ -50,7 +50,16 @@
         <include refid="selectBsFormulaChildInfoVo"/>
         where id = #{id}
     </select>
-        
+
+    <select id="getProductProcess" parameterType="com.jcdm.main.bs.formulaChild.Query.ProductProcessQuery" resultMap="BsFormulaChildInfoResult">
+        <include refid="selectBsFormulaChildInfoVo"/>
+        <where>
+            <if test="processesCode != null and processesCode != '' ">and processes_code = #{processesCode}</if>
+            <if test="productCode != null and productCode != '' ">and product_code = #{productCode}</if>
+        </where>
+        order by step_sort
+    </select>
+
     <insert id="insertBsFormulaChildInfo" parameterType="BsFormulaChildInfo" useGeneratedKeys="true" keyProperty="id">
         insert into bs_formula_child_info
         <trim prefix="(" suffix=")" suffixOverrides=",">

--
Gitblit v1.9.3