...
|
...
|
@@ -112,10 +112,10 @@ public class BusQueueServiceImpl implements BusQueueService { |
|
|
public ResultJson insertSelective(BusQueue record) throws IOException, TimeoutException
|
|
|
{
|
|
|
if (userInfoMapper.selectUserExist(record.getUsername()).size() == 0) {
|
|
|
return new ResultJson<>("400", "该用户信息,不存在");
|
|
|
return new ResultJson<>("400", "该MQ用户信息,不存在");
|
|
|
}
|
|
|
if (userInfoMapper.selectByBusQueue(record).size() == 0) {
|
|
|
return new ResultJson<>("400", "该用户关系,不存在");
|
|
|
return new ResultJson<>("400", "该MQ用户关系,不存在");
|
|
|
}
|
|
|
// 设置id
|
|
|
record.setId(IdUtils.generateId());
|
...
|
...
|
|