From 325180b7de27e486b5427d1918078b0e4f5bbab9 Mon Sep 17 00:00:00 2001
From: wuzeyu <1223318623@qq.com>
Date: 星期一, 16 十二月 2024 10:31:54 +0800
Subject: [PATCH] 优化接口 获得全部取水口 重构返回结构,增加片区名称字段、增加县镇村名称字段
---
pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIrrigateUnitMapper.xml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIrrigateUnitMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIrrigateUnitMapper.xml
index e4ef711..600d56d 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIrrigateUnitMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrIrrigateUnitMapper.xml
@@ -172,6 +172,7 @@
<select id="getRecordCount" resultType="java.lang.Long">
SELECT COUNT(*) AS recordCount
FROM ir_irrigate_unit uni
+ left join pr_intake intake on intake.id = uni.intake_id
left join ir_project pro on pro.id = uni.project_id
left join se_client cli on cli.id = uni.operator
left join ir_group_unit gu on gu.unit_id = uni.id
--
Gitblit v1.8.0