修改查询报错;
This commit is contained in:
+1
-1
@@ -187,7 +187,7 @@ public class BmsInvoiceListServiceImpl extends ServiceImpl<BmsInvoiceListMapper,
|
|||||||
if (null == sysUser) {
|
if (null == sysUser) {
|
||||||
throw new ServiceException("sysUser是空值!");
|
throw new ServiceException("sysUser是空值!");
|
||||||
}
|
}
|
||||||
BmsInvoiceList bmsInvoiceList = bmsInvoiceListMapper.selectById(bmsInvoiceListDTO.getId());
|
BmsInvoiceList bmsInvoiceList = bmsInvoiceListMapper.selectById(String.valueOf(bmsInvoiceListDTO.getId()));
|
||||||
if (null == bmsInvoiceList) {
|
if (null == bmsInvoiceList) {
|
||||||
throw new ServiceException("bmsInvoiceList是空值!");
|
throw new ServiceException("bmsInvoiceList是空值!");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user