@@ -4647,6 +4647,9 @@ public class ExcelTabController extends BladeController {
})
public R addBussFile(Integer classify,Long contractId,@RequestParam("file") MultipartFile[] file, String nodeId, Integer type,BladeUser b) {
+ if(type == null){
+ return R.fail("请选择文件类型");
+ }
List<TableFile> fileList = new ArrayList<>();
//查询字段
List<Integer> types = jdbcTemplate.queryForList("select dict_key from blade_dict_biz where code like 'table_file_type%' and is_deleted = 0 and dict_key > 0", Integer.class);