|
@ -81,9 +81,10 @@ public class IcPointNucleicMonitoringController { |
|
|
|
|
|
|
|
|
@NoRepeatSubmit |
|
|
@NoRepeatSubmit |
|
|
@PostMapping |
|
|
@PostMapping |
|
|
public Result save(@RequestBody IcPointNucleicMonitoringDTO dto){ |
|
|
public Result save(@RequestBody IcPointNucleicMonitoringDTO dto, @LoginUser TokenDto tokenDto){ |
|
|
//效验数据
|
|
|
//效验数据
|
|
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
|
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); |
|
|
|
|
|
dto.setCustomerId(tokenDto.getCustomerId()); |
|
|
icPointNucleicMonitoringService.save(dto); |
|
|
icPointNucleicMonitoringService.save(dto); |
|
|
return new Result(); |
|
|
return new Result(); |
|
|
} |
|
|
} |
|
|