From a53c48bc2bbfa1f6ec1540e2d918a73d7890f090 Mon Sep 17 00:00:00 2001 From: DYL <Dn1332079466> Date: 星期一, 20 一月 2025 18:05:16 +0800 Subject: [PATCH] 优化 --- zhitan-system/src/main/resources/mapper/peakvalley/ElectricityPriceDateMapper.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/zhitan-system/src/main/resources/mapper/peakvalley/ElectricityPriceDateMapper.xml b/zhitan-system/src/main/resources/mapper/peakvalley/ElectricityPriceDateMapper.xml index 9e56581..2672b6b 100644 --- a/zhitan-system/src/main/resources/mapper/peakvalley/ElectricityPriceDateMapper.xml +++ b/zhitan-system/src/main/resources/mapper/peakvalley/ElectricityPriceDateMapper.xml @@ -80,4 +80,10 @@ #{id} </foreach> </delete> + + <select id="selectElectricityPriceDatePageTacticsAll" resultMap="ElectricityPriceDateResult"> + <include refid="selectElectricityPriceDateVo"/> + WHERE begin_date < CURRENT_TIMESTAMP + AND end_date > CURRENT_TIMESTAMP + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3