CN104572038A - Excel data reading and storage method based on POI technique - Google Patents

Excel data reading and storage method based on POI technique Download PDF

Info

Publication number
CN104572038A
CN104572038A CN201310479784.6A CN201310479784A CN104572038A CN 104572038 A CN104572038 A CN 104572038A CN 201310479784 A CN201310479784 A CN 201310479784A CN 104572038 A CN104572038 A CN 104572038A
Authority
CN
China
Prior art keywords
excel
import
file
imports
companies
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310479784.6A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZHENJIANG JINRUAN COMPUTER TECHNOLOGY CO LTD
Original Assignee
ZHENJIANG JINRUAN COMPUTER TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHENJIANG JINRUAN COMPUTER TECHNOLOGY CO LTD filed Critical ZHENJIANG JINRUAN COMPUTER TECHNOLOGY CO LTD
Priority to CN201310479784.6A priority Critical patent/CN104572038A/en
Publication of CN104572038A publication Critical patent/CN104572038A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

At present, the computer application technique penetrates into every industry, most of companies have service systems applicable to service of self, an ordinary BS frame system does not have and does not need a powerful table processing function such as that of Excel software, and normally, data in a table are manually imported into a system by special operators after the table is made, in such a mode, mistakes can be easily made, and the labor and the cost of companies can be wasted. Aiming at the situation, the invention discloses an Excel data reading and storage method based on a POI technique. By adopting the method, in addition to a single Excel file import function, a function that a plurality of Excel files are selected and imported in batch at a time is achieved, the problems that mistakes can be made in manual import and the labor and the cost of companies are wasted are effectively solved, the operation steps of table import are simplified, and the working efficiency is improved to a certain extent.

Description

A kind of Excel digital independent based on POI technology and storage means
Technical field
The present invention relates to a kind of based on the Excel digital independent of POI technology and the implementation method of storage.The invention belongs to field of computer technology.
Background technology
Current, rapidly universal along with the fast development of social information's technology and computer, Computer Applied Technology has penetrated in industry-by-industry, and there is the operation system of applicable own service in most of company, and requisite in operation system be exactly multiple form.Because Excel has the ability of powerful process form and wherein data, company related management personnel more get used to first by the good form of Excel software development, and then import in system and go.Because corporate manager generally only needs to see these forms, and do not need to carry out complicated operation to form, how the numeral more need not being concerned about in these forms processes and obtains.Therefore, traditional B/S framework system disposal route be by professional manual by the data inputting in form in system.Clearly, if need the list data of typing very many, this method is too waste of manpower and cost for company really, and manual entry also more easily makes mistakes.
Summary of the invention
For traditional-handwork, data entry system in form is easily made mistakes, and as far as possible for company saves human cost, saves time, the consideration of increasing work efficiency, invention describes a kind of based on the Excel digital independent of POI technology and the implementation method of storage.Concrete steps are as follows:
Step 1: logging in system by user, is with the related pages of form import feature.
Step 2: select the Excel file needing batch to import: click the Browse button in the page, system can jump out file selection window, and user needs the Excel file selecting successively to import, and clicks the selection that " determination " button completes file.If user's select File is not Excel file, so system will eject miscue frame, and prompting user imports the type error of file;
Step 3: perform batch and import: when user successfully completes selection importing Excel file operation, click the Import button, then system can automatically perform import operation, if import successfully, system can point out user to import successfully; Otherwise system can point out user to import failure.
Embodiment
Embodiment one
Use MyEclipse 8.6 as developing instrument, use special database management tools MySQL on market to set up the database required for system.
1. judge that whether file layout is correct: default can only import Excel file at present, what the suffix name uploaded by user judged whether user upload is Excel type file, if not the file of Excel file type, system can be pointed out and import file type mistake, and the file before turning back to imports the page;
2. perform batch to import: by document flow singly the digital independent in Excel file out, be then written in database;
3. return and finally import result: return importing result after having imported, if rreturn value is " 1 ", then representative imports successfully, and prompting user imports successfully; , if rreturn value is " 0 ", then representative imports unsuccessfully, and prompting user imports failure.
In addition to the implementation, the present invention can also have other embodiments.All employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop on the protection domain of application claims.

Claims (2)

