| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -60,8 +60,9 @@ public class IcPointVaccinesInoculationController { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    private IcPointVaccinesInoculationDao icPointVaccinesInoculationDao; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @RequestMapping("page") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public Result<PageData<IcPointVaccinesInoculationDTO>> page(@RequestParam Map<String, Object> params){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public Result<PageData<IcPointVaccinesInoculationDTO>> page(@RequestParam Map<String, Object> params, @LoginUser TokenDto tokenDto){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					//        PageData<IcPointVaccinesInoculationDTO> page = icPointVaccinesInoculationService.page(params);
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        params.put("customerId",tokenDto.getCustomerId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        PageData<IcPointVaccinesInoculationDTO> page = icPointVaccinesInoculationService.getPhrasePage(params); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return new Result<PageData<IcPointVaccinesInoculationDTO>>().ok(page); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -74,18 +75,20 @@ public class IcPointVaccinesInoculationController { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @NoRepeatSubmit | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @PostMapping() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public Result save(@RequestBody IcPointVaccinesInoculationDTO dto){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public Result save(@RequestBody IcPointVaccinesInoculationDTO dto, @LoginUser TokenDto tokenDto){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //效验数据
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        dto.setCustomerId(tokenDto.getCustomerId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        icPointVaccinesInoculationService.save(dto); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return new Result(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @NoRepeatSubmit | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @PutMapping() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public Result update(@RequestBody IcPointVaccinesInoculationDTO dto){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public Result update(@RequestBody IcPointVaccinesInoculationDTO dto, @LoginUser TokenDto tokenDto){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //效验数据
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        dto.setCustomerId(tokenDto.getCustomerId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        icPointVaccinesInoculationService.update(dto); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return new Result(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |