|
|
|
@ -178,12 +178,12 @@ public class QcStaticTableServiceImpl implements IQcStaticTableService {
|
|
|
|
|
QcStaticTable detail = detailMap.get(keystr);
|
|
|
|
|
if(detail!=null&&StringUtils.isNotBlank(detail.getRemark())){
|
|
|
|
|
project.setColumn080090(detail.getRemark());
|
|
|
|
|
List<BaseFile> files = qmsFileMapper.getBaseFileBatch(detail.getRecordId());
|
|
|
|
|
if (!CollectionUtils.isEmpty(files)) {
|
|
|
|
|
List<String> pics = files.stream().map(BaseFile::getFileAddress).collect(Collectors.toList());
|
|
|
|
|
String picurls = pics.stream().collect(Collectors.joining(","));
|
|
|
|
|
project.setColumn080090(project.getColumn080090()+":"+picurls);
|
|
|
|
|
}
|
|
|
|
|
List<BaseFile> files = qmsFileMapper.getBaseFileBatch(detail.getRecordId());
|
|
|
|
|
if (!CollectionUtils.isEmpty(files)) {
|
|
|
|
|
List<String> pics = files.stream().map(BaseFile::getFileAddress).collect(Collectors.toList());
|
|
|
|
|
String picurls = pics.stream().collect(Collectors.joining(","));
|
|
|
|
|
project.setColumn080090(project.getColumn080090()+","+picurls);
|
|
|
|
|
}
|
|
|
|
|
}else if(detail!=null&&StringUtils.isNotBlank(detail.getStatus())){
|
|
|
|
|
project.setColumn080090(detail.getStatus().equals("Y")?"✓":"✘");
|
|
|
|
|
}else{
|
|
|
|
@ -198,7 +198,7 @@ public class QcStaticTableServiceImpl implements IQcStaticTableService {
|
|
|
|
|
if (!CollectionUtils.isEmpty(files)) {
|
|
|
|
|
List<String> pics = files.stream().map(BaseFile::getFileAddress).collect(Collectors.toList());
|
|
|
|
|
String picurls = pics.stream().collect(Collectors.joining(","));
|
|
|
|
|
project.setColumn090100(project.getColumn090100()+":"+picurls);
|
|
|
|
|
project.setColumn090100(project.getColumn090100()+","+picurls);
|
|
|
|
|
}
|
|
|
|
|
}else if(detail!=null&&StringUtils.isNotBlank(detail.getStatus())){
|
|
|
|
|
project.setColumn090100(detail.getStatus().equals("Y")?"✓":"✘");
|
|
|
|
@ -214,7 +214,7 @@ public class QcStaticTableServiceImpl implements IQcStaticTableService {
|
|
|
|
|
if (!CollectionUtils.isEmpty(files)) {
|
|
|
|
|
List<String> pics = files.stream().map(BaseFile::getFileAddress).collect(Collectors.toList());
|
|
|
|
|
String picurls = pics.stream().collect(Collectors.joining(","));
|
|
|
|
|
project.setColumn100110(project.getColumn100110()+":"+picurls);
|
|
|
|
|
project.setColumn100110(project.getColumn100110()+","+picurls);
|
|
|
|
|
}
|
|
|
|
|
}else if(detail!=null&&StringUtils.isNotBlank(detail.getStatus())){
|
|
|
|
|
project.setColumn100110(detail.getStatus().equals("Y")?"✓":"✘");
|
|
|
|
@ -230,7 +230,7 @@ public class QcStaticTableServiceImpl implements IQcStaticTableService {
|
|
|
|
|
if (!CollectionUtils.isEmpty(files)) {
|
|
|
|
|
List<String> pics = files.stream().map(BaseFile::getFileAddress).collect(Collectors.toList());
|
|
|
|
|
String picurls = pics.stream().collect(Collectors.joining(","));
|
|
|
|
|
project.setColumn110120(project.getColumn110120()+":"+picurls);
|
|
|
|
|
project.setColumn110120(project.getColumn110120()+","+picurls);
|
|
|
|
|
}
|
|
|
|
|
}else if(detail!=null&&detail!=null && StringUtils.isNotBlank(detail.getStatus())){
|
|
|
|
|
project.setColumn110120(detail.getStatus().equals("Y")?"✓":"✘");
|
|
|
|
@ -246,7 +246,7 @@ public class QcStaticTableServiceImpl implements IQcStaticTableService {
|
|
|
|
|
if (!CollectionUtils.isEmpty(files)) {
|
|
|
|
|
List<String> pics = files.stream().map(BaseFile::getFileAddress).collect(Collectors.toList());
|
|
|
|
|
String picurls = pics.stream().collect(Collectors.joining(","));
|
|
|
|
|
project.setColumn123133(project.getColumn123133()+":"+picurls);
|
|
|
|
|
project.setColumn123133(project.getColumn123133()+","+picurls);
|
|
|
|
|
}
|
|
|
|
|
}else if(detail!=null && StringUtils.isNotBlank(detail.getStatus())){
|
|
|
|
|
project.setColumn123133(detail.getStatus().equals("Y")?"✓":"✘");
|
|
|
|
@ -262,7 +262,7 @@ public class QcStaticTableServiceImpl implements IQcStaticTableService {
|
|
|
|
|
if (!CollectionUtils.isEmpty(files)) {
|
|
|
|
|
List<String> pics = files.stream().map(BaseFile::getFileAddress).collect(Collectors.toList());
|
|
|
|
|
String picurls = pics.stream().collect(Collectors.joining(","));
|
|
|
|
|
project.setColumn133143(project.getColumn133143()+":"+picurls);
|
|
|
|
|
project.setColumn133143(project.getColumn133143()+","+picurls);
|
|
|
|
|
}
|
|
|
|
|
}else if(detail!=null && StringUtils.isNotBlank(detail.getStatus())){
|
|
|
|
|
project.setColumn133143(detail.getStatus().equals("Y")?"✓":"✘");
|
|
|
|
@ -278,7 +278,7 @@ public class QcStaticTableServiceImpl implements IQcStaticTableService {
|
|
|
|
|
if (!CollectionUtils.isEmpty(files)) {
|
|
|
|
|
List<String> pics = files.stream().map(BaseFile::getFileAddress).collect(Collectors.toList());
|
|
|
|
|
String picurls = pics.stream().collect(Collectors.joining(","));
|
|
|
|
|
project.setColumn143153(project.getColumn143153()+":"+picurls);
|
|
|
|
|
project.setColumn143153(project.getColumn143153()+","+picurls);
|
|
|
|
|
}
|
|
|
|
|
}else if(detail!=null && StringUtils.isNotBlank(detail.getStatus())){
|
|
|
|
|
project.setColumn143153(detail.getStatus().equals("Y")?"✓":"✘");
|
|
|
|
@ -294,7 +294,7 @@ public class QcStaticTableServiceImpl implements IQcStaticTableService {
|
|
|
|
|
if (!CollectionUtils.isEmpty(files)) {
|
|
|
|
|
List<String> pics = files.stream().map(BaseFile::getFileAddress).collect(Collectors.toList());
|
|
|
|
|
String picurls = pics.stream().collect(Collectors.joining(","));
|
|
|
|
|
project.setColumn153163(project.getColumn153163()+":"+picurls);
|
|
|
|
|
project.setColumn153163(project.getColumn153163()+","+picurls);
|
|
|
|
|
}
|
|
|
|
|
}else if(detail!=null && StringUtils.isNotBlank(detail.getStatus())){
|
|
|
|
|
project.setColumn153163(detail.getStatus().equals("Y")?"✓":"✘");
|
|
|
|
@ -310,7 +310,7 @@ public class QcStaticTableServiceImpl implements IQcStaticTableService {
|
|
|
|
|
if (!CollectionUtils.isEmpty(files)) {
|
|
|
|
|
List<String> pics = files.stream().map(BaseFile::getFileAddress).collect(Collectors.toList());
|
|
|
|
|
String picurls = pics.stream().collect(Collectors.joining(","));
|
|
|
|
|
project.setColumn163173(project.getColumn163173()+":"+picurls);
|
|
|
|
|
project.setColumn163173(project.getColumn163173()+","+picurls);
|
|
|
|
|
}
|
|
|
|
|
}else if(detail!=null && StringUtils.isNotBlank(detail.getStatus())){
|
|
|
|
|
project.setColumn163173(detail.getStatus().equals("Y")?"✓":"✘");
|
|
|
|
@ -326,7 +326,7 @@ public class QcStaticTableServiceImpl implements IQcStaticTableService {
|
|
|
|
|
if (!CollectionUtils.isEmpty(files)) {
|
|
|
|
|
List<String> pics = files.stream().map(BaseFile::getFileAddress).collect(Collectors.toList());
|
|
|
|
|
String picurls = pics.stream().collect(Collectors.joining(","));
|
|
|
|
|
project.setColumn180190(project.getColumn180190()+":"+picurls);
|
|
|
|
|
project.setColumn180190(project.getColumn180190()+","+picurls);
|
|
|
|
|
}
|
|
|
|
|
}else if(detail!=null && StringUtils.isNotBlank(detail.getStatus())){
|
|
|
|
|
project.setColumn180190(detail.getStatus().equals("Y")?"✓":"✘");
|
|
|
|
@ -342,7 +342,7 @@ public class QcStaticTableServiceImpl implements IQcStaticTableService {
|
|
|
|
|
if (!CollectionUtils.isEmpty(files)) {
|
|
|
|
|
List<String> pics = files.stream().map(BaseFile::getFileAddress).collect(Collectors.toList());
|
|
|
|
|
String picurls = pics.stream().collect(Collectors.joining(","));
|
|
|
|
|
project.setColumn190200(project.getColumn190200()+":"+picurls);
|
|
|
|
|
project.setColumn190200(project.getColumn190200()+","+picurls);
|
|
|
|
|
}
|
|
|
|
|
}else if(detail!=null && StringUtils.isNotBlank(detail.getStatus())){
|
|
|
|
|
project.setColumn190200(detail.getStatus().equals("Y")?"✓":"✘");
|
|
|
|
@ -358,7 +358,7 @@ public class QcStaticTableServiceImpl implements IQcStaticTableService {
|
|
|
|
|
if (!CollectionUtils.isEmpty(files)) {
|
|
|
|
|
List<String> pics = files.stream().map(BaseFile::getFileAddress).collect(Collectors.toList());
|
|
|
|
|
String picurls = pics.stream().collect(Collectors.joining(","));
|
|
|
|
|
project.setColumn080090(project.getColumn080090()+":"+picurls);
|
|
|
|
|
project.setColumn200210(project.getColumn200210()+","+picurls);
|
|
|
|
|
}
|
|
|
|
|
}else if(detail!=null && StringUtils.isNotBlank(detail.getStatus())){
|
|
|
|
|
project.setColumn200210(detail.getStatus().equals("Y")?"✓":"✘");
|
|
|
|
|