From 73086b1adc3d880634d4d11c35c1c2bb4eefa505 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期四, 16 四月 2026 18:01:45 +0800
Subject: [PATCH] feat:1、工序要加是否质检、是否入库、是否报工 2、生产订单-领料、退料后端开发(关联订单,工序,bom,工艺路线)
---
src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
index f501849..1aed9b4 100644
--- a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
+++ b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
@@ -62,6 +62,12 @@
<if test="c.entryDateEnd != null and c.entryDateEnd != ''">
AND pl.entry_date <= #{c.entryDateEnd}
</if>
+ <if test="c.supplierId != null">
+ AND pl.supplier_id = #{c.supplierId}
+ </if>
+ <if test="c.approvalStatus != null">
+ AND pl.approval_status = #{c.approvalStatus}
+ </if>
</where>
ORDER BY pl.entry_date DESC
</select>
--
Gitblit v1.9.3