From ca2417166fe917aeb45d08df6ff152f9c7a0060a Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期日, 27 四月 2025 10:57:17 +0800 Subject: [PATCH] 修改拦载器 --- pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrGroupClientMapper.xml | 24 ------------------------ 1 files changed, 0 insertions(+), 24 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrGroupClientMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrGroupClientMapper.xml index 992f079..e4053cd 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrGroupClientMapper.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrGroupClientMapper.xml @@ -105,28 +105,4 @@ where id = #{id,jdbcType=BIGINT} </update> - <!--鏍规嵁鍐滄埛缂栧彿鑾峰彇杞亴缁勬暟閲�--> - <select id="getGroupCountByClientId" resultType="java.lang.Long"> - SELECT - count(*) - FROM ir_irrigate_group grp - INNER JOIN ir_group_client gc ON gc.group_id = grp.id - WHERE grp.deleted = 0 AND gc.client_id = #{clientId} - </select> - - <!--鏍规嵁鍐滄埛缂栧彿鑾峰彇杞亴缁勫垪琛�--> - <select id="getGroupsByClientId" resultType="com.dy.pipIrrGlobal.voIr.VoGroupSimple"> - SELECT - grp.id AS groupId, - grp.group_code AS groupCode - FROM ir_irrigate_group grp - INNER JOIN ir_group_client gc ON gc.group_id = grp.id - WHERE grp.deleted = 0 AND gc.client_id = #{clientId} - ORDER BY grp.group_code - <trim prefix="limit "> - <if test="start != null and count != null"> - #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} - </if> - </trim> - </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0