| | |
| | | |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.github.pagehelper.PageHelper; |
| | | import com.sandu.common.execption.BusinessException; |
| | | import com.sandu.common.object.BaseConditionVO; |
| | | import com.sandu.common.service.impl.BaseServiceImpl; |
| | | import com.sandu.ximon.admin.param.BroadcastTerminalV2Param; |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 根据终端id获取终端信息 |
| | | * @param name |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public boolean updateBroadcastTerminalName(String name, Integer id) { |
| | | BroadcastTerminalV2Entity byId = getById(id); |
| | | if (byId == null) { |
| | | throw new BusinessException("终端不存在"); |
| | | } |
| | | byId.setTerminalName(name); |
| | | return updateById(byId); |
| | | } |
| | | } |