|
|
|
|
@ -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("删除失败,只能删除已解绑状态和未绑定状态的数据,您选中的内容存在【已绑定状态】请重试");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|