diff --git a/代码/jsp/telsale_import/src/com/cpic/telsale/DataImport/DataImport.java b/代码/jsp/telsale_import/src/com/cpic/telsale/DataImport/DataImport.java index a439d92..8e99be9 100644 --- a/代码/jsp/telsale_import/src/com/cpic/telsale/DataImport/DataImport.java +++ b/代码/jsp/telsale_import/src/com/cpic/telsale/DataImport/DataImport.java @@ -80,9 +80,9 @@ public class DataImport " kshmc,\n" + " zhjywybm,\n" + " zhjywybmm,\n" + - " chshdm,\n" + - " khmc,\n" + - " chph,\n" + + //" chshdm,\n" + + //" khmc,\n" + + //" chph,\n" + " khjl,\n" + " khjllx,\n" + " jjbj,\n" + @@ -96,9 +96,9 @@ public class DataImport " ?,\n" + " ?,\n" + " ?,\n" + - " ?,\n" + - " ?,\n" + - " ?,\n" + + //" ?,\n" + + //" ?,\n" + + //" ?,\n" + " 0,\n" + " 0,\n" + " 1,\n" + @@ -117,15 +117,15 @@ public class DataImport while ( row != null ) { - policyNo = row.getCell( 1 ).getStringCellValue().trim(); - operatorCode = getStringValueFromHSSFCell( row.getCell( 4 ) ); + policyNo = row.getCell( 0 ).getStringCellValue().trim(); + operatorCode = getStringValueFromHSSFCell( row.getCell( 1 ) ); //判断一下是不是空的单元格 if ( policyNo.length() == 0 || operatorCode.length() == 0 ) { importResult = importResult + "第" + rowCount + "行数据为空。
"; - isSuccess = false; + //isSuccess = false; } else //不是空单元格,进行处理 { @@ -142,9 +142,9 @@ public class DataImport ifxStmt.setString( 5, staff.getSectionOfficeName() ); ifxStmt.setString( 6, staff.getDepartmentCode() ); ifxStmt.setString( 7, staff.getDepartmentName() ); - ifxStmt.setString( 8, getStringValueFromHSSFCell( row.getCell( 6 ) ) ); - ifxStmt.setString( 9, getStringValueFromHSSFCell( row.getCell( 3 ) ) ); - ifxStmt.setString( 10, getStringValueFromHSSFCell( row.getCell( 2 ) ) ); + //ifxStmt.setString( 8, getStringValueFromHSSFCell( row.getCell( 6 ) ) ); + //ifxStmt.setString( 9, getStringValueFromHSSFCell( row.getCell( 3 ) ) ); + //ifxStmt.setString( 10, getStringValueFromHSSFCell( row.getCell( 2 ) ) ); ifxStmt.execute(); diff --git a/代码/jsp/telsale_import/web/doc/电销转介绍导入模板.xls b/代码/jsp/telsale_import/web/doc/电销转介绍导入模板.xls index 1fe9cef..a05850d 100644 Binary files a/代码/jsp/telsale_import/web/doc/电销转介绍导入模板.xls and b/代码/jsp/telsale_import/web/doc/电销转介绍导入模板.xls differ diff --git a/代码/jsp/telsale_import/web/uploadPolicyData/uploadPolicyData.jsp b/代码/jsp/telsale_import/web/uploadPolicyData/uploadPolicyData.jsp index dce187f..9d57f44 100644 --- a/代码/jsp/telsale_import/web/uploadPolicyData/uploadPolicyData.jsp +++ b/代码/jsp/telsale_import/web/uploadPolicyData/uploadPolicyData.jsp @@ -27,7 +27,7 @@ ģ -

עšƺšˡ˴롢̴Ϊ

+<%--

עšƺšˡ˴롢̴Ϊ

--%> <% int uploadCount = 0;