Suddenly found that the total data of the page is wrong; after turning on the debugging, it is found that the count statement is executed normally
Finally, it was found that the incoming generic entity classes were inconsistent and normal after modification!