| | |
| | | |
| | | import com.gkhy.exam.common.annotation.RepeatSubmit; |
| | | import com.gkhy.exam.common.api.CommonResult; |
| | | import com.gkhy.exam.system.domain.AnnualVerificationPlan; |
| | | import com.gkhy.exam.system.domain.CalibrationMonitoringEquipment; |
| | | import com.gkhy.exam.system.service.CalibrationMonitoringEquipmentService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | return calibrationMonitoringEquipmentService.deletedCalibrationMonitoringEquipment(id); |
| | | } |
| | | |
| | | @RepeatSubmit |
| | | @ApiOperation(value = "复制监测和测量设备校准确认数据") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "query", name = "companyId", dataType = "int", required = true, value = "公司ID"), |
| | | @ApiImplicitParam(paramType = "query", name = "sourceYear", dataType = "string", required = true, value = "源年份"), |
| | | @ApiImplicitParam(paramType = "query", name = "targetYear", dataType = "string", required = true, value = "目标年份"), |
| | | }) |
| | | @GetMapping("/copyCalibrationMonitoringEquipment") |
| | | public CommonResult copyCalibrationMonitoringEquipment(@RequestParam Integer companyId, |
| | | @RequestParam String sourceYear, |
| | | @RequestParam String targetYear){ |
| | | return calibrationMonitoringEquipmentService.copyCalibrationMonitoringEquipment(companyId, sourceYear, targetYear); |
| | | } |
| | | |
| | | |
| | | } |