bug修改

This commit is contained in:
lg
2025-10-25 21:23:58 +08:00
parent 786c864a27
commit 4ff87f3996
2 changed files with 3 additions and 1 deletions

View File

@ -138,6 +138,8 @@ public class XzdCustomerSupplierServiceImpl extends ServiceImpl<XzdCustomerSuppl
XzdCustomerSupplierVos xzdCustomerSupplierVos = new XzdCustomerSupplierVos();
if (xzdCustomerSupplierVo != null) {
BeanUtils.copyProperties(xzdCustomerSupplierVo,xzdCustomerSupplierVos);
}else {
return null;
}
return xzdCustomerSupplierVos;
}

View File

@ -191,7 +191,7 @@ public class XzdCustomerinformationServiceImpl extends ServiceImpl<XzdCustomerin
for (Long id : StringUtils.splitTo(ids, Convert::toLong)) {
XzdCustomerSupplierVos xzdCustomerSuppliervo = xzdCustomerSupplierService.queryByIdone(id);
if (ObjectUtil.isNull(xzdCustomerSuppliervo) ){
if (ObjectUtil.isEmpty(xzdCustomerSuppliervo) ){
return null;
}
if (xzdCustomerSuppliervo.getType().equals("1")){