In terms of explanation alone, statement 2 is better than statement 1, but this statement is too complex. If the amount of data is not large, it can still be run. If the amount of data is large, the result will be tragic. It is recommended to split the business logic
In terms of explanation alone, statement 2 is better than statement 1, but this statement is too complex. If the amount of data is not large, it can still be run. If the amount of data is large, the result will be tragic. It is recommended to split the business logic