update 功能安全中心的导入、导出、下载模板改为和起草组一致,企业联系人最多可以增加20个
This commit is contained in:
+43
-5
@@ -1,5 +1,12 @@
|
||||
package com.jero.functionalsafetycenter.controller;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import cn.hutool.core.collection.CollStreamUtil;
|
||||
import cn.hutool.core.collection.CollectionUtil;
|
||||
import cn.hutool.core.collection.IterUtil;
|
||||
import cn.hutool.core.collection.ListUtil;
|
||||
import cn.hutool.core.util.ObjUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
@@ -11,11 +18,16 @@ import com.jero.common.exception.JeroBootException;
|
||||
import com.jero.common.system.base.controller.JeroController;
|
||||
import com.jero.common.system.query.QueryGenerator;
|
||||
import com.jero.common.system.vo.LoginUser;
|
||||
import com.jero.common.util.PasswordUtil;
|
||||
import com.jero.common.util.oConvertUtils;
|
||||
import com.jero.company.entity.PayContactsManagement;
|
||||
import com.jero.company.service.IPayContactsManagementService;
|
||||
import com.jero.functionalsafetycenter.entity.SafetyCenter;
|
||||
import com.jero.functionalsafetycenter.entity.SafetyCenterSubitem;
|
||||
import com.jero.functionalsafetycenter.entity.SafetyCenterSubitemContacts;
|
||||
import com.jero.functionalsafetycenter.service.SafetyCenterService;
|
||||
import com.jero.functionalsafetycenter.service.SafetyCenterSubitemService;
|
||||
import com.jero.functionalsafetycenter.vo.SafetyCenterSubitemExcel;
|
||||
import com.jero.functionalsafetycenter.vo.SafetyCenterSubitemImport;
|
||||
import com.jero.project.entity.PayWorkingGroup;
|
||||
import com.jero.project.entity.PayWorkingGroupSubItem;
|
||||
@@ -25,6 +37,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.shiro.SecurityUtils;
|
||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||
import org.jeecgframework.poi.excel.entity.params.ExcelExportEntity;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.servlet.ModelAndView;
|
||||
@@ -32,9 +45,7 @@ import org.springframework.web.servlet.ModelAndView;
|
||||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
@@ -55,6 +66,8 @@ public class SafetyCenterSubitemController extends JeroController<SafetyCenterSu
|
||||
|
||||
@Resource
|
||||
private SafetyCenterService safetyCenterService;
|
||||
@Resource
|
||||
private IPayContactsManagementService contactsManagementService;
|
||||
|
||||
/**
|
||||
* 分页列表查询
|
||||
@@ -214,7 +227,32 @@ public class SafetyCenterSubitemController extends JeroController<SafetyCenterSu
|
||||
if (exportList.isEmpty()) {
|
||||
throw new JeroBootException("没有数据");
|
||||
}
|
||||
return super.exportListXls(exportList, SafetyCenterSubitem.class, "功能安全中心成员");
|
||||
|
||||
List<SafetyCenterSubitemExcel> list = new ArrayList<>();
|
||||
|
||||
for (SafetyCenterSubitem subitem : exportList) {
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
map.put("companyId",subitem.getCompanyId());
|
||||
map.put("remarks",subitem.getRemarks());
|
||||
List<SafetyCenterSubitemContacts> contactsList = subitem.getContactsList();
|
||||
List<String> contactsIdList = contactsList.stream().map(SafetyCenterSubitemContacts::getContactsId).collect(Collectors.toList());
|
||||
List<PayContactsManagement> contactsManagementList = contactsManagementService.listByIds(contactsIdList);
|
||||
Map<String, PayContactsManagement> stringPayContactsManagementMap = CollStreamUtil.toIdentityMap(contactsManagementList, PayContactsManagement::getId);
|
||||
int i = 1;
|
||||
for (SafetyCenterSubitemContacts contacts : contactsList) {
|
||||
String contactsId = contacts.getContactsId();
|
||||
PayContactsManagement contactsManagement = stringPayContactsManagementMap.get(contactsId);
|
||||
map.put("contactsName"+i, contactsManagement.getName());
|
||||
map.put("contactsPhone"+i, PasswordUtil.decrypt(contactsManagement.getPhone()));
|
||||
map.put("contactsEmail"+i, PasswordUtil.decrypt(contactsManagement.getEmail()));
|
||||
map.put("remarks"+i,contacts.getRemarks());
|
||||
i++;
|
||||
}
|
||||
CopyOptions copyOptions = new CopyOptions();
|
||||
SafetyCenterSubitemExcel safetyCenterSubitemExcel = BeanUtil.mapToBean(map, SafetyCenterSubitemExcel.class, false, copyOptions);
|
||||
list.add(safetyCenterSubitemExcel);
|
||||
}
|
||||
return super.exportListXls(list, SafetyCenterSubitemExcel.class, "功能安全中心成员");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -226,7 +264,7 @@ public class SafetyCenterSubitemController extends JeroController<SafetyCenterSu
|
||||
@ApiOperation(value = "功能安全中心成员-模板下载")
|
||||
@GetMapping(value = "/downloadExcelModel")
|
||||
public ModelAndView downloadExcelModel() {
|
||||
return super.exportTemplate(SafetyCenterSubitem.class, "功能安全中心成员导入模板");
|
||||
return super.exportTemplate(SafetyCenterSubitemExcel.class, "功能安全中心成员导入模板");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+22
-14
@@ -1,11 +1,13 @@
|
||||
package com.jero.functionalsafetycenter.service;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.collection.CollStreamUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.jero.common.exception.JeroBootException;
|
||||
import com.jero.common.system.vo.LoginUser;
|
||||
import com.jero.common.util.PasswordUtil;
|
||||
import com.jero.company.entity.PayCompanyManagement;
|
||||
import com.jero.company.entity.PayContactsManagement;
|
||||
import com.jero.company.service.IPayCompanyManagementService;
|
||||
@@ -14,6 +16,7 @@ import com.jero.functionalsafetycenter.common.SafetyCenterCommon;
|
||||
import com.jero.functionalsafetycenter.entity.SafetyCenter;
|
||||
import com.jero.functionalsafetycenter.entity.SafetyCenterSubitemContacts;
|
||||
import com.jero.functionalsafetycenter.vo.SafetyCenterSubitemContactsImport;
|
||||
import com.jero.functionalsafetycenter.vo.SafetyCenterSubitemExcel;
|
||||
import com.jero.functionalsafetycenter.vo.SafetyCenterSubitemImport;
|
||||
import com.jero.project.entity.PayWorkingGroupSubItem;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
@@ -302,13 +305,24 @@ public class SafetyCenterSubitemService extends ServiceImpl<SafetyCenterSubitemM
|
||||
}
|
||||
List<String> errorMessage = new ArrayList<>();
|
||||
List<String> companyNameList = new ArrayList<>();
|
||||
int errorRowNum = 3;
|
||||
int errorRowNum2 = 3;
|
||||
int errorRowNum = 2;
|
||||
for (Object obj : excelData) {
|
||||
errorRowNum += 1;
|
||||
SafetyCenterSubitemImport subitemImport = (SafetyCenterSubitemImport) obj;
|
||||
String companyName = subitemImport.getCompanyName();
|
||||
List<SafetyCenterSubitemContactsImport> contactsList = subitemImport.getContactsList();
|
||||
Map<String, Object> map = BeanUtil.beanToMap(subitemImport);
|
||||
List<SafetyCenterSubitemContactsImport> contactsList = new ArrayList<>();
|
||||
for (int i = 1; i < 21; i++) {
|
||||
SafetyCenterSubitemContactsImport contactsImport = new SafetyCenterSubitemContactsImport();
|
||||
String s = (String) map.get("contactsName" + i);
|
||||
if (s == null){
|
||||
continue;
|
||||
}
|
||||
String s1 = (String) map.get("remarks"+i);
|
||||
contactsImport.setContacts(s);
|
||||
contactsImport.setRemarks(s1);
|
||||
contactsList.add(contactsImport);
|
||||
}
|
||||
|
||||
PayCompanyManagement company = null;
|
||||
if (StringUtils.isBlank(companyName)){
|
||||
@@ -318,12 +332,10 @@ public class SafetyCenterSubitemService extends ServiceImpl<SafetyCenterSubitemM
|
||||
company = payCompanyManagementService.getCompanyByName(companyName);
|
||||
if (company == null){
|
||||
errorMessage.add("第" + errorRowNum + "行:成员单位不存在");
|
||||
errorRowNum2 += contactsList.size();
|
||||
continue;
|
||||
}
|
||||
if (companyNameList.contains(companyName)) {
|
||||
errorMessage.add("第" + errorRowNum + "行:成员单位重复");
|
||||
errorRowNum2 += contactsList.size();
|
||||
continue;
|
||||
}else {
|
||||
companyNameList.add(companyName);
|
||||
@@ -351,31 +363,27 @@ public class SafetyCenterSubitemService extends ServiceImpl<SafetyCenterSubitemM
|
||||
SafetyCenterSubitem parentCenterSubitem = this.getOne(wrapper1);
|
||||
if (parentCenterSubitem == null) {
|
||||
errorMessage.add("第" + errorRowNum + "行:成员单位不是当前项目成员");
|
||||
errorRowNum2 += contactsList.size();
|
||||
continue;
|
||||
}
|
||||
String parentCenterSubitemId = parentCenterSubitem.getId();
|
||||
List<SafetyCenterSubitemContacts> parentContactList = contactsService.listBySubitemId(parentCenterSubitemId);
|
||||
parentContactIdList = parentContactList.stream().map(SafetyCenterSubitemContacts::getContactsId).distinct().collect(Collectors.toList());
|
||||
}
|
||||
errorRowNum += contactsList.size() -1;
|
||||
|
||||
List<String> distinctContactsList = new ArrayList<>();
|
||||
List<SafetyCenterSubitemContacts> subitemContactsList = new ArrayList<>();
|
||||
for (SafetyCenterSubitemContactsImport contactsImport : contactsList) {
|
||||
errorRowNum2 += 1;
|
||||
String contacts = contactsImport.getContacts();
|
||||
if (StringUtils.isBlank(contacts)){
|
||||
errorMessage.add("第" + errorRowNum2 + "行:企业联系人不能为空");
|
||||
errorMessage.add("第" + errorRowNum + "行:企业联系人不能为空");
|
||||
continue;
|
||||
}
|
||||
PayContactsManagement payContactsManagement = payContactsManagementService.checkByCompanyIdAndName(contacts, companyId);
|
||||
if (payContactsManagement == null){
|
||||
errorMessage.add("第" + errorRowNum2 + "行:企业联系人不存在");
|
||||
errorMessage.add("第" + errorRowNum + "行:企业联系人"+contacts+"不存在");
|
||||
continue;
|
||||
}
|
||||
if (distinctContactsList.contains(contacts)){
|
||||
errorMessage.add("第" + errorRowNum2 + "行:企业联系人重复");
|
||||
errorMessage.add("第" + errorRowNum + "行:企业联系人"+contacts+"重复");
|
||||
continue;
|
||||
}else {
|
||||
distinctContactsList.add(contacts);
|
||||
@@ -383,13 +391,13 @@ public class SafetyCenterSubitemService extends ServiceImpl<SafetyCenterSubitemM
|
||||
if (SafetyCenterCommon.PROJECT_TYPE_1 != projectType) {
|
||||
//判断联系人
|
||||
if (!parentContactIdList.contains(payContactsManagement.getId())){
|
||||
errorMessage.add("第" + errorRowNum2 + "行:企业联系人不是当前项目成员");
|
||||
errorMessage.add("第" + errorRowNum + "行:企业联系人"+contacts+"不是当前项目成员");
|
||||
continue;
|
||||
}
|
||||
}
|
||||
String remarks = contactsImport.getRemarks();
|
||||
if (remarks != null && remarks.length() > 50){
|
||||
errorMessage.add("第" + errorRowNum2 + "行:企业联系人备注最长为50字符");
|
||||
errorMessage.add("第" + errorRowNum + "行:企业联系人"+contacts+"备注最长为50字符");
|
||||
continue;
|
||||
}
|
||||
SafetyCenterSubitemContacts contacts1 = new SafetyCenterSubitemContacts();
|
||||
|
||||
+441
@@ -0,0 +1,441 @@
|
||||
package com.jero.functionalsafetycenter.vo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.jero.common.aspect.annotation.Dict;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Description: pay_working_group_subitem
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2021-08-27
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
public class SafetyCenterSubitemExcel implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 成员单位id
|
||||
*/
|
||||
@TableField(value = "company_id")
|
||||
@ApiModelProperty(value = "成员单位id")
|
||||
@Excel(name = "成员单位", width = 15, dictTable = "pay_company_management", dicText = "company_name", dicCode = "id", needMerge = true)
|
||||
@Dict(dictTable = "pay_company_management", dicText = "company_name", dicCode = "id")
|
||||
private String companyId;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Excel(name = "备注", width = 15)
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remarks;
|
||||
/**
|
||||
* 企业联系人名称1
|
||||
*/
|
||||
@Excel(name = "企业联系人1", width = 15)
|
||||
private String contactsName1;
|
||||
/**
|
||||
* 企业联系人手机号1
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号1", width = 17)
|
||||
private String contactsPhone1;
|
||||
/**
|
||||
* 企业联系人邮箱1
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱1", width = 15)
|
||||
private String contactsEmail1;
|
||||
/**
|
||||
* 联系人备注1
|
||||
*/
|
||||
@Excel(name = "联系人备注1", width = 15)
|
||||
private String remarks1;
|
||||
/**
|
||||
* 企业联系人名称2
|
||||
*/
|
||||
@Excel(name = "企业联系人2", width = 15)
|
||||
private String contactsName2;
|
||||
/**
|
||||
* 企业联系人手机号2
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号2", width = 17)
|
||||
private String contactsPhone2;
|
||||
/**
|
||||
* 企业联系人邮箱2
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱2", width = 15)
|
||||
private String contactsEmail2;
|
||||
/**
|
||||
* 联系人备注2
|
||||
*/
|
||||
@Excel(name = "联系人备注2", width = 15)
|
||||
private String remarks2;
|
||||
/**
|
||||
* 企业联系人名称3
|
||||
*/
|
||||
@Excel(name = "企业联系人3", width = 15)
|
||||
private String contactsName3;
|
||||
/**
|
||||
* 企业联系人手机号3
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号3", width = 17)
|
||||
private String contactsPhone3;
|
||||
/**
|
||||
* 企业联系人邮箱3
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱3", width = 15)
|
||||
private String contactsEmail3;
|
||||
/**
|
||||
* 联系人备注3
|
||||
*/
|
||||
@Excel(name = "联系人备注3", width = 15)
|
||||
private String remarks3;
|
||||
/**
|
||||
* 企业联系人名称4
|
||||
*/
|
||||
@Excel(name = "企业联系人4", width = 15)
|
||||
private String contactsName4;
|
||||
/**
|
||||
* 企业联系人手机号4
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号4", width = 17)
|
||||
private String contactsPhone4;
|
||||
/**
|
||||
* 企业联系人邮箱4
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱4", width = 15)
|
||||
private String contactsEmail4;
|
||||
/**
|
||||
* 联系人备注4
|
||||
*/
|
||||
@Excel(name = "联系人备注4", width = 15)
|
||||
private String remarks4;
|
||||
/**
|
||||
* 企业联系人名称5
|
||||
*/
|
||||
@Excel(name = "企业联系人5", width = 15)
|
||||
private String contactsName5;
|
||||
/**
|
||||
* 企业联系人手机号5
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号5", width = 17)
|
||||
private String contactsPhone5;
|
||||
/**
|
||||
* 企业联系人邮箱5
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱5", width = 15)
|
||||
private String contactsEmail5;
|
||||
/**
|
||||
* 联系人备注5
|
||||
*/
|
||||
@Excel(name = "联系人备注5", width = 15)
|
||||
private String remarks5;
|
||||
/**
|
||||
* 企业联系人名称6
|
||||
*/
|
||||
@Excel(name = "企业联系人6", width = 15)
|
||||
private String contactsName6;
|
||||
/**
|
||||
* 企业联系人手机号6
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号6", width = 17)
|
||||
private String contactsPhone6;
|
||||
/**
|
||||
* 企业联系人邮箱6
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱6", width = 15)
|
||||
private String contactsEmail6;
|
||||
/**
|
||||
* 联系人备注6
|
||||
*/
|
||||
@Excel(name = "联系人备注6", width = 15)
|
||||
private String remarks6;
|
||||
/**
|
||||
* 企业联系人名称7
|
||||
*/
|
||||
@Excel(name = "企业联系人7", width = 15)
|
||||
private String contactsName7;
|
||||
/**
|
||||
* 企业联系人手机号7
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号7", width = 17)
|
||||
private String contactsPhone7;
|
||||
/**
|
||||
* 企业联系人邮箱7
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱7", width = 15)
|
||||
private String contactsEmail7;
|
||||
/**
|
||||
* 联系人备注7
|
||||
*/
|
||||
@Excel(name = "联系人备注7", width = 15)
|
||||
private String remarks7;
|
||||
/**
|
||||
* 企业联系人名称8
|
||||
*/
|
||||
@Excel(name = "企业联系人8", width = 15)
|
||||
private String contactsName8;
|
||||
/**
|
||||
* 企业联系人手机号8
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号8", width = 17)
|
||||
private String contactsPhone8;
|
||||
/**
|
||||
* 企业联系人邮箱8
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱8", width = 15)
|
||||
private String contactsEmail8;
|
||||
/**
|
||||
* 联系人备注8
|
||||
*/
|
||||
@Excel(name = "联系人备注8", width = 15)
|
||||
private String remarks8;
|
||||
/**
|
||||
* 企业联系人名称9
|
||||
*/
|
||||
@Excel(name = "企业联系人9", width = 15)
|
||||
private String contactsName9;
|
||||
/**
|
||||
* 企业联系人手机号9
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号9", width = 17)
|
||||
private String contactsPhone9;
|
||||
/**
|
||||
* 企业联系人邮箱9
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱9", width = 15)
|
||||
private String contactsEmail9;
|
||||
/**
|
||||
* 联系人备注9
|
||||
*/
|
||||
@Excel(name = "联系人备注9", width = 15)
|
||||
private String remarks9;
|
||||
/**
|
||||
* 企业联系人名称10
|
||||
*/
|
||||
@Excel(name = "企业联系人10", width = 15)
|
||||
private String contactsName10;
|
||||
/**
|
||||
* 企业联系人手机号10
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号10", width = 17)
|
||||
private String contactsPhone10;
|
||||
/**
|
||||
* 企业联系人邮箱10
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱10", width = 15)
|
||||
private String contactsEmail10;
|
||||
/**
|
||||
* 联系人备注10
|
||||
*/
|
||||
@Excel(name = "联系人备注10", width = 15)
|
||||
private String remarks10;
|
||||
|
||||
/**
|
||||
* 企业联系人名称11
|
||||
*/
|
||||
@Excel(name = "企业联系人11", width = 15)
|
||||
private String contactsName11;
|
||||
/**
|
||||
* 企业联系人手机号11
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号11", width = 17)
|
||||
private String contactsPhone11;
|
||||
/**
|
||||
* 企业联系人邮箱11
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱11", width = 15)
|
||||
private String contactsEmail11;
|
||||
/**
|
||||
* 联系人备注11
|
||||
*/
|
||||
@Excel(name = "联系人备注11", width = 15)
|
||||
private String remarks11;
|
||||
/**
|
||||
* 企业联系人名称12
|
||||
*/
|
||||
@Excel(name = "企业联系人12", width = 15)
|
||||
private String contactsName12;
|
||||
/**
|
||||
* 企业联系人手机号12
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号12", width = 17)
|
||||
private String contactsPhone12;
|
||||
/**
|
||||
* 企业联系人邮箱12
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱12", width = 15)
|
||||
private String contactsEmail12;
|
||||
/**
|
||||
* 联系人备注12
|
||||
*/
|
||||
@Excel(name = "联系人备注12", width = 15)
|
||||
private String remarks12;
|
||||
/**
|
||||
* 企业联系人名称13
|
||||
*/
|
||||
@Excel(name = "企业联系人13", width = 15)
|
||||
private String contactsName13;
|
||||
/**
|
||||
* 企业联系人手机号13
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号13", width = 17)
|
||||
private String contactsPhone13;
|
||||
/**
|
||||
* 企业联系人邮箱13
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱13", width = 15)
|
||||
private String contactsEmail13;
|
||||
/**
|
||||
* 联系人备注13
|
||||
*/
|
||||
@Excel(name = "联系人备注13", width = 15)
|
||||
private String remarks13;
|
||||
/**
|
||||
* 企业联系人名称14
|
||||
*/
|
||||
@Excel(name = "企业联系人14", width = 15)
|
||||
private String contactsName14;
|
||||
/**
|
||||
* 企业联系人手机号14
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号14", width = 17)
|
||||
private String contactsPhone14;
|
||||
/**
|
||||
* 企业联系人邮箱14
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱14", width = 15)
|
||||
private String contactsEmail14;
|
||||
/**
|
||||
* 联系人备注14
|
||||
*/
|
||||
@Excel(name = "联系人备注14", width = 15)
|
||||
private String remarks14;
|
||||
/**
|
||||
* 企业联系人名称15
|
||||
*/
|
||||
@Excel(name = "企业联系人15", width = 15)
|
||||
private String contactsName15;
|
||||
/**
|
||||
* 企业联系人手机号15
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号15", width = 17)
|
||||
private String contactsPhone15;
|
||||
/**
|
||||
* 企业联系人邮箱15
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱15", width = 15)
|
||||
private String contactsEmail15;
|
||||
/**
|
||||
* 联系人备注15
|
||||
*/
|
||||
@Excel(name = "联系人备注15", width = 15)
|
||||
private String remarks15;
|
||||
/**
|
||||
* 企业联系人名称16
|
||||
*/
|
||||
@Excel(name = "企业联系人16", width = 15)
|
||||
private String contactsName16;
|
||||
/**
|
||||
* 企业联系人手机号16
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号16", width = 17)
|
||||
private String contactsPhone16;
|
||||
/**
|
||||
* 企业联系人邮箱16
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱16", width = 15)
|
||||
private String contactsEmail16;
|
||||
/**
|
||||
* 联系人备注16
|
||||
*/
|
||||
@Excel(name = "联系人备注16", width = 15)
|
||||
private String remarks16;
|
||||
/**
|
||||
* 企业联系人名称17
|
||||
*/
|
||||
@Excel(name = "企业联系人17", width = 15)
|
||||
private String contactsName17;
|
||||
/**
|
||||
* 企业联系人手机号17
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号17", width = 17)
|
||||
private String contactsPhone17;
|
||||
/**
|
||||
* 企业联系人邮箱17
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱17", width = 15)
|
||||
private String contactsEmail17;
|
||||
/**
|
||||
* 联系人备注17
|
||||
*/
|
||||
@Excel(name = "联系人备注17", width = 15)
|
||||
private String remarks17;
|
||||
/**
|
||||
* 企业联系人名称18
|
||||
*/
|
||||
@Excel(name = "企业联系人18", width = 15)
|
||||
private String contactsName18;
|
||||
/**
|
||||
* 企业联系人手机号18
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号18", width = 17)
|
||||
private String contactsPhone18;
|
||||
/**
|
||||
* 企业联系人邮箱18
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱18", width = 15)
|
||||
private String contactsEmail18;
|
||||
/**
|
||||
* 联系人备注18
|
||||
*/
|
||||
@Excel(name = "联系人备注18", width = 15)
|
||||
private String remarks18;
|
||||
/**
|
||||
* 企业联系人名称19
|
||||
*/
|
||||
@Excel(name = "企业联系人19", width = 15)
|
||||
private String contactsName19;
|
||||
/**
|
||||
* 企业联系人手机号19
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号19", width = 17)
|
||||
private String contactsPhone19;
|
||||
/**
|
||||
* 企业联系人邮箱19
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱19", width = 15)
|
||||
private String contactsEmail19;
|
||||
/**
|
||||
* 联系人备注19
|
||||
*/
|
||||
@Excel(name = "联系人备注19", width = 15)
|
||||
private String remarks19;
|
||||
/**
|
||||
* 企业联系人名称20
|
||||
*/
|
||||
@Excel(name = "企业联系人20", width = 15)
|
||||
private String contactsName20;
|
||||
/**
|
||||
* 企业联系人手机号20
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号20", width = 17)
|
||||
private String contactsPhone20;
|
||||
/**
|
||||
* 企业联系人邮箱20
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱20", width = 15)
|
||||
private String contactsEmail20;
|
||||
/**
|
||||
* 联系人备注20
|
||||
*/
|
||||
@Excel(name = "联系人备注20", width = 15)
|
||||
private String remarks20;
|
||||
|
||||
}
|
||||
+403
-1
@@ -35,8 +35,410 @@ public class SafetyCenterSubitemImport {
|
||||
* 企业联系人列表
|
||||
*/
|
||||
@ApiModelProperty(value = "企业联系人列表")
|
||||
@ExcelCollection(name = "企业联系人列表")
|
||||
private List<SafetyCenterSubitemContactsImport> contactsList;
|
||||
|
||||
/**
|
||||
* 企业联系人名称1
|
||||
*/
|
||||
@Excel(name = "企业联系人1", width = 15)
|
||||
private String contactsName1;
|
||||
/**
|
||||
* 企业联系人手机号1
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号1", width = 17)
|
||||
private String contactsPhone1;
|
||||
/**
|
||||
* 企业联系人邮箱1
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱1", width = 15)
|
||||
private String contactsEmail1;
|
||||
/**
|
||||
* 联系人备注1
|
||||
*/
|
||||
@Excel(name = "联系人备注1", width = 15)
|
||||
private String remarks1;
|
||||
/**
|
||||
* 企业联系人名称2
|
||||
*/
|
||||
@Excel(name = "企业联系人2", width = 15)
|
||||
private String contactsName2;
|
||||
/**
|
||||
* 企业联系人手机号2
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号2", width = 17)
|
||||
private String contactsPhone2;
|
||||
/**
|
||||
* 企业联系人邮箱2
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱2", width = 15)
|
||||
private String contactsEmail2;
|
||||
/**
|
||||
* 联系人备注2
|
||||
*/
|
||||
@Excel(name = "联系人备注2", width = 15)
|
||||
private String remarks2;
|
||||
/**
|
||||
* 企业联系人名称3
|
||||
*/
|
||||
@Excel(name = "企业联系人3", width = 15)
|
||||
private String contactsName3;
|
||||
/**
|
||||
* 企业联系人手机号3
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号3", width = 17)
|
||||
private String contactsPhone3;
|
||||
/**
|
||||
* 企业联系人邮箱3
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱3", width = 15)
|
||||
private String contactsEmail3;
|
||||
/**
|
||||
* 联系人备注3
|
||||
*/
|
||||
@Excel(name = "联系人备注3", width = 15)
|
||||
private String remarks3;
|
||||
/**
|
||||
* 企业联系人名称4
|
||||
*/
|
||||
@Excel(name = "企业联系人4", width = 15)
|
||||
private String contactsName4;
|
||||
/**
|
||||
* 企业联系人手机号4
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号4", width = 17)
|
||||
private String contactsPhone4;
|
||||
/**
|
||||
* 企业联系人邮箱4
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱4", width = 15)
|
||||
private String contactsEmail4;
|
||||
/**
|
||||
* 联系人备注4
|
||||
*/
|
||||
@Excel(name = "联系人备注4", width = 15)
|
||||
private String remarks4;
|
||||
/**
|
||||
* 企业联系人名称5
|
||||
*/
|
||||
@Excel(name = "企业联系人5", width = 15)
|
||||
private String contactsName5;
|
||||
/**
|
||||
* 企业联系人手机号5
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号5", width = 17)
|
||||
private String contactsPhone5;
|
||||
/**
|
||||
* 企业联系人邮箱5
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱5", width = 15)
|
||||
private String contactsEmail5;
|
||||
/**
|
||||
* 联系人备注5
|
||||
*/
|
||||
@Excel(name = "联系人备注5", width = 15)
|
||||
private String remarks5;
|
||||
/**
|
||||
* 企业联系人名称6
|
||||
*/
|
||||
@Excel(name = "企业联系人6", width = 15)
|
||||
private String contactsName6;
|
||||
/**
|
||||
* 企业联系人手机号6
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号6", width = 17)
|
||||
private String contactsPhone6;
|
||||
/**
|
||||
* 企业联系人邮箱6
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱6", width = 15)
|
||||
private String contactsEmail6;
|
||||
/**
|
||||
* 联系人备注6
|
||||
*/
|
||||
@Excel(name = "联系人备注6", width = 15)
|
||||
private String remarks6;
|
||||
/**
|
||||
* 企业联系人名称7
|
||||
*/
|
||||
@Excel(name = "企业联系人7", width = 15)
|
||||
private String contactsName7;
|
||||
/**
|
||||
* 企业联系人手机号7
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号7", width = 17)
|
||||
private String contactsPhone7;
|
||||
/**
|
||||
* 企业联系人邮箱7
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱7", width = 15)
|
||||
private String contactsEmail7;
|
||||
/**
|
||||
* 联系人备注7
|
||||
*/
|
||||
@Excel(name = "联系人备注7", width = 15)
|
||||
private String remarks7;
|
||||
/**
|
||||
* 企业联系人名称8
|
||||
*/
|
||||
@Excel(name = "企业联系人8", width = 15)
|
||||
private String contactsName8;
|
||||
/**
|
||||
* 企业联系人手机号8
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号8", width = 17)
|
||||
private String contactsPhone8;
|
||||
/**
|
||||
* 企业联系人邮箱8
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱8", width = 15)
|
||||
private String contactsEmail8;
|
||||
/**
|
||||
* 联系人备注8
|
||||
*/
|
||||
@Excel(name = "联系人备注8", width = 15)
|
||||
private String remarks8;
|
||||
/**
|
||||
* 企业联系人名称9
|
||||
*/
|
||||
@Excel(name = "企业联系人9", width = 15)
|
||||
private String contactsName9;
|
||||
/**
|
||||
* 企业联系人手机号9
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号9", width = 17)
|
||||
private String contactsPhone9;
|
||||
/**
|
||||
* 企业联系人邮箱9
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱9", width = 15)
|
||||
private String contactsEmail9;
|
||||
/**
|
||||
* 联系人备注9
|
||||
*/
|
||||
@Excel(name = "联系人备注9", width = 15)
|
||||
private String remarks9;
|
||||
/**
|
||||
* 企业联系人名称10
|
||||
*/
|
||||
@Excel(name = "企业联系人10", width = 15)
|
||||
private String contactsName10;
|
||||
/**
|
||||
* 企业联系人手机号10
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号10", width = 17)
|
||||
private String contactsPhone10;
|
||||
/**
|
||||
* 企业联系人邮箱10
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱10", width = 15)
|
||||
private String contactsEmail10;
|
||||
/**
|
||||
* 联系人备注10
|
||||
*/
|
||||
@Excel(name = "联系人备注10", width = 15)
|
||||
private String remarks10;
|
||||
|
||||
/**
|
||||
* 企业联系人名称11
|
||||
*/
|
||||
@Excel(name = "企业联系人11", width = 15)
|
||||
private String contactsName11;
|
||||
/**
|
||||
* 企业联系人手机号11
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号11", width = 17)
|
||||
private String contactsPhone11;
|
||||
/**
|
||||
* 企业联系人邮箱11
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱11", width = 15)
|
||||
private String contactsEmail11;
|
||||
/**
|
||||
* 联系人备注11
|
||||
*/
|
||||
@Excel(name = "联系人备注11", width = 15)
|
||||
private String remarks11;
|
||||
/**
|
||||
* 企业联系人名称12
|
||||
*/
|
||||
@Excel(name = "企业联系人12", width = 15)
|
||||
private String contactsName12;
|
||||
/**
|
||||
* 企业联系人手机号12
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号12", width = 17)
|
||||
private String contactsPhone12;
|
||||
/**
|
||||
* 企业联系人邮箱12
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱12", width = 15)
|
||||
private String contactsEmail12;
|
||||
/**
|
||||
* 联系人备注12
|
||||
*/
|
||||
@Excel(name = "联系人备注12", width = 15)
|
||||
private String remarks12;
|
||||
/**
|
||||
* 企业联系人名称13
|
||||
*/
|
||||
@Excel(name = "企业联系人13", width = 15)
|
||||
private String contactsName13;
|
||||
/**
|
||||
* 企业联系人手机号13
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号13", width = 17)
|
||||
private String contactsPhone13;
|
||||
/**
|
||||
* 企业联系人邮箱13
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱13", width = 15)
|
||||
private String contactsEmail13;
|
||||
/**
|
||||
* 联系人备注13
|
||||
*/
|
||||
@Excel(name = "联系人备注13", width = 15)
|
||||
private String remarks13;
|
||||
/**
|
||||
* 企业联系人名称14
|
||||
*/
|
||||
@Excel(name = "企业联系人14", width = 15)
|
||||
private String contactsName14;
|
||||
/**
|
||||
* 企业联系人手机号14
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号14", width = 17)
|
||||
private String contactsPhone14;
|
||||
/**
|
||||
* 企业联系人邮箱14
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱14", width = 15)
|
||||
private String contactsEmail14;
|
||||
/**
|
||||
* 联系人备注14
|
||||
*/
|
||||
@Excel(name = "联系人备注14", width = 15)
|
||||
private String remarks14;
|
||||
/**
|
||||
* 企业联系人名称15
|
||||
*/
|
||||
@Excel(name = "企业联系人15", width = 15)
|
||||
private String contactsName15;
|
||||
/**
|
||||
* 企业联系人手机号15
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号15", width = 17)
|
||||
private String contactsPhone15;
|
||||
/**
|
||||
* 企业联系人邮箱15
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱15", width = 15)
|
||||
private String contactsEmail15;
|
||||
/**
|
||||
* 联系人备注15
|
||||
*/
|
||||
@Excel(name = "联系人备注15", width = 15)
|
||||
private String remarks15;
|
||||
/**
|
||||
* 企业联系人名称16
|
||||
*/
|
||||
@Excel(name = "企业联系人16", width = 15)
|
||||
private String contactsName16;
|
||||
/**
|
||||
* 企业联系人手机号16
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号16", width = 17)
|
||||
private String contactsPhone16;
|
||||
/**
|
||||
* 企业联系人邮箱16
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱16", width = 15)
|
||||
private String contactsEmail16;
|
||||
/**
|
||||
* 联系人备注16
|
||||
*/
|
||||
@Excel(name = "联系人备注16", width = 15)
|
||||
private String remarks16;
|
||||
/**
|
||||
* 企业联系人名称17
|
||||
*/
|
||||
@Excel(name = "企业联系人17", width = 15)
|
||||
private String contactsName17;
|
||||
/**
|
||||
* 企业联系人手机号17
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号17", width = 17)
|
||||
private String contactsPhone17;
|
||||
/**
|
||||
* 企业联系人邮箱17
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱17", width = 15)
|
||||
private String contactsEmail17;
|
||||
/**
|
||||
* 联系人备注17
|
||||
*/
|
||||
@Excel(name = "联系人备注17", width = 15)
|
||||
private String remarks17;
|
||||
/**
|
||||
* 企业联系人名称18
|
||||
*/
|
||||
@Excel(name = "企业联系人18", width = 15)
|
||||
private String contactsName18;
|
||||
/**
|
||||
* 企业联系人手机号18
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号18", width = 17)
|
||||
private String contactsPhone18;
|
||||
/**
|
||||
* 企业联系人邮箱18
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱18", width = 15)
|
||||
private String contactsEmail18;
|
||||
/**
|
||||
* 联系人备注18
|
||||
*/
|
||||
@Excel(name = "联系人备注18", width = 15)
|
||||
private String remarks18;
|
||||
/**
|
||||
* 企业联系人名称19
|
||||
*/
|
||||
@Excel(name = "企业联系人19", width = 15)
|
||||
private String contactsName19;
|
||||
/**
|
||||
* 企业联系人手机号19
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号19", width = 17)
|
||||
private String contactsPhone19;
|
||||
/**
|
||||
* 企业联系人邮箱19
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱19", width = 15)
|
||||
private String contactsEmail19;
|
||||
/**
|
||||
* 联系人备注19
|
||||
*/
|
||||
@Excel(name = "联系人备注19", width = 15)
|
||||
private String remarks19;
|
||||
/**
|
||||
* 企业联系人名称20
|
||||
*/
|
||||
@Excel(name = "企业联系人20", width = 15)
|
||||
private String contactsName20;
|
||||
/**
|
||||
* 企业联系人手机号20
|
||||
*/
|
||||
@Excel(name = "企业联系人手机号20", width = 17)
|
||||
private String contactsPhone20;
|
||||
/**
|
||||
* 企业联系人邮箱20
|
||||
*/
|
||||
@Excel(name = "企业联系人邮箱20", width = 15)
|
||||
private String contactsEmail20;
|
||||
/**
|
||||
* 联系人备注20
|
||||
*/
|
||||
@Excel(name = "联系人备注20", width = 15)
|
||||
private String remarks20;
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user