|  |  | @@ -67,6 +67,9 @@ public class UserMouldVideoController extends BaseController { | 
		
	
		
			
			|  |  |  | @ApiImplicitParam(name = "id", value = "id", dataType = "Long", paramType = "query", required = true) | 
		
	
		
			
			|  |  |  | public ResultData findById(Long id) { | 
		
	
		
			
			|  |  |  | logger.debug("[" + getIpAddr() + "] MouldPatchController::findById"); | 
		
	
		
			
			|  |  |  | if(id == null){ | 
		
	
		
			
			|  |  |  | return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"参数为空"); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | UserMouldVideo mouldVideo = userMouldVideoService.getById(id); | 
		
	
		
			
			|  |  |  | if(mouldVideo == null || !mouldVideo.getUserId().equals(getMemberId())){ | 
		
	
		
			
			|  |  |  | return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"未找到用户数据"); | 
		
	
	
		
			
				|  |  | @@ -83,6 +86,22 @@ public class UserMouldVideoController extends BaseController { | 
		
	
		
			
			|  |  |  | return new ResultData(mouldVideo); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | @ApiOperation("根据id查询接口") | 
		
	
		
			
			|  |  |  | @GetMapping("/del") | 
		
	
		
			
			|  |  |  | @ApiImplicitParam(name = "id", value = "id", dataType = "Long", paramType = "query", required = true) | 
		
	
		
			
			|  |  |  | public ResultData del(Long id) { | 
		
	
		
			
			|  |  |  | logger.debug("[" + getIpAddr() + "] MouldPatchController::del"); | 
		
	
		
			
			|  |  |  | if(id == null){ | 
		
	
		
			
			|  |  |  | return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"参数为空"); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | UserMouldVideo mouldVideo = userMouldVideoService.getById(id); | 
		
	
		
			
			|  |  |  | if(mouldVideo == null || !mouldVideo.getUserId().equals(getMemberId())){ | 
		
	
		
			
			|  |  |  | return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"未找到用户数据"); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | userMouldVideoService.deleteById(id); | 
		
	
		
			
			|  |  |  | return new ResultData(); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | @ApiOperation("新增接口") | 
		
	
		
			
			|  |  |  | @PostMapping("saveOrUpdate") | 
		
	
		
			
			|  |  |  | public ResultData saveOrUpdate(@RequestBody UserMouldVideo record) { | 
		
	
	
		
			
				|  |  | 
 |