| | |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import com.ruoyi.production.dto.ProductMaterialSkuDto; |
| | | import com.ruoyi.production.pojo.ProductMaterialSku; |
| | | import com.ruoyi.production.pojo.ProductMaterialSkuImportDto; |
| | | import com.ruoyi.production.dto.ProductMaterialSkuImportDto; |
| | | import com.ruoyi.production.service.ProductMaterialSkuService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | @GetMapping("/list") |
| | | @ApiOperation("物料规格数据集合") |
| | | @Log(title = "物料规格数据集合", businessType = BusinessType.OTHER) |
| | | public AjaxResult productMaterialSkuList(Page<ProductMaterialSku> page, ProductMaterialSkuDto dto) { |
| | | Page<ProductMaterialSkuDto> list = productMaterialSkuService.productMaterialSkuList(page, dto); |
| | | public AjaxResult productMaterialSkuList(Page<ProductMaterialSkuDto> page, ProductMaterialSkuDto dto, @RequestParam(value = "type", required = false) Integer type) { |
| | | Page<ProductMaterialSkuDto> list = productMaterialSkuService.productMaterialSkuList(page, dto, type); |
| | | return AjaxResult.success(list); |
| | | } |
| | | |