From 100f5e484fcd148fc763eed40af5ce930f113b65 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期三, 28 一月 2026 11:09:49 +0800
Subject: [PATCH] refactor(home): 修改首页当日入库数量查询逻辑 refactor(quality): 更新质量检验控制器依赖注入和删除逻辑 feat(stock): 添加按日期统计库存总量的数据访问方法
---
src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
index 9eaf966..efeda16 100644
--- a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
+++ b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
@@ -21,10 +21,11 @@
sum(tr.invoice_amount)as receipt_payment_amount,
pl.contract_amount-sum(tr.invoice_amount) AS unReceipt_payment_amount,
pl.entry_date,
+ pl.execution_date,
pl.recorder_id,
pl.recorder_name,
pl.template_name,
- pl.approver_id,
+ pl.approve_user_ids,
sm.is_white,
pl.approval_status,
pl.payment_method
@@ -79,8 +80,7 @@
supplier_manage T2 ON T1.supplier_id = T2.id
LEFT JOIN
sys_user T3 ON T3.user_id = T1.registrant_id
- left join ticket_registration T4 on T1.ticket_registration_id = T4.id
WHERE
- T4.id = #{id}
+ T1.sales_ledger_product_id = #{id}
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3