Commit dd50cccb authored by 杨翌文's avatar 杨翌文

feature: 配置修改

parent 7da1cc6b
......@@ -184,9 +184,12 @@ public class ExamineServiceImpl implements ExamineService {
entity.setStatus(0);
entity.setDeleted(0);
entity.setCreateTime(new Date());
sceneMapper.insert(entity);
} else {
entity.setPoster(StrUtil.blankToDefault(entity.getPoster(), ""));
entity.setDescription(StrUtil.blankToDefault(entity.getDescription(), ""));
entity.setName(StrUtil.blankToDefault(entity.getName(), ""));
}
sceneMapper.insertOrUpdate(entity, false);
sceneMapper.insertOrUpdateSelective(entity);
}
@Override
......
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