Commit 0fa61a3a by qwmqiuwenmin

fix

parent d1197ea0
......@@ -61,7 +61,7 @@ public class MaterialController extends WebBaseController{
List<MaterialCategoryDTO> sonList = map.get(materialVO.getCategoryParentId());
List<MaterialVO> sonVoList = EntityUtil.changeEntityListByJSON(MaterialVO.class, sonList);
materialVO.setList(sonVoList);
while(sonList != null){
while(sonList != null && sonList.size() > 0){
handerSonMaterial(sonVoList, map);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment