| | |
| | | /**设备ID*/ |
| | | @ApiModelProperty(value = "设备ID") |
| | | private String equipmentId; |
| | | /**是否有安全装置检查;是否*/ |
| | | @ApiModelProperty(value = "是否有安全装置检查;是否") |
| | | private String hasSafetyEquipmentCheck; |
| | | /**是否有设备精度检查;是否*/ |
| | | @ApiModelProperty(value = "是否有设备精度检查;是否") |
| | | private String hasPrecisionCheck; |
| | | /**是否有其他检查;是否*/ |
| | | @ApiModelProperty(value = "是否有其他检查;是否") |
| | | private String hasOtherCheck; |
| | | /**列表 检查项明细*/ |
| | | @ApiModelProperty(value = "列表 检查项明细") |
| | | private List<EamTechnicalStatusEvaluationStandardDetail> tableDetailList; |
| | |
| | | } |
| | | entity.setStandardName(request.getStandardName()); |
| | | entity.setEvaluationPeriod(request.getEvaluationPeriod()); |
| | | entity.setHasOtherCheck(request.getHasOtherCheck()); |
| | | entity.setHasPrecisionCheck(request.getHasPrecisionCheck()); |
| | | entity.setHasSafetyEquipmentCheck(request.getHasSafetyEquipmentCheck()); |
| | | this.getBaseMapper().updateById(entity); |
| | | //处理详情 |
| | | if(CollectionUtil.isNotEmpty(request.getTableDetailList())) { |
| | |
| | | newEntity.setStandardVersion(SimpleVersionGenerateUtil.addVersion(entity.getStandardVersion())); |
| | | //设备处理 |
| | | newEntity.setEquipmentId(request.getEquipmentId()); |
| | | newEntity.setHasOtherCheck(request.getHasOtherCheck()); |
| | | newEntity.setHasPrecisionCheck(request.getHasPrecisionCheck()); |
| | | newEntity.setHasSafetyEquipmentCheck(request.getHasSafetyEquipmentCheck()); |
| | | //删除标记 |
| | | newEntity.setDelFlag(CommonConstant.DEL_FLAG_0); |
| | | //重复性校验 |