| | |
| | | package org.jeecg.modules.eam.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | /** |
| | | * @Description: 点检工单明细 |
| | | * @Author: jeecg-boot |
| | | * @Date: 2025-04-02 |
| | |
| | | return super.importExcel(request, response, EamInspectionOrderDetail.class); |
| | | } |
| | | |
| | | /** |
| | | * 一次加载 |
| | | * |
| | | * @param orderId |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "保养标准明细-不分页列表查询", notes = "保养标准明细-不分页列表查询") |
| | | @GetMapping(value = "/queryList") |
| | | public Result<?> queryList(@RequestParam("orderId") String orderId) { |
| | | LambdaQueryWrapper<EamInspectionOrderDetail> queryWrapper = new LambdaQueryWrapper<>(); |
| | | queryWrapper.eq(EamInspectionOrderDetail::getOrderId, orderId); |
| | | queryWrapper.orderByAsc(EamInspectionOrderDetail::getItemCode); |
| | | List<EamInspectionOrderDetail> list = eamInspectionOrderDetailService.list(queryWrapper); |
| | | return Result.OK(list); |
| | | } |
| | | |
| | | } |