From 44276325c53ca50cd07dd1742af6074e4f42bc93 Mon Sep 17 00:00:00 2001 From: pengwei Date: Thu, 29 May 2025 11:19:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=201=E3=80=81=E7=BB=B4=E6=9D=83=E5=A4=A7?= =?UTF-8?q?=E5=B1=8F=E4=BC=98=E5=8C=96=EF=BC=88=E5=8F=97=E4=BE=B5=E5=AE=B3?= =?UTF-8?q?=E4=BA=BA=E6=95=B0=EF=BC=89;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/biutag/supervision/mapper/RpcApplyMapper.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java b/src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java index fe7c413..4ef709c 100644 --- a/src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java +++ b/src/main/java/com/biutag/supervision/mapper/RpcApplyMapper.java @@ -43,8 +43,8 @@ public interface RpcApplyMapper extends BaseMapper { @Select(" SELECT COUNT(*) from rpc_apply_person a LEFT JOIN rpc_apply b " + " on a.rpc_id = b.rpc_id and b.type =1 " + " WHERE b.rpc_id is not null " + - " and b.crt_time BETWEEN #{beginTime} and ${endTime} ") - Integer selectVictimNumber(Date beginTime, Date endTime); + " and b.crt_time BETWEEN #{beginTime} and #{endTime} ") + int selectVictimNumber(Date beginTime, Date endTime); /** * 获取受侵害人数(根据分县) @@ -52,9 +52,9 @@ public interface RpcApplyMapper extends BaseMapper { @Select(" SELECT COUNT(*) from rpc_apply_person a LEFT JOIN rpc_apply b " + " on a.rpc_id = b.rpc_id and b.type =1 " + " WHERE b.rpc_id is not null " + - " and b.crt_time BETWEEN #{beginTime} and ${endTime} " + + " and b.crt_time BETWEEN #{beginTime} and #{endTime} " + " and b.second_depart_id = #{deptId} ") - Integer selectVictimNumberByOrg(Date beginTime, Date endTime,String deptId); + int selectVictimNumberByOrg(Date beginTime, Date endTime,String deptId); @Select("SELECT " +