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