From 6fa5ee32d0e3c222dbf1308f2d4071717c528940 Mon Sep 17 00:00:00 2001 From: liyong <18434998025@163.com> Date: 星期一, 07 七月 2025 14:57:01 +0800 Subject: [PATCH] 2025-07-03 来票台账附件可补传 --- src/main/resources/mapper/purchase/ProductRecordMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/purchase/ProductRecordMapper.xml b/src/main/resources/mapper/purchase/ProductRecordMapper.xml index 35f08ac..980727c 100644 --- a/src/main/resources/mapper/purchase/ProductRecordMapper.xml +++ b/src/main/resources/mapper/purchase/ProductRecordMapper.xml @@ -35,5 +35,8 @@ <if test="c.createdAtEnd != null and c.createdAtEnd != ''"> and pr.created_at <= date_format(#{c.createdAtEnd},'%Y-%m-%d hh:mm:ss') </if> + <if test="c.purchaseContractNumber != null and c.purchaseContractNumber != ''"> + and tr.purchase_contract_number like concat('%',#{c.purchaseContractNumber},'%') + </if> </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3