|
|
@@ -842,7 +842,7 @@ public class BizClinicRoomServiceImpl implements IBizClinicRoomService {
|
|
|
*/
|
|
|
@Override
|
|
|
public Boolean bindDevice(AppDoctorBindPumpDTO source) {
|
|
|
- BizDevicePO bizDevicePO = deviceRepository.selectById(source.getDeviceIds());
|
|
|
+ BizDevicePO bizDevicePO = deviceRepository.selectById(source.getDeviceId());
|
|
|
if (ObjectUtil.isNull(bizDevicePO)) {
|
|
|
throw new ServiceException(TRExcCode.SYSTEM_ERROR_B0001, "泵信息不存在");
|
|
|
}
|