From ec2894a1ae8d84b223eeda88034bf842247eeb0b Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Sun, 22 Feb 2026 21:54:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=A5=E6=9C=9F=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E4=BF=AE=E5=A4=8D=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/collect/CommemorativeBanknoteMapper.xml | 8 ++++---- .../resources/mapper/collect/CommemorativeCoinMapper.xml | 8 ++++---- .../resources/mapper/collect/PreciousMetalCoinMapper.xml | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/intc-modules/intc-collect/src/main/resources/mapper/collect/CommemorativeBanknoteMapper.xml b/intc-modules/intc-collect/src/main/resources/mapper/collect/CommemorativeBanknoteMapper.xml index f6eb2e9..5466e1f 100644 --- a/intc-modules/intc-collect/src/main/resources/mapper/collect/CommemorativeBanknoteMapper.xml +++ b/intc-modules/intc-collect/src/main/resources/mapper/collect/CommemorativeBanknoteMapper.xml @@ -60,11 +60,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and issue_year = #{issueYear} and series = #{series} and coinage_unit = #{coinageUnit} - - and #{endTime}>=to_char(issue_date, 'yyyy-MM-dd') + + and issue_date <= #{endTime} - - and to_char(issue_date, 'yyyy-MM-dd')>=#{startTime} + + and issue_date >= #{startTime} order by issue_date desc diff --git a/intc-modules/intc-collect/src/main/resources/mapper/collect/CommemorativeCoinMapper.xml b/intc-modules/intc-collect/src/main/resources/mapper/collect/CommemorativeCoinMapper.xml index 3415669..84a4524 100644 --- a/intc-modules/intc-collect/src/main/resources/mapper/collect/CommemorativeCoinMapper.xml +++ b/intc-modules/intc-collect/src/main/resources/mapper/collect/CommemorativeCoinMapper.xml @@ -73,11 +73,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and series = #{series} and block_type = #{blockType} and shape = #{shape} - - and #{endTime}>=to_char(issue_date, 'yyyy-MM-dd') + + and issue_date <= #{endTime} - - and to_char(issue_date, 'yyyy-MM-dd')>=#{startTime} + + and issue_date >= #{startTime} order by issue_date desc diff --git a/intc-modules/intc-collect/src/main/resources/mapper/collect/PreciousMetalCoinMapper.xml b/intc-modules/intc-collect/src/main/resources/mapper/collect/PreciousMetalCoinMapper.xml index adad5d3..8349e8a 100644 --- a/intc-modules/intc-collect/src/main/resources/mapper/collect/PreciousMetalCoinMapper.xml +++ b/intc-modules/intc-collect/src/main/resources/mapper/collect/PreciousMetalCoinMapper.xml @@ -69,11 +69,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and block_type = #{blockType} and series = #{series} and shape = #{shape} - - and #{endTime}>=to_char(issue_date, 'yyyy-MM-dd') + + and issue_date <= #{endTime} - - and to_char(issue_date, 'yyyy-MM-dd')>=#{startTime} + + and issue_date >= #{startTime} order by issue_date desc