feat: 导入支持树形单选
This commit is contained in:
@@ -444,6 +444,15 @@ public class ImportUtil {
|
|||||||
parameterMap.put(tag.getDbFieldName(), this.convertInspectContentFile(cellValue, fileMap));
|
parameterMap.put(tag.getDbFieldName(), this.convertInspectContentFile(cellValue, fileMap));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 单选时间
|
||||||
|
if (FieldShowTypeEnum.TREE_STRUCTURE_SINGLE_SELECT.getValue().equals(tag.getFieldShowType())) {
|
||||||
|
// 根据tag找到dictCode
|
||||||
|
String dictCode = tag.getDictField();
|
||||||
|
if (!this.dictValid(dictCode, cellValue)) {
|
||||||
|
log.error("第" + row + "列" + tag.getDbFieldTxt() + "填写错误 ");
|
||||||
|
errMsg.append("第").append(row).append("列").append(tag.getDbFieldTxt()).append("填写错误 ");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// 判断实施日期是否大于发布日期15天
|
// 判断实施日期是否大于发布日期15天
|
||||||
if (releaseDate != null && implementationDate != null) {
|
if (releaseDate != null && implementationDate != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user