|  | @ -104,14 +104,17 @@ public class ArchivesTypeController { | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  |     @ApiOperation("创建门类字典") |  |  |     @ApiOperation("创建门类字典") | 
		
	
		
			
				|  |  |     @AnonymousPostMapping("createDic") |  |  |  | 
		
	
		
			
				|  |  |     public ApiResponse<Object> createDic(ArchivesDictionaryDTO arcdicDto){ |  |  |  | 
		
	
		
			
				|  |  |         if (!StringUtils.isEmpty(arcdicDto.getId())){ |  |  |  | 
		
	
		
			
				|  |  |  |  |  |     @AnonymousPostMapping("create-dic") | 
		
	
		
			
				|  |  |  |  |  |     public ApiResponse<Object> createDic(@RequestBody ArchivesDictionaryDTO arcdicDto) { | 
		
	
		
			
				|  |  |  |  |  |         if (!StringUtils.isEmpty(arcdicDto.getId())) { | 
		
	
		
			
				|  |  |             throw new BaseException("id添加异常"); |  |  |             throw new BaseException("id添加异常"); | 
		
	
		
			
				|  |  |         } |  |  |         } | 
		
	
		
			
				|  |  |         if (!StringUtils.isEmpty(arcdicDto.getFieldCnName()) || StringUtils.isEmpty(arcdicDto.getFieldName())){ |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         if (StringUtils.isEmpty(arcdicDto.getFieldCnName()) || StringUtils.isEmpty(arcdicDto.getFieldName())) { | 
		
	
		
			
				|  |  |             throw new BaseException("字段名字不能为空"); |  |  |             throw new BaseException("字段名字不能为空"); | 
		
	
		
			
				|  |  |         } |  |  |         } | 
		
	
		
			
				|  |  |  |  |  |         if (StringUtils.isEmpty(arcdicDto.getIsDataTypeDetails())){ | 
		
	
		
			
				|  |  |  |  |  |             throw new BaseException("数据类型不能为空"); | 
		
	
		
			
				|  |  |  |  |  |         } | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  |         archivesDictionaryService.create(arcdicDto); |  |  |         archivesDictionaryService.create(arcdicDto); | 
		
	
		
			
				|  |  |         return ApiResponse.success(ResponseStatus.SUCCESS); |  |  |         return ApiResponse.success(ResponseStatus.SUCCESS); | 
		
	
	
		
			
				|  | @ -120,7 +123,7 @@ public class ArchivesTypeController { | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  |     @ApiOperation("获取档案配置下拉列表") |  |  |     @ApiOperation("获取档案配置下拉列表") | 
		
	
		
			
				|  |  |     @AnonymousGetMapping("arc-config") |  |  |     @AnonymousGetMapping("arc-config") | 
		
	
		
			
				|  |  |     public ApiResponse<Object> getArcConfig(){ |  |  |  | 
		
	
		
			
				|  |  |  |  |  |     public ApiResponse<Object> getArcConfig() { | 
		
	
		
			
				|  |  |         return ApiResponse.success(dictionaryService.findDictrionaryMenu()); |  |  |         return ApiResponse.success(dictionaryService.findDictrionaryMenu()); | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
	
		
			
				|  | 
 |