From d838d08ffaf9620ac359d979f1029e0ec0512519 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 29 十月 2024 20:43:57 +0800
Subject: [PATCH] 1、statistics模块的配置项目IdSuffix: ${pipIrr.statistics.idSuffix}改为idSuffix: ${pipIrr.statistics.idSuffix}; 2、初始沙盘系统行政区划编码修改; 3、行政区划编码数据库字段num由bigint型改为varchar(5)型,相应mapper.xml文件内修改。

---
 pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrGroupUnitMapper.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrGroupUnitMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrGroupUnitMapper.xml
index d512779..de655c8 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrGroupUnitMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrGroupUnitMapper.xml
@@ -79,4 +79,8 @@
     <select id="getGroupBindUnits" parameterType="Long" resultType="java.lang.Long">
         SELECT unit_id AS unitId FROM `ir_group_unit`WHERE group_id = #{groupId,jdbcType=BIGINT}
     </select>
+
+    <select id="getNotBindUnits" resultType="java.lang.Long">
+        SELECT id FROM ir_irrigate_unit  WHERE id NOT IN (SELECT unit_id  FROM ir_group_unit)
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0