Explorar o código

优化report启动失败

Your Name %!s(int64=2) %!d(string=hai) anos
pai
achega
49af240a91

+ 1 - 1
service-common/src/main/java/com/java110/common/cmd/chargeMachine/ListChargeMachineCmd.java

@@ -143,7 +143,7 @@ public class ListChargeMachineCmd extends Cmd {
         smallWeChatDto.setWeChatType(SmallWeChatDto.WECHAT_TYPE_PUBLIC);
         List<SmallWeChatDto> smallWeChatDtos = smallWeChatInnerServiceSMOImpl.querySmallWeChats(smallWeChatDto);
         String appId = "";
-        if (smallWeChatDtos != null || smallWeChatDtos.size() > 0) {
+        if (smallWeChatDtos != null && smallWeChatDtos.size() > 0) {
             appId = smallWeChatDtos.get(0).getAppId();
         }
         String ownerUrl = UrlCache.getOwnerUrl();