1, making the search button, click the button to display the courier query form (window)
2, the query window condition, bound to the data table, let the data table when sending the request, automatically carry condition
query jquery easyui datagrid spreadsheet api
first form page data in the form, convert {key: value, key: value } format
See jquery
Based on a custom method, completed form on the binding parameters into json datagrid
sent to the server along with the query conditions and query parameters tab
3, the modified CourierAction pageQuery method, add query logic operating conditions
Service to modify the code
to achieve
modify DAO interface, the interface inherits JpaSpecificationExecutor
JpaSpecificationExecutor Interface
Specification interface object represents the condition of the query object
Pageable interface object represents the paging query objects