| | |
| | | import org.dromara.common.core.utils.DateUtils; |
| | | import org.dromara.common.core.utils.StringUtils; |
| | | import org.dromara.eims.domain.bo.EimsMaintOrderBo; |
| | | import org.dromara.eims.domain.bo.InspectRecordBo; |
| | | import org.dromara.eims.domain.vo.EimsMaintOrderVo; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.validation.annotation.Validated; |
| | |
| | | Map<String, Object> params = bo.getParams(); |
| | | params.put("beginPlanTime",startOfMonth); |
| | | params.put("endPlanTime",endOfMonth); |
| | | params.put("type","Month"); |
| | | } |
| | | return eimsInspectRecordService.queryPageListCustom(bo, pageQuery); |
| | | } |
| | |
| | | return toAjax(eimsInspectRecordService.updateByBo(bo)); |
| | | } |
| | | |
| | | @SaCheckPermission("eims:inspectRecord:edit") |
| | | @Log(title = "点检记录-批量修改", businessType = BusinessType.UPDATE) |
| | | @RepeatSubmit() |
| | | @PutMapping("editBatch") |
| | | public R<Void> editBatch(@Validated(EditGroup.class) @RequestBody InspectRecordBo bo) { |
| | | return toAjax(eimsInspectRecordService.updateBatchByBo(bo)); |
| | | } |
| | | |
| | | /** |
| | | * 删除点检记录 |
| | | * |