CN102819545A - Bill inquiring method and device based on general filtering condition compound assembly - Google Patents

Bill inquiring method and device based on general filtering condition compound assembly Download PDF

Info

Publication number
CN102819545A
CN102819545A CN2011104357669A CN201110435766A CN102819545A CN 102819545 A CN102819545 A CN 102819545A CN 2011104357669 A CN2011104357669 A CN 2011104357669A CN 201110435766 A CN201110435766 A CN 201110435766A CN 102819545 A CN102819545 A CN 102819545A
Authority
CN
China
Prior art keywords
filtercondition
composite component
filtering condition
query page
query
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.)
Granted
Application number
CN2011104357669A
Other languages
Chinese (zh)
Other versions
CN102819545B (en
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.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201110435766.9A priority Critical patent/CN102819545B/en
Publication of CN102819545A publication Critical patent/CN102819545A/en
Application granted granted Critical
Publication of CN102819545B publication Critical patent/CN102819545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention relates to a bill inquiring method and device based on a general filtering condition compound assembly. The method comprises the following steps: constructing a filtering condition compound assembly and putting the filtering condition compound assembly into an inquiring page file corresponding to a bill; receiving an inquiring instruction for bill inquiry of a user; and inquiring the bill according to the inquiring instruction and the filtering condition compound assembly in the inquiring page file. According to the method and the device disclosed by the invention, filtering conditions with the same showing mode and operation mode, comparison operators and comparison value controls are packaged into the general filtering condition compound assembly, linkage logics between the controls are packaged into the filtering condition compound assembly to be processed unifiedly, a business developer only needs to appoint the name of a corresponding filtering condition field to the compound assembly, other coding work are not needed, and an Action path does not need to be manually set for the filtering condition compound assembly, so that the workload of the developer is reduced, the development cost of bill inquiring pages is reduced, and the bill inquiring process is simplified.

Description

Document querying method and device based on general filtercondition composite component
Technical field
The present invention relates to webpage document inquiring technology field, relate in particular to a kind of document querying method and device based on general filtercondition composite component.
Background technology
As shown in Figure 1, in ERP (Enterprise Resource Planning, Enterprise Resources Planning) system, the user need dynamically arrange filtercondition in the runtime when document is inquired about.If selected filtercondition is an enumeration type, then fiducial value partly need provide combobox control (comprising optional value in the combobox control); If selected filtercondition is text type or numeric type, then fiducial value partly need provide common input frame; If selected filtercondition is the date type, then fiducial value partly need provide the date control; If selected filtercondition is the dictionary type, then fiducial value partly need provide the F7 control.
The corresponding query page of document needs many group filtercondition controls (filtercondition set of controls) in each query page, inquire about so that the user can once be provided with a plurality of filterconditions.
In the prior art; To each document; All need to write through hard coded in advance the filtercondition and the corresponding controls thereof of some needs in development stage, bind corresponding type of enumerating of filtercondition simultaneously, and the backstage action that filtercondition triggers when changing binds.Wherein, the action method that triggers when the response filtercondition changes in background program, type structure fiducial value control that can be corresponding according to current filtercondition, and replace former fiducial value control.
But there are following defective in existing filtercondition and control method to set up:
1, because filtercondition has many groups; Need the developer at xhtml (eXtensible HyperText Markup Language; Can expand hypertext markup language) repeatedly repeat to add a large amount of set of controls in the file with identical ways of presentation and operator scheme; Cause the development amount big, and the xhtml file is too complicated and loaded down with trivial details;
2, when need be in other pages multiplexing filtercondition set of controls of having set up, its inconvenient operation can only copy to the filtercondition set of controls of having set up in other xhtml files fully;
3, owing to the corresponding query page of each document, in each query page, the Action path of control must be provided with by the developer by hand, cause complex operation, and efficient is low.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of document querying method and device based on general filtercondition composite component, is intended to simplify the document query script, reduces document query page cost of development.
In order to achieve the above object, the present invention proposes a kind of document querying method based on general filtercondition composite component, comprising:
Construct the filtercondition composite component, and said filtercondition composite component is put into the corresponding query page file of document;
Receive the query statement of the said document of user inquiring;
According to the filtercondition composite component in said query statement and the said query page file, carry out the document inquiry.
Preferably, said structure filtercondition composite component, and the step that said filtercondition composite component is put into the corresponding query page file of document comprised:
Filtercondition, comparison operators and the fiducial value control that will have identical ways of presentation and operator scheme are encapsulated as the filtercondition composite component together with the interlock logic between said fiducial value control;
Said filtercondition composite component is put into the xhtml file of the corresponding query page of document.
Preferably, said according to the filtercondition composite component in query statement and the said query page file, the step of carrying out the document inquiry comprises:
Load said query page file according to said query statement;
Said filtercondition composite component in said query page file and the said query page file is played up, and bind the switch filtering condition corresponding triggered the Action path;
Switch filtering condition of selecting according to said query statement and said switch filtering condition are corresponding is triggered the Action path, response filtercondition handover event, and carry out corresponding processing logic.
Preferably, said said filtercondition composite component in query page file and the said query page file is played up, and is bound the corresponding step that is triggered the Action path of switch filtering condition and comprise:
Said query page file played up be html;
Said filtercondition composite component in the said query page file played up be html, and bind the switch filtering condition corresponding triggered the Action path.
Preferably, said switch filtering condition of selecting according to query statement and said switch filtering condition are corresponding is triggered the Action path, response filtercondition handover event, and the step of carrying out corresponding processing logic comprises:
According to the switch filtering condition that said query statement is selected, from said query page file, obtain said switch filtering condition corresponding triggered the Action path;
Filtercondition field change logic is carried out in the Action path of being triggered according to said switch filtering condition is corresponding;
Search the type and the associated entity object of said filtercondition field;
According to the type and the associated entity object structure fiducial value control object of the filtercondition field that finds, and replace former fiducial value control object;
Fiducial value control object to structure is played up, and is sent to query page and shows.
The present invention also proposes a kind of document inquiry unit based on general filtercondition composite component, comprising:
The composite component constructing module is used to construct the filtercondition composite component, and said filtercondition composite component is put into the corresponding query page file of document;
Receiver module is used to receive the query statement of the said document of user inquiring;
Enquiry module is used for the filtercondition composite component according to said query statement and said query page file, carries out the document inquiry.
Preferably, said composite component constructing module comprises:
Encapsulation unit is used for the filtercondition with identical ways of presentation and operator scheme, comparison operators and fiducial value control are encapsulated as the filtercondition composite component together with the interlock logic between said fiducial value control;
Put into the unit, be used for said filtercondition composite component is put into the xhtml file of the corresponding query page of document.
Preferably, said enquiry module comprises:
Loading unit is used for loading said query page file according to said query statement;
Rendering unit is used for the said filtercondition composite component of said query page file and said query page file is played up, and bind the switch filtering condition corresponding triggered the Action path;
The operation response unit, switch filtering condition that is used for selecting according to said query statement and said switch filtering condition are corresponding is triggered the Action path, response filtercondition handover event, and carry out corresponding processing logic.
Preferably, said rendering unit also is used for said query page file played up and is html; And the said filtercondition composite component in the said query page file played up be html, and bind the switch filtering condition corresponding triggered the Action path.
Preferably, said operation response unit comprises:
Obtain subelement, be used for the switch filtering condition selected according to said query statement, from said query page file, obtain said switch filtering condition corresponding triggered the Action path;
Logic is carried out subelement, is used for carrying out filtercondition field change logic according to the corresponding Action path of being triggered of said switch filtering condition;
Search subelement, be used to search the type and the associated entity object of said filtercondition field;
The constructor unit is used for type and associated entity object structure fiducial value control object according to the filtercondition field that finds, and replaces former fiducial value control object;
Play up subelement, be used for the fiducial value control object of structure is played up, and be sent to query page and show.
A kind of document querying method and device that the present invention proposes based on general filtercondition composite component; Filtercondition, comparison operators and the fiducial value control that will have identical ways of presentation and operator scheme are encapsulated as a general filtercondition composite component; Simultaneously the interlock logic between control is encapsulated into and carries out Unified Treatment in the filtercondition composite component, one group of corresponding composite component of filtercondition control, the business development personnel only need to specify the title of corresponding filtercondition field to composite component; Need not other coding works; Other show and response logic is responsible for processing by composite component, and need not to the filtercondition composite component is manual the Action path to be set, thereby have reduced developer's workload; Reduce the cost of development of document query page, and simplified the document query script.
Description of drawings
Fig. 1 is the view that the user carries out the document inquiry in the existing ERP system;
Fig. 2 is the schematic flow sheet that the present invention is based on the document querying method preferred embodiment of general filtercondition composite component;
Fig. 3 the present invention is based on structure filtercondition composite component in the document querying method preferred embodiment of general filtercondition composite component, and the filtercondition composite component is put into the schematic flow sheet of the corresponding query page file of document;
Fig. 4 the present invention is based in the document querying method preferred embodiment of general filtercondition composite component according to the filtercondition composite component in query statement and the query page file, carries out the schematic flow sheet of document inquiry;
Fig. 5 be the present invention is based on the switch filtering condition selected according to query statement in the document querying method preferred embodiment of general filtercondition composite component and switch filtering condition corresponding triggered the Action path; Respond the filtercondition handover event, and carry out the schematic flow sheet of corresponding processing logic;
Fig. 6 is the structural representation that the present invention is based on the document inquiry unit preferred embodiment of general filtercondition composite component;
Fig. 7 is the structural representation that the present invention is based on composite component constructing module in the document inquiry unit preferred embodiment of general filtercondition composite component;
Fig. 8 is the structural representation that the present invention is based on enquiry module in the document inquiry unit preferred embodiment of general filtercondition composite component;
Fig. 9 is the structural representation that the present invention is based on operation response unit in the document inquiry unit preferred embodiment of general filtercondition composite component.
In order to make technical scheme of the present invention clearer, clear, will combine accompanying drawing to do further to detail below.
Embodiment
Embodiment of the invention solution mainly is: filtercondition, comparison operators and the fiducial value control that will have identical ways of presentation and operator scheme are encapsulated as a general filtercondition composite component; Simultaneously the interlock logic between control is encapsulated into and carries out Unified Treatment in the filtercondition composite component; One group of corresponding composite component of filtercondition control, the business development personnel only need to specify the title of corresponding filtercondition field to composite component, need not other coding works; Also need not to the manual Action path that is provided with of filtercondition composite component; To reduce developer's workload, reduce the cost of development of document query page, and simplify the document query script.
As shown in Figure 2, preferred embodiment of the present invention proposes a kind of document querying method based on general filtercondition composite component, comprising:
Step S101 constructs the filtercondition composite component, and the filtercondition composite component is put into the corresponding query page file of document;
As previously mentioned, the corresponding query page of document needs many group filtercondition controls in each query page, inquire about so that the user can once be provided with a plurality of filterconditions.
In the prior art,, need the developer in the xhtml file, repeatedly to repeat to add a large amount of set of controls, cause the development amount big with identical ways of presentation and operator scheme because filtercondition has many groups.
It is the filtercondition composite component that filtercondition, comparison operators and the fiducial value control that the device of carrying out the present embodiment method will have identical ways of presentation and an operator scheme is encapsulated as a general composite component; Simultaneously the interlock logic between the fiducial value control also is encapsulated into Unified Treatment in the filtercondition composite component, reaches the effect of the corresponding composite component of one group of filtercondition control thus.The title that the business development personnel only need specify corresponding filtercondition field for the filtercondition composite component, and need not other coding works, other show and the response logic operation is responsible for processing by the filtercondition composite component.
Filtercondition composite component after encapsulation is accomplished is put into the corresponding query page file of document; This query page file is the xhtml file; An xhtml file can comprise a plurality of above-mentioned filtercondition composite component, and each filtercondition composite component can position through web technologies.Compare prior art,, make its content simply clear, be convenient to the query manipulation of document because the xhtml file of query page only comprises several above-mentioned filtercondition composite component.
Step S102, the query statement of reception user inquiring document;
Step S103 according to the filtercondition composite component in query statement and the query page file, carries out the document inquiry.
Among above-mentioned steps S102 and the step S103; When the user needs inquiring document; Send the query page of looking into the instruction triggers document through client, the device of carrying out the present embodiment method then carries out the document query manipulation according to the filtercondition composite component in query statement and the query page file.
Particularly, comprise xhtml file, query page renderer, filtercondition composite component renderer, composite component logic processor and the metadata explorer etc. that query page is corresponding in the said apparatus; Wherein:
The corresponding xhtml file of query page comprises some filtercondition composite component;
The query page renderer is responsible for whole query page file (xhtml) is played up into final html (HyperText Mark-up Language, HTML or HTML).
Filtercondition composite component renderer is responsible for the filtercondition composite component in the query page file played up and is html, the Action path that need trigger when binding the switch filtering condition simultaneously.The ActionHandler that is triggered handles the information that comprises the filtercondition control in the function (such as the ID of control, father's control etc.), and above-mentioned processing function can obtain comparison operators, fiducial value control through the Action path.
The composite component logic processor is used to respond the filtercondition handover event, and carries out corresponding processing logic.
The metadata explorer is used for the exploitation of document is offered the BOS platform; Can define a large amount of metadata through the BOS platform; In the present embodiment, through the BOS platform the corresponding data entity of document is set, wherein data entity comprises the field and the field type of document entity; If the field of document entity is an association type, then the metadata explorer also need be provided with the document entity field related entity.The metadata explorer is visited the entity metadata of the pairing document of current query page, and return current filtercondition field type and related entity object.
Below specify present embodiment carries out the document inquiry according to the filtercondition composite component in query statement and the query page file operating process:
After the query page of document was triggered, device then loaded the query page file according to query statement in the present embodiment, through the query page renderer query page file is played up, and the query page file is played up the file into html; Through filtercondition composite component renderer the filtercondition composite component in the query page file is played up simultaneously; Filtercondition composite component in the query page file is played up the file into html, and the Action path that corresponding needs trigger when binding the switch filtering condition.
The filtercondition that in the switch filtering condition options, is provided with according to the user through the composite component logic processor then, and the switch filtering condition corresponding triggered the Action path, response filtercondition handover event, and carry out corresponding processing logic.
Be specially, the composite component logic processor is carried out filtercondition field change logic according to the corresponding Action path of being triggered of switch filtering condition, searches the type and the associated entity object of filtercondition field from the metadata explorer according to execution result.The composite component logic processor is according to the type and the associated entity object structure fiducial value control object of the filtercondition field that finds; And replace former fiducial value control object; By filtercondition composite component renderer the fiducial value control object of structure is played up afterwards, and be sent to query page and show.
In the practical implementation process, as shown in Figure 3, above-mentioned steps S101 comprises:
Step S1011, filtercondition, comparison operators and the fiducial value control that will have identical ways of presentation and operator scheme are encapsulated as the filtercondition composite component together with the interlock logic between the fiducial value control;
Step S1012 puts into the filtercondition composite component xhtml file of the corresponding query page of document.
As shown in Figure 4, above-mentioned steps S103 comprises:
Step S1031 loads the query page file according to query statement;
Step S1032 plays up the filtercondition composite component in query page file and the query page file, and bind the switch filtering condition corresponding triggered the Action path;
Step S1033, switch filtering condition of selecting according to query statement and switch filtering condition are corresponding is triggered the Action path, response filtercondition handover event, and carry out corresponding processing logic.
As shown in Figure 5, above-mentioned steps S1033 comprises:
Step S10331, according to the switch filtering condition that query statement is selected, from the query page file, obtain the switch filtering condition corresponding triggered the Action path;
Step S 10332, carry out filtercondition field change logic according to the Action path of being triggered that the switch filtering condition is corresponding;
Step S10333 searches the type and the associated entity object of filtercondition field;
Step S10334 according to the type and the associated entity object structure fiducial value control object of the filtercondition field that finds, and replaces former fiducial value control object;
Step S10335 plays up the fiducial value control object of structure, and is sent to query page and shows.
Filtercondition, comparison operators and fiducial value control that present embodiment will have identical ways of presentation and operator scheme are encapsulated as a general filtercondition composite component; Simultaneously the interlock logic between control is encapsulated into and carries out Unified Treatment in the filtercondition composite component; One group of corresponding composite component of filtercondition control; The business development personnel only need to specify the title of corresponding filtercondition field to composite component, need not other coding works, and other show and the response logic operation is responsible for processing by composite component; And need not to the manual Action path that is provided with of filtercondition composite component; Thereby reduced developer's workload, reduced the cost of development of document query page, and simplified the document query script.
A kind of document inquiry unit based on general filtercondition composite component as shown in Figure 6, that preferred embodiment of the present invention proposes comprises: composite component constructing module 601, receiver module 602 and enquiry module 603, wherein:
Composite component constructing module 601 is used to construct the filtercondition composite component, and the filtercondition composite component is put into the corresponding query page file of document;
Receiver module 602 is used to receive the query statement of user inquiring document;
Enquiry module 603 is used for the filtercondition composite component according to query statement and query page file, carries out the document inquiry.
As previously mentioned, the corresponding query page of document needs many group filtercondition controls in each query page, inquire about so that the user can once be provided with a plurality of filterconditions.
In the prior art,, need the developer in the xhtml file, repeatedly to repeat to add a large amount of set of controls, cause the development amount big with identical ways of presentation and operator scheme because filtercondition has many groups.
It is the filtercondition composite component that filtercondition, comparison operators and the fiducial value control that present embodiment will have identical ways of presentation and an operator scheme through composite component constructing module 601 is encapsulated as a general composite component; Simultaneously the interlock logic between the fiducial value control also is encapsulated into Unified Treatment in the filtercondition composite component, reaches the effect of the corresponding composite component of one group of filtercondition control thus.The title that the business development personnel only need specify corresponding filtercondition field for the filtercondition composite component, and need not other coding works, other show and the response logic operation is responsible for processing by the filtercondition composite component.
Filtercondition composite component after encapsulation is accomplished is put into the corresponding query page file of document; This query page file is the xhtml file; An xhtml file can comprise a plurality of above-mentioned filtercondition composite component, and each filtercondition composite component can position through web technologies.Compare prior art,, make its content simply clear, be convenient to the query manipulation of document because the xhtml file of query page only comprises several above-mentioned filtercondition composite component.
When the user needs inquiring document; Send the query page of looking into the instruction triggers document through client; After receiver module 602 received the query statement of user inquiring document, 603 of enquiry modules carried out the document query manipulation according to the filtercondition composite component in query statement and the query page file.
Particularly, be provided with query page corresponding xhtml file, query page renderer, filtercondition composite component renderer, composite component logic processor and metadata explorer etc. in the present embodiment device; Wherein:
The corresponding xhtml file of query page comprises some filtercondition composite component;
The query page renderer is responsible for whole query page file (xhtml) is played up into final html (HyperText Mark-up Language, HTML or HTML).
Filtercondition composite component renderer is responsible for the filtercondition composite component in the query page file played up and is html, the Action path that need trigger when binding the switch filtering condition simultaneously.The ActionHandler that is triggered handles the information that comprises the filtercondition control in the function (such as the ID of control, father's control etc.), and above-mentioned processing function can obtain comparison operators, fiducial value control through the Action path.
The composite component logic processor is used to respond the filtercondition handover event, and carries out corresponding processing logic.
The metadata explorer is used for the exploitation of document is offered the BOS platform; Can define a large amount of metadata through the BOS platform; In the present embodiment, through the BOS platform the corresponding data entity of document is set, wherein data entity comprises the field and the field type of document entity; If the field of document entity is an association type, then the metadata explorer also need be provided with the document entity field related entity.The metadata explorer is visited the entity metadata of the pairing document of current query page, and return current filtercondition field type and related entity object.
Present embodiment enquiry module 603 is following according to the operating process that the filtercondition composite component in query statement and the query page file carries out the document inquiry:
After the query page of document was triggered, enquiry module 603 loaded the query page file according to query statement, through the query page renderer query page file is played up, and the query page file is played up the file into html; Through filtercondition composite component renderer the filtercondition composite component in the query page file is played up simultaneously; Filtercondition composite component in the query page file is played up the file into html, and the Action path that corresponding needs trigger when binding the switch filtering condition.
The filtercondition that in the switch filtering condition options, is provided with according to the user through the composite component logic processor then, and the switch filtering condition corresponding triggered the Action path, response filtercondition handover event, and carry out corresponding processing logic.
Be specially, the composite component logic processor is carried out filtercondition field change logic according to the corresponding Action path of being triggered of switch filtering condition, searches the type and the associated entity object of filtercondition field from the metadata explorer according to execution result.The composite component logic processor is according to the type and the associated entity object structure fiducial value control object of the filtercondition field that finds; And replace former fiducial value control object; By filtercondition composite component renderer the fiducial value control object of structure is played up afterwards, and be sent to query page and show.
In the practical implementation process, as shown in Figure 7, above-mentioned composite component constructing module 601 comprises: encapsulation unit 6011 and put into unit 6012, wherein:
Encapsulation unit 6011 is used for the filtercondition with identical ways of presentation and operator scheme, comparison operators and fiducial value control are encapsulated as the filtercondition composite component together with the interlock logic between said fiducial value control;
Put into unit 6012, be used for the filtercondition composite component is put into the xhtml file of the corresponding query page of document.
As shown in Figure 8, above-mentioned enquiry module 603 comprises: loading unit 6031, rendering unit 6032 and operation response unit 6033, wherein:
Loading unit 6031 is used for loading the query page file according to query statement;
Rendering unit 6032 is used for the filtercondition composite component of query page file and query page file is played up, and bind the switch filtering condition corresponding triggered the Action path;
Operation response unit 6033 is used for the switch filtering condition selected according to query statement, and the switch filtering condition corresponding triggered Action path responses filtercondition handover event, and carry out corresponding processing logic.
Further, above-mentioned rendering unit also is used for the query page file played up and is html; And the filtercondition composite component in the query page file played up be html, and bind the switch filtering condition corresponding triggered the Action path.
As shown in Figure 9, above-mentioned operation response unit 6033 comprises: obtain subelement 60331, logic execution subelement 60332, search subelement 60333, constructor unit 60334 and play up subelement 60335, wherein:
Obtain subelement 60331, be used for the switch filtering condition selected according to query statement, from the query page file, obtain the switch filtering condition corresponding triggered the Action path;
Logic is carried out subelement 60332, is used for carrying out filtercondition field change logic according to the corresponding Action path of being triggered of switch filtering condition;
Search subelement 60333, be used to search the type and the associated entity object of filtercondition field;
Constructor unit 60334 is used for type and associated entity object structure fiducial value control object according to the filtercondition field that finds, and replaces former fiducial value control object;
Play up subelement 60335, be used for the fiducial value control object of structure is played up, and be sent to query page and show.
The embodiment of the invention is based on the document querying method and the device of general filtercondition composite component; Filtercondition, comparison operators and the fiducial value control that will have identical ways of presentation and operator scheme are encapsulated as a general filtercondition composite component; Simultaneously the interlock logic between control is encapsulated into and carries out Unified Treatment in the filtercondition composite component; One group of corresponding composite component of filtercondition control; The business development personnel only need to specify the title of corresponding filtercondition field to composite component, need not other coding works, and other show and response logic is responsible for processing by composite component; And need not the Action path to be set, thereby reduced exploitation to the filtercondition composite component is manual.
The above is merely the preferred embodiments of the present invention; Be not so limit claim of the present invention; Every equivalent structure or flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical field, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. the document querying method based on general filtercondition composite component is characterized in that, comprising:
Construct the filtercondition composite component, and said filtercondition composite component is put into the corresponding query page file of document;
Receive the query statement of the said document of user inquiring;
According to the filtercondition composite component in said query statement and the said query page file, carry out the document inquiry.
2. method according to claim 1 is characterized in that, said structure filtercondition composite component, and the step that said filtercondition composite component is put into the corresponding query page file of document comprised:
Filtercondition, comparison operators and the fiducial value control that will have identical ways of presentation and operator scheme are encapsulated as the filtercondition composite component together with the interlock logic between said fiducial value control;
Said filtercondition composite component is put into the xhtml of the expanded hypertext markup language file of the corresponding query page of document.
3. method according to claim 1 and 2 is characterized in that, and is said according to the filtercondition composite component in query statement and the said query page file, and the step of carrying out the document inquiry comprises:
Load said query page file according to said query statement;
Said filtercondition composite component in said query page file and the said query page file is played up, and bind the switch filtering condition corresponding triggered the Action path;
Switch filtering condition of selecting according to said query statement and said switch filtering condition are corresponding is triggered the Action path, response filtercondition handover event, and carry out corresponding processing logic.
4. method according to claim 3 is characterized in that, said said filtercondition composite component in query page file and the said query page file is played up, and is bound the corresponding step that is triggered the Action path of switch filtering condition and comprise:
Said query page file played up be HTML html;
Said filtercondition composite component in the said query page file played up be html, and bind the switch filtering condition corresponding triggered the Action path.
5. method according to claim 3; It is characterized in that; Said switch filtering condition of selecting according to query statement and said switch filtering condition are corresponding is triggered the Action path, response filtercondition handover event, and the step of carrying out corresponding processing logic comprises:
According to the switch filtering condition that said query statement is selected, from said query page file, obtain said switch filtering condition corresponding triggered the Action path;
Filtercondition field change logic is carried out in the Action path of being triggered according to said switch filtering condition is corresponding;
Search the type and the associated entity object of said filtercondition field;
According to the type and the associated entity object structure fiducial value control object of the filtercondition field that finds, and replace former fiducial value control object;
Fiducial value control object to structure is played up, and is sent to query page and shows.
6. the document inquiry unit based on general filtercondition composite component is characterized in that, comprising:
The composite component constructing module is used to construct the filtercondition composite component, and said filtercondition composite component is put into the corresponding query page file of document;
Receiver module is used to receive the query statement of the said document of user inquiring;
Enquiry module is used for the filtercondition composite component according to said query statement and said query page file, carries out the document inquiry.
7. device according to claim 6 is characterized in that, said composite component constructing module comprises:
Encapsulation unit is used for the filtercondition with identical ways of presentation and operator scheme, comparison operators and fiducial value control are encapsulated as the filtercondition composite component together with the interlock logic between said fiducial value control;
Put into the unit, be used for said filtercondition composite component is put into the xhtml file of the corresponding query page of document.
8. according to claim 6 or 7 described devices, it is characterized in that said enquiry module comprises:
Loading unit is used for loading said query page file according to said query statement;
Rendering unit is used for the said filtercondition composite component of said query page file and said query page file is played up, and bind the switch filtering condition corresponding triggered the Action path;
The operation response unit, switch filtering condition that is used for selecting according to said query statement and said switch filtering condition are corresponding is triggered the Action path, response filtercondition handover event, and carry out corresponding processing logic.
9. device according to claim 8 is characterized in that, said rendering unit also is used for said query page file played up and is html; And the said filtercondition composite component in the said query page file played up be html, and bind the switch filtering condition corresponding triggered the Action path.
10. device according to claim 8 is characterized in that, said operation response unit comprises:
Obtain subelement, be used for the switch filtering condition selected according to said query statement, from said query page file, obtain said switch filtering condition corresponding triggered the Action path;
Logic is carried out subelement, is used for carrying out filtercondition field change logic according to the corresponding Action path of being triggered of said switch filtering condition;
Search subelement, be used to search the type and the associated entity object of said filtercondition field;
The constructor unit is used for type and associated entity object structure fiducial value control object according to the filtercondition field that finds, and replaces former fiducial value control object;
Play up subelement, be used for the fiducial value control object of structure is played up, and be sent to query page and show.
CN201110435766.9A 2011-12-22 2011-12-22 Bill inquiring method and device based on general filtering condition compound assembly Active CN102819545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110435766.9A CN102819545B (en) 2011-12-22 2011-12-22 Bill inquiring method and device based on general filtering condition compound assembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110435766.9A CN102819545B (en) 2011-12-22 2011-12-22 Bill inquiring method and device based on general filtering condition compound assembly

Publications (2)

Publication Number Publication Date
CN102819545A true CN102819545A (en) 2012-12-12
CN102819545B CN102819545B (en) 2015-01-28

Family

ID=47303658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110435766.9A Active CN102819545B (en) 2011-12-22 2011-12-22 Bill inquiring method and device based on general filtering condition compound assembly

Country Status (1)

Country Link
CN (1) CN102819545B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104268191A (en) * 2014-09-18 2015-01-07 用友优普信息技术有限公司 Document display method and device
CN106611031A (en) * 2015-10-27 2017-05-03 北京国双科技有限公司 Data query method and device
CN106681770A (en) * 2016-12-29 2017-05-17 金蝶软件(中国)有限公司 Method and device for dynamically correcting attributes of secondary modules in composite modules
CN106933918A (en) * 2015-12-31 2017-07-07 北京国双科技有限公司 The querying method and device of tables of data
CN108446344A (en) * 2018-03-06 2018-08-24 政采云有限公司 Custom condition querying method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5870746A (en) * 1995-10-12 1999-02-09 Ncr Corporation System and method for segmenting a database based upon data attributes
CN101221566A (en) * 2007-07-15 2008-07-16 杨筑平 Information searching and access authorization method
CN101350023A (en) * 2008-08-29 2009-01-21 北京航空航天大学 Method and platform capable of customizing enquiry based on service combination
CN101414256A (en) * 2008-11-26 2009-04-22 浪潮集团山东通用软件有限公司 General-purpose data filtering component

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5870746A (en) * 1995-10-12 1999-02-09 Ncr Corporation System and method for segmenting a database based upon data attributes
CN101221566A (en) * 2007-07-15 2008-07-16 杨筑平 Information searching and access authorization method
CN101350023A (en) * 2008-08-29 2009-01-21 北京航空航天大学 Method and platform capable of customizing enquiry based on service combination
CN101414256A (en) * 2008-11-26 2009-04-22 浪潮集团山东通用软件有限公司 General-purpose data filtering component

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104268191A (en) * 2014-09-18 2015-01-07 用友优普信息技术有限公司 Document display method and device
CN106611031A (en) * 2015-10-27 2017-05-03 北京国双科技有限公司 Data query method and device
CN106933918A (en) * 2015-12-31 2017-07-07 北京国双科技有限公司 The querying method and device of tables of data
CN106681770A (en) * 2016-12-29 2017-05-17 金蝶软件(中国)有限公司 Method and device for dynamically correcting attributes of secondary modules in composite modules
CN108446344A (en) * 2018-03-06 2018-08-24 政采云有限公司 Custom condition querying method and system

Also Published As

Publication number Publication date
CN102819545B (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN106708899B (en) Automatic point burying method and device
EP2420928B1 (en) UI-driven service composition tool with UI designer feedback
US9465726B2 (en) Abstract layer for automatic user interface testing
CN102508710B (en) Method and system for switching between IE6 kernel and novel IE kernel
US20130166757A1 (en) Web Portal Application Customization Method and System Using Profiles
CN102819545B (en) Bill inquiring method and device based on general filtering condition compound assembly
WO2015147656A2 (en) Automatic process and system for software development kit for application programming interface
CN101322096A (en) Metadata driven user interface
CN104133772A (en) Automatic test data generation method
CN102567516A (en) Script loading method and device
CN103744680A (en) Method and device for business process processing
CN105808701B (en) Realize the method and system communicated between list automatic Verification and multisystem
CN100447753C (en) Computer testing method
CN103019925A (en) Selector acquisition method and device
CN104765592A (en) Plugin management method and device facing web page acquisition task
CN102455903B (en) Method for generating user application interface
CN105447198A (en) Convenient page script importing method and device
KR101287371B1 (en) Method and Device for Collecting Web Contents and Computer-readable Recording Medium for the same
CN106055315A (en) Method and system for processing batched tasks
CN101727505B (en) Efficient data processing method and device
CN101876998A (en) Method and system for editing data
CN112631563A (en) System development method and device based on framework, computer equipment and storage medium
US11843679B2 (en) Automated dependency management based on page components
CN107766046A (en) A kind of built modular method based on mobility framework
CN102981821A (en) Method and system for event broker

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant