Home > Back-end >  Java running after appear problem, please modify
Java running after appear problem, please modify

Time:09-21



Can you tell me the both are what reason is caused, please modify

CodePudding user response:

Tpyex. GetAlltypes error in the method can debug this method

CodePudding user response:

Development phase, the multi-purpose some output logs, convenient debugging, easily positioning problem,

CodePudding user response:

Alltypes this entity attribute is a list

CodePudding user response:

Typex. GetAllTypes () returns the list? If there is any empty? The for loop there why typex. GetAllTypes ().
Suggestions for loop before get List<> List=typex. GetAllTypes (), and then judge whether the list is empty, recycle the list, do not cycle to obtain allTypes inside
  • Related