Explorar o código

鹏利达-富森-EDI

DINGYL hai 1 ano
pai
achega
2aa7f8cc0e
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/main/java/com/uas/service/Impl/UploadServiceImpl.java

+ 4 - 0
src/main/java/com/uas/service/Impl/UploadServiceImpl.java

@@ -54,7 +54,9 @@ public class UploadServiceImpl implements UploadService {
                 statement = connect.createStatement();
                 ResultSet rs = 	getXmlData(statement);
                 String depot = "";
+                BaseUtil.getLogger().info("uploadBySob():"+sob+" connect="+connect.getClientInfo());
                 while(rs.next()){
+                    BaseUtil.getLogger().info("uploadBySob():"+sob+" xl_id="+rs.getString("xl_id"));
                     try{
                         xldata = rs.getString("xl_data");
                         fileprefix = rs.getString("xl_fileprefix");
@@ -102,6 +104,8 @@ public class UploadServiceImpl implements UploadService {
                     }
                 }
                 rs.close();
+            }else{
+                BaseUtil.getLogger().info("uploadBySob():"+sob+" connect is null");
             }
             BaseUtil.getLogger().info("uploadBySob():"+sob+"结束");
         }catch(Exception e){