| | |
| | | if (request == null) { |
| | | return Result.error("添加的对象不能为空!"); |
| | | } |
| | | if (CollectionUtil.isEmpty(request.getTableDetailList())) { |
| | | if (StrUtil.isEmpty(request.getStandardId())) { |
| | | return Result.error("保养项不能为空!"); |
| | | } |
| | | String codeSeq = businessCodeRuleService.generateBusinessCodeSeq(BusinessCodeConst.SECOND_MAINTENANCE_CODE_RULE); |
| | |
| | | if (request == null) { |
| | | return Result.error("添加的对象不能为空!"); |
| | | } |
| | | if (CollectionUtil.isEmpty(request.getTableDetailList())) { |
| | | if (StrUtil.isEmpty(request.getStandardId())) { |
| | | return Result.error("保养项不能为空!"); |
| | | } |
| | | boolean b = eamSecondMaintenanceOrderService.editMaintenance(request); |
| | |
| | | if (request == null) { |
| | | return Result.error("审批的对象不能为空!"); |
| | | } |
| | | if (CollectionUtil.isEmpty(request.getTableDetailList())) { |
| | | if (StrUtil.isEmpty(request.getStandardId())) { |
| | | return Result.error("保养项不能为空!"); |
| | | } |
| | | // 检查请求参数 |