Commit daccc5a7 by chamberone

fix: java.lang.NullPointerException: null

1 parent 1814adf3
......@@ -128,7 +128,9 @@ public class BusinessBlockServiceImpl implements BusinessBlockService {
block.setTeamId(b.getTeamId());
block.setTeamName(team.getTeamName());
block.setArea(b.getArea().toString());
block.setUpdateTime(TimeUtils.IsoLocalDateTime2String(b.getUpdateTime()));
if(null != b.getUpdateTime()) {
block.setUpdateTime(TimeUtils.IsoLocalDateTime2String(b.getUpdateTime()));
}
blocks.add(block);
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!