|
|
|
@@ -2103,8 +2103,8 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|
|
|
|
|
|
|
|
|
//飞书跳转链接
|
|
|
|
|
String hrefFeishu = backUrl
|
|
|
|
|
+ JumpLinkEnum.TASK_AFFIRM_LINK.getLink()
|
|
|
|
|
+ "&projectName=" + projectNameInfoEO.getProjectName();
|
|
|
|
|
+ JumpLinkEnum.TASK_AFFIRM_LINK.getLink();
|
|
|
|
|
|
|
|
|
|
//系统内部跳转链接
|
|
|
|
|
String href = "<a href='" + JumpLinkEnum.TASK_AFFIRM_LINK.getLink() + "'>" + "Jump link" + "</a>";
|
|
|
|
|
String contentInfo = msgContentEN + " " + href;
|
|
|
|
@@ -2163,32 +2163,22 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|
|
|
|
//实施类别 implementType
|
|
|
|
|
if(org.apache.commons.lang.StringUtils.isNotBlank(projectLawsInventoryEO.getImplementType())){
|
|
|
|
|
projectLawsInventoryEOTemp.setImplementType(projectLawsInventoryEO.getImplementType());
|
|
|
|
|
}else{
|
|
|
|
|
projectLawsInventoryEOTemp.setImplementType("");
|
|
|
|
|
}
|
|
|
|
|
//认证类型 attestationType
|
|
|
|
|
if(org.apache.commons.lang.StringUtils.isNotBlank(projectLawsInventoryEO.getAttestationType())){
|
|
|
|
|
projectLawsInventoryEOTemp.setAttestationType(projectLawsInventoryEO.getAttestationType());
|
|
|
|
|
}else{
|
|
|
|
|
projectLawsInventoryEOTemp.setAttestationType("");
|
|
|
|
|
}
|
|
|
|
|
//认证级别 attestationRank
|
|
|
|
|
if(org.apache.commons.lang.StringUtils.isNotBlank(projectLawsInventoryEO.getAttestationRank())){
|
|
|
|
|
projectLawsInventoryEOTemp.setAttestationRank(projectLawsInventoryEO.getAttestationRank());
|
|
|
|
|
}else{
|
|
|
|
|
projectLawsInventoryEOTemp.setAttestationRank("");
|
|
|
|
|
}
|
|
|
|
|
//责任领域 dutyTerritory
|
|
|
|
|
if(org.apache.commons.lang.StringUtils.isNotBlank(projectLawsInventoryEO.getDutyTerritory())){
|
|
|
|
|
projectLawsInventoryEOTemp.setDutyTerritory(projectLawsInventoryEO.getDutyTerritory());
|
|
|
|
|
}else{
|
|
|
|
|
projectLawsInventoryEOTemp.setDutyTerritory("");
|
|
|
|
|
}
|
|
|
|
|
//适用地区region
|
|
|
|
|
if(ObjectUtils.isNotEmpty(projectLawsInventoryEO.getRegion())){
|
|
|
|
|
projectLawsInventoryEOTemp.setRegion(projectLawsInventoryEO.getRegion());
|
|
|
|
|
}else{
|
|
|
|
|
projectLawsInventoryEOTemp.setRegion("");
|
|
|
|
|
}
|
|
|
|
|
//在产车实施日期implementTime
|
|
|
|
|
if(ObjectUtils.isNotEmpty(projectLawsInventoryEO.getImplementTime())){
|
|
|
|
@@ -2213,14 +2203,14 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|
|
|
|
projectLawsInventoryEOList.add(projectLawsInventoryEOTemp);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// this.updateBatchById(projectLawsInventoryEOList);
|
|
|
|
|
for (ProjectLawsInventoryEO lawsInventoryEO : projectLawsInventoryEOList) {
|
|
|
|
|
LambdaUpdateWrapper<ProjectLawsInventoryEO> updateWrapper = new LambdaUpdateWrapper<>();
|
|
|
|
|
updateWrapper.in(ProjectLawsInventoryEO::getId,lawsInventoryEO.getId());
|
|
|
|
|
setDateNull(lawsInventoryEO, updateWrapper);
|
|
|
|
|
//保存
|
|
|
|
|
this.update(lawsInventoryEO,updateWrapper);
|
|
|
|
|
}
|
|
|
|
|
this.updateBatchById(projectLawsInventoryEOList);
|
|
|
|
|
// for (ProjectLawsInventoryEO lawsInventoryEO : projectLawsInventoryEOList) {
|
|
|
|
|
// LambdaUpdateWrapper<ProjectLawsInventoryEO> updateWrapper = new LambdaUpdateWrapper<>();
|
|
|
|
|
// updateWrapper.in(ProjectLawsInventoryEO::getId,lawsInventoryEO.getId());
|
|
|
|
|
// setDateNull(lawsInventoryEO, updateWrapper);
|
|
|
|
|
// //保存
|
|
|
|
|
// this.update(lawsInventoryEO,updateWrapper);
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
//更新log
|
|
|
|
|
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
|
|
|
@@ -4991,39 +4981,46 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|
|
|
|
//子标题
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("subtitle"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("subtitle").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.SUBTITLE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.SUBTITLE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("subtitle").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.SUBTITLE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("subtitle").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.SUBTITLE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//WVTA ID
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("wvtaId"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("wvtaId").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.WVTA_ID.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.WVTA_ID.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("wvtaId").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.WVTA_ID.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("wvtaId").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.WVTA_ID.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//实施类别
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("implementType"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("implementType").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.IMPLEMENT_TYPE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.IMPLEMENT_TYPE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("implementType").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.IMPLEMENT_TYPE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("implementType").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.IMPLEMENT_TYPE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//在产车实施日期
|
|
|
|
@@ -5042,298 +5039,371 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|
|
|
|
//新车型实施日期
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("xin1Che1Xing2Shi2Shi1Ri4Qi1String"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("xin1Che1Xing2Shi2Shi1Ri4Qi1String").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.XIN1_CHE1_XING2_SHI2_SHI1_RI4_QI1.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("xin1Che1Xing2Shi2Shi1Ri4Qi1String").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.XIN1_CHE1_XING2_SHI2_SHI1_RI4_QI1.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.XIN1_CHE1_XING2_SHI2_SHI1_RI4_QI1.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.XIN1_CHE1_XING2_SHI2_SHI1_RI4_QI1.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//认证类型
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("attestationType"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("attestationType").split("\\|"));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.ATTESTATION_TYPE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("attestationType").split("\\|"));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.ATTESTATION_TYPE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.ATTESTATION_TYPE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.ATTESTATION_TYPE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//认证级别
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("attestationRank"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("attestationRank").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.ATTESTATION_RANK.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("attestationRank").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.ATTESTATION_RANK.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.ATTESTATION_RANK.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.ATTESTATION_RANK.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//责任领域
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("dutyTerritory"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("dutyTerritory").split("\\|"));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DUTY_TERRITORY.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("dutyTerritory").split("\\|"));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DUTY_TERRITORY.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DUTY_TERRITORY.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DUTY_TERRITORY.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//regulationOwnerName;//法规工程师名称
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("regulationOwnerName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("regulationOwnerName").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.REGULATION_OWNER_NAME.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("regulationOwnerName").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.REGULATION_OWNER_NAME.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.REGULATION_OWNER_NAME.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.REGULATION_OWNER_NAME.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//homologationEngineerName;//认证工程师名称
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("homologationEngineerName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("homologationEngineerName").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.HOMOLOGATION_ENGINEER_NAME.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("homologationEngineerName").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.HOMOLOGATION_ENGINEER_NAME.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.HOMOLOGATION_ENGINEER_NAME.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.HOMOLOGATION_ENGINEER_NAME.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//engineeringInterfacePersonName;//工程接口人名称
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("engineeringInterfacePersonName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("engineeringInterfacePersonName").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.ENGINEERING_INTERFACE_PERSON_NAME.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("engineeringInterfacePersonName").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.ENGINEERING_INTERFACE_PERSON_NAME.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.ENGINEERING_INTERFACE_PERSON_NAME.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.ENGINEERING_INTERFACE_PERSON_NAME.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//适用地区region 多选
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("region"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("region").split("\\|"));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.REGION.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("region").split("\\|"));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.REGION.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.REGION.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.REGION.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//备注
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("remark"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("remark").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.REMARK.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("remark").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.REMARK.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.REMARK.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.REMARK.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//设计符合性确认-交付物类型
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("designDeliverableTypeName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("designDeliverableTypeName").split("\\|"));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DELIVERABLE_TYPE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("designDeliverableTypeName").split("\\|"));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DELIVERABLE_TYPE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DELIVERABLE_TYPE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DELIVERABLE_TYPE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//设计符合性确认-交付物模板
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("designDeliverableTemplateName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("designDeliverableTemplateName").split("\\|"));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DELIVERABLE_TEMPLATE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("designDeliverableTemplateName").split("\\|"));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DELIVERABLE_TEMPLATE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DELIVERABLE_TEMPLATE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DELIVERABLE_TEMPLATE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//设计符合性确认-发起人
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("designInitiatorName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("designInitiatorName").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DESIGN_INITIATOR.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("designInitiatorName").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_INITIATOR.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DESIGN_INITIATOR.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_INITIATOR.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//设计符合性确认-责任人
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("designDutyName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("designDutyName").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUTY.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("designDutyName").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUTY.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUTY.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUTY.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//设计符合性确认-截止时间designDueDateString;
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("designDueDateString"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("designDueDateString").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUE_DATE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("designDueDateString").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUE_DATE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUE_DATE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUE_DATE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//prehomo确认-交付物类型
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("prehomoDeliverableTypeName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("prehomoDeliverableTypeName").split("\\|"));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_DELIVERABLE_TYPE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("prehomoDeliverableTypeName").split("\\|"));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_DELIVERABLE_TYPE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_DELIVERABLE_TYPE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_DELIVERABLE_TYPE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//prehomo确认-交付物模板
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("prehomoDeliverableTemplateName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("prehomoDeliverableTemplateName").split("\\|"));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_DELIVERABLE_TEMPLATE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("prehomoDeliverableTemplateName").split("\\|"));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_DELIVERABLE_TEMPLATE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_DELIVERABLE_TEMPLATE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_DELIVERABLE_TEMPLATE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//prehomo确认-发起人
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("prehomoInitiatorName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("prehomoInitiatorName").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_INITIATOR.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("prehomoInitiatorName").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_INITIATOR.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_INITIATOR.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_INITIATOR.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//prehomo确认-责任人
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("prehomoDutyName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("prehomoDutyName").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_DUTY.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("prehomoDutyName").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_DUTY.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_DUTY.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.PREHOMO_DUTY.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//prehomo确认-截止时间prehomoDueDateString;
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("prehomoDueDateString"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("prehomoDueDateString").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUE_DATE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("prehomoDueDateString").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUE_DATE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUE_DATE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUE_DATE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//验证符合性确认-交付物类型
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("verifyDeliverableTypeName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("verifyDeliverableTypeName").split("\\|"));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.VERIFY_DELIVERABLE_TYPE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("verifyDeliverableTypeName").split("\\|"));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.VERIFY_DELIVERABLE_TYPE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.VERIFY_DELIVERABLE_TYPE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.VERIFY_DELIVERABLE_TYPE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//验证符合性确认-交付物模板
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("verifyDeliverableTemplateName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("verifyDeliverableTemplateName").split("\\|"));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.VERIFY_DELIVERABLE_TEMPLATE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("verifyDeliverableTemplateName").split("\\|"));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.VERIFY_DELIVERABLE_TEMPLATE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.VERIFY_DELIVERABLE_TEMPLATE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.VERIFY_DELIVERABLE_TEMPLATE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//验证符合性确认-发起人
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("verifyInitiatorName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("verifyInitiatorName").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.VERIFY_INITIATOR.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("verifyInitiatorName").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.VERIFY_INITIATOR.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.VERIFY_INITIATOR.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.VERIFY_INITIATOR.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//验证符合性确认-责任人
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("verifyDutyName"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("verifyDutyName").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.VERIFY_DUTY.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("verifyDutyName").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.VERIFY_DUTY.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if(list.size() > 1){
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.VERIFY_DUTY.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.VERIFY_DUTY.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//验证符合性确认-截止时间verifyDueDateString
|
|
|
|
|
if (StringUtils.isNotBlank(infoDiff.get("verifyDueDateString"))) {
|
|
|
|
|
List<String> list = Arrays.asList(infoDiff.get("verifyDueDateString").split(","));
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUE_DATE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
|
|
|
|
|
List<String> listEn = Arrays.asList(infoDiffEn.get("verifyDueDateString").split(","));
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUE_DATE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
if (list.size() > 1) {
|
|
|
|
|
String infoDiffOld = list.get(0);
|
|
|
|
|
String infoDiffNew = list.get(1);
|
|
|
|
|
contentLog += "'" + ProjectInventoryFieldEnum.DESIGN_DUE_DATE.getName() + "'由" + infoDiffOld + "改为了" + infoDiffNew + "</br>";
|
|
|
|
|
}
|
|
|
|
|
if(listEn.size() > 1){
|
|
|
|
|
String infoDiffOldEn = listEn.get(0);
|
|
|
|
|
String infoDiffNewEn = listEn.get(1);
|
|
|
|
|
enContentLog += "'"+ProjectInventoryFieldEnum.DESIGN_DUE_DATE.getEnName() +"' has been changed from " + infoDiffOldEn + " to " + infoDiffNewEn + "</br>";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
contentLog = contentLog.substring(0, contentLog.length()-1);
|
|
|
|
|