From 77d2e1f1456d51ab8d1201102a724b1a7ecb8ae7 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 24 七月 2024 10:44:40 +0800
Subject: [PATCH] 1、完善quarz的任务工厂类; 2、完善DateTime类; 3、application-global.yml中增加统计任务启动时刻; 4、通信中间件加入对阀开工作报处理间隔控制; 5、统计子模块中自动统计逻辑继续实现。

---
 pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrCropMapper.xml |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrCropMapper.xml b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrCropMapper.xml
index 5da8e78..da5e8f4 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrCropMapper.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/mapper/IrCropMapper.xml
@@ -84,7 +84,8 @@
     <select id="getCrops" resultType="com.dy.pipIrrGlobal.voIr.VoCrop">
         SELECT
         CAST(cro.id AS char)AS id,
-        cro.crop_name  AS  cropName
+        cro.crop_name  AS  cropName,
+        cro.remarks
         FROM ir_crop cro
         <where>
             cro.deleted = 0
@@ -96,4 +97,14 @@
             LIMIT ${(pageCurr-1)*pageSize}, ${pageSize}
         </if>
     </select>
+
+    <select id="selectById" resultType="com.dy.pipIrrGlobal.voIr.VoCropOne">
+        select
+        CAST(cro.id AS char)AS id,
+        cro.crop_name  AS  cropName,
+        cro.remarks
+        from ir_crop cro
+        where cro.id = #{id,jdbcType=BIGINT} and cro.deleted = 0
+
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0