The problem

1. Non-jeecg BOOT project Integrated building block report will report the error in the following screenshot

The following error is reported in the screenshot

Note: The above problems indicate that the dependency package is introduced incorrectly, and the data table and table fields do not exist. The problems in other screenshots are similar. The initialization SQL script is executed according to the document

2, non JEECG BOOT project integrated block statements according to the integration of online document the start the class add @ SpringBootApplication (scanBasePackages = {” org. JEECG. Modules. Jmreport “}) scan configuration, The business class interface does not take effect and should be changed to the following code:

@ SpringBootApplication @ ComponentScan (basePackages = {" org. Jeecg. Modules. Jmreport ", "start classes in the package name"})Copy the code

Reason: according to the integration of online document configuration will only scan org. Jeecg. Modules. Jmreport package

3. Preview the designed report instance. The report does not exist or fields are not defined, as in Problem 1

4. It is recommended that the path name carried in the report be changed to a meaningful name. The representation of random number, UUID and hash equivalent is of little significance.

According to my judgment, I can’t judge according to the red box part of the string belongs to type this report, at present our company to do the report will be a meaningful name, convenient front-end and mapping, most people may think it’s ok, but I think we prepared statements generally will dock with the front-end reporting module, design good after will tell what links are front end statements, The front end configures routes based on links

advice

1. Optimization of login timeout prompt, as shown in the screenshot below:

It is suggested that:

2. According to the inspection, database scripts of building block reports are scattered in different files, which is very inconvenient for the investigation after the execution of initialization SQL scripts. I hope the author can put the initialization of all tables in the same file to facilitate integration

3. Add the function of right-clicking the select column to hide the column and move the column to the specified position in the report design, for example: Originally C column, select the column C the right mouse button, move to the front of the column A or B before or after D column column, etc.), that is because I am using ureport report designer of demand, the demand is put forward in A certain period of time to hide column displays or adjust the position of ureport without this feature, I was at the time of design can only delete column first, Then modify the calculation of related columns, which is very tedious. If it is a large report, and there happen to be operations between columns, the number of column movement will be a lot. The following is a screenshot of uReport designer

Large reports usually have calculations between columns, such as summation, completion rate, etc., so it is recommended to hide columns appropriately. The desired effect is shown in the screenshot below:

4. Report Designer clicking on Design Report should not open a new window, but directly open it in the current IFrame, as shown in the screenshot below:

reflection

The above problems may not be a problem. Since we know that the project cycle of JEECG BOOT is not long, other problems have not been found, so I hope to point out any problems, and feel deeply respect for them