Commit 99074a0c authored by 法拉51246's avatar 法拉51246

1

parent f0fb9e2c
...@@ -176,8 +176,6 @@ public class InfoServiceImpl implements InfoService { ...@@ -176,8 +176,6 @@ public class InfoServiceImpl implements InfoService {
//拜访时间记录 //拜访时间记录
List<LocalDate> visitDateList = new ArrayList<>(); List<LocalDate> visitDateList = new ArrayList<>();
//以第一个公司名称作为合并打印的公司 //以第一个公司名称作为合并打印的公司
String companyName = info.get(0).getCompanyName();
Long companyId = info.get(0).getCompanyId();
//取最多4张服务图片 //取最多4张服务图片
int maxImages = 4; int maxImages = 4;
for (InfoDO infoDO : info) { for (InfoDO infoDO : info) {
...@@ -199,14 +197,14 @@ public class InfoServiceImpl implements InfoService { ...@@ -199,14 +197,14 @@ public class InfoServiceImpl implements InfoService {
}); });
//下面获取客户信息 //下面获取客户信息
InfoPrintVO infoPrintVO = new InfoPrintVO(); InfoPrintVO infoPrintVO = new InfoPrintVO();
CustomerInfoDO customerInfoDO = customerInfoMapper.selectByCompanyName(companyName,companyId); InfoDO infoDO = info.get(0);
if (customerInfoDO != null){ if (infoDO != null){
infoPrintVO.setVisitProductNames(customerInfoDO.getProductNames());//本次拜访品种 infoPrintVO.setVisitProductNames(infoDO.getVisitProductNames());//本次拜访品种
infoPrintVO.setCompanyName(customerInfoDO.getCompanyName());//公司名称 infoPrintVO.setCompanyName(infoDO.getCompanyName());//公司名称
infoPrintVO.setSalesman(customerInfoDO.getCreator());//拜访记录的创建者就是该记录的业务员 infoPrintVO.setSalesman(infoDO.getCreator());//拜访记录的创建者就是该记录的业务员
infoPrintVO.setLocationImage(customerInfoDO.getLocationImage());//公司定位图 infoPrintVO.setLocationImage(infoDO.getLocationImage());//公司定位图
infoPrintVO.setContact(customerInfoDO.getContact()); infoPrintVO.setContact(infoDO.getContact());
infoPrintVO.setDepartment(customerInfoDO.getDepartment()); infoPrintVO.setDepartment(infoDO.getDepartment());
} }
//添加多次的信息 //添加多次的信息
infoPrintVO.setServiceContent(serviceContent); infoPrintVO.setServiceContent(serviceContent);
......
# 标题 # 标题
VITE_APP_TITLE=唐桥业务拜访平台 VITE_APP_TITLE=千程拜访管理平台
# 项目本地运行端口号 # 项目本地运行端口号
VITE_PORT=80 VITE_PORT=80
......
...@@ -7,11 +7,11 @@ ...@@ -7,11 +7,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta <meta
name="keywords" name="keywords"
content="唐桥业务拜访平台 基于 vue3 + CompositionAPI + typescript + vite3 + element plus 的后台开源免费管理系统!" content="唐桥业务拜访平台"
/> />
<meta <meta
name="description" name="description"
content="唐桥业务拜访平台 基于 vue3 + CompositionAPI + typescript + vite3 + element plus 的后台开源免费管理系统!" content="唐桥业务拜访平台"
/> />
<title>%VITE_APP_TITLE%</title> <title>%VITE_APP_TITLE%</title>
</head> </head>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment