Ver código fonte

鹏利达-富森-EDI

DINGYL 1 ano atrás
pai
commit
2aa7f8cc0e

+ 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){