|
@ -76,7 +76,7 @@ public class IotShareInterfaceService extends BaseJpaService<IotShareInterfaceDO
|
|
|
oldInterface.setExplanation(newInterface.getExplanation());
|
|
|
oldInterface.setMethodName(newInterface.getMethodName());
|
|
|
oldInterface.setInterfaceName(newInterface.getInterfaceName());
|
|
|
oldInterface.setId(newInterface.getId());
|
|
|
oldInterface.setDocUrl(newInterface.getDocUrl());
|
|
|
oldInterface.setDel("0");
|
|
|
iotShareInterfaceDao.save(oldInterface);
|
|
|
}
|
|
@ -92,6 +92,17 @@ public class IotShareInterfaceService extends BaseJpaService<IotShareInterfaceDO
|
|
|
return iotShareInterfaceDO;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 根据ID查询接口
|
|
|
* @param id
|
|
|
* @return
|
|
|
*/
|
|
|
public IotShareInterfaceDO findByIdNew(String id) {
|
|
|
|
|
|
IotShareInterfaceDO iotShareInterfaceDO = iotShareInterfaceDao.findByIdNew(id);
|
|
|
return iotShareInterfaceDO;
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 分页查询所有
|