From 06205a1b49435f32b17b0a9e9673e9fa8ac28fda Mon Sep 17 00:00:00 2001
From: 懒羊羊 <15939171744@163.com>
Date: 星期四, 04 一月 2024 10:57:21 +0800
Subject: [PATCH] 优化

---
 jcdm-main/src/main/resources/mapper/bs/productBomChild/BsProductBomChildInfoMapper.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/jcdm-main/src/main/resources/mapper/bs/productBomChild/BsProductBomChildInfoMapper.xml b/jcdm-main/src/main/resources/mapper/bs/productBomChild/BsProductBomChildInfoMapper.xml
index 0732b06..0891b2e 100644
--- a/jcdm-main/src/main/resources/mapper/bs/productBomChild/BsProductBomChildInfoMapper.xml
+++ b/jcdm-main/src/main/resources/mapper/bs/productBomChild/BsProductBomChildInfoMapper.xml
@@ -28,7 +28,11 @@
         <include refid="selectBsProductBomChildInfoVo"/>
         <where>  
             <if test="materialCode != null  and materialCode != ''"> and material_code = #{materialCode}</if>
+            <if test="materialName != null  and materialName != ''"> and material_name = #{materialName}</if>
             <if test="bomCode != null  and bomCode != ''"> and bom_code = #{bomCode}</if>
+            <if test="opCode != null  and opCode != ''"> and op_code = #{opCode}</if>
+            <if test="opName != null  and opName != ''"> and op_name = #{opName}</if>
+
         </where>
     </select>
     

--
Gitblit v1.9.3