From 387c7aadbc599ff3c3b6da46fa1cb9a985a63c77 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Fri, 21 Mar 2025 14:21:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=99=BA=E8=81=AA=E8=AE=B0=E8=B4=A6?= =?UTF-8?q?=E7=AE=A1=E7=90=86=EF=BC=8C=E7=89=A9=E4=BB=B7=E8=AE=B0=E5=BD=95?= =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/invest/ProductPriceRecordMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intc-modules/intc-invest/src/main/resources/mapper/invest/ProductPriceRecordMapper.xml b/intc-modules/intc-invest/src/main/resources/mapper/invest/ProductPriceRecordMapper.xml index cf3940d..b4c5b09 100644 --- a/intc-modules/intc-invest/src/main/resources/mapper/invest/ProductPriceRecordMapper.xml +++ b/intc-modules/intc-invest/src/main/resources/mapper/invest/ProductPriceRecordMapper.xml @@ -59,8 +59,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and a.record_time = #{recordTime} and a.address = #{address} and a.merchant = #{merchant} - and a.kind = #{kind} - and a.category = #{category} + and (a.kind like '%'|| #{kind}||'%' or pi2."name" like '%'|| #{kind}||'%' ) + and a.category = #{category} and #{endTime}>=to_char(a.record_time, 'yyyy-MM-dd')