bug修改
This commit is contained in:
@ -3,10 +3,11 @@ package org.dromara.common.core.domain.vo;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
@Data
|
||||
public class XzdCustomerSupplierVos {
|
||||
public class XzdCustomerSupplierVos implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ -579,7 +579,7 @@ public class XzdCorrespondentListImp implements IXzdCorrespondentList {
|
||||
}
|
||||
|
||||
|
||||
// 客户信息
|
||||
|
||||
xzdCustomerinformationService.removeById(dto);
|
||||
|
||||
// tab客户信息
|
||||
|
||||
@ -11,6 +11,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.dromara.xzd.domain.bo.XzdCustomerSupplierBo;
|
||||
import org.dromara.xzd.domain.vo.XzdCustomerSupplierVo;
|
||||
@ -133,7 +134,11 @@ public class XzdCustomerSupplierServiceImpl extends ServiceImpl<XzdCustomerSuppl
|
||||
|
||||
@Override
|
||||
public XzdCustomerSupplierVos queryByIdone(Long id) {
|
||||
XzdCustomerSupplierVo xzdCustomerSupplierVo = baseMapper.selectVoById(id);
|
||||
return MapstructUtils.convert(xzdCustomerSupplierVo, XzdCustomerSupplierVos.class);
|
||||
XzdCustomerSupplierVo xzdCustomerSupplierVo = baseMapper.selectVoOne(new LambdaQueryWrapper<XzdCustomerSupplier>().eq(XzdCustomerSupplier::getCSId, id));
|
||||
XzdCustomerSupplierVos xzdCustomerSupplierVos = new XzdCustomerSupplierVos();
|
||||
if (xzdCustomerSupplierVo != null) {
|
||||
BeanUtils.copyProperties(xzdCustomerSupplierVo,xzdCustomerSupplierVos);
|
||||
}
|
||||
return xzdCustomerSupplierVos;
|
||||
}
|
||||
}
|
||||
|
||||
@ -189,6 +189,7 @@ public class XzdCustomerinformationServiceImpl extends ServiceImpl<XzdCustomerin
|
||||
public String selectNmaeByIds(String ids) {
|
||||
List<String> list = new ArrayList<>();
|
||||
for (Long id : StringUtils.splitTo(ids, Convert::toLong)) {
|
||||
|
||||
XzdCustomerSupplierVos xzdCustomerSuppliervo = xzdCustomerSupplierService.queryByIdone(id);
|
||||
if (xzdCustomerSuppliervo == null){
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user