From 55db6f66c093c07df100cb0e609091030c2a4925 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 24 九月 2026 09:19:20 +0800
Subject: [PATCH] feat(process): 完善检验委托单功能实现绑定和关联管理 - 实现检验委托单与成品下单的绑定功能,包括新增绑定、解除绑定和变更绑定关系 - 添加检验委托单关联状态查询和未绑定委托单筛选功能 - 实现检验委托单绑定日志记录和报告同步功能

---
 inspect-server/src/main/java/com/ruoyi/inspect/mapper/InsProductMapper.java |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/inspect-server/src/main/java/com/ruoyi/inspect/mapper/InsProductMapper.java b/inspect-server/src/main/java/com/ruoyi/inspect/mapper/InsProductMapper.java
index bfb7115..9ad0dce 100644
--- a/inspect-server/src/main/java/com/ruoyi/inspect/mapper/InsProductMapper.java
+++ b/inspect-server/src/main/java/com/ruoyi/inspect/mapper/InsProductMapper.java
@@ -3,9 +3,13 @@
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.ruoyi.inspect.dto.InsProductAnalysisDto;
 import com.ruoyi.inspect.dto.ProductResultDto2;
 import com.ruoyi.inspect.dto.SampleProductRawAnalysisDto;
 import com.ruoyi.inspect.pojo.InsProduct;
+import com.ruoyi.inspect.pojo.InsProductDeviationWarningDetail;
+import com.ruoyi.inspect.vo.ProductVo;
+import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
@@ -17,6 +21,7 @@
 * @createDate 2024-03-08 09:45:03
 * @Entity com.yuanchu.mom.pojo.InsProduct
 */
+@Mapper
 public interface InsProductMapper extends BaseMapper<InsProduct> {
 
     int selectOrderManDay(@Param("orderId") Integer orderId);
@@ -60,6 +65,23 @@
      * @return
      */
     int selectNoJudge(@Param("orderId") Integer orderId);
+
+    /**
+     * 鏍规嵁璁㈠崟鏌ヨ浜у搧淇℃伅
+     * @param orderId
+     * @return
+     */
+    List<InsProduct> selectProductByOrderId(Integer orderId);
+
+    /**
+     * 鏌ヨ鍚屼竴鍨嬪彿, 鍚屼竴鍘傚, 鍚屼竴妫�娴嬮」鐨勬娴嬫暟鎹�
+     * @param insProduct
+     * @param supplierName
+     * @return
+     */
+    List<InsProductDeviationWarningDetail> selectAnalysis(@Param("insProduct") InsProduct insProduct, @Param("supplierName") String supplierName);
+
+    List<ProductVo> selectInspectListByIfsIfs(@Param("ifsIds") List<Long> ifsIds);
 }
 
 

--
Gitblit v1.9.3