From d7ac861cab28bc39f87c1af464ec4d319a0cbb37 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期二, 19 十一月 2024 15:46:15 +0800
Subject: [PATCH] test配置增加deploy.server属性,解决多网卡ip注册错误的问题

---
 iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/ind/IndItemValueDao.xml |   34 +++++++++++++++++++---------------
 1 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/ind/IndItemValueDao.xml b/iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/ind/IndItemValueDao.xml
index 2a07b6f..4428a0c 100644
--- a/iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/ind/IndItemValueDao.xml
+++ b/iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/ind/IndItemValueDao.xml
@@ -1,21 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 
-<mapper namespace="com.iailab.module.data.ind.dao.IndItemValueDao">
+<mapper namespace="com.iailab.module.data.ind.value.dao.IndItemValueDao">
 
-
-    <select id="getSourceValue" parameterType="com.iailab.module.data.ind.dto.IndItemDTO" resultType="com.iailab.module.data.ind.dto.IndItemValueDTO">
-      select
-        ${sqlSelect}
-      from (
-        ${querySql}
-      ) ind_t
-      <where>
-          <if test="sqlWhere != null and sqlWhere != ''">
-              and ${sqlWhere}
-          </if>
-      </where>
-      order by ind_t.data_time
+    <select id="getSourceValue" parameterType="map" resultType="com.iailab.module.data.ind.item.vo.IndItemValueVO">
+        select
+        ${selectSql}
+        from (
+        ${viewSql}
+        ) ind_t
+        <where>
+            <if test="whereSql != null and whereSql != ''">
+                and ${whereSql}
+            </if>
+        </where>
+        <if test="groupSql != null and groupSql != ''">
+            group by ${groupSql}
+        </if>
+        <if test="orderBySql != null and orderBySql != ''">
+            order by ${orderBySql}
+        </if>
     </select>
 
-</mapper>
+</mapper>
\ No newline at end of file

--
Gitblit v1.9.3