This commit is contained in:
admin
2024-08-28 21:12:05 +08:00
parent 8702e282a5
commit cadd0b6822
2 changed files with 2 additions and 3 deletions

View File

@@ -126,8 +126,7 @@ public class WxClerkCommodityController {
PlayCommodityReturnVo item = it.next();
if ("00".equals(item.getPId()) && item.getChild().isEmpty()) {
it.remove();
}
if (clerkCommodityEntities != null && "00".equals(item.getPId()) && !clerkCommodityEntities.containsKey(item.getId())) {
} else if (clerkCommodityEntities != null && "00".equals(item.getPId()) && !clerkCommodityEntities.containsKey(item.getId())) {
it.remove();
}
formatPlayCommodityReturnVoTree(item.getChild(), clerkCommodityEntities);