This commit is contained in:
parent
62c81d8fa0
commit
5710939573
|
|
@ -100,7 +100,7 @@ public class BookCarServiceImpl implements BookCarService {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AjaxResult deleteById(BookCarInfoDto devInfo) {
|
public AjaxResult deleteById(BookCarInfoDto devInfo) {
|
||||||
if (devInfo == null || StringUtils.isEmpty(devInfo.getMaId())) {
|
if (devInfo == null || devInfo.getId() == null) {
|
||||||
return AjaxResult.error("传入设备ID为空,请刷新后重试");
|
return AjaxResult.error("传入设备ID为空,请刷新后重试");
|
||||||
}
|
}
|
||||||
int result = bookCarMapper.deleteById(devInfo.getId());
|
int result = bookCarMapper.deleteById(devInfo.getId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue