2 Commity 0963c2b39f ... 368729fa89

Autor SHA1 Správa Dátum
  missMyLove 368729fa89 Merge remote-tracking branch 'remotes/ktj/master' 3 rokov pred
  missMyLove fafb05aef4 回路电量bug修复 3 rokov pred

+ 1 - 1
src/main/java/com/comtika/safe/service/mobile/impl/MobileServiceImpl.java

@@ -127,7 +127,7 @@ public class MobileServiceImpl implements IMobileService {
             Map<String,Object> arg1 = new HashMap<>();
             arg1.put("totalEle",i);
             arg1.put("serialNo",ch.getName());
-            arg1.put("socketId",ch.getId());
+            // arg1.put("socketId",ch.getId());
             siteTotal.add(arg1);
         }
         condition.put("allTotalEle",totalEle);

+ 1 - 1
src/main/resources/sql/mobile.md

@@ -69,7 +69,7 @@ where 1=1
 @if(!isEmpty(terminalId)){
     and t.terminal_id = #terminalId#
 @}
-GROUP BY t.id
+GROUP BY t.serial_no
 
 findTerminalDataTotal
 ===