Commit ef09e399 authored by jiawei's avatar jiawei

BUG修改====》》修改展板空指针异常

parent 6d785989
......@@ -174,6 +174,9 @@ public class ExhibitionBoardController extends BaseController {
for (String datumId : datumIdList) {
final Asset asset = this.assetService.getById(datumId);
if (asset==null) {
continue;
}
if (asset.getPublished()) {
asset.setFileCat(FileCatEnum.EXHIBITION_BOARD_DATUM.name());
asset.setRefItemId(exhibitionBoard.getId());
......
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