仪器管理-删除说明优化

master
382696293@qq.com 2 years ago
parent c6475f2a11
commit 29d0593735

@ -131,7 +131,7 @@ public class WxInstrumentSerialServiceImpl implements IWxInstrumentSerialService
if (wxInstrumentSerialList != null && wxInstrumentSerialList.size() > 0) {
for (WxInstrumentSerial wxInstrumentSerial : wxInstrumentSerialList) {
if (wxInstrumentSerial.getBindingStatus() == BindingStatusEnums.BINDED.getCode()) {
throw new ServiceException("删除失败,只能删除已解绑状态的数据,您选中的内容存在【已绑定状态】请重试");
throw new ServiceException("删除失败,只能删除已解绑状态和未绑定状态的数据,您选中的内容存在【已绑定状态】请重试");
}
}
}
@ -157,7 +157,7 @@ public class WxInstrumentSerialServiceImpl implements IWxInstrumentSerialService
if (wxInstrumentSerialList != null && wxInstrumentSerialList.size() > 0) {
for (WxInstrumentSerial wxInstrumentSerial : wxInstrumentSerialList) {
if (wxInstrumentSerial.getBindingStatus() == BindingStatusEnums.BINDED.getCode()) {
throw new ServiceException("删除失败,只能删除已解绑状态的数据,您选中的内容存在【已绑定状态】请重试");
throw new ServiceException("删除失败,只能删除已解绑状态和未绑定状态的数据,您选中的内容存在【已绑定状态】请重试");
}
}
}

Loading…
Cancel
Save