fg电池监控平台的达梦数据库版本
whycxzp
2024-11-06 4a53a7134a55e09831be1e874500635183a5ee61
调整语法不兼容
1个文件已修改
6 ■■■■ 已修改文件
src/main/resources/mapper/BatttestdataInfMapper.xml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/BatttestdataInfMapper.xml
@@ -218,8 +218,8 @@
  </resultMap>
  <select id="searchGroupTestCap" resultType="com.whyc.dto.result.GroupTestCapRes">
    SELECT stationId,testStartTime,stationName1,stationName2,stationName3,stationName5,IFNULL(count(*),0) as
    countNum,IFNULL(truncate(sum(test_cap),3),0) as sumNum,GROUP_CONCAT(test_cap) as testCaps
    SELECT stationId,stationName1,stationName2,stationName3,stationName5,IFNULL(count(*),0) as
    countNum,IFNULL(truncate(sum(test_cap),3),0) as sumNum,WM_CONCAT(test_cap) as testCaps
    from (SELECT DISTINCT
    stationId,test_starttime as
    testStartTime,stationName1,stationName2,stationName3,stationName5,ifnull(truncate(abs(test_cap),3),0) as test_cap
@@ -243,7 +243,7 @@
      </if>
    </where>
    ) as a
    group by stationId
    group by stationId,stationName1,stationName2,stationName3,stationName5
  </select>
  <select id="selectMonth" resultType="com.whyc.pojo.BatttestdataInf">
    SELECT test_type, test_starttype, test_stoptype, test_timelong, test_datatype