From d9aac64d061758c77af5ecccce740df43167024e Mon Sep 17 00:00:00 2001 From: liyong <18434998025@163.com> Date: 星期六, 12 七月 2025 13:30:43 +0800 Subject: [PATCH] 基础数据--- 删除做限制,已经引用的无法删除 --- src/main/resources/mapper/purchase/ProductRecordMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/purchase/ProductRecordMapper.xml b/src/main/resources/mapper/purchase/ProductRecordMapper.xml index dd5aac6..e1646b8 100644 --- a/src/main/resources/mapper/purchase/ProductRecordMapper.xml +++ b/src/main/resources/mapper/purchase/ProductRecordMapper.xml @@ -27,7 +27,7 @@ and sl.sales_contract_no = #{c.salesContractNo} </if> <if test="c.supplierName != null and c.supplierName != ''"> - and sl.supplier_name = #{c.supplierName} + and pl.supplier_name = #{c.supplierName} </if> <if test="c.createdAtStart != null and c.createdAtStart != ''"> and pr.created_at >= date_format(#{c.createdAtStart},'%Y-%m-%d hh:mm:ss') -- Gitblit v1.9.3