| | |
| | | package com.ruoyi.production.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.basic.mapper.BaseParamMapper; |
| | | import com.ruoyi.basic.pojo.BaseParam; |
| | | import com.ruoyi.basic.service.BaseParamService; |
| | | import com.ruoyi.production.dto.ProductProcessParamDto; |
| | | import com.ruoyi.production.dto.ProductProcessParamSortDTO; |
| | | import com.ruoyi.production.mapper.ProductProcessParamMapper; |
| | |
| | | BaseParamMapper baseParamMapper; |
| | | |
| | | @Override |
| | | public List<ProductProcessParamDto> listByProcessId(Long processId) { |
| | | public IPage<ProductProcessParamDto> listByProcessId(Long processId, Page<ProductProcessParamDto> page) { |
| | | if (processId == null) { |
| | | throw new IllegalArgumentException("工序ID不能为空"); |
| | | } |
| | | return baseMapper.selectDtoListByProcessId(processId); |
| | | return baseMapper.selectDtoListByProcessId(page, processId); |
| | | } |
| | | |
| | | @Override |