1. before performing batch importing, need to judge that whether the file layout that selection imports is correct, current default can only import Excel file, if the file that will import is not the file of Excel type, system can be pointed out and import file type mistake, and the file before turning back to imports the page.
2. imported the net result that rear needs return importing, if rreturn value is " 1 ", then representative imports successfully, and prompting user imports successfully; , if rreturn value is " 0 ", then representative imports unsuccessfully, and prompting user imports failure.
CN201310479784.6A 2013-10-15 2013-10-15 Excel data reading and storage method based on POI technique Pending CN104572038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310479784.6A CN104572038A (en) 2013-10-15 2013-10-15 Excel data reading and storage method based on POI technique

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310479784.6A CN104572038A (en) 2013-10-15 2013-10-15 Excel data reading and storage method based on POI technique

Publications (1)

Publication Number Publication Date
CN104572038A true CN104572038A (en) 2015-04-29

Family

ID=53088214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310479784.6A Pending CN104572038A (en) 2013-10-15 2013-10-15 Excel data reading and storage method based on POI technique

Country Status (1)

Country Link
CN (1) CN104572038A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126667A (en) * 2016-06-25 2016-11-16 国云科技股份有限公司 A kind of method realizing dynamically filling EXCEL sequence
CN113268536A (en) * 2021-06-11 2021-08-17 深圳云净之信息技术有限公司 Medical data reporting and docking processing system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100070533A1 (en) * 2008-09-16 2010-03-18 James Skinner Systems and Methods for In-Line Viewing of Files over a Network
CN103188283A (en) * 2011-12-27 2013-07-03 腾讯科技(深圳)有限公司 Method, server and system for file uploading and downloading
CN103220352A (en) * 2013-04-15 2013-07-24 福建伊时代信息科技股份有限公司 Terminal, server, file storage system and file storage method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100070533A1 (en) * 2008-09-16 2010-03-18 James Skinner Systems and Methods for In-Line Viewing of Files over a Network
CN103188283A (en) * 2011-12-27 2013-07-03 腾讯科技(深圳)有限公司 Method, server and system for file uploading and downloading
CN103220352A (en) * 2013-04-15 2013-07-24 福建伊时代信息科技股份有限公司 Terminal, server, file storage system and file storage method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李斌: "《PHP 开发环境下文件上传的原理与实现》", 《电脑开发与应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126667A (en) * 2016-06-25 2016-11-16 国云科技股份有限公司 A kind of method realizing dynamically filling EXCEL sequence
CN113268536A (en) * 2021-06-11 2021-08-17 深圳云净之信息技术有限公司 Medical data reporting and docking processing system

Similar Documents

Publication Publication Date Title
US11507256B2 (en) Updating data records by adding editing functions to non-editable display elements
CN109948134B (en) Report automatic generation method, system, electronic equipment and storage medium
CN104331285A (en) Automatic code generation method and system
CN107038118B (en) Universal processing method for testing different electronic equipment assemblies
CN102279749A (en) Method and equipment for merging codes
US20160275059A1 (en) System and method for parallel contract authoring
JP2024096950A (en) AUTOMATED CONTROL OF DISTRIBUTED COMPUTING DEVICES - Patent application
CN104572038A (en) Excel data reading and storage method based on POI technique
CN106055526A (en) Page identification method and apparatus
CN104268244A (en) Method and device for processing form
CN103258021A (en) Character terminal feature data extraction method based on behavioral analysis
CN102467376B (en) Modification method and device for character information
CN104598777A (en) Rights management method based on B/S framework
CN104216986A (en) Device and method for improving data query efficiency through pre-operation according to data update period
CN105700866A (en) RTE code generating method and apparatus performing the same
CN105302776A (en) Data proofreading platform server
CN102663205B (en) Software realization method and system for vehicle assembly shop tooling site management
US9275358B1 (en) System, method, and computer program for automatically creating and submitting defect information associated with defects identified during a software development lifecycle to a defect tracking system
CN104410567A (en) Instant communication method and device
Beck Simulation: the practice of model development and use
CN106775187A (en) A kind of method and device for being switched fast view based on cursor positioning
CN102184219A (en) Method for implementing custom date selection control based on Strusts2 in WEB system
US20170316108A1 (en) Data processsing system, data processing device, and program for editing webpage
CN106951540B (en) Generation method, device, server and the computer-readable storage medium of file directory
CN108121872A (en) A kind of method of quick highlighted part

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150429

WD01 Invention patent application deemed withdrawn after publication