认证-参数项收集-附件模板下载修改
This commit is contained in:
+8
-5
@@ -327,12 +327,15 @@ public class ParamsCollectManifestEOServiceImpl extends ServiceImpl<ParamsCollec
|
||||
*/
|
||||
private List<ParamsConfigDataVO> getConfigDataVOList(String controlType, ParamsConfigEO paramsConfigEO, ParamsConfigDataEO paramsConfigDataEO, ParamsCollectManifestEO paramsCollectManifestEO) {
|
||||
List<ParamsConfigDataVO> paramsConfigDataVOList = new ArrayList<>();
|
||||
List<OSSFile> ossFiles = ossFileService.getFileInfosByConnectId(paramsCollectManifestEO.getFileTemplate());
|
||||
String templateId = null;
|
||||
String templateName= null;
|
||||
if (CollectionUtil.isNotEmpty(ossFiles)) {
|
||||
templateId = ossFiles.get(0).getId();
|
||||
templateName = ossFiles.get(0).getFileName();
|
||||
String templateName = null;
|
||||
if (StringUtils.isNotEmpty(paramsCollectManifestEO.getFileTemplate())) {
|
||||
List<OSSFile> ossFiles = ossFileService.getFileInfosByConnectId(paramsCollectManifestEO.getFileTemplate());
|
||||
|
||||
if (CollectionUtil.isNotEmpty(ossFiles)) {
|
||||
templateId = ossFiles.get(0).getId();
|
||||
templateName = ossFiles.get(0).getFileName();
|
||||
}
|
||||
}
|
||||
if (ControlTypeEnum.TEXT.getValue().equals(controlType)) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user