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